diff --git a/.gitignore b/.gitignore index 27f1f1a46..c47724341 100644 --- a/.gitignore +++ b/.gitignore @@ -14,9 +14,6 @@ typechain-types cache artifacts -# Deployed addresses saved with deploy/ scripts -build/*.json - contracts/hardhat-dependency-compiler/ deployments/*hardhat* deployments/dev-* diff --git a/.prettierignore b/.prettierignore index ac26aa2f5..7b78b54a5 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,7 +1,6 @@ artifacts/ audit/ -build/ cache/ coverage/ coverage.json diff --git a/abis/contracts/Diamond.json b/abis/contracts/Diamond.json new file mode 100644 index 000000000..39188379b --- /dev/null +++ b/abis/contracts/Diamond.json @@ -0,0 +1,285 @@ +[ + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "facetAddress", + "type": "address" + }, + { + "internalType": "enum IDiamond.FacetCutAction", + "name": "action", + "type": "uint8" + }, + { + "internalType": "bytes4[]", + "name": "functionSelectors", + "type": "bytes4[]" + } + ], + "internalType": "struct IDiamond.FacetCut[]", + "name": "_diamondCut", + "type": "tuple[]" + }, + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "init", + "type": "address" + }, + { + "internalType": "bytes", + "name": "initCalldata", + "type": "bytes" + } + ], + "internalType": "struct DiamondArgs", + "name": "_args", + "type": "tuple" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotAddFunctionToDiamondThatAlreadyExists", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4[]", + "name": "_selectors", + "type": "bytes4[]" + } + ], + "name": "CannotAddSelectorsToZeroAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotRemoveFunctionThatDoesNotExist", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotRemoveImmutableFunction", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotReplaceFunctionThatDoesNotExists", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4[]", + "name": "_selectors", + "type": "bytes4[]" + } + ], + "name": "CannotReplaceFunctionsFromFacetWithZeroAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_selector", + "type": "bytes4" + } + ], + "name": "CannotReplaceImmutableFunction", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_functionSelector", + "type": "bytes4" + } + ], + "name": "FunctionNotFound", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "_action", + "type": "uint8" + } + ], + "name": "IncorrectFacetCutAction", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_initializationContractAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_calldata", + "type": "bytes" + } + ], + "name": "InitializationFunctionReverted", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "NoBytecodeAtAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_facetAddress", + "type": "address" + } + ], + "name": "NoSelectorsProvidedForFacetForCut", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_facetAddress", + "type": "address" + } + ], + "name": "RemoveFacetAddressMustBeZeroAddress", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "facetAddress", + "type": "address" + }, + { + "internalType": "enum IDiamond.FacetCutAction", + "name": "action", + "type": "uint8" + }, + { + "internalType": "bytes4[]", + "name": "functionSelectors", + "type": "bytes4[]" + } + ], + "indexed": false, + "internalType": "struct IDiamond.FacetCut[]", + "name": "_diamondCut", + "type": "tuple[]" + }, + { + "indexed": false, + "internalType": "address", + "name": "_init", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_calldata", + "type": "bytes" + } + ], + "name": "DiamondCut", + "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" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/IexecInterfaceNative.json b/abis/contracts/IexecInterfaceNative.json new file mode 100644 index 000000000..209cc3df9 --- /dev/null +++ b/abis/contracts/IexecInterfaceNative.json @@ -0,0 +1,3796 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "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": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/IexecInterfaceNativeABILegacy.json b/abis/contracts/IexecInterfaceNativeABILegacy.json new file mode 100644 index 000000000..48fc4e677 --- /dev/null +++ b/abis/contracts/IexecInterfaceNativeABILegacy.json @@ -0,0 +1,4109 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "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": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "viewAccountABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategoryABILegacy", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConfigABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContributionABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt1", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt2", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "viewTaskABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/IexecInterfaceToken.json b/abis/contracts/IexecInterfaceToken.json new file mode 100644 index 000000000..23a669cd5 --- /dev/null +++ b/abis/contracts/IexecInterfaceToken.json @@ -0,0 +1,4317 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "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": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "UniswapV2Router", + "outputs": [ + { + "internalType": "contract IUniswapV2Router02", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "depositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositEthSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositTokenWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawEthWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawTokenSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrdersWithEth", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "requestToken", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "requestTokenFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeDepositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeDepositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeWithdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeWithdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/IexecInterfaceTokenABILegacy.json b/abis/contracts/IexecInterfaceTokenABILegacy.json new file mode 100644 index 000000000..21bbedbef --- /dev/null +++ b/abis/contracts/IexecInterfaceTokenABILegacy.json @@ -0,0 +1,4630 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "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": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "UniswapV2Router", + "outputs": [ + { + "internalType": "contract IUniswapV2Router02", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "depositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositEthSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositTokenWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawEthWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawTokenSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrdersWithEth", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "requestToken", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "requestTokenFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeDepositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeDepositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeWithdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeWithdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "viewAccountABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategoryABILegacy", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConfigABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContributionABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt1", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt2", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "viewTaskABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/external/interfaces/IERC734.json b/abis/contracts/external/interfaces/IERC734.json new file mode 100644 index 000000000..b8728f624 --- /dev/null +++ b/abis/contracts/external/interfaces/IERC734.json @@ -0,0 +1,26 @@ +[ + { + "inputs": [ + { + "internalType": "bytes32", + "name": "key", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "purpose", + "type": "uint256" + } + ], + "name": "keyHasPurpose", + "outputs": [ + { + "internalType": "bool", + "name": "exists", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/external/interfaces/IOracleConsumer.json b/abis/contracts/external/interfaces/IOracleConsumer.json new file mode 100644 index 000000000..9ebc0ff83 --- /dev/null +++ b/abis/contracts/external/interfaces/IOracleConsumer.json @@ -0,0 +1,20 @@ +[ + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "name": "receiveResult", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/FacetBase.json b/abis/contracts/facets/FacetBase.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/abis/contracts/facets/FacetBase.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/contracts/facets/IexecAccessorsABILegacyFacet.json b/abis/contracts/facets/IexecAccessorsABILegacyFacet.json new file mode 100644 index 000000000..422d15283 --- /dev/null +++ b/abis/contracts/facets/IexecAccessorsABILegacyFacet.json @@ -0,0 +1,315 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "viewAccountABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategoryABILegacy", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConfigABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContributionABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt1", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt2", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "viewTaskABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecCategoryManagerFacet.json b/abis/contracts/facets/IexecCategoryManagerFacet.json new file mode 100644 index 000000000..6e924bd3d --- /dev/null +++ b/abis/contracts/facets/IexecCategoryManagerFacet.json @@ -0,0 +1,62 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecConfigurationExtraFacet.json b/abis/contracts/facets/IexecConfigurationExtraFacet.json new file mode 100644 index 000000000..a26a8e63c --- /dev/null +++ b/abis/contracts/facets/IexecConfigurationExtraFacet.json @@ -0,0 +1,25 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_appregistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_datasetregistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_workerpoolregistryAddress", + "type": "address" + } + ], + "name": "changeRegistries", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecConfigurationFacet.json b/abis/contracts/facets/IexecConfigurationFacet.json new file mode 100644 index 000000000..ba44c9cf9 --- /dev/null +++ b/abis/contracts/facets/IexecConfigurationFacet.json @@ -0,0 +1,131 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "internalType": "string", + "name": "_name", + "type": "string" + }, + { + "internalType": "string", + "name": "_symbol", + "type": "string" + }, + { + "internalType": "uint8", + "name": "_decimal", + "type": "uint8" + }, + { + "internalType": "address", + "name": "_appregistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_datasetregistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_workerpoolregistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_v3_iexecHubAddress", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_callbackgas", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_teebroker", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecERC20Core.json b/abis/contracts/facets/IexecERC20Core.json new file mode 100644 index 000000000..e7ef0d5a6 --- /dev/null +++ b/abis/contracts/facets/IexecERC20Core.json @@ -0,0 +1,52 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecERC20Facet.json b/abis/contracts/facets/IexecERC20Facet.json new file mode 100644 index 000000000..c7c52b667 --- /dev/null +++ b/abis/contracts/facets/IexecERC20Facet.json @@ -0,0 +1,206 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "extraData", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecEscrow.json b/abis/contracts/facets/IexecEscrow.json new file mode 100644 index 000000000..015b99c81 --- /dev/null +++ b/abis/contracts/facets/IexecEscrow.json @@ -0,0 +1,115 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecEscrowNativeFacet.json b/abis/contracts/facets/IexecEscrowNativeFacet.json new file mode 100644 index 000000000..12ae21a07 --- /dev/null +++ b/abis/contracts/facets/IexecEscrowNativeFacet.json @@ -0,0 +1,172 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "targets", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecEscrowTokenFacet.json b/abis/contracts/facets/IexecEscrowTokenFacet.json new file mode 100644 index 000000000..f8fb2f53a --- /dev/null +++ b/abis/contracts/facets/IexecEscrowTokenFacet.json @@ -0,0 +1,217 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "targets", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecEscrowTokenSwapFacet.json b/abis/contracts/facets/IexecEscrowTokenSwapFacet.json new file mode 100644 index 000000000..b4216d024 --- /dev/null +++ b/abis/contracts/facets/IexecEscrowTokenSwapFacet.json @@ -0,0 +1,570 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "UniswapV2Router", + "outputs": [ + { + "internalType": "contract IUniswapV2Router02", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "depositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "depositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "eth", + "type": "uint256" + } + ], + "name": "estimateDepositEthSent", + "outputs": [ + { + "internalType": "uint256", + "name": "token", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "token", + "type": "uint256" + } + ], + "name": "estimateDepositTokenWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "eth", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "eth", + "type": "uint256" + } + ], + "name": "estimateWithdrawEthWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "token", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "token", + "type": "uint256" + } + ], + "name": "estimateWithdrawTokenSent", + "outputs": [ + { + "internalType": "uint256", + "name": "eth", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "_apporder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "_datasetorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "_workerpoolorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "_requestorder", + "type": "tuple" + } + ], + "name": "matchOrdersWithEth", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "requestToken", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "requestTokenFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "minimum", + "type": "uint256" + } + ], + "name": "safeDepositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "minimum", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "safeDepositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minimum", + "type": "uint256" + } + ], + "name": "safeWithdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minimum", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "safeWithdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "withdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "withdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecOrderManagementFacet.json b/abis/contracts/facets/IexecOrderManagementFacet.json new file mode 100644 index 000000000..736b83c4c --- /dev/null +++ b/abis/contracts/facets/IexecOrderManagementFacet.json @@ -0,0 +1,459 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "_apporderoperation", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "_datasetorderoperation", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "_requestorderoperation", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "_workerpoolorderoperation", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPoco1Facet.json b/abis/contracts/facets/IexecPoco1Facet.json new file mode 100644 index 000000000..b70018d58 --- /dev/null +++ b/abis/contracts/facets/IexecPoco1Facet.json @@ -0,0 +1,888 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "_apporder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "_datasetorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "_workerpoolorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "_requestorder", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "_apporder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "_datasetorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "_workerpoolorder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "_requestorder", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_identity", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_hash", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_identity", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_hash", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_signature", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_identity", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_hash", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_signature", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPoco2Facet.json b/abis/contracts/facets/IexecPoco2Facet.json new file mode 100644 index 000000000..04276a650 --- /dev/null +++ b/abis/contracts/facets/IexecPoco2Facet.json @@ -0,0 +1,530 @@ +[ + { + "inputs": [], + "name": "MathOverflowedMulDiv", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "_taskid", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_enclaveSign", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_authorizationSign", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_resultsCallback", + "type": "bytes" + }, + { + "internalType": "address", + "name": "_enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_enclaveSign", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_authorizationSign", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_resultsCallback", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "_dealid", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_idx", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "_dealid", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_idx", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_resultDigest", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPocoAccessorsFacet.json b/abis/contracts/facets/IexecPocoAccessorsFacet.json new file mode 100644 index 000000000..0be9d6936 --- /dev/null +++ b/abis/contracts/facets/IexecPocoAccessorsFacet.json @@ -0,0 +1,1166 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "computeDealVolume", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "count", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "category", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "consumed", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "deal", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPocoBoostAccessorsFacet.json b/abis/contracts/facets/IexecPocoBoostAccessorsFacet.json new file mode 100644 index 000000000..1c5452113 --- /dev/null +++ b/abis/contracts/facets/IexecPocoBoostAccessorsFacet.json @@ -0,0 +1,93 @@ +[ + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewDealBoost", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "appOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "appPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "datasetOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "datasetPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "workerpoolOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "workerpoolPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint96", + "name": "workerReward", + "type": "uint96" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "uint40", + "name": "deadline", + "type": "uint40" + }, + { + "internalType": "uint16", + "name": "botFirst", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "botSize", + "type": "uint16" + }, + { + "internalType": "bytes3", + "name": "shortTag", + "type": "bytes3" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.DealBoost", + "name": "deal", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPocoBoostFacet.json b/abis/contracts/facets/IexecPocoBoostFacet.json new file mode 100644 index 000000000..8e7e6ce9f --- /dev/null +++ b/abis/contracts/facets/IexecPocoBoostFacet.json @@ -0,0 +1,881 @@ +[ + { + "inputs": [ + { + "internalType": "uint8", + "name": "bits", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsoredBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "ResultPushedBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "indexed": false, + "internalType": "address", + "name": "beneficiary", + "type": "address" + } + ], + "name": "SchedulerNoticeBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "claimBoost", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "matchOrdersBoost", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "authorizationSign", + "type": "bytes" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "enclaveSign", + "type": "bytes" + } + ], + "name": "pushResultBoost", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "sponsorMatchOrdersBoost", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/IexecPocoCommon.json b/abis/contracts/facets/IexecPocoCommon.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/abis/contracts/facets/IexecPocoCommon.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/contracts/facets/IexecRelayFacet.json b/abis/contracts/facets/IexecRelayFacet.json new file mode 100644 index 000000000..3b353f178 --- /dev/null +++ b/abis/contracts/facets/IexecRelayFacet.json @@ -0,0 +1,572 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "_apporder", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "_datasetorder", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "_requestorder", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "_workerpoolorder", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/facets/SignatureVerifier.json b/abis/contracts/facets/SignatureVerifier.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/abis/contracts/facets/SignatureVerifier.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/contracts/interfaces/IOwnable.json b/abis/contracts/interfaces/IOwnable.json new file mode 100644 index 000000000..12aceaa4f --- /dev/null +++ b/abis/contracts/interfaces/IOwnable.json @@ -0,0 +1,54 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecAccessors.json b/abis/contracts/interfaces/IexecAccessors.json new file mode 100644 index 000000000..55d279b35 --- /dev/null +++ b/abis/contracts/interfaces/IexecAccessors.json @@ -0,0 +1,899 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecAccessorsABILegacy.json b/abis/contracts/interfaces/IexecAccessorsABILegacy.json new file mode 100644 index 000000000..587dbc740 --- /dev/null +++ b/abis/contracts/interfaces/IexecAccessorsABILegacy.json @@ -0,0 +1,315 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "viewAccountABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategoryABILegacy", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConfigABILegacy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContributionABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt1", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewDealABILegacy_pt2", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + } + ], + "name": "viewTaskABILegacy", + "outputs": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecCategoryManager.json b/abis/contracts/interfaces/IexecCategoryManager.json new file mode 100644 index 000000000..52eb27289 --- /dev/null +++ b/abis/contracts/interfaces/IexecCategoryManager.json @@ -0,0 +1,62 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "catid", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "name": "CreateCategory", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "createCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecConfiguration.json b/abis/contracts/interfaces/IexecConfiguration.json new file mode 100644 index 000000000..61f684793 --- /dev/null +++ b/abis/contracts/interfaces/IexecConfiguration.json @@ -0,0 +1,131 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "configure", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "domain", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "importScore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "setCallbackGas", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "setTeeBroker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateDomainSeparator", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecConfigurationExtra.json b/abis/contracts/interfaces/IexecConfigurationExtra.json new file mode 100644 index 000000000..a8b255a94 --- /dev/null +++ b/abis/contracts/interfaces/IexecConfigurationExtra.json @@ -0,0 +1,25 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "changeRegistries", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecERC20.json b/abis/contracts/interfaces/IexecERC20.json new file mode 100644 index 000000000..e1a04e342 --- /dev/null +++ b/abis/contracts/interfaces/IexecERC20.json @@ -0,0 +1,206 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "approveAndCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecERC20Common.json b/abis/contracts/interfaces/IexecERC20Common.json new file mode 100644 index 000000000..6437e41f3 --- /dev/null +++ b/abis/contracts/interfaces/IexecERC20Common.json @@ -0,0 +1,90 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Lock", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Reward", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "ref", + "type": "bytes32" + } + ], + "name": "Seize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Unlock", + "type": "event" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecEscrowNative.json b/abis/contracts/interfaces/IexecEscrowNative.json new file mode 100644 index 000000000..40d842aa9 --- /dev/null +++ b/abis/contracts/interfaces/IexecEscrowNative.json @@ -0,0 +1,122 @@ +[ + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecEscrowToken.json b/abis/contracts/interfaces/IexecEscrowToken.json new file mode 100644 index 000000000..47bb24c25 --- /dev/null +++ b/abis/contracts/interfaces/IexecEscrowToken.json @@ -0,0 +1,133 @@ +[ + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "deposit", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositFor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "name": "depositForArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recover", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecEscrowTokenSwap.json b/abis/contracts/interfaces/IexecEscrowTokenSwap.json new file mode 100644 index 000000000..377d4b0a0 --- /dev/null +++ b/abis/contracts/interfaces/IexecEscrowTokenSwap.json @@ -0,0 +1,520 @@ +[ + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "UniswapV2Router", + "outputs": [ + { + "internalType": "contract IUniswapV2Router02", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "depositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "depositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositEthSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateDepositTokenWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawEthWanted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "estimateWithdrawTokenSent", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrdersWithEth", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "requestToken", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "requestTokenFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeDepositEth", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeDepositEthFor", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "safeWithdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "safeWithdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "withdrawEth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdrawEthTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecOrderManagement.json b/abis/contracts/interfaces/IexecOrderManagement.json new file mode 100644 index 000000000..44295781f --- /dev/null +++ b/abis/contracts/interfaces/IexecOrderManagement.json @@ -0,0 +1,459 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "ClosedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "ClosedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "ClosedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "ClosedWorkerpoolOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + } + ], + "name": "SignedAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + } + ], + "name": "SignedDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + } + ], + "name": "SignedRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + } + ], + "name": "SignedWorkerpoolOrder", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "", + "type": "tuple" + } + ], + "name": "manageWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecPoco1.json b/abis/contracts/interfaces/IexecPoco1.json new file mode 100644 index 000000000..3907553cd --- /dev/null +++ b/abis/contracts/interfaces/IexecPoco1.json @@ -0,0 +1,775 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsored", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "SchedulerNotice", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + } + ], + "name": "isDatasetCompatibleWithDeal", + "outputs": [ + { + "internalType": "bool", + "name": "result", + "type": "bool" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "matchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "sponsorMatchOrders", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "verifyPresignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifyPresignatureOrSignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecPoco2.json b/abis/contracts/interfaces/IexecPoco2.json new file mode 100644 index 000000000..0a8e00755 --- /dev/null +++ b/abis/contracts/interfaces/IexecPoco2.json @@ -0,0 +1,412 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "AccurateContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "FaultyContribution", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "consensus", + "type": "bytes32" + } + ], + "name": "TaskConsensus", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "name": "TaskContribute", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "TaskFinalize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "TaskInitialize", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "TaskReopen", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "name": "TaskReveal", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "claim", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "taskIds", + "type": "bytes32[]" + } + ], + "name": "claimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "enclaveSign", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "authorizationSign", + "type": "bytes" + } + ], + "name": "contribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "enclaveSign", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "authorizationSign", + "type": "bytes" + } + ], + "name": "contributeAndFinalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "name": "finalize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "dealIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "indexes", + "type": "uint256[]" + } + ], + "name": "initializeAndClaimArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "dealIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "indexes", + "type": "uint256[]" + } + ], + "name": "initializeArray", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + } + ], + "name": "reopen", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "taskId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + } + ], + "name": "reveal", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecPocoAccessors.json b/abis/contracts/interfaces/IexecPocoAccessors.json new file mode 100644 index 000000000..ae35c2a96 --- /dev/null +++ b/abis/contracts/interfaces/IexecPocoAccessors.json @@ -0,0 +1,1166 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "appregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "callbackgas", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "computeDealVolume", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "contribution_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "countCategory", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "datasetregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712domain_separator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "final_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "frozenOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "groupmember_purpose", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_address", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_min", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "kitty_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "resultFor", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "reveal_deadline_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "teebroker", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "viewAccount", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "locked", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Account", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "app", + "type": "address" + } + ], + "name": "viewApp", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "m_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "m_appMREnclave", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.AppInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_catid", + "type": "uint256" + } + ], + "name": "viewCategory", + "outputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256", + "name": "workClockTimeRef", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Category", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewConsumed", + "outputs": [ + { + "internalType": "uint256", + "name": "consumed", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_taskid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewContribution", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "resultHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "resultSeal", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Contribution", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + } + ], + "name": "viewDataset", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "m_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "m_datasetChecksum", + "type": "bytes32" + } + ], + "internalType": "struct IexecLibCore_v5.DatasetInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewDeal", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "app", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "dataset", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "pointer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.Resource", + "name": "workerpool", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botFirst", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "botSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "workerStake", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "schedulerRewardRatio", + "type": "uint256" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.Deal", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "viewPresigned", + "outputs": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_worker", + "type": "address" + } + ], + "name": "viewScore", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewTask", + "outputs": [ + { + "components": [ + { + "internalType": "enum IexecLibCore_v5.TaskStatusEnum", + "name": "status", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "idx", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeref", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "contributionDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "revealDeadline", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "finalDeadline", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "consensusValue", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "revealCounter", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnerCounter", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "contributors", + "type": "address[]" + }, + { + "internalType": "bytes32", + "name": "resultDigest", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "resultsTimestamp", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + } + ], + "internalType": "struct IexecLibCore_v5.Task", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + } + ], + "name": "viewWorkerpool", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "string", + "name": "m_workerpoolDescription", + "type": "string" + }, + { + "internalType": "uint256", + "name": "m_workerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "m_schedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "internalType": "struct IexecLibCore_v5.WorkerpoolInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpool_stake_ratio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "workerpoolregistry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecPocoBoost.json b/abis/contracts/interfaces/IexecPocoBoost.json new file mode 100644 index 000000000..a2ea66143 --- /dev/null +++ b/abis/contracts/interfaces/IexecPocoBoost.json @@ -0,0 +1,752 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "name": "DealSponsoredBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "appHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "datasetHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "workerpoolHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "requestHash", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "volume", + "type": "uint256" + } + ], + "name": "OrdersMatched", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "results", + "type": "bytes" + } + ], + "name": "ResultPushedBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "indexed": false, + "internalType": "address", + "name": "beneficiary", + "type": "address" + } + ], + "name": "SchedulerNoticeBoost", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "taskid", + "type": "bytes32" + } + ], + "name": "TaskClaimed", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "claimBoost", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "matchOrdersBoost", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "dealId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "results", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "resultsCallback", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "authorizationSign", + "type": "bytes" + }, + { + "internalType": "address", + "name": "enclaveChallenge", + "type": "address" + }, + { + "internalType": "bytes", + "name": "enclaveSign", + "type": "bytes" + } + ], + "name": "pushResultBoost", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "appOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolOrder", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestOrder", + "type": "tuple" + } + ], + "name": "sponsorMatchOrdersBoost", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecPocoBoostAccessors.json b/abis/contracts/interfaces/IexecPocoBoostAccessors.json new file mode 100644 index 000000000..0eb868e17 --- /dev/null +++ b/abis/contracts/interfaces/IexecPocoBoostAccessors.json @@ -0,0 +1,93 @@ +[ + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + } + ], + "name": "viewDealBoost", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "appOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "appPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "datasetOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "datasetPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "workerpoolOwner", + "type": "address" + }, + { + "internalType": "uint96", + "name": "workerpoolPrice", + "type": "uint96" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint96", + "name": "workerReward", + "type": "uint96" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "uint40", + "name": "deadline", + "type": "uint40" + }, + { + "internalType": "uint16", + "name": "botFirst", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "botSize", + "type": "uint16" + }, + { + "internalType": "bytes3", + "name": "shortTag", + "type": "bytes3" + }, + { + "internalType": "address", + "name": "sponsor", + "type": "address" + } + ], + "internalType": "struct IexecLibCore_v5.DealBoost", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecRelay.json b/abis/contracts/interfaces/IexecRelay.json new file mode 100644 index 000000000..1ac84c106 --- /dev/null +++ b/abis/contracts/interfaces/IexecRelay.json @@ -0,0 +1,572 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "apporder", + "type": "tuple" + } + ], + "name": "BroadcastAppOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "datasetorder", + "type": "tuple" + } + ], + "name": "BroadcastDatasetOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "requestorder", + "type": "tuple" + } + ], + "name": "BroadcastRequestOrder", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "indexed": false, + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "workerpoolorder", + "type": "tuple" + } + ], + "name": "BroadcastWorkerpoolOrder", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastAppOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastDatasetOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastRequestOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "", + "type": "tuple" + } + ], + "name": "broadcastWorkerpoolOrder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/interfaces/IexecTokenSpender.json b/abis/contracts/interfaces/IexecTokenSpender.json new file mode 100644 index 000000000..03f578e35 --- /dev/null +++ b/abis/contracts/interfaces/IexecTokenSpender.json @@ -0,0 +1,36 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "receiveApproval", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/libs/IRegistry.json b/abis/contracts/libs/IRegistry.json new file mode 100644 index 000000000..c1cecf1fb --- /dev/null +++ b/abis/contracts/libs/IRegistry.json @@ -0,0 +1,362 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/libs/IexecLibCore_v5.json b/abis/contracts/libs/IexecLibCore_v5.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/abis/contracts/libs/IexecLibCore_v5.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/contracts/libs/IexecLibOrders_v5.json b/abis/contracts/libs/IexecLibOrders_v5.json new file mode 100644 index 000000000..964e5f7e0 --- /dev/null +++ b/abis/contracts/libs/IexecLibOrders_v5.json @@ -0,0 +1,846 @@ +[ + { + "inputs": [], + "name": "APPORDEROPERATION_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "APPORDER_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "DATASETORDEROPERATION_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "DATASETORDER_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "EIP712DOMAIN_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REQUESTORDEROPERATION_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REQUESTORDER_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "WORKERPOOLORDEROPERATION_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "WORKERPOOLORDER_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "_datasetorder", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "datasethash", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "IexecLibOrders_v5.OrderOperationEnum" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", + "name": "_requestorderoperation", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "IexecLibOrders_v5.OrderOperationEnum" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", + "name": "_datasetorderoperation", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "IexecLibOrders_v5.OrderOperationEnum" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", + "name": "_workerpoolorderoperation", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "order", + "type": "tuple" + }, + { + "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", + "name": "operation", + "type": "IexecLibOrders_v5.OrderOperationEnum" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrderOperation", + "name": "_apporderoperation", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + } + ], + "internalType": "struct IexecLibOrders_v5.EIP712Domain", + "name": "_domain", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "domainhash", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "workerpoolrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.AppOrder", + "name": "_apporder", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "apphash", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "app", + "type": "address" + }, + { + "internalType": "uint256", + "name": "appmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "dataset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "datasetmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolmaxprice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "address", + "name": "callback", + "type": "address" + }, + { + "internalType": "string", + "name": "params", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.RequestOrder", + "name": "_requestorder", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "requesthash", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "workerpool", + "type": "address" + }, + { + "internalType": "uint256", + "name": "workerpoolprice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "volume", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "tag", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "category", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "trust", + "type": "uint256" + }, + { + "internalType": "address", + "name": "apprestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "datasetrestrict", + "type": "address" + }, + { + "internalType": "address", + "name": "requesterrestrict", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "sign", + "type": "bytes" + } + ], + "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", + "name": "_workerpoolorder", + "type": "tuple" + } + ], + "name": "hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "workerpoolhash", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/libs/PocoStorageLib.json b/abis/contracts/libs/PocoStorageLib.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/abis/contracts/libs/PocoStorageLib.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/abis/contracts/registries/IRegistry.json b/abis/contracts/registries/IRegistry.json new file mode 100644 index 000000000..91766f066 --- /dev/null +++ b/abis/contracts/registries/IRegistry.json @@ -0,0 +1,362 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "_approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/Registry.json b/abis/contracts/registries/Registry.json new file mode 100644 index 000000000..afc54638a --- /dev/null +++ b/abis/contracts/registries/Registry.json @@ -0,0 +1,602 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_master", + "type": "address" + }, + { + "internalType": "string", + "name": "_name", + "type": "string" + }, + { + "internalType": "string", + "name": "_symbol", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "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": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_previous", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "initialized", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "master", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "previous", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCodeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_baseURI", + "type": "string" + } + ], + "name": "setBaseURI", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/RegistryEntry.json b/abis/contracts/registries/RegistryEntry.json new file mode 100644 index 000000000..c0ea3313b --- /dev/null +++ b/abis/contracts/registries/RegistryEntry.json @@ -0,0 +1,46 @@ +[ + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/apps/App.json b/abis/contracts/registries/apps/App.json new file mode 100644 index 000000000..30a2d7e17 --- /dev/null +++ b/abis/contracts/registries/apps/App.json @@ -0,0 +1,144 @@ +[ + { + "inputs": [ + { + "internalType": "string", + "name": "_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_appMREnclave", + "type": "bytes" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "m_appChecksum", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appMREnclave", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appMultiaddr", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appType", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/apps/AppRegistry.json b/abis/contracts/registries/apps/AppRegistry.json new file mode 100644 index 000000000..880542c75 --- /dev/null +++ b/abis/contracts/registries/apps/AppRegistry.json @@ -0,0 +1,674 @@ +[ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "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": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_appOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_appMREnclave", + "type": "bytes" + } + ], + "name": "createApp", + "outputs": [ + { + "internalType": "contract App", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_previous", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "initialized", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "master", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_appOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_appName", + "type": "string" + }, + { + "internalType": "string", + "name": "_appType", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_appMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_appChecksum", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_appMREnclave", + "type": "bytes" + } + ], + "name": "predictApp", + "outputs": [ + { + "internalType": "contract App", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "previous", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCodeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_baseURI", + "type": "string" + } + ], + "name": "setBaseURI", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/apps/IApp.json b/abis/contracts/registries/apps/IApp.json new file mode 100644 index 000000000..db3941151 --- /dev/null +++ b/abis/contracts/registries/apps/IApp.json @@ -0,0 +1,80 @@ +[ + { + "inputs": [], + "name": "m_appChecksum", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appMREnclave", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appMultiaddr", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_appType", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/datasets/Dataset.json b/abis/contracts/registries/datasets/Dataset.json new file mode 100644 index 000000000..56e76ad84 --- /dev/null +++ b/abis/contracts/registries/datasets/Dataset.json @@ -0,0 +1,108 @@ +[ + { + "inputs": [ + { + "internalType": "string", + "name": "_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_datasetChecksum", + "type": "bytes32" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "m_datasetChecksum", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_datasetMultiaddr", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_datasetName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/datasets/DatasetRegistry.json b/abis/contracts/registries/datasets/DatasetRegistry.json new file mode 100644 index 000000000..85e464f62 --- /dev/null +++ b/abis/contracts/registries/datasets/DatasetRegistry.json @@ -0,0 +1,654 @@ +[ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "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": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_datasetOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_datasetChecksum", + "type": "bytes32" + } + ], + "name": "createDataset", + "outputs": [ + { + "internalType": "contract Dataset", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_previous", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "initialized", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "master", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_datasetOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_datasetName", + "type": "string" + }, + { + "internalType": "bytes", + "name": "_datasetMultiaddr", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_datasetChecksum", + "type": "bytes32" + } + ], + "name": "predictDataset", + "outputs": [ + { + "internalType": "contract Dataset", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "previous", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCodeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_baseURI", + "type": "string" + } + ], + "name": "setBaseURI", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/datasets/IDataset.json b/abis/contracts/registries/datasets/IDataset.json new file mode 100644 index 000000000..f515fb2f9 --- /dev/null +++ b/abis/contracts/registries/datasets/IDataset.json @@ -0,0 +1,54 @@ +[ + { + "inputs": [], + "name": "m_datasetChecksum", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_datasetMultiaddr", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_datasetName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/workerpools/IWorkerpool.json b/abis/contracts/registries/workerpools/IWorkerpool.json new file mode 100644 index 000000000..eeac7561d --- /dev/null +++ b/abis/contracts/registries/workerpools/IWorkerpool.json @@ -0,0 +1,54 @@ +[ + { + "inputs": [], + "name": "m_schedulerRewardRatioPolicy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_workerStakeRatioPolicy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_workerpoolDescription", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/workerpools/Workerpool.json b/abis/contracts/registries/workerpools/Workerpool.json new file mode 100644 index 000000000..07378972a --- /dev/null +++ b/abis/contracts/registries/workerpools/Workerpool.json @@ -0,0 +1,147 @@ +[ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldWorkerStakeRatioPolicy", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newWorkerStakeRatioPolicy", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "oldSchedulerRewardRatioPolicy", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newSchedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "name": "PolicyUpdate", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newWorkerStakeRatioPolicy", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_newSchedulerRewardRatioPolicy", + "type": "uint256" + } + ], + "name": "changePolicy", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_workerpoolDescription", + "type": "string" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "m_schedulerRewardRatioPolicy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_workerStakeRatioPolicy", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "m_workerpoolDescription", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/abis/contracts/registries/workerpools/WorkerpoolRegistry.json b/abis/contracts/registries/workerpools/WorkerpoolRegistry.json new file mode 100644 index 000000000..59eea8a6b --- /dev/null +++ b/abis/contracts/registries/workerpools/WorkerpoolRegistry.json @@ -0,0 +1,634 @@ +[ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "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": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_workerpoolOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_workerpoolDescription", + "type": "string" + } + ], + "name": "createWorkerpool", + "outputs": [ + { + "internalType": "contract Workerpool", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_previous", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "initialized", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_entry", + "type": "address" + } + ], + "name": "isRegistered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "master", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_workerpoolOwner", + "type": "address" + }, + { + "internalType": "string", + "name": "_workerpoolDescription", + "type": "string" + } + ], + "name": "predictWorkerpool", + "outputs": [ + { + "internalType": "contract Workerpool", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "previous", + "outputs": [ + { + "internalType": "contract IRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyCodeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_baseURI", + "type": "string" + } + ], + "name": "setBaseURI", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "setName", + "outputs": [], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file diff --git a/build/contracts-min/AccessControl.json b/build/contracts-min/AccessControl.json deleted file mode 100644 index 308a69706..000000000 --- a/build/contracts-min/AccessControl.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleMemberCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "getRoleMember", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Address.json b/build/contracts-min/Address.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/Address.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/App.json b/build/contracts-min/App.json deleted file mode 100644 index 80930a87d..000000000 --- a/build/contracts-min/App.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "m_appChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMREnclave", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appType", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/AppInterface.json b/build/contracts-min/AppInterface.json deleted file mode 100644 index 9cb17eb9b..000000000 --- a/build/contracts-min/AppInterface.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appType", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMREnclave", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/AppRegistry.json b/build/contracts-min/AppRegistry.json deleted file mode 100644 index caf49bdce..000000000 --- a/build/contracts-min/AppRegistry.json +++ /dev/null @@ -1,1398 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "createApp", - "outputs": [ - { - "internalType": "contract App", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "predictApp", - "outputs": [ - { - "internalType": "contract App", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - } - } -} diff --git a/build/contracts-min/AppRegistryInterface.json b/build/contracts-min/AppRegistryInterface.json deleted file mode 100644 index 216a34b2b..000000000 --- a/build/contracts-min/AppRegistryInterface.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "appOwner", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "app", - "type": "address" - } - ], - "name": "CreateApp", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "createApp", - "outputs": [ - { - "internalType": "contract AppInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/BaseUpgradeabilityProxy.json b/build/contracts-min/BaseUpgradeabilityProxy.json deleted file mode 100644 index 36f9ea85b..000000000 --- a/build/contracts-min/BaseUpgradeabilityProxy.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Context.json b/build/contracts-min/Context.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/Context.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/Create2.json b/build/contracts-min/Create2.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/Create2.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/Dataset.json b/build/contracts-min/Dataset.json deleted file mode 100644 index 8a04089d2..000000000 --- a/build/contracts-min/Dataset.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "m_datasetChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/DatasetInterface.json b/build/contracts-min/DatasetInterface.json deleted file mode 100644 index f6d440fca..000000000 --- a/build/contracts-min/DatasetInterface.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/DatasetRegistry.json b/build/contracts-min/DatasetRegistry.json deleted file mode 100644 index 0363c64be..000000000 --- a/build/contracts-min/DatasetRegistry.json +++ /dev/null @@ -1,1378 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "createDataset", - "outputs": [ - { - "internalType": "contract Dataset", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "predictDataset", - "outputs": [ - { - "internalType": "contract Dataset", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - } - } -} diff --git a/build/contracts-min/DatasetRegistryInterface.json b/build/contracts-min/DatasetRegistryInterface.json deleted file mode 100644 index 1d8edd4b4..000000000 --- a/build/contracts-min/DatasetRegistryInterface.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "datasetOwner", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "dataset", - "type": "address" - } - ], - "name": "CreateDataset", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "createDataset", - "outputs": [ - { - "internalType": "contract DatasetInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/DelegateBase.json b/build/contracts-min/DelegateBase.json deleted file mode 100644 index 813c6d565..000000000 --- a/build/contracts-min/DelegateBase.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ENSIntegration.json b/build/contracts-min/ENSIntegration.json deleted file mode 100644 index 6564b5434..000000000 --- a/build/contracts-min/ENSIntegration.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ENSIntegrationDelegate.json b/build/contracts-min/ENSIntegrationDelegate.json deleted file mode 100644 index 656f72d54..000000000 --- a/build/contracts-min/ENSIntegrationDelegate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ENSRegistry.json b/build/contracts-min/ENSRegistry.json deleted file mode 100644 index 4977dd2a7..000000000 --- a/build/contracts-min/ENSRegistry.json +++ /dev/null @@ -1,404 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "NewOwner", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "NewResolver", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "NewTTL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setSubnodeRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "setResolver", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setTTL", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ENSReverseRegistration.json b/build/contracts-min/ENSReverseRegistration.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/ENSReverseRegistration.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/ERC1538Module.json b/build/contracts-min/ERC1538Module.json deleted file mode 100644 index a5a3b5d3b..000000000 --- a/build/contracts-min/ERC1538Module.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ERC1538Proxy.json b/build/contracts-min/ERC1538Proxy.json deleted file mode 100644 index 61b04a09e..000000000 --- a/build/contracts-min/ERC1538Proxy.json +++ /dev/null @@ -1,607 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_erc1538Delegate", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "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" - }, - { - "stateMutability": "payable", - "type": "fallback", - "payable": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive", - "payable": true - } - ], - "networks": { - "1": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "3": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "4": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "5": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "42": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "133": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "134": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - } - } -} diff --git a/build/contracts-min/ERC1538QueryDelegate.json b/build/contracts-min/ERC1538QueryDelegate.json deleted file mode 100644 index 125f21cc8..000000000 --- a/build/contracts-min/ERC1538QueryDelegate.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "totalFunctions", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "functionByIndex", - "outputs": [ - { - "internalType": "string", - "name": "signature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "id", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "delegate", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "_funcId", - "type": "bytes4" - } - ], - "name": "functionById", - "outputs": [ - { - "internalType": "string", - "name": "signature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "id", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "delegate", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_funcSignature", - "type": "string" - } - ], - "name": "functionExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_funcSignature", - "type": "string" - } - ], - "name": "delegateAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "functionSignatures", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_delegate", - "type": "address" - } - ], - "name": "delegateFunctionSignatures", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "delegateAddresses", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "networks": {} -} diff --git a/build/contracts-min/ERC1538Store.json b/build/contracts-min/ERC1538Store.json deleted file mode 100644 index 813c6d565..000000000 --- a/build/contracts-min/ERC1538Store.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ERC1538UpdateDelegate.json b/build/contracts-min/ERC1538UpdateDelegate.json deleted file mode 100644 index c99a51d6f..000000000 --- a/build/contracts-min/ERC1538UpdateDelegate.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_delegate", - "type": "address" - }, - { - "internalType": "string", - "name": "_functionSignatures", - "type": "string" - }, - { - "internalType": "string", - "name": "_commitMessage", - "type": "string" - } - ], - "name": "updateContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ERC165.json b/build/contracts-min/ERC165.json deleted file mode 100644 index 635b44d11..000000000 --- a/build/contracts-min/ERC165.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ERC721.json b/build/contracts-min/ERC721.json deleted file mode 100644 index 978153aea..000000000 --- a/build/contracts-min/ERC721.json +++ /dev/null @@ -1,420 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/EnumerableMap.json b/build/contracts-min/EnumerableMap.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/EnumerableMap.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/EnumerableSet.json b/build/contracts-min/EnumerableSet.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/EnumerableSet.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/FIFSRegistrar.json b/build/contracts-min/FIFSRegistrar.json deleted file mode 100644 index 87cce2f3a..000000000 --- a/build/contracts-min/FIFSRegistrar.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "contract ENS", - "name": "ensAddr", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "register", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/GenericFactory.json b/build/contracts-min/GenericFactory.json deleted file mode 100644 index 31ae89e58..000000000 --- a/build/contracts-min/GenericFactory.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "NewContract", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - } - ], - "name": "predictAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - } - ], - "name": "createContract", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_call", - "type": "bytes" - } - ], - "name": "predictAddressWithCall", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_call", - "type": "bytes" - } - ], - "name": "createContractAndCall", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IENS.json b/build/contracts-min/IENS.json deleted file mode 100644 index 344f9171a..000000000 --- a/build/contracts-min/IENS.json +++ /dev/null @@ -1,374 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "NewOwner", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "NewResolver", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "NewTTL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setSubnodeRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setResolver", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setTTL", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC1271.json b/build/contracts-min/IERC1271.json deleted file mode 100644 index 75861d904..000000000 --- a/build/contracts-min/IERC1271.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "signature", - "type": "bytes" - } - ], - "name": "isValidSignature", - "outputs": [ - { - "internalType": "bytes4", - "name": "magicValue", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC1404.json b/build/contracts-min/IERC1404.json deleted file mode 100644 index df97d77e7..000000000 --- a/build/contracts-min/IERC1404.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "detectTransferRestriction", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint8", - "name": "restrictionCode", - "type": "uint8" - } - ], - "name": "messageForTransferRestriction", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC165.json b/build/contracts-min/IERC165.json deleted file mode 100644 index 635b44d11..000000000 --- a/build/contracts-min/IERC165.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC1654.json b/build/contracts-min/IERC1654.json deleted file mode 100644 index 408bafd65..000000000 --- a/build/contracts-min/IERC1654.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "signature", - "type": "bytes" - } - ], - "name": "isValidSignature", - "outputs": [ - { - "internalType": "bytes4", - "name": "magicValue", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC20.json b/build/contracts-min/IERC20.json deleted file mode 100644 index 2381919d1..000000000 --- a/build/contracts-min/IERC20.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC721.json b/build/contracts-min/IERC721.json deleted file mode 100644 index 6e3a4bb83..000000000 --- a/build/contracts-min/IERC721.json +++ /dev/null @@ -1,290 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC721Enumerable.json b/build/contracts-min/IERC721Enumerable.json deleted file mode 100644 index 92a2bc17e..000000000 --- a/build/contracts-min/IERC721Enumerable.json +++ /dev/null @@ -1,346 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC721Metadata.json b/build/contracts-min/IERC721Metadata.json deleted file mode 100644 index c59681149..000000000 --- a/build/contracts-min/IERC721Metadata.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC721Receiver.json b/build/contracts-min/IERC721Receiver.json deleted file mode 100644 index 9721ac8e8..000000000 --- a/build/contracts-min/IERC721Receiver.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC721Received", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IERC734.json b/build/contracts-min/IERC734.json deleted file mode 100644 index 2efaaf33d..000000000 --- a/build/contracts-min/IERC734.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "Approved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "Executed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ExecutionFailed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ExecutionRequested", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "name": "KeyAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "name": "KeyRemoved", - "type": "event" - }, - { - "inputs": [], - "name": "ACTION_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "CLAIM_SIGNER_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ECDSA_TYPE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ENCRYPTION_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MANAGEMENT_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "RSA_TYPE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - } - ], - "name": "getKey", - "outputs": [ - { - "internalType": "uint256[]", - "name": "purposes", - "type": "uint256[]" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - } - ], - "name": "keyHasPurpose", - "outputs": [ - { - "internalType": "bool", - "name": "exists", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - } - ], - "name": "getKeysByPurpose", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "keys", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_keyType", - "type": "uint256" - } - ], - "name": "addKey", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - } - ], - "name": "removeKey", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [ - { - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "_approve", - "type": "bool" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IOracle.json b/build/contracts-min/IOracle.json deleted file mode 100644 index 8bb589c5c..000000000 --- a/build/contracts-min/IOracle.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IOracleConsumer.json b/build/contracts-min/IOracleConsumer.json deleted file mode 100644 index 464e8bba8..000000000 --- a/build/contracts-min/IOracleConsumer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveResult", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IOwnable.json b/build/contracts-min/IOwnable.json deleted file mode 100644 index 2d4084cf0..000000000 --- a/build/contracts-min/IOwnable.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IRegistry.json b/build/contracts-min/IRegistry.json deleted file mode 100644 index dd43b4ccf..000000000 --- a/build/contracts-min/IRegistry.json +++ /dev/null @@ -1,365 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IReverseRegistrar.json b/build/contracts-min/IReverseRegistrar.json deleted file mode 100644 index 0320597a4..000000000 --- a/build/contracts-min/IReverseRegistrar.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "ADDR_REVERSE_NODE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ens", - "outputs": [ - { - "internalType": "contract IENS", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "defaultResolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "claim", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "claimWithResolver", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "setName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "node", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IUniswapV2Router01.json b/build/contracts-min/IUniswapV2Router01.json deleted file mode 100644 index b5beca77e..000000000 --- a/build/contracts-min/IUniswapV2Router01.json +++ /dev/null @@ -1,754 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "factory", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "WETH", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountADesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountTokenDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapETHForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveB", - "type": "uint256" - } - ], - "name": "quote", - "outputs": [ - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountOut", - "outputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountIn", - "outputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsOut", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsIn", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IUniswapV2Router02.json b/build/contracts-min/IUniswapV2Router02.json deleted file mode 100644 index cff0952df..000000000 --- a/build/contracts-min/IUniswapV2Router02.json +++ /dev/null @@ -1,956 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "WETH", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountADesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountTokenDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "factory", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountIn", - "outputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountOut", - "outputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsIn", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsOut", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveB", - "type": "uint256" - } - ], - "name": "quote", - "outputs": [ - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapETHForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETHSupportingFeeOnTransferTokens", - "outputs": [ - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", - "outputs": [ - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokensSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETHSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecAccessors.json b/build/contracts-min/IexecAccessors.json deleted file mode 100644 index e617f1b1c..000000000 --- a/build/contracts-min/IexecAccessors.json +++ /dev/null @@ -1,764 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecAccessorsABILegacy.json b/build/contracts-min/IexecAccessorsABILegacy.json deleted file mode 100644 index e68f0617e..000000000 --- a/build/contracts-min/IexecAccessorsABILegacy.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecAccessorsABILegacyDelegate.json b/build/contracts-min/IexecAccessorsABILegacyDelegate.json deleted file mode 100644 index 737198304..000000000 --- a/build/contracts-min/IexecAccessorsABILegacyDelegate.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecAccessorsDelegate.json b/build/contracts-min/IexecAccessorsDelegate.json deleted file mode 100644 index b504c09a1..000000000 --- a/build/contracts-min/IexecAccessorsDelegate.json +++ /dev/null @@ -1,816 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "deal", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "consumed", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "signer", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "category", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "count", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecCategoryManager.json b/build/contracts-min/IexecCategoryManager.json deleted file mode 100644 index e8059b6ad..000000000 --- a/build/contracts-min/IexecCategoryManager.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecCategoryManagerDelegate.json b/build/contracts-min/IexecCategoryManagerDelegate.json deleted file mode 100644 index 6a26bfb55..000000000 --- a/build/contracts-min/IexecCategoryManagerDelegate.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecClerkInterface.json b/build/contracts-min/IexecClerkInterface.json deleted file mode 100644 index 92444a092..000000000 --- a/build/contracts-min/IexecClerkInterface.json +++ /dev/null @@ -1,2337 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "DepositFor", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Withdraw", - "type": "event" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Account", - "name": "account", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "_targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "WORKERPOOL_STAKE_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "KITTY_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "KITTY_MIN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "GROUPMEMBER_PURPOSE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EIP712DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "iexechub", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewRequestDeals", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "requestdeals", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Deal", - "name": "deal", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "consumed", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "bool", - "name": "presigned", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "signAppOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "signDatasetOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "signWorkerpoolOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "signRequestOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "cancelAppOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "cancelDatasetOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "cancelWorkerpoolOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "cancelRequestOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecERC20.json b/build/contracts-min/IexecERC20.json deleted file mode 100644 index c452cb949..000000000 --- a/build/contracts-min/IexecERC20.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecERC20Common.json b/build/contracts-min/IexecERC20Common.json deleted file mode 100644 index 7bdb6cd10..000000000 --- a/build/contracts-min/IexecERC20Common.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecERC20Core.json b/build/contracts-min/IexecERC20Core.json deleted file mode 100644 index cbbc84369..000000000 --- a/build/contracts-min/IexecERC20Core.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecERC20Delegate.json b/build/contracts-min/IexecERC20Delegate.json deleted file mode 100644 index 7b8245c4d..000000000 --- a/build/contracts-min/IexecERC20Delegate.json +++ /dev/null @@ -1,349 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "extraData", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowNative.json b/build/contracts-min/IexecEscrowNative.json deleted file mode 100644 index 78282c08e..000000000 --- a/build/contracts-min/IexecEscrowNative.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowNativeDelegate.json b/build/contracts-min/IexecEscrowNativeDelegate.json deleted file mode 100644 index e1a3e6dbb..000000000 --- a/build/contracts-min/IexecEscrowNativeDelegate.json +++ /dev/null @@ -1,315 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowToken.json b/build/contracts-min/IexecEscrowToken.json deleted file mode 100644 index 90b78403a..000000000 --- a/build/contracts-min/IexecEscrowToken.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowTokenDelegate.json b/build/contracts-min/IexecEscrowTokenDelegate.json deleted file mode 100644 index 081f30019..000000000 --- a/build/contracts-min/IexecEscrowTokenDelegate.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowTokenSwap.json b/build/contracts-min/IexecEscrowTokenSwap.json deleted file mode 100644 index caaec1f11..000000000 --- a/build/contracts-min/IexecEscrowTokenSwap.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecEscrowTokenSwapDelegate.json b/build/contracts-min/IexecEscrowTokenSwapDelegate.json deleted file mode 100644 index d4fd2e2b0..000000000 --- a/build/contracts-min/IexecEscrowTokenSwapDelegate.json +++ /dev/null @@ -1,713 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecHubInterface.json b/build/contracts-min/IexecHubInterface.json deleted file mode 100644 index ed5aca9a0..000000000 --- a/build/contracts-min/IexecHubInterface.json +++ /dev/null @@ -1,923 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Category", - "name": "category", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "count", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "CONSENSUS_DURATION_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REVEAL_DURATION_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "iexecclerk", - "outputs": [ - { - "internalType": "contract IexecClerkInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract AppRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract DatasetRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract WorkerpoolRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_iexecclerkAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - } - ], - "name": "attachContracts", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecODBLibCore.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibCore.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecODBLibCore.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - } - ], - "internalType": "struct IexecODBLibCore.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "checkResources", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_workerpoolSign", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_taskid", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecODBLibCore.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecODBLibCore.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecInterfaceNative.json b/build/contracts-min/IexecInterfaceNative.json deleted file mode 100644 index 1531e69e1..000000000 --- a/build/contracts-min/IexecInterfaceNative.json +++ /dev/null @@ -1,3317 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecInterfaceNativeABILegacy.json b/build/contracts-min/IexecInterfaceNativeABILegacy.json deleted file mode 100644 index 78ef23e24..000000000 --- a/build/contracts-min/IexecInterfaceNativeABILegacy.json +++ /dev/null @@ -1,3630 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecInterfaceToken.json b/build/contracts-min/IexecInterfaceToken.json deleted file mode 100644 index 9e0bb2abb..000000000 --- a/build/contracts-min/IexecInterfaceToken.json +++ /dev/null @@ -1,3838 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecInterfaceTokenABILegacy.json b/build/contracts-min/IexecInterfaceTokenABILegacy.json deleted file mode 100644 index 2e779cb28..000000000 --- a/build/contracts-min/IexecInterfaceTokenABILegacy.json +++ /dev/null @@ -1,4151 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecLibCore_v5.json b/build/contracts-min/IexecLibCore_v5.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/IexecLibCore_v5.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/IexecLibOrders_v5.json b/build/contracts-min/IexecLibOrders_v5.json deleted file mode 100644 index ebf894e09..000000000 --- a/build/contracts-min/IexecLibOrders_v5.json +++ /dev/null @@ -1,867 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "APPORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "APPORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "DATASETORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "DATASETORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "EIP712DOMAIN_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "REQUESTORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "REQUESTORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "WORKERPOOLORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "datasethash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "_requestorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "_datasetorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "_workerpoolorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "_apporderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "_domain", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "domainhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "apphash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "requesthash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "workerpoolhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecMaintenance.json b/build/contracts-min/IexecMaintenance.json deleted file mode 100644 index ac144a2c6..000000000 --- a/build/contracts-min/IexecMaintenance.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecMaintenanceDelegate.json b/build/contracts-min/IexecMaintenanceDelegate.json deleted file mode 100644 index 148a807e9..000000000 --- a/build/contracts-min/IexecMaintenanceDelegate.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_token", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - }, - { - "internalType": "uint8", - "name": "_decimal", - "type": "uint8" - }, - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_v3_iexecHubAddress", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_teebroker", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_callbackgas", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecMaintenanceExtra.json b/build/contracts-min/IexecMaintenanceExtra.json deleted file mode 100644 index 0a1284c85..000000000 --- a/build/contracts-min/IexecMaintenanceExtra.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "changeRegistries", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecMaintenanceExtraDelegate.json b/build/contracts-min/IexecMaintenanceExtraDelegate.json deleted file mode 100644 index 4d5aedff0..000000000 --- a/build/contracts-min/IexecMaintenanceExtraDelegate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - } - ], - "name": "changeRegistries", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecODBLibCore.json b/build/contracts-min/IexecODBLibCore.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/IexecODBLibCore.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/IexecODBLibOrders.json b/build/contracts-min/IexecODBLibOrders.json deleted file mode 100644 index 76b75c508..000000000 --- a/build/contracts-min/IexecODBLibOrders.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "APPORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DATASETORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EIP712DOMAIN_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REQUESTORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "WORKERPOOLORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "apphash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "requesthash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "datasethash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "workerpoolhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecODBLibOrders.EIP712Domain", - "name": "_domain", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "domainhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_structHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_domainHash", - "type": "bytes32" - } - ], - "name": "toEthTypedStructHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "typedStructHash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecOrderManagement.json b/build/contracts-min/IexecOrderManagement.json deleted file mode 100644 index b8225dc50..000000000 --- a/build/contracts-min/IexecOrderManagement.json +++ /dev/null @@ -1,462 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecOrderManagementDelegate.json b/build/contracts-min/IexecOrderManagementDelegate.json deleted file mode 100644 index 4cd6ea1f0..000000000 --- a/build/contracts-min/IexecOrderManagementDelegate.json +++ /dev/null @@ -1,514 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "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": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "_apporderoperation", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "_datasetorderoperation", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "_workerpoolorderoperation", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "_requestorderoperation", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecPoco1.json b/build/contracts-min/IexecPoco1.json deleted file mode 100644 index fa1983510..000000000 --- a/build/contracts-min/IexecPoco1.json +++ /dev/null @@ -1,504 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecPoco1Delegate.json b/build/contracts-min/IexecPoco1Delegate.json deleted file mode 100644 index 6c1488756..000000000 --- a/build/contracts-min/IexecPoco1Delegate.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecPoco2.json b/build/contracts-min/IexecPoco2.json deleted file mode 100644 index 3806b9006..000000000 --- a/build/contracts-min/IexecPoco2.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecPoco2Delegate.json b/build/contracts-min/IexecPoco2Delegate.json deleted file mode 100644 index 3ddfe5684..000000000 --- a/build/contracts-min/IexecPoco2Delegate.json +++ /dev/null @@ -1,605 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_authorizationSign", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_resultsCallback", - "type": "bytes" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_authorizationSign", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_resultsCallback", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_taskid", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecRelay.json b/build/contracts-min/IexecRelay.json deleted file mode 100644 index 2d496e6b6..000000000 --- a/build/contracts-min/IexecRelay.json +++ /dev/null @@ -1,575 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecRelayDelegate.json b/build/contracts-min/IexecRelayDelegate.json deleted file mode 100644 index cf3ed0ec6..000000000 --- a/build/contracts-min/IexecRelayDelegate.json +++ /dev/null @@ -1,627 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/IexecTokenSpender.json b/build/contracts-min/IexecTokenSpender.json deleted file mode 100644 index bf4f0230c..000000000 --- a/build/contracts-min/IexecTokenSpender.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/InitializableUpgradeabilityProxy.json b/build/contracts-min/InitializableUpgradeabilityProxy.json deleted file mode 100644 index 1c43a29d1..000000000 --- a/build/contracts-min/InitializableUpgradeabilityProxy.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_logic", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "payable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/LibMap2_bytes4_address_bytes.json b/build/contracts-min/LibMap2_bytes4_address_bytes.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/LibMap2_bytes4_address_bytes.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/LibSet_bytes4.json b/build/contracts-min/LibSet_bytes4.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/LibSet_bytes4.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/Migrations.json b/build/contracts-min/Migrations.json deleted file mode 100644 index f9b84281c..000000000 --- a/build/contracts-min/Migrations.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "lastCompletedMigration", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "completed", - "type": "uint256" - } - ], - "name": "setCompleted", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newAddress", - "type": "address" - } - ], - "name": "upgrade", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Ownable.json b/build/contracts-min/Ownable.json deleted file mode 100644 index 813c6d565..000000000 --- a/build/contracts-min/Ownable.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Proxy.json b/build/contracts-min/Proxy.json deleted file mode 100644 index 28cbaa892..000000000 --- a/build/contracts-min/Proxy.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "networks": {} -} diff --git a/build/contracts-min/PublicResolver.json b/build/contracts-min/PublicResolver.json deleted file mode 100644 index cc92ee0c1..000000000 --- a/build/contracts-min/PublicResolver.json +++ /dev/null @@ -1,769 +0,0 @@ -{ - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "data", - "type": "bytes" - } - ], - "name": "setDNSRecords", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "key", - "type": "string" - }, - { - "name": "value", - "type": "string" - } - ], - "name": "setText", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "interfaceImplementer", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "contentTypes", - "type": "uint256" - } - ], - "name": "ABI", - "outputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "x", - "type": "bytes32" - }, - { - "name": "y", - "type": "bytes32" - } - ], - "name": "setPubkey", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "hash", - "type": "bytes" - } - ], - "name": "setContenthash", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "addr", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "bytes32" - } - ], - "name": "hasDNSRecords", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "key", - "type": "string" - } - ], - "name": "text", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "contentType", - "type": "uint256" - }, - { - "name": "data", - "type": "bytes" - } - ], - "name": "setABI", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "coinType", - "type": "uint256" - }, - { - "name": "a", - "type": "bytes" - } - ], - "name": "setAddr", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "bytes32" - }, - { - "name": "resource", - "type": "uint16" - } - ], - "name": "dnsRecord", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "clearDNSZone", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "contenthash", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "pubkey", - "outputs": [ - { - "name": "x", - "type": "bytes32" - }, - { - "name": "y", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "a", - "type": "address" - } - ], - "name": "setAddr", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "interfaceID", - "type": "bytes4" - }, - { - "name": "implementer", - "type": "address" - } - ], - "name": "setInterface", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "coinType", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - }, - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - } - ], - "name": "authorisations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_ens", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "target", - "type": "address" - }, - { - "indexed": false, - "name": "isAuthorised", - "type": "bool" - } - ], - "name": "AuthorisationChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "indexedKey", - "type": "string" - }, - { - "indexed": false, - "name": "key", - "type": "string" - } - ], - "name": "TextChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "x", - "type": "bytes32" - }, - { - "indexed": false, - "name": "y", - "type": "bytes32" - } - ], - "name": "PubkeyChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "string" - } - ], - "name": "NameChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "interfaceID", - "type": "bytes4" - }, - { - "indexed": false, - "name": "implementer", - "type": "address" - } - ], - "name": "InterfaceChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "bytes" - }, - { - "indexed": false, - "name": "resource", - "type": "uint16" - }, - { - "indexed": false, - "name": "record", - "type": "bytes" - } - ], - "name": "DNSRecordChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "bytes" - }, - { - "indexed": false, - "name": "resource", - "type": "uint16" - } - ], - "name": "DNSRecordDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - } - ], - "name": "DNSZoneCleared", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "hash", - "type": "bytes" - } - ], - "name": "ContenthashChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "a", - "type": "address" - } - ], - "name": "AddrChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "coinType", - "type": "uint256" - }, - { - "indexed": false, - "name": "newAddress", - "type": "bytes" - } - ], - "name": "AddressChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "contentType", - "type": "uint256" - } - ], - "name": "ABIChanged", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "target", - "type": "address" - }, - { - "name": "isAuthorised", - "type": "bool" - } - ], - "name": "setAuthorisation", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "data", - "type": "bytes[]" - } - ], - "name": "multicall", - "outputs": [ - { - "name": "results", - "type": "bytes[]" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/RLC.json b/build/contracts-min/RLC.json deleted file mode 100644 index 2d9312e4c..000000000 --- a/build/contracts-min/RLC.json +++ /dev/null @@ -1,670 +0,0 @@ -{ - "abi": [ - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint8" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "initialSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "version", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "locked", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "refill", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_giver", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "forceApprove", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_toburn", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "forceBurn", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - }, - { - "name": "_extraData", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "remaining", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "networks": { - "1": { - "address": "0x607F4C5BB672230e8672085532f7e901544a7375", - "links": {} - }, - "3": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0x7314dc4d7794b5e7894212ca1556ae8e3de58621", - "updated_at": 1507185226658 - }, - "4": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xf1e6ad3a7ef0c86c915f0fedf80ed851809bea90", - "updated_at": 1507153008876 - }, - "5": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xe0d00540a3729B4fdB96f92534dA97DC7973Af8b", - "updated_at": 1561724003000 - }, - "31": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0x88b37ff3c0df0692f982a28099a9999c4a422293", - "updated_at": 1521045503088 - }, - "42": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xc57538846ec405ea25deb00e0f9b29a432d53507", - "updated_at": 1507187064558 - } - } -} diff --git a/build/contracts-min/Registry.json b/build/contracts-min/Registry.json deleted file mode 100644 index 58807c550..000000000 --- a/build/contracts-min/Registry.json +++ /dev/null @@ -1,605 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_master", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/RegistryEntry.json b/build/contracts-min/RegistryEntry.json deleted file mode 100644 index f30f80dd3..000000000 --- a/build/contracts-min/RegistryEntry.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/ReverseRegistrar.json b/build/contracts-min/ReverseRegistrar.json deleted file mode 100644 index 3d2d04661..000000000 --- a/build/contracts-min/ReverseRegistrar.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "contract ENS", - "name": "ensAddr", - "type": "address" - }, - { - "internalType": "contract NameResolver", - "name": "resolverAddr", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "constant": true, - "inputs": [], - "name": "ADDR_REVERSE_NODE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "defaultResolver", - "outputs": [ - { - "internalType": "contract NameResolver", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "ens", - "outputs": [ - { - "internalType": "contract ENS", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "claim", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "claimWithResolver", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "node", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/SafeMath.json b/build/contracts-min/SafeMath.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/SafeMath.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/SafeMathExtended.json b/build/contracts-min/SafeMathExtended.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/SafeMathExtended.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/SignatureVerifier.json b/build/contracts-min/SignatureVerifier.json deleted file mode 100644 index 813c6d565..000000000 --- a/build/contracts-min/SignatureVerifier.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Store.json b/build/contracts-min/Store.json deleted file mode 100644 index 813c6d565..000000000 --- a/build/contracts-min/Store.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Strings.json b/build/contracts-min/Strings.json deleted file mode 100644 index 92d6f245c..000000000 --- a/build/contracts-min/Strings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "abi": [], - "networks": {} -} diff --git a/build/contracts-min/TestClient.json b/build/contracts-min/TestClient.json deleted file mode 100644 index 3a10e7a83..000000000 --- a/build/contracts-min/TestClient.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "result", - "type": "bytes" - } - ], - "name": "GotResult", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "gstore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "store", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "result", - "type": "bytes" - } - ], - "name": "receiveResult", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/TestReceiver.json b/build/contracts-min/TestReceiver.json deleted file mode 100644 index 94bcea8d7..000000000 --- a/build/contracts-min/TestReceiver.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "extraData", - "type": "bytes" - } - ], - "name": "GotApproval", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_value", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_token", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_extraData", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/TimelockController.json b/build/contracts-min/TimelockController.json deleted file mode 100644 index 2aaf770a3..000000000 --- a/build/contracts-min/TimelockController.json +++ /dev/null @@ -1,755 +0,0 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "minDelay", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "administrators", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "proposers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "executors", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "CallExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "CallScheduled", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "Cancelled", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldDuration", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newDuration", - "type": "uint256" - } - ], - "name": "MinDelayChange", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTOR_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "PROPOSER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "TIMELOCK_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "getRoleMember", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleMemberCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationPending", - "outputs": [ - { - "internalType": "bool", - "name": "pending", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationReady", - "outputs": [ - { - "internalType": "bool", - "name": "ready", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationDone", - "outputs": [ - { - "internalType": "bool", - "name": "done", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "getTimestamp", - "outputs": [ - { - "internalType": "uint256", - "name": "timestamp", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMinDelay", - "outputs": [ - { - "internalType": "uint256", - "name": "duration", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "hashOperation", - "outputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "hashOperationBatch", - "outputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "schedule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "scheduleBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "cancel", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "executeBatch", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "newDelay", - "type": "uint256" - } - ], - "name": "updateDelay", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/Workerpool.json b/build/contracts-min/Workerpool.json deleted file mode 100644 index 8ce66686c..000000000 --- a/build/contracts-min/Workerpool.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "oldSchedulerRewardRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "PolicyUpdate", - "type": "event" - }, - { - "inputs": [], - "name": "m_schedulerRewardRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerStakeRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerpoolDescription", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "changePolicy", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/WorkerpoolInterface.json b/build/contracts-min/WorkerpoolInterface.json deleted file mode 100644 index c170f52e4..000000000 --- a/build/contracts-min/WorkerpoolInterface.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "oldSchedulerRewardRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "PolicyUpdate", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerpoolDescription", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerStakeRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_schedulerRewardRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "changePolicy", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts-min/WorkerpoolRegistry.json b/build/contracts-min/WorkerpoolRegistry.json deleted file mode 100644 index 7f003ec6e..000000000 --- a/build/contracts-min/WorkerpoolRegistry.json +++ /dev/null @@ -1,1358 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "createWorkerpool", - "outputs": [ - { - "internalType": "contract Workerpool", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "predictWorkerpool", - "outputs": [ - { - "internalType": "contract Workerpool", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - } - } -} diff --git a/build/contracts-min/WorkerpoolRegistryInterface.json b/build/contracts-min/WorkerpoolRegistryInterface.json deleted file mode 100644 index 24e05adbe..000000000 --- a/build/contracts-min/WorkerpoolRegistryInterface.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpoolOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "workerpoolDescription", - "type": "string" - } - ], - "name": "CreateWorkerpool", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "createWorkerpool", - "outputs": [ - { - "internalType": "contract WorkerpoolInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "networks": {} -} diff --git a/build/contracts/AccessControl.json b/build/contracts/AccessControl.json deleted file mode 100644 index b12658d03..000000000 --- a/build/contracts/AccessControl.json +++ /dev/null @@ -1,7582 +0,0 @@ -{ - "contractName": "AccessControl", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleMemberCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "getRoleMember", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x92f7900d382761c7faefeaced81c6b4f1aae909ed0551803bfe8f27101956360\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://407c0864143968542e5cf5aa7556916d2cf292b201e3dadb65662e9a3aa24187\",\"dweb:/ipfs/QmSnXzYAUaGLGr7uofRbgQraTJvatbjQLBPhyYiMd18oUJ\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\nimport \"../utils/EnumerableSet.sol\";\nimport \"../utils/Address.sol\";\nimport \"../GSN/Context.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```\n * function foo() public {\n * require(hasRole(MY_ROLE, msg.sender));\n * ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it.\n */\nabstract contract AccessControl is Context {\n using EnumerableSet for EnumerableSet.AddressSet;\n using Address for address;\n\n struct RoleData {\n EnumerableSet.AddressSet members;\n bytes32 adminRole;\n }\n\n mapping (bytes32 => RoleData) private _roles;\n\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n /**\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n *\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n * {RoleAdminChanged} not being emitted signaling this.\n *\n * _Available since v3.1._\n */\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n /**\n * @dev Emitted when `account` is granted `role`.\n *\n * `sender` is the account that originated the contract call, an admin role\n * bearer except when using {_setupRole}.\n */\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n /**\n * @dev Emitted when `account` is revoked `role`.\n *\n * `sender` is the account that originated the contract call:\n * - if using `revokeRole`, it is the admin role bearer\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\n */\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n /**\n * @dev Returns `true` if `account` has been granted `role`.\n */\n function hasRole(bytes32 role, address account) public view returns (bool) {\n return _roles[role].members.contains(account);\n }\n\n /**\n * @dev Returns the number of accounts that have `role`. Can be used\n * together with {getRoleMember} to enumerate all bearers of a role.\n */\n function getRoleMemberCount(bytes32 role) public view returns (uint256) {\n return _roles[role].members.length();\n }\n\n /**\n * @dev Returns one of the accounts that have `role`. `index` must be a\n * value between 0 and {getRoleMemberCount}, non-inclusive.\n *\n * Role bearers are not sorted in any particular way, and their ordering may\n * change at any point.\n *\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n * you perform all queries on the same block. See the following\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n * for more information.\n */\n function getRoleMember(bytes32 role, uint256 index) public view returns (address) {\n return _roles[role].members.at(index);\n }\n\n /**\n * @dev Returns the admin role that controls `role`. See {grantRole} and\n * {revokeRole}.\n *\n * To change a role's admin, use {_setRoleAdmin}.\n */\n function getRoleAdmin(bytes32 role) public view returns (bytes32) {\n return _roles[role].adminRole;\n }\n\n /**\n * @dev Grants `role` to `account`.\n *\n * If `account` had not been already granted `role`, emits a {RoleGranted}\n * event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n */\n function grantRole(bytes32 role, address account) public virtual {\n require(hasRole(_roles[role].adminRole, _msgSender()), \"AccessControl: sender must be an admin to grant\");\n\n _grantRole(role, account);\n }\n\n /**\n * @dev Revokes `role` from `account`.\n *\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n */\n function revokeRole(bytes32 role, address account) public virtual {\n require(hasRole(_roles[role].adminRole, _msgSender()), \"AccessControl: sender must be an admin to revoke\");\n\n _revokeRole(role, account);\n }\n\n /**\n * @dev Revokes `role` from the calling account.\n *\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\n * purpose is to provide a mechanism for accounts to lose their privileges\n * if they are compromised (such as when a trusted device is misplaced).\n *\n * If the calling account had been granted `role`, emits a {RoleRevoked}\n * event.\n *\n * Requirements:\n *\n * - the caller must be `account`.\n */\n function renounceRole(bytes32 role, address account) public virtual {\n require(account == _msgSender(), \"AccessControl: can only renounce roles for self\");\n\n _revokeRole(role, account);\n }\n\n /**\n * @dev Grants `role` to `account`.\n *\n * If `account` had not been already granted `role`, emits a {RoleGranted}\n * event. Note that unlike {grantRole}, this function doesn't perform any\n * checks on the calling account.\n *\n * [WARNING]\n * ====\n * This function should only be called from the constructor when setting\n * up the initial roles for the system.\n *\n * Using this function in any other way is effectively circumventing the admin\n * system imposed by {AccessControl}.\n * ====\n */\n function _setupRole(bytes32 role, address account) internal virtual {\n _grantRole(role, account);\n }\n\n /**\n * @dev Sets `adminRole` as ``role``'s admin role.\n *\n * Emits a {RoleAdminChanged} event.\n */\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);\n _roles[role].adminRole = adminRole;\n }\n\n function _grantRole(bytes32 role, address account) private {\n if (_roles[role].members.add(account)) {\n emit RoleGranted(role, account, _msgSender());\n }\n }\n\n function _revokeRole(bytes32 role, address account) private {\n if (_roles[role].members.remove(account)) {\n emit RoleRevoked(role, account, _msgSender());\n }\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/access/AccessControl.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/access/AccessControl.sol", - "exportedSymbols": { - "AccessControl": [ - 13962 - ] - }, - "id": 13963, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13681, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:81" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "file": "../utils/EnumerableSet.sol", - "id": 13682, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 17748, - "src": "58:36:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "../utils/Address.sol", - "id": 13683, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 16655, - "src": "95:30:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../GSN/Context.sol", - "id": 13684, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 13680, - "src": "126:28:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13686, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "1468:7:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13687, - "nodeType": "InheritanceSpecifier", - "src": "1468:7:81" - } - ], - "contractDependencies": [ - 13679 - ], - "contractKind": "contract", - "documentation": { - "id": 13685, - "nodeType": "StructuredDocumentation", - "src": "156:1276:81", - "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." - }, - "fullyImplemented": true, - "id": 13962, - "linearizedBaseContracts": [ - 13962, - 13679 - ], - "name": "AccessControl", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 13690, - "libraryName": { - "contractScope": null, - "id": 13688, - "name": "EnumerableSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17747, - "src": "1488:13:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$17747", - "typeString": "library EnumerableSet" - } - }, - "nodeType": "UsingForDirective", - "src": "1482:49:81", - "typeName": { - "contractScope": null, - "id": 13689, - "name": "EnumerableSet.AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "1506:24:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - } - }, - { - "id": 13693, - "libraryName": { - "contractScope": null, - "id": 13691, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16654, - "src": "1542:7:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "1536:26:81", - "typeName": { - "id": 13692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1554:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "canonicalName": "AccessControl.RoleData", - "id": 13698, - "members": [ - { - "constant": false, - "id": 13695, - "mutability": "mutable", - "name": "members", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13698, - "src": "1594:32:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 13694, - "name": "EnumerableSet.AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "1594:24:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13697, - "mutability": "mutable", - "name": "adminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13698, - "src": "1636:17:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13696, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RoleData", - "nodeType": "StructDefinition", - "scope": 13962, - "src": "1568:92:81", - "visibility": "public" - }, - { - "constant": false, - "id": 13702, - "mutability": "mutable", - "name": "_roles", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13962, - "src": "1666:44:81", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "typeName": { - "id": 13701, - "keyType": { - "id": 13699, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1675:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1666:29:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "valueType": { - "contractScope": null, - "id": 13700, - "name": "RoleData", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13698, - "src": "1686:8:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage_ptr", - "typeString": "struct AccessControl.RoleData" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "functionSelector": "a217fddf", - "id": 13705, - "mutability": "constant", - "name": "DEFAULT_ADMIN_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13962, - "src": "1717:49:81", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13703, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1717:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783030", - "id": 13704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1762:4:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x00" - }, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": { - "id": 13706, - "nodeType": "StructuredDocumentation", - "src": "1773:292:81", - "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" - }, - "id": 13714, - "name": "RoleAdminChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 13713, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13708, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2093:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13707, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2093:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13710, - "indexed": true, - "mutability": "mutable", - "name": "previousAdminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2115:33:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13709, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2115:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13712, - "indexed": true, - "mutability": "mutable", - "name": "newAdminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2150:28:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13711, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2150:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2092:87:81" - }, - "src": "2070:110:81" - }, - { - "anonymous": false, - "documentation": { - "id": 13715, - "nodeType": "StructuredDocumentation", - "src": "2186:198:81", - "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {_setupRole}." - }, - "id": 13723, - "name": "RoleGranted", - "nodeType": "EventDefinition", - "parameters": { - "id": 13722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13717, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2407:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13716, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2407:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13719, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2429:23:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2429:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13721, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2454:22:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2454:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2406:71:81" - }, - "src": "2389:89:81" - }, - { - "anonymous": false, - "documentation": { - "id": 13724, - "nodeType": "StructuredDocumentation", - "src": "2484:275:81", - "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" - }, - "id": 13732, - "name": "RoleRevoked", - "nodeType": "EventDefinition", - "parameters": { - "id": 13731, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13726, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2782:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13725, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2782:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13728, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2804:23:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2804:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13730, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2829:22:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2829:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2781:71:81" - }, - "src": "2764:89:81" - }, - { - "body": { - "id": 13750, - "nodeType": "Block", - "src": "3015:62:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13747, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13737, - "src": "3062:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13742, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "3032:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13744, - "indexExpression": { - "argumentTypes": null, - "id": 13743, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13735, - "src": "3039:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3032:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13745, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "3032:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13746, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 17612, - "src": "3032:29:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) view returns (bool)" - } - }, - "id": 13748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3032:38:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 13741, - "id": 13749, - "nodeType": "Return", - "src": "3025:45:81" - } - ] - }, - "documentation": { - "id": 13733, - "nodeType": "StructuredDocumentation", - "src": "2859:76:81", - "text": " @dev Returns `true` if `account` has been granted `role`." - }, - "functionSelector": "91d14854", - "id": 13751, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13735, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "2957:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2957:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13737, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "2971:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2971:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2956:31:81" - }, - "returnParameters": { - "id": 13741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13740, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "3009:4:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13739, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3009:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3008:6:81" - }, - "scope": 13962, - "src": "2940:137:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13766, - "nodeType": "Block", - "src": "3317:53:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13759, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "3334:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13761, - "indexExpression": { - "argumentTypes": null, - "id": 13760, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13754, - "src": "3341:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3334:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13762, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "3334:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17626, - "src": "3334:27:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer) view returns (uint256)" - } - }, - "id": 13764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3334:29:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13758, - "id": 13765, - "nodeType": "Return", - "src": "3327:36:81" - } - ] - }, - "documentation": { - "id": 13752, - "nodeType": "StructuredDocumentation", - "src": "3083:157:81", - "text": " @dev Returns the number of accounts that have `role`. Can be used\n together with {getRoleMember} to enumerate all bearers of a role." - }, - "functionSelector": "ca15c873", - "id": 13767, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleMemberCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13754, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13767, - "src": "3273:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13753, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3273:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3272:14:81" - }, - "returnParameters": { - "id": 13758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13757, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13767, - "src": "3308:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13756, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3308:7:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3307:9:81" - }, - "scope": 13962, - "src": "3245:125:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13785, - "nodeType": "Block", - "src": "4037:54:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13782, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13772, - "src": "4078:5:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13777, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4054:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13779, - "indexExpression": { - "argumentTypes": null, - "id": 13778, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13770, - "src": "4061:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4054:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13780, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "4054:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13781, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17649, - "src": "4054:23:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,uint256) view returns (address)" - } - }, - "id": 13783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4054:30:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 13776, - "id": 13784, - "nodeType": "Return", - "src": "4047:37:81" - } - ] - }, - "documentation": { - "id": 13768, - "nodeType": "StructuredDocumentation", - "src": "3376:574:81", - "text": " @dev Returns one of the accounts that have `role`. `index` must be a\n value between 0 and {getRoleMemberCount}, non-inclusive.\n Role bearers are not sorted in any particular way, and their ordering may\n change at any point.\n WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n you perform all queries on the same block. See the following\n https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n for more information." - }, - "functionSelector": "9010d07c", - "id": 13786, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleMember", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13770, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "3978:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13769, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3978:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13772, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "3992:13:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13771, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3992:7:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3977:29:81" - }, - "returnParameters": { - "id": 13776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13775, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "4028:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13774, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4028:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4027:9:81" - }, - "scope": 13962, - "src": "3955:136:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13799, - "nodeType": "Block", - "src": "4338:46:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13794, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4355:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13796, - "indexExpression": { - "argumentTypes": null, - "id": 13795, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13789, - "src": "4362:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4355:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "4355:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 13793, - "id": 13798, - "nodeType": "Return", - "src": "4348:29:81" - } - ] - }, - "documentation": { - "id": 13787, - "nodeType": "StructuredDocumentation", - "src": "4097:170:81", - "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." - }, - "functionSelector": "248a9ca3", - "id": 13800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleAdmin", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13790, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13789, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13800, - "src": "4294:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13788, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4294:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4293:14:81" - }, - "returnParameters": { - "id": 13793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13792, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13800, - "src": "4329:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13791, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4329:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4328:9:81" - }, - "scope": 13962, - "src": "4272:112:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13825, - "nodeType": "Block", - "src": "4699:158:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13810, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4725:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13812, - "indexExpression": { - "argumentTypes": null, - "id": 13811, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13803, - "src": "4732:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4725:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13813, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "4725:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13814, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "4749:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4749:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13809, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "4717:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 13816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4717:45:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74", - "id": 13817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4764:49:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ba7116025f1ef6b158a2bd2238e617f30e17c9e456917d901086ca4f8ad2811", - "typeString": "literal_string \"AccessControl: sender must be an admin to grant\"" - }, - "value": "AccessControl: sender must be an admin to grant" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0ba7116025f1ef6b158a2bd2238e617f30e17c9e456917d901086ca4f8ad2811", - "typeString": "literal_string \"AccessControl: sender must be an admin to grant\"" - } - ], - "id": 13808, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4709:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4709:105:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13819, - "nodeType": "ExpressionStatement", - "src": "4709:105:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13821, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13803, - "src": "4836:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13822, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13805, - "src": "4842:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13820, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13937, - "src": "4825:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4825:25:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13824, - "nodeType": "ExpressionStatement", - "src": "4825:25:81" - } - ] - }, - "documentation": { - "id": 13801, - "nodeType": "StructuredDocumentation", - "src": "4390:239:81", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "2f2ff15d", - "id": 13826, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "grantRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13803, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13826, - "src": "4653:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4653:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13805, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13826, - "src": "4667:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4667:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4652:31:81" - }, - "returnParameters": { - "id": 13807, - "nodeType": "ParameterList", - "parameters": [], - "src": "4699:0:81" - }, - "scope": 13962, - "src": "4634:223:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13851, - "nodeType": "Block", - "src": "5157:160:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13836, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "5183:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13838, - "indexExpression": { - "argumentTypes": null, - "id": 13837, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "5190:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5183:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13839, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "5183:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13840, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "5207:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5207:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13835, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "5175:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 13842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5175:45:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65", - "id": 13843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5222:50:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_64344570eab7406ca49d34d38bf2b2496dfda914405390c5057c8b0aabf798a3", - "typeString": "literal_string \"AccessControl: sender must be an admin to revoke\"" - }, - "value": "AccessControl: sender must be an admin to revoke" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_64344570eab7406ca49d34d38bf2b2496dfda914405390c5057c8b0aabf798a3", - "typeString": "literal_string \"AccessControl: sender must be an admin to revoke\"" - } - ], - "id": 13834, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5167:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5167:106:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13845, - "nodeType": "ExpressionStatement", - "src": "5167:106:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13847, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "5296:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13848, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13831, - "src": "5302:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13846, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13961, - "src": "5284:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5284:26:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13850, - "nodeType": "ExpressionStatement", - "src": "5284:26:81" - } - ] - }, - "documentation": { - "id": 13827, - "nodeType": "StructuredDocumentation", - "src": "4863:223:81", - "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "d547741f", - "id": 13852, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "revokeRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13829, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13852, - "src": "5111:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13828, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5111:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13831, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13852, - "src": "5125:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13830, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5125:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5110:31:81" - }, - "returnParameters": { - "id": 13833, - "nodeType": "ParameterList", - "parameters": [], - "src": "5157:0:81" - }, - "scope": 13962, - "src": "5091:226:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13873, - "nodeType": "Block", - "src": "5876:137:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 13864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13861, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13857, - "src": "5894:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13862, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "5905:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5905:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5894:23:81", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", - "id": 13865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5919:49:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - }, - "value": "AccessControl: can only renounce roles for self" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - } - ], - "id": 13860, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5886:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5886:83:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13867, - "nodeType": "ExpressionStatement", - "src": "5886:83:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13869, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13855, - "src": "5992:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13870, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13857, - "src": "5998:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13868, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13961, - "src": "5980:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5980:26:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13872, - "nodeType": "ExpressionStatement", - "src": "5980:26:81" - } - ] - }, - "documentation": { - "id": 13853, - "nodeType": "StructuredDocumentation", - "src": "5323:480:81", - "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." - }, - "functionSelector": "36568abe", - "id": 13874, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "renounceRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13858, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13855, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13874, - "src": "5830:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13854, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5830:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13857, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13874, - "src": "5844:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13856, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5844:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5829:31:81" - }, - "returnParameters": { - "id": 13859, - "nodeType": "ParameterList", - "parameters": [], - "src": "5876:0:81" - }, - "scope": 13962, - "src": "5808:205:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13887, - "nodeType": "Block", - "src": "6646:42:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13883, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13877, - "src": "6667:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13884, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13879, - "src": "6673:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13882, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13937, - "src": "6656:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6656:25:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13886, - "nodeType": "ExpressionStatement", - "src": "6656:25:81" - } - ] - }, - "documentation": { - "id": 13875, - "nodeType": "StructuredDocumentation", - "src": "6019:554:81", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====" - }, - "id": 13888, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setupRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13877, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13888, - "src": "6598:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13876, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6598:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13879, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13888, - "src": "6612:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13878, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6612:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6597:31:81" - }, - "returnParameters": { - "id": 13881, - "nodeType": "ParameterList", - "parameters": [], - "src": "6646:0:81" - }, - "scope": 13962, - "src": "6578:110:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13912, - "nodeType": "Block", - "src": "6886:123:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13897, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6918:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13898, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "6924:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13900, - "indexExpression": { - "argumentTypes": null, - "id": 13899, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6931:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6924:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13901, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "6924:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13902, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13893, - "src": "6948:9:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 13896, - "name": "RoleAdminChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13714, - "src": "6901:16:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32,bytes32)" - } - }, - "id": 13903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6901:57:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13904, - "nodeType": "EmitStatement", - "src": "6896:62:81" - }, - { - "expression": { - "argumentTypes": null, - "id": 13910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13905, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "6968:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13907, - "indexExpression": { - "argumentTypes": null, - "id": 13906, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6975:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6968:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13908, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "6968:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 13909, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13893, - "src": "6993:9:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6968:34:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 13911, - "nodeType": "ExpressionStatement", - "src": "6968:34:81" - } - ] - }, - "documentation": { - "id": 13889, - "nodeType": "StructuredDocumentation", - "src": "6694:114:81", - "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." - }, - "id": 13913, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setRoleAdmin", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13891, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13913, - "src": "6836:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13890, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6836:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13893, - "mutability": "mutable", - "name": "adminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13913, - "src": "6850:17:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13892, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6850:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6835:33:81" - }, - "returnParameters": { - "id": 13895, - "nodeType": "ParameterList", - "parameters": [], - "src": "6886:0:81" - }, - "scope": 13962, - "src": "6813:196:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13936, - "nodeType": "Block", - "src": "7074:125:81", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13925, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13917, - "src": "7113:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13920, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "7088:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13922, - "indexExpression": { - "argumentTypes": null, - "id": 13921, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13915, - "src": "7095:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7088:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13923, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "7088:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13924, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17566, - "src": "7088:24:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)" - } - }, - "id": 13926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7088:33:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13935, - "nodeType": "IfStatement", - "src": "7084:109:81", - "trueBody": { - "id": 13934, - "nodeType": "Block", - "src": "7123:70:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13928, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13915, - "src": "7154:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13929, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13917, - "src": "7160:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13930, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7169:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7169:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13927, - "name": "RoleGranted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13723, - "src": "7142:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 13932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7142:40:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13933, - "nodeType": "EmitStatement", - "src": "7137:45:81" - } - ] - } - } - ] - }, - "documentation": null, - "id": 13937, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_grantRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13915, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13937, - "src": "7035:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13914, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7035:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13917, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13937, - "src": "7049:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7049:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7034:31:81" - }, - "returnParameters": { - "id": 13919, - "nodeType": "ParameterList", - "parameters": [], - "src": "7074:0:81" - }, - "scope": 13962, - "src": "7015:184:81", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 13960, - "nodeType": "Block", - "src": "7265:128:81", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13949, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13941, - "src": "7307:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13944, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "7279:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13946, - "indexExpression": { - "argumentTypes": null, - "id": 13945, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13939, - "src": "7286:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7279:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13947, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "7279:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13948, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17589, - "src": "7279:27:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)" - } - }, - "id": 13950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7279:36:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13959, - "nodeType": "IfStatement", - "src": "7275:112:81", - "trueBody": { - "id": 13958, - "nodeType": "Block", - "src": "7317:70:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13952, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13939, - "src": "7348:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13953, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13941, - "src": "7354:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13954, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7363:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7363:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13951, - "name": "RoleRevoked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13732, - "src": "7336:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 13956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7336:40:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13957, - "nodeType": "EmitStatement", - "src": "7331:45:81" - } - ] - } - } - ] - }, - "documentation": null, - "id": 13961, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_revokeRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13939, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13961, - "src": "7226:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7226:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13941, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13961, - "src": "7240:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7240:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7225:31:81" - }, - "returnParameters": { - "id": 13943, - "nodeType": "ParameterList", - "parameters": [], - "src": "7265:0:81" - }, - "scope": 13962, - "src": "7205:188:81", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - } - ], - "scope": 13963, - "src": "1433:5962:81" - } - ], - "src": "33:7363:81" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/access/AccessControl.sol", - "exportedSymbols": { - "AccessControl": [ - 13962 - ] - }, - "id": 13963, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13681, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:81" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "file": "../utils/EnumerableSet.sol", - "id": 13682, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 17748, - "src": "58:36:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "../utils/Address.sol", - "id": 13683, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 16655, - "src": "95:30:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../GSN/Context.sol", - "id": 13684, - "nodeType": "ImportDirective", - "scope": 13963, - "sourceUnit": 13680, - "src": "126:28:81", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13686, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "1468:7:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13687, - "nodeType": "InheritanceSpecifier", - "src": "1468:7:81" - } - ], - "contractDependencies": [ - 13679 - ], - "contractKind": "contract", - "documentation": { - "id": 13685, - "nodeType": "StructuredDocumentation", - "src": "156:1276:81", - "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." - }, - "fullyImplemented": true, - "id": 13962, - "linearizedBaseContracts": [ - 13962, - 13679 - ], - "name": "AccessControl", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 13690, - "libraryName": { - "contractScope": null, - "id": 13688, - "name": "EnumerableSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17747, - "src": "1488:13:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$17747", - "typeString": "library EnumerableSet" - } - }, - "nodeType": "UsingForDirective", - "src": "1482:49:81", - "typeName": { - "contractScope": null, - "id": 13689, - "name": "EnumerableSet.AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "1506:24:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - } - }, - { - "id": 13693, - "libraryName": { - "contractScope": null, - "id": 13691, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16654, - "src": "1542:7:81", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "1536:26:81", - "typeName": { - "id": 13692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1554:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "canonicalName": "AccessControl.RoleData", - "id": 13698, - "members": [ - { - "constant": false, - "id": 13695, - "mutability": "mutable", - "name": "members", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13698, - "src": "1594:32:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 13694, - "name": "EnumerableSet.AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "1594:24:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13697, - "mutability": "mutable", - "name": "adminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13698, - "src": "1636:17:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13696, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RoleData", - "nodeType": "StructDefinition", - "scope": 13962, - "src": "1568:92:81", - "visibility": "public" - }, - { - "constant": false, - "id": 13702, - "mutability": "mutable", - "name": "_roles", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13962, - "src": "1666:44:81", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "typeName": { - "id": 13701, - "keyType": { - "id": 13699, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1675:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1666:29:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" - }, - "valueType": { - "contractScope": null, - "id": 13700, - "name": "RoleData", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13698, - "src": "1686:8:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage_ptr", - "typeString": "struct AccessControl.RoleData" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "functionSelector": "a217fddf", - "id": 13705, - "mutability": "constant", - "name": "DEFAULT_ADMIN_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13962, - "src": "1717:49:81", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13703, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1717:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783030", - "id": 13704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1762:4:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x00" - }, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": { - "id": 13706, - "nodeType": "StructuredDocumentation", - "src": "1773:292:81", - "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" - }, - "id": 13714, - "name": "RoleAdminChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 13713, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13708, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2093:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13707, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2093:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13710, - "indexed": true, - "mutability": "mutable", - "name": "previousAdminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2115:33:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13709, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2115:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13712, - "indexed": true, - "mutability": "mutable", - "name": "newAdminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13714, - "src": "2150:28:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13711, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2150:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2092:87:81" - }, - "src": "2070:110:81" - }, - { - "anonymous": false, - "documentation": { - "id": 13715, - "nodeType": "StructuredDocumentation", - "src": "2186:198:81", - "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {_setupRole}." - }, - "id": 13723, - "name": "RoleGranted", - "nodeType": "EventDefinition", - "parameters": { - "id": 13722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13717, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2407:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13716, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2407:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13719, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2429:23:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2429:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13721, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13723, - "src": "2454:22:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2454:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2406:71:81" - }, - "src": "2389:89:81" - }, - { - "anonymous": false, - "documentation": { - "id": 13724, - "nodeType": "StructuredDocumentation", - "src": "2484:275:81", - "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" - }, - "id": 13732, - "name": "RoleRevoked", - "nodeType": "EventDefinition", - "parameters": { - "id": 13731, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13726, - "indexed": true, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2782:20:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13725, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2782:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13728, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2804:23:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2804:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13730, - "indexed": true, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13732, - "src": "2829:22:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2829:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2781:71:81" - }, - "src": "2764:89:81" - }, - { - "body": { - "id": 13750, - "nodeType": "Block", - "src": "3015:62:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13747, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13737, - "src": "3062:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13742, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "3032:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13744, - "indexExpression": { - "argumentTypes": null, - "id": 13743, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13735, - "src": "3039:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3032:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13745, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "3032:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13746, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 17612, - "src": "3032:29:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) view returns (bool)" - } - }, - "id": 13748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3032:38:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 13741, - "id": 13749, - "nodeType": "Return", - "src": "3025:45:81" - } - ] - }, - "documentation": { - "id": 13733, - "nodeType": "StructuredDocumentation", - "src": "2859:76:81", - "text": " @dev Returns `true` if `account` has been granted `role`." - }, - "functionSelector": "91d14854", - "id": 13751, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13735, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "2957:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2957:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13737, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "2971:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2971:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2956:31:81" - }, - "returnParameters": { - "id": 13741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13740, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13751, - "src": "3009:4:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13739, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3009:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3008:6:81" - }, - "scope": 13962, - "src": "2940:137:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13766, - "nodeType": "Block", - "src": "3317:53:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13759, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "3334:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13761, - "indexExpression": { - "argumentTypes": null, - "id": 13760, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13754, - "src": "3341:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3334:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13762, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "3334:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17626, - "src": "3334:27:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer) view returns (uint256)" - } - }, - "id": 13764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3334:29:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13758, - "id": 13765, - "nodeType": "Return", - "src": "3327:36:81" - } - ] - }, - "documentation": { - "id": 13752, - "nodeType": "StructuredDocumentation", - "src": "3083:157:81", - "text": " @dev Returns the number of accounts that have `role`. Can be used\n together with {getRoleMember} to enumerate all bearers of a role." - }, - "functionSelector": "ca15c873", - "id": 13767, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleMemberCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13754, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13767, - "src": "3273:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13753, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3273:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3272:14:81" - }, - "returnParameters": { - "id": 13758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13757, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13767, - "src": "3308:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13756, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3308:7:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3307:9:81" - }, - "scope": 13962, - "src": "3245:125:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13785, - "nodeType": "Block", - "src": "4037:54:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13782, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13772, - "src": "4078:5:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13777, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4054:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13779, - "indexExpression": { - "argumentTypes": null, - "id": 13778, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13770, - "src": "4061:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4054:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13780, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "4054:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13781, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17649, - "src": "4054:23:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_AddressSet_$17543_storage_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,uint256) view returns (address)" - } - }, - "id": 13783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4054:30:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 13776, - "id": 13784, - "nodeType": "Return", - "src": "4047:37:81" - } - ] - }, - "documentation": { - "id": 13768, - "nodeType": "StructuredDocumentation", - "src": "3376:574:81", - "text": " @dev Returns one of the accounts that have `role`. `index` must be a\n value between 0 and {getRoleMemberCount}, non-inclusive.\n Role bearers are not sorted in any particular way, and their ordering may\n change at any point.\n WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n you perform all queries on the same block. See the following\n https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n for more information." - }, - "functionSelector": "9010d07c", - "id": 13786, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleMember", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13770, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "3978:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13769, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3978:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13772, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "3992:13:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13771, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3992:7:81", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3977:29:81" - }, - "returnParameters": { - "id": 13776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13775, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13786, - "src": "4028:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13774, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4028:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4027:9:81" - }, - "scope": 13962, - "src": "3955:136:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13799, - "nodeType": "Block", - "src": "4338:46:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13794, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4355:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13796, - "indexExpression": { - "argumentTypes": null, - "id": 13795, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13789, - "src": "4362:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4355:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "4355:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 13793, - "id": 13798, - "nodeType": "Return", - "src": "4348:29:81" - } - ] - }, - "documentation": { - "id": 13787, - "nodeType": "StructuredDocumentation", - "src": "4097:170:81", - "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." - }, - "functionSelector": "248a9ca3", - "id": 13800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getRoleAdmin", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13790, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13789, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13800, - "src": "4294:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13788, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4294:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4293:14:81" - }, - "returnParameters": { - "id": 13793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13792, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13800, - "src": "4329:7:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13791, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4329:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4328:9:81" - }, - "scope": 13962, - "src": "4272:112:81", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 13825, - "nodeType": "Block", - "src": "4699:158:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13810, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "4725:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13812, - "indexExpression": { - "argumentTypes": null, - "id": 13811, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13803, - "src": "4732:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4725:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13813, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "4725:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13814, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "4749:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4749:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13809, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "4717:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 13816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4717:45:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74", - "id": 13817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4764:49:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ba7116025f1ef6b158a2bd2238e617f30e17c9e456917d901086ca4f8ad2811", - "typeString": "literal_string \"AccessControl: sender must be an admin to grant\"" - }, - "value": "AccessControl: sender must be an admin to grant" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0ba7116025f1ef6b158a2bd2238e617f30e17c9e456917d901086ca4f8ad2811", - "typeString": "literal_string \"AccessControl: sender must be an admin to grant\"" - } - ], - "id": 13808, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4709:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4709:105:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13819, - "nodeType": "ExpressionStatement", - "src": "4709:105:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13821, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13803, - "src": "4836:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13822, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13805, - "src": "4842:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13820, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13937, - "src": "4825:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4825:25:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13824, - "nodeType": "ExpressionStatement", - "src": "4825:25:81" - } - ] - }, - "documentation": { - "id": 13801, - "nodeType": "StructuredDocumentation", - "src": "4390:239:81", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "2f2ff15d", - "id": 13826, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "grantRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13803, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13826, - "src": "4653:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4653:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13805, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13826, - "src": "4667:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4667:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4652:31:81" - }, - "returnParameters": { - "id": 13807, - "nodeType": "ParameterList", - "parameters": [], - "src": "4699:0:81" - }, - "scope": 13962, - "src": "4634:223:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13851, - "nodeType": "Block", - "src": "5157:160:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13836, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "5183:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13838, - "indexExpression": { - "argumentTypes": null, - "id": 13837, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "5190:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5183:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13839, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "5183:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13840, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "5207:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5207:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13835, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "5175:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 13842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5175:45:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65", - "id": 13843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5222:50:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_64344570eab7406ca49d34d38bf2b2496dfda914405390c5057c8b0aabf798a3", - "typeString": "literal_string \"AccessControl: sender must be an admin to revoke\"" - }, - "value": "AccessControl: sender must be an admin to revoke" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_64344570eab7406ca49d34d38bf2b2496dfda914405390c5057c8b0aabf798a3", - "typeString": "literal_string \"AccessControl: sender must be an admin to revoke\"" - } - ], - "id": 13834, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5167:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5167:106:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13845, - "nodeType": "ExpressionStatement", - "src": "5167:106:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13847, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "5296:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13848, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13831, - "src": "5302:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13846, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13961, - "src": "5284:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5284:26:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13850, - "nodeType": "ExpressionStatement", - "src": "5284:26:81" - } - ] - }, - "documentation": { - "id": 13827, - "nodeType": "StructuredDocumentation", - "src": "4863:223:81", - "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." - }, - "functionSelector": "d547741f", - "id": 13852, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "revokeRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13829, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13852, - "src": "5111:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13828, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5111:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13831, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13852, - "src": "5125:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13830, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5125:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5110:31:81" - }, - "returnParameters": { - "id": 13833, - "nodeType": "ParameterList", - "parameters": [], - "src": "5157:0:81" - }, - "scope": 13962, - "src": "5091:226:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13873, - "nodeType": "Block", - "src": "5876:137:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 13864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13861, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13857, - "src": "5894:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13862, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "5905:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5905:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5894:23:81", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", - "id": 13865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5919:49:81", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - }, - "value": "AccessControl: can only renounce roles for self" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", - "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" - } - ], - "id": 13860, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5886:7:81", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5886:83:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13867, - "nodeType": "ExpressionStatement", - "src": "5886:83:81" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13869, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13855, - "src": "5992:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13870, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13857, - "src": "5998:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13868, - "name": "_revokeRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13961, - "src": "5980:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5980:26:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13872, - "nodeType": "ExpressionStatement", - "src": "5980:26:81" - } - ] - }, - "documentation": { - "id": 13853, - "nodeType": "StructuredDocumentation", - "src": "5323:480:81", - "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." - }, - "functionSelector": "36568abe", - "id": 13874, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "renounceRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13858, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13855, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13874, - "src": "5830:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13854, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5830:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13857, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13874, - "src": "5844:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13856, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5844:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5829:31:81" - }, - "returnParameters": { - "id": 13859, - "nodeType": "ParameterList", - "parameters": [], - "src": "5876:0:81" - }, - "scope": 13962, - "src": "5808:205:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 13887, - "nodeType": "Block", - "src": "6646:42:81", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13883, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13877, - "src": "6667:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13884, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13879, - "src": "6673:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13882, - "name": "_grantRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13937, - "src": "6656:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 13885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6656:25:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13886, - "nodeType": "ExpressionStatement", - "src": "6656:25:81" - } - ] - }, - "documentation": { - "id": 13875, - "nodeType": "StructuredDocumentation", - "src": "6019:554:81", - "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====" - }, - "id": 13888, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setupRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13877, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13888, - "src": "6598:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13876, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6598:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13879, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13888, - "src": "6612:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13878, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6612:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6597:31:81" - }, - "returnParameters": { - "id": 13881, - "nodeType": "ParameterList", - "parameters": [], - "src": "6646:0:81" - }, - "scope": 13962, - "src": "6578:110:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13912, - "nodeType": "Block", - "src": "6886:123:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13897, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6918:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13898, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "6924:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13900, - "indexExpression": { - "argumentTypes": null, - "id": 13899, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6931:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6924:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13901, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "6924:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13902, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13893, - "src": "6948:9:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 13896, - "name": "RoleAdminChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13714, - "src": "6901:16:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32,bytes32)" - } - }, - "id": 13903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6901:57:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13904, - "nodeType": "EmitStatement", - "src": "6896:62:81" - }, - { - "expression": { - "argumentTypes": null, - "id": 13910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13905, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "6968:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13907, - "indexExpression": { - "argumentTypes": null, - "id": 13906, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13891, - "src": "6975:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6968:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13908, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "adminRole", - "nodeType": "MemberAccess", - "referencedDeclaration": 13697, - "src": "6968:22:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 13909, - "name": "adminRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13893, - "src": "6993:9:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6968:34:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 13911, - "nodeType": "ExpressionStatement", - "src": "6968:34:81" - } - ] - }, - "documentation": { - "id": 13889, - "nodeType": "StructuredDocumentation", - "src": "6694:114:81", - "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." - }, - "id": 13913, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setRoleAdmin", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13891, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13913, - "src": "6836:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13890, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6836:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13893, - "mutability": "mutable", - "name": "adminRole", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13913, - "src": "6850:17:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13892, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6850:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6835:33:81" - }, - "returnParameters": { - "id": 13895, - "nodeType": "ParameterList", - "parameters": [], - "src": "6886:0:81" - }, - "scope": 13962, - "src": "6813:196:81", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13936, - "nodeType": "Block", - "src": "7074:125:81", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13925, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13917, - "src": "7113:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13920, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "7088:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13922, - "indexExpression": { - "argumentTypes": null, - "id": 13921, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13915, - "src": "7095:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7088:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13923, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "7088:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13924, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17566, - "src": "7088:24:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)" - } - }, - "id": 13926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7088:33:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13935, - "nodeType": "IfStatement", - "src": "7084:109:81", - "trueBody": { - "id": 13934, - "nodeType": "Block", - "src": "7123:70:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13928, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13915, - "src": "7154:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13929, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13917, - "src": "7160:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13930, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7169:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7169:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13927, - "name": "RoleGranted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13723, - "src": "7142:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 13932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7142:40:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13933, - "nodeType": "EmitStatement", - "src": "7137:45:81" - } - ] - } - } - ] - }, - "documentation": null, - "id": 13937, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_grantRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13915, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13937, - "src": "7035:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13914, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7035:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13917, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13937, - "src": "7049:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7049:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7034:31:81" - }, - "returnParameters": { - "id": 13919, - "nodeType": "ParameterList", - "parameters": [], - "src": "7074:0:81" - }, - "scope": 13962, - "src": "7015:184:81", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 13960, - "nodeType": "Block", - "src": "7265:128:81", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13949, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13941, - "src": "7307:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 13944, - "name": "_roles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13702, - "src": "7279:6:81", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$13698_storage_$", - "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" - } - }, - "id": 13946, - "indexExpression": { - "argumentTypes": null, - "id": 13945, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13939, - "src": "7286:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7279:12:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RoleData_$13698_storage", - "typeString": "struct AccessControl.RoleData storage ref" - } - }, - "id": 13947, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "members", - "nodeType": "MemberAccess", - "referencedDeclaration": 13695, - "src": "7279:20:81", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage", - "typeString": "struct EnumerableSet.AddressSet storage ref" - } - }, - "id": 13948, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17589, - "src": "7279:27:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_AddressSet_$17543_storage_ptr_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_AddressSet_$17543_storage_ptr_$", - "typeString": "function (struct EnumerableSet.AddressSet storage pointer,address) returns (bool)" - } - }, - "id": 13950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7279:36:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13959, - "nodeType": "IfStatement", - "src": "7275:112:81", - "trueBody": { - "id": 13958, - "nodeType": "Block", - "src": "7317:70:81", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13952, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13939, - "src": "7348:4:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 13953, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13941, - "src": "7354:7:81", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13954, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7363:10:81", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7363:12:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 13951, - "name": "RoleRevoked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13732, - "src": "7336:11:81", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", - "typeString": "function (bytes32,address,address)" - } - }, - "id": 13956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7336:40:81", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13957, - "nodeType": "EmitStatement", - "src": "7331:45:81" - } - ] - } - } - ] - }, - "documentation": null, - "id": 13961, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_revokeRole", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13939, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13961, - "src": "7226:12:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7226:7:81", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13941, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13961, - "src": "7240:15:81", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7240:7:81", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7225:31:81" - }, - "returnParameters": { - "id": 13943, - "nodeType": "ParameterList", - "parameters": [], - "src": "7265:0:81" - }, - "scope": 13962, - "src": "7205:188:81", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - } - ], - "scope": 13963, - "src": "1433:5962:81" - } - ], - "src": "33:7363:81" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.897Z", - "devdoc": { - "details": "Contract module that allows children to implement role-based access control mechanisms. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", - "events": { - "RoleAdminChanged(bytes32,bytes32,bytes32)": { - "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" - }, - "RoleGranted(bytes32,address,address)": { - "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {_setupRole}." - }, - "RoleRevoked(bytes32,address,address)": { - "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" - } - }, - "kind": "dev", - "methods": { - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." - }, - "getRoleMember(bytes32,uint256)": { - "details": "Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information." - }, - "getRoleMemberCount(bytes32)": { - "details": "Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Address.json b/build/contracts/Address.json deleted file mode 100644 index e174fbab3..000000000 --- a/build/contracts/Address.json +++ /dev/null @@ -1,5860 +0,0 @@ -{ - "contractName": "Address", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209e1519a9c50ed8b8b7b31072dc839456d61ddbf24cb4ef529705675e2d8fd0ea64736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209e1519a9c50ed8b8b7b31072dc839456d61ddbf24cb4ef529705675e2d8fd0ea64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "126:5951:95:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "126:5951:95:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.2;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // According to EIP-1052, 0x0 is the value returned for not-yet created accounts\n // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned\n // for accounts without code, i.e. `keccak256('')`\n bytes32 codehash;\n bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\n // solhint-disable-next-line no-inline-assembly\n assembly { codehash := extcodehash(account) }\n return (codehash != accountHash && codehash != 0x0);\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return _functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n return _functionCallWithValue(target, data, value, errorMessage);\n }\n\n function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/utils/Address.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "exportedSymbols": { - "Address": [ - 16654 - ] - }, - "id": 16655, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16452, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:95" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16453, - "nodeType": "StructuredDocumentation", - "src": "58:67:95", - "text": " @dev Collection of functions related to the address type" - }, - "fullyImplemented": true, - "id": 16654, - "linearizedBaseContracts": [ - 16654 - ], - "name": "Address", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 16478, - "nodeType": "Block", - "src": "784:544:95", - "statements": [ - { - "assignments": [ - 16462 - ], - "declarations": [ - { - "constant": false, - "id": 16462, - "mutability": "mutable", - "name": "codehash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16478, - "src": "1036:16:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1036:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16463, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "1036:16:95" - }, - { - "assignments": [ - 16465 - ], - "declarations": [ - { - "constant": false, - "id": 16465, - "mutability": "mutable", - "name": "accountHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16478, - "src": "1062:19:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16464, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1062:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16467, - "initialValue": { - "argumentTypes": null, - "hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730", - "id": 16466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1084:66:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_89477152217924674838424037953991966239322087453347756267410168184682657981552_by_1", - "typeString": "int_const 8947...(69 digits omitted)...1552" - }, - "value": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1062:88:95" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1225:36:95", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1227:32:95", - "value": { - "arguments": [ - { - "name": "account", - "nodeType": "YulIdentifier", - "src": "1251:7:95" - } - ], - "functionName": { - "name": "extcodehash", - "nodeType": "YulIdentifier", - "src": "1239:11:95" - }, - "nodeType": "YulFunctionCall", - "src": "1239:20:95" - }, - "variableNames": [ - { - "name": "codehash", - "nodeType": "YulIdentifier", - "src": "1227:8:95" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16456, - "isOffset": false, - "isSlot": false, - "src": "1251:7:95", - "valueSize": 1 - }, - { - "declaration": 16462, - "isOffset": false, - "isSlot": false, - "src": "1227:8:95", - "valueSize": 1 - } - ], - "id": 16468, - "nodeType": "InlineAssembly", - "src": "1216:45:95" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 16475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 16471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16469, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16462, - "src": "1278:8:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 16470, - "name": "accountHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16465, - "src": "1290:11:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1278:23:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 16474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16472, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16462, - "src": "1305:8:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 16473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1317:3:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "1305:15:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1278:42:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 16476, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1277:44:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 16460, - "id": 16477, - "nodeType": "Return", - "src": "1270:51:95" - } - ] - }, - "documentation": { - "id": 16454, - "nodeType": "StructuredDocumentation", - "src": "148:565:95", - "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" - }, - "id": 16479, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16456, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16479, - "src": "738:15:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "738:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "737:17:95" - }, - "returnParameters": { - "id": 16460, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16459, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16479, - "src": "778:4:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "778:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "777:6:95" - }, - "scope": 16654, - "src": "718:610:95", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16512, - "nodeType": "Block", - "src": "2316:320:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16490, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2342:4:95", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - ], - "id": 16489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2334:7:95", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2334:7:95", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2334:13:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2334:21:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16493, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16484, - "src": "2359:6:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2334:31:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 16495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2367:31:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - }, - "value": "Address: insufficient balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - } - ], - "id": 16487, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2326:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2326:73:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16497, - "nodeType": "ExpressionStatement", - "src": "2326:73:95" - }, - { - "assignments": [ - 16499, - null - ], - "declarations": [ - { - "constant": false, - "id": 16499, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16512, - "src": "2488:12:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16498, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2488:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 16506, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 16504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2538:2:95", - "subdenomination": null, - "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": { - "argumentTypes": null, - "id": 16500, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16482, - "src": "2506:9:95", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 16501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2506:14:95", - "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": 16503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 16502, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16484, - "src": "2529:6:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "2506:31:95", - "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": 16505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2506:35:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2487:54:95" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16508, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16499, - "src": "2559:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 16509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2568:60:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - }, - "value": "Address: unable to send value, recipient may have reverted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - } - ], - "id": 16507, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2551:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2551:78:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16511, - "nodeType": "ExpressionStatement", - "src": "2551:78:95" - } - ] - }, - "documentation": { - "id": 16480, - "nodeType": "StructuredDocumentation", - "src": "1334:906:95", - "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." - }, - "id": 16513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sendValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16482, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16513, - "src": "2264:25:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 16481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2264:15:95", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16484, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16513, - "src": "2291:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16483, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2291:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:43:95" - }, - "returnParameters": { - "id": 16486, - "nodeType": "ParameterList", - "parameters": [], - "src": "2316:0:95" - }, - "scope": 16654, - "src": "2245:391:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16529, - "nodeType": "Block", - "src": "3466:82:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16524, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16516, - "src": "3494:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16525, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16518, - "src": "3502:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 16526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:32:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - }, - "value": "Address: low-level call failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - } - ], - "id": 16523, - "name": "functionCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16530, - 16550 - ], - "referencedDeclaration": 16550, - "src": "3481:12:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" - } - }, - "id": 16527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3481:60:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16522, - "id": 16528, - "nodeType": "Return", - "src": "3474:67:95" - } - ] - }, - "documentation": { - "id": 16514, - "nodeType": "StructuredDocumentation", - "src": "2642:730:95", - "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" - }, - "id": 16530, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16516, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3399:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3399:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16518, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3415:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16517, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3415:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3398:35:95" - }, - "returnParameters": { - "id": 16522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16521, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3452:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16520, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3452:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3451:14:95" - }, - "scope": 16654, - "src": "3377:171:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16549, - "nodeType": "Block", - "src": "3887:77:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16543, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16533, - "src": "3927:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16544, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16535, - "src": "3935:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 16545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3941:1:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 16546, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16537, - "src": "3944:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16542, - "name": "_functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16653, - "src": "3904:22:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3904:53:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16541, - "id": 16548, - "nodeType": "Return", - "src": "3897:60:95" - } - ] - }, - "documentation": { - "id": 16531, - "nodeType": "StructuredDocumentation", - "src": "3554:211:95", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "id": 16550, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16533, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3792:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3792:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16535, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3808:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16534, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3808:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16537, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3827:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3827:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3791:63:95" - }, - "returnParameters": { - "id": 16541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16540, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3873:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16539, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3873:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3872:14:95" - }, - "scope": 16654, - "src": "3770:194:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16569, - "nodeType": "Block", - "src": "4439:111:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16563, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16553, - "src": "4478:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16564, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16555, - "src": "4486:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 16565, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16557, - "src": "4492:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 16566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:43:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - }, - "value": "Address: low-level call with value failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - } - ], - "id": 16562, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16570, - 16603 - ], - "referencedDeclaration": 16603, - "src": "4456:21:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4456:87:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16561, - "id": 16568, - "nodeType": "Return", - "src": "4449:94:95" - } - ] - }, - "documentation": { - "id": 16551, - "nodeType": "StructuredDocumentation", - "src": "3970:351:95", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" - }, - "id": 16570, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16553, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4357:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16552, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4357:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16555, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4373:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16554, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4373:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16557, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4392:13:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16556, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4392:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4356:50:95" - }, - "returnParameters": { - "id": 16561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16560, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4425:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4425:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4424:14:95" - }, - "scope": 16654, - "src": "4326:224:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16602, - "nodeType": "Block", - "src": "4939:172:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16587, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4965:4:95", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - ], - "id": 16586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4957:7:95", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16585, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4957:7:95", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:13:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4957:21:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16590, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16577, - "src": "4982:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4957:30:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 16592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4989:40:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - }, - "value": "Address: insufficient balance for call" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - } - ], - "id": 16584, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4949:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4949:81:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16594, - "nodeType": "ExpressionStatement", - "src": "4949:81:95" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16596, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16573, - "src": "5070:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16597, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16575, - "src": "5078:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 16598, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16577, - "src": "5084:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16599, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16579, - "src": "5091:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16595, - "name": "_functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16653, - "src": "5047:22:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5047:57:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16583, - "id": 16601, - "nodeType": "Return", - "src": "5040:64:95" - } - ] - }, - "documentation": { - "id": 16571, - "nodeType": "StructuredDocumentation", - "src": "4556:237:95", - "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "id": 16603, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16573, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4829:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16572, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4829:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16575, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4845:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16574, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4845:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16577, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4864:13:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16576, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4864:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16579, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4879:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16578, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4879:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4828:78:95" - }, - "returnParameters": { - "id": 16583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16582, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4925:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16581, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4925:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4924:14:95" - }, - "scope": 16654, - "src": "4798:313:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16652, - "nodeType": "Block", - "src": "5261:814:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16618, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16605, - "src": "5290:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16617, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16479, - "src": "5279:10:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 16619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5279:18:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 16620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5299:31:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - }, - "value": "Address: call to non-contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - } - ], - "id": 16616, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5271:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5271:60:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16622, - "nodeType": "ExpressionStatement", - "src": "5271:60:95" - }, - { - "assignments": [ - 16624, - 16626 - ], - "declarations": [ - { - "constant": false, - "id": 16624, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16652, - "src": "5402:12:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16623, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5402:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16626, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16652, - "src": "5416:23:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16625, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5416:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16633, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16631, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16607, - "src": "5474:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 16627, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16605, - "src": "5443:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5443:11:95", - "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": 16630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 16629, - "name": "weiValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16609, - "src": "5463:8:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "5443:30:95", - "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": 16632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5443:36:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5401:78:95" - }, - { - "condition": { - "argumentTypes": null, - "id": 16634, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16624, - "src": "5493:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16650, - "nodeType": "Block", - "src": "5550:519:95", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16638, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16626, - "src": "5634:10:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 16639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5634:17:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5654:1:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5634:21:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16648, - "nodeType": "Block", - "src": "6006:53:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16645, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16611, - "src": "6031:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16644, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "6024:6:95", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 16646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6024:20:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16647, - "nodeType": "ExpressionStatement", - "src": "6024:20:95" - } - ] - }, - "id": 16649, - "nodeType": "IfStatement", - "src": "5630:429:95", - "trueBody": { - "id": 16643, - "nodeType": "Block", - "src": "5657:343:95", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "5841:145:95", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "5863:40:95", - "value": { - "arguments": [ - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "5892:10:95" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5886:5:95" - }, - "nodeType": "YulFunctionCall", - "src": "5886:17:95" - }, - "variables": [ - { - "name": "returndata_size", - "nodeType": "YulTypedName", - "src": "5867:15:95", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:2:95", - "type": "", - "value": "32" - }, - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "5939:10:95" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5931:3:95" - }, - "nodeType": "YulFunctionCall", - "src": "5931:19:95" - }, - { - "name": "returndata_size", - "nodeType": "YulIdentifier", - "src": "5952:15:95" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "5924:6:95" - }, - "nodeType": "YulFunctionCall", - "src": "5924:44:95" - }, - "nodeType": "YulExpressionStatement", - "src": "5924:44:95" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16626, - "isOffset": false, - "isSlot": false, - "src": "5892:10:95", - "valueSize": 1 - }, - { - "declaration": 16626, - "isOffset": false, - "isSlot": false, - "src": "5939:10:95", - "valueSize": 1 - } - ], - "id": 16642, - "nodeType": "InlineAssembly", - "src": "5832:154:95" - } - ] - } - } - ] - }, - "id": 16651, - "nodeType": "IfStatement", - "src": "5489:580:95", - "trueBody": { - "id": 16637, - "nodeType": "Block", - "src": "5502:42:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16635, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16626, - "src": "5523:10:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16615, - "id": 16636, - "nodeType": "Return", - "src": "5516:17:95" - } - ] - } - } - ] - }, - "documentation": null, - "id": 16653, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16605, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5149:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5149:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16607, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5165:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16606, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5165:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16609, - "mutability": "mutable", - "name": "weiValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5184:16:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16608, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5184:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16611, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5202:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16610, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5202:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5148:81:95" - }, - "returnParameters": { - "id": 16615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16614, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5247:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16613, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5247:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5246:14:95" - }, - "scope": 16654, - "src": "5117:958:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - } - ], - "scope": 16655, - "src": "126:5951:95" - } - ], - "src": "33:6045:95" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "exportedSymbols": { - "Address": [ - 16654 - ] - }, - "id": 16655, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16452, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:95" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16453, - "nodeType": "StructuredDocumentation", - "src": "58:67:95", - "text": " @dev Collection of functions related to the address type" - }, - "fullyImplemented": true, - "id": 16654, - "linearizedBaseContracts": [ - 16654 - ], - "name": "Address", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 16478, - "nodeType": "Block", - "src": "784:544:95", - "statements": [ - { - "assignments": [ - 16462 - ], - "declarations": [ - { - "constant": false, - "id": 16462, - "mutability": "mutable", - "name": "codehash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16478, - "src": "1036:16:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1036:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16463, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "1036:16:95" - }, - { - "assignments": [ - 16465 - ], - "declarations": [ - { - "constant": false, - "id": 16465, - "mutability": "mutable", - "name": "accountHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16478, - "src": "1062:19:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16464, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1062:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16467, - "initialValue": { - "argumentTypes": null, - "hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730", - "id": 16466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1084:66:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_89477152217924674838424037953991966239322087453347756267410168184682657981552_by_1", - "typeString": "int_const 8947...(69 digits omitted)...1552" - }, - "value": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1062:88:95" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1225:36:95", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1227:32:95", - "value": { - "arguments": [ - { - "name": "account", - "nodeType": "YulIdentifier", - "src": "1251:7:95" - } - ], - "functionName": { - "name": "extcodehash", - "nodeType": "YulIdentifier", - "src": "1239:11:95" - }, - "nodeType": "YulFunctionCall", - "src": "1239:20:95" - }, - "variableNames": [ - { - "name": "codehash", - "nodeType": "YulIdentifier", - "src": "1227:8:95" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16456, - "isOffset": false, - "isSlot": false, - "src": "1251:7:95", - "valueSize": 1 - }, - { - "declaration": 16462, - "isOffset": false, - "isSlot": false, - "src": "1227:8:95", - "valueSize": 1 - } - ], - "id": 16468, - "nodeType": "InlineAssembly", - "src": "1216:45:95" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 16475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 16471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16469, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16462, - "src": "1278:8:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 16470, - "name": "accountHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16465, - "src": "1290:11:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1278:23:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 16474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16472, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16462, - "src": "1305:8:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 16473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1317:3:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "1305:15:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1278:42:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 16476, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1277:44:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 16460, - "id": 16477, - "nodeType": "Return", - "src": "1270:51:95" - } - ] - }, - "documentation": { - "id": 16454, - "nodeType": "StructuredDocumentation", - "src": "148:565:95", - "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" - }, - "id": 16479, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16456, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16479, - "src": "738:15:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "738:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "737:17:95" - }, - "returnParameters": { - "id": 16460, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16459, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16479, - "src": "778:4:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "778:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "777:6:95" - }, - "scope": 16654, - "src": "718:610:95", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16512, - "nodeType": "Block", - "src": "2316:320:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16490, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2342:4:95", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - ], - "id": 16489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2334:7:95", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2334:7:95", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2334:13:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2334:21:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16493, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16484, - "src": "2359:6:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2334:31:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 16495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2367:31:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - }, - "value": "Address: insufficient balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", - "typeString": "literal_string \"Address: insufficient balance\"" - } - ], - "id": 16487, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2326:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2326:73:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16497, - "nodeType": "ExpressionStatement", - "src": "2326:73:95" - }, - { - "assignments": [ - 16499, - null - ], - "declarations": [ - { - "constant": false, - "id": 16499, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16512, - "src": "2488:12:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16498, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2488:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 16506, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 16504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2538:2:95", - "subdenomination": null, - "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": { - "argumentTypes": null, - "id": 16500, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16482, - "src": "2506:9:95", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 16501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2506:14:95", - "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": 16503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 16502, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16484, - "src": "2529:6:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "2506:31:95", - "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": 16505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2506:35:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2487:54:95" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16508, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16499, - "src": "2559:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 16509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2568:60:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - }, - "value": "Address: unable to send value, recipient may have reverted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", - "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" - } - ], - "id": 16507, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2551:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2551:78:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16511, - "nodeType": "ExpressionStatement", - "src": "2551:78:95" - } - ] - }, - "documentation": { - "id": 16480, - "nodeType": "StructuredDocumentation", - "src": "1334:906:95", - "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." - }, - "id": 16513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sendValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16482, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16513, - "src": "2264:25:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 16481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2264:15:95", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16484, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16513, - "src": "2291:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16483, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2291:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:43:95" - }, - "returnParameters": { - "id": 16486, - "nodeType": "ParameterList", - "parameters": [], - "src": "2316:0:95" - }, - "scope": 16654, - "src": "2245:391:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16529, - "nodeType": "Block", - "src": "3466:82:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16524, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16516, - "src": "3494:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16525, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16518, - "src": "3502:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 16526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:32:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - }, - "value": "Address: low-level call failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - } - ], - "id": 16523, - "name": "functionCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16530, - 16550 - ], - "referencedDeclaration": 16550, - "src": "3481:12:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" - } - }, - "id": 16527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3481:60:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16522, - "id": 16528, - "nodeType": "Return", - "src": "3474:67:95" - } - ] - }, - "documentation": { - "id": 16514, - "nodeType": "StructuredDocumentation", - "src": "2642:730:95", - "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" - }, - "id": 16530, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16516, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3399:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3399:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16518, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3415:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16517, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3415:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3398:35:95" - }, - "returnParameters": { - "id": 16522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16521, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16530, - "src": "3452:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16520, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3452:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3451:14:95" - }, - "scope": 16654, - "src": "3377:171:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16549, - "nodeType": "Block", - "src": "3887:77:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16543, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16533, - "src": "3927:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16544, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16535, - "src": "3935:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 16545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3941:1:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 16546, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16537, - "src": "3944:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16542, - "name": "_functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16653, - "src": "3904:22:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3904:53:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16541, - "id": 16548, - "nodeType": "Return", - "src": "3897:60:95" - } - ] - }, - "documentation": { - "id": 16531, - "nodeType": "StructuredDocumentation", - "src": "3554:211:95", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "id": 16550, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16533, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3792:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3792:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16535, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3808:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16534, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3808:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16537, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3827:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3827:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3791:63:95" - }, - "returnParameters": { - "id": 16541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16540, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16550, - "src": "3873:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16539, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3873:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3872:14:95" - }, - "scope": 16654, - "src": "3770:194:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16569, - "nodeType": "Block", - "src": "4439:111:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16563, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16553, - "src": "4478:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16564, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16555, - "src": "4486:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 16565, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16557, - "src": "4492:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 16566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:43:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - }, - "value": "Address: low-level call with value failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", - "typeString": "literal_string \"Address: low-level call with value failed\"" - } - ], - "id": 16562, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16570, - 16603 - ], - "referencedDeclaration": 16603, - "src": "4456:21:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4456:87:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16561, - "id": 16568, - "nodeType": "Return", - "src": "4449:94:95" - } - ] - }, - "documentation": { - "id": 16551, - "nodeType": "StructuredDocumentation", - "src": "3970:351:95", - "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" - }, - "id": 16570, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16553, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4357:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16552, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4357:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16555, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4373:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16554, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4373:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16557, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4392:13:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16556, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4392:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4356:50:95" - }, - "returnParameters": { - "id": 16561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16560, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16570, - "src": "4425:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4425:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4424:14:95" - }, - "scope": 16654, - "src": "4326:224:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16602, - "nodeType": "Block", - "src": "4939:172:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16587, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4965:4:95", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - ], - "id": 16586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4957:7:95", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16585, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4957:7:95", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:13:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4957:21:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16590, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16577, - "src": "4982:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4957:30:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 16592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4989:40:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - }, - "value": "Address: insufficient balance for call" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", - "typeString": "literal_string \"Address: insufficient balance for call\"" - } - ], - "id": 16584, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4949:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4949:81:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16594, - "nodeType": "ExpressionStatement", - "src": "4949:81:95" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16596, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16573, - "src": "5070:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16597, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16575, - "src": "5078:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 16598, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16577, - "src": "5084:5:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16599, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16579, - "src": "5091:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16595, - "name": "_functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16653, - "src": "5047:22:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" - } - }, - "id": 16600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5047:57:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16583, - "id": 16601, - "nodeType": "Return", - "src": "5040:64:95" - } - ] - }, - "documentation": { - "id": 16571, - "nodeType": "StructuredDocumentation", - "src": "4556:237:95", - "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" - }, - "id": 16603, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16573, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4829:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16572, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4829:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16575, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4845:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16574, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4845:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16577, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4864:13:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16576, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4864:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16579, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4879:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16578, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4879:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4828:78:95" - }, - "returnParameters": { - "id": 16583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16582, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16603, - "src": "4925:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16581, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4925:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4924:14:95" - }, - "scope": 16654, - "src": "4798:313:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16652, - "nodeType": "Block", - "src": "5261:814:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16618, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16605, - "src": "5290:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16617, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16479, - "src": "5279:10:95", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 16619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5279:18:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 16620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5299:31:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - }, - "value": "Address: call to non-contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", - "typeString": "literal_string \"Address: call to non-contract\"" - } - ], - "id": 16616, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5271:7:95", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5271:60:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16622, - "nodeType": "ExpressionStatement", - "src": "5271:60:95" - }, - { - "assignments": [ - 16624, - 16626 - ], - "declarations": [ - { - "constant": false, - "id": 16624, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16652, - "src": "5402:12:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16623, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5402:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16626, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16652, - "src": "5416:23:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16625, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5416:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16633, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16631, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16607, - "src": "5474:4:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 16627, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16605, - "src": "5443:6:95", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5443:11:95", - "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": 16630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 16629, - "name": "weiValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16609, - "src": "5463:8:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "5443:30:95", - "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": 16632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5443:36:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5401:78:95" - }, - { - "condition": { - "argumentTypes": null, - "id": 16634, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16624, - "src": "5493:7:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16650, - "nodeType": "Block", - "src": "5550:519:95", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16638, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16626, - "src": "5634:10:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 16639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5634:17:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5654:1:95", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5634:21:95", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16648, - "nodeType": "Block", - "src": "6006:53:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16645, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16611, - "src": "6031:12:95", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 16644, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "6024:6:95", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 16646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6024:20:95", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16647, - "nodeType": "ExpressionStatement", - "src": "6024:20:95" - } - ] - }, - "id": 16649, - "nodeType": "IfStatement", - "src": "5630:429:95", - "trueBody": { - "id": 16643, - "nodeType": "Block", - "src": "5657:343:95", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "5841:145:95", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "5863:40:95", - "value": { - "arguments": [ - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "5892:10:95" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5886:5:95" - }, - "nodeType": "YulFunctionCall", - "src": "5886:17:95" - }, - "variables": [ - { - "name": "returndata_size", - "nodeType": "YulTypedName", - "src": "5867:15:95", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:2:95", - "type": "", - "value": "32" - }, - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "5939:10:95" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5931:3:95" - }, - "nodeType": "YulFunctionCall", - "src": "5931:19:95" - }, - { - "name": "returndata_size", - "nodeType": "YulIdentifier", - "src": "5952:15:95" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "5924:6:95" - }, - "nodeType": "YulFunctionCall", - "src": "5924:44:95" - }, - "nodeType": "YulExpressionStatement", - "src": "5924:44:95" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16626, - "isOffset": false, - "isSlot": false, - "src": "5892:10:95", - "valueSize": 1 - }, - { - "declaration": 16626, - "isOffset": false, - "isSlot": false, - "src": "5939:10:95", - "valueSize": 1 - } - ], - "id": 16642, - "nodeType": "InlineAssembly", - "src": "5832:154:95" - } - ] - } - } - ] - }, - "id": 16651, - "nodeType": "IfStatement", - "src": "5489:580:95", - "trueBody": { - "id": 16637, - "nodeType": "Block", - "src": "5502:42:95", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16635, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16626, - "src": "5523:10:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 16615, - "id": 16636, - "nodeType": "Return", - "src": "5516:17:95" - } - ] - } - } - ] - }, - "documentation": null, - "id": 16653, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_functionCallWithValue", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16605, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5149:14:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5149:7:95", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16607, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5165:17:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16606, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5165:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16609, - "mutability": "mutable", - "name": "weiValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5184:16:95", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16608, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5184:7:95", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16611, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5202:26:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16610, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5202:6:95", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5148:81:95" - }, - "returnParameters": { - "id": 16615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16614, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16653, - "src": "5247:12:95", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16613, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5247:5:95", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5246:14:95" - }, - "scope": 16654, - "src": "5117:958:95", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - } - ], - "scope": 16655, - "src": "126:5951:95" - } - ], - "src": "33:6045:95" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.912Z", - "devdoc": { - "details": "Collection of functions related to the address type", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/App.json b/build/contracts/App.json deleted file mode 100644 index 079ab3440..000000000 --- a/build/contracts/App.json +++ /dev/null @@ -1,1601 +0,0 @@ -{ - "contractName": "App", - "abi": [ - { - "inputs": [], - "name": "m_appChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMREnclave", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appType", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_appName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_appType\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_appMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_appChecksum\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_appMREnclave\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appChecksum\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appMREnclave\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appMultiaddr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appType\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"initialize(string,string,bytes,bytes32,bytes)\":{\"notice\":\"Constructor\"},\"m_appName()\":{\"notice\":\"Members\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":\"App\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610a13806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806384aaf12e1161006657806384aaf12e146101c157806386c02c8f146101db5780638da5cb5b14610416578063e30d26a81461041e578063f8c2ceb31461042657610093565b80633121db1c14610098578063358982a31461011857806339e75d45146101955780637b1039991461019d575b600080fd5b610116600480360360408110156100ae57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156100d857600080fd5b8201836020820111156100ea57600080fd5b803590602001918460018302840111600160201b8311171561010b57600080fd5b50909250905061042e565b005b6101206104d7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610120610564565b6101a56105bf565b604080516001600160a01b039092168252519081900360200190f35b6101c96105ce565b60408051918252519081900360200190f35b610116600480360360a08110156101f157600080fd5b810190602081018135600160201b81111561020b57600080fd5b82018360208201111561021d57600080fd5b803590602001918460018302840111600160201b8311171561023e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561029057600080fd5b8201836020820111156102a257600080fd5b803590602001918460018302840111600160201b831117156102c357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561031557600080fd5b82018360208201111561032757600080fd5b803590602001918460018302840111600160201b8311171561034857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103a257600080fd5b8201836020820111156103b457600080fd5b803590602001918460018302840111600160201b831117156103d557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105d4945050505050565b6101a5610639565b6101206106b6565b610120610711565b33610437610639565b6001600160a01b031614610492576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104d28383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061076992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b505050505081565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6000546001600160a01b031681565b60045481565b6105dd336108d4565b84516105f090600190602088019061094a565b50835161060490600290602087019061094a565b50825161061890600390602086019061094a565b506004829055805161063190600590602084019061094a565b505050505050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561068557600080fd5b505afa158015610699573d6000803e3d6000fd5b505050506040513d60208110156106af57600080fd5b5051905090565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156107cf57600080fd5b505afa1580156107e3573d6000803e3d6000fd5b505050506040513d60208110156107f957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610858578181015183820152602001610840565b50505050905090810190601f1680156108855780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b505050506040513d60208110156108ce57600080fd5b50505050565b6000546001600160a01b031615610928576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061098b57805160ff19168380011785556109b8565b828001600101855582156109b8579182015b828111156109b857825182559160200191906001019061099d565b506109c49291506109c8565b5090565b5b808211156109c457600081556001016109c956fea2646970667358221220ad5f2bc07d98b3a5413c9b96d555518769e7754e249f6c3e4364f5393f42efb464736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c806384aaf12e1161006657806384aaf12e146101c157806386c02c8f146101db5780638da5cb5b14610416578063e30d26a81461041e578063f8c2ceb31461042657610093565b80633121db1c14610098578063358982a31461011857806339e75d45146101955780637b1039991461019d575b600080fd5b610116600480360360408110156100ae57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156100d857600080fd5b8201836020820111156100ea57600080fd5b803590602001918460018302840111600160201b8311171561010b57600080fd5b50909250905061042e565b005b6101206104d7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610120610564565b6101a56105bf565b604080516001600160a01b039092168252519081900360200190f35b6101c96105ce565b60408051918252519081900360200190f35b610116600480360360a08110156101f157600080fd5b810190602081018135600160201b81111561020b57600080fd5b82018360208201111561021d57600080fd5b803590602001918460018302840111600160201b8311171561023e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561029057600080fd5b8201836020820111156102a257600080fd5b803590602001918460018302840111600160201b831117156102c357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561031557600080fd5b82018360208201111561032757600080fd5b803590602001918460018302840111600160201b8311171561034857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103a257600080fd5b8201836020820111156103b457600080fd5b803590602001918460018302840111600160201b831117156103d557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105d4945050505050565b6101a5610639565b6101206106b6565b610120610711565b33610437610639565b6001600160a01b031614610492576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104d28383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061076992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b505050505081565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6000546001600160a01b031681565b60045481565b6105dd336108d4565b84516105f090600190602088019061094a565b50835161060490600290602087019061094a565b50825161061890600390602086019061094a565b506004829055805161063190600590602084019061094a565b505050505050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561068557600080fd5b505afa158015610699573d6000803e3d6000fd5b505050506040513d60208110156106af57600080fd5b5051905090565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156107cf57600080fd5b505afa1580156107e3573d6000803e3d6000fd5b505050506040513d60208110156107f957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610858578181015183820152602001610840565b50505050905090810190601f1680156108855780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b505050506040513d60208110156108ce57600080fd5b50505050565b6000546001600160a01b031615610928576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061098b57805160ff19168380011785556109b8565b828001600101855582156109b8579182015b828111156109b857825182559160200191906001019061099d565b506109c49291506109c8565b5090565b5b808211156109c457600081556001016109c956fea2646970667358221220ad5f2bc07d98b3a5413c9b96d555518769e7754e249f6c3e4364f5393f42efb464736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1300:607:52:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1300:607:52:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1816:112:51;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1816:112:51;;;;;;;;;;;;;-1:-1:-1;1816:112:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1816:112:51;;;;;;;;;;-1:-1:-1;1816:112:51;;-1:-1:-1;1816:112:51;-1:-1:-1;1816:112:51;:::i;:::-;;1355:25:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1411:30;;;:::i;1427:25:51:-;;;:::i;:::-;;;;-1:-1:-1;;;;;1427:25:51;;;;;;;;;;;;;;1444:29:52;;;:::i;:::-;;;;;;;;;;;;;;;;1536:369;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1536:369:52;;;;;;;;-1:-1:-1;1536:369:52;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1536:369:52;;;;;;;;-1:-1:-1;1536:369:52;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1536:369:52;;;;;;;;;-1:-1:-1;1536:369:52;;;;-1:-1:-1;1536:369:52;;;;-1:-1:-1;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1536:369:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1536:369:52;;-1:-1:-1;1536:369:52;;-1:-1:-1;;;;;1536:369:52:i;1615:103:51:-;;;:::i;1476:30:52:-;;;:::i;1383:25::-;;;:::i;1816:112:51:-;1766:10;1755:7;:5;:7::i;:::-;-1:-1:-1;;;;;1755:21:51;;1747:57;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;1897:27:::1;1911:4;1918:5;;1897:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1897:8:51::1;::::0;-1:-1:-1;;;1897:27:51:i:1;:::-;1816:112:::0;;;:::o;1355:25:52:-;;;;;;;;;;;;;;;-1:-1:-1;;1355:25:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1411:30::-;;;;;;;;;;;;;;;-1:-1:-1;;1411:30:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1427:25:51;;;-1:-1:-1;;;;;1427:25:51;;:::o;1444:29:52:-;;;;:::o;1536:369::-;1719:23;1731:10;1719:11;:23::i;:::-;1746:25;;;;:9;;:25;;;;;:::i;:::-;-1:-1:-1;1775:25:52;;;;:9;;:25;;;;;:::i;:::-;-1:-1:-1;1804:30:52;;;;:14;;:30;;;;;:::i;:::-;-1:-1:-1;1838:13:52;:29;;;1871:30;;;;:14;;:30;;;;;:::i;:::-;;1536:369;;;;;:::o;1615:103:51:-;1653:7;1674:8;;:40;;;-1:-1:-1;;;1674:40:51;;1707:4;1674:40;;;;;;-1:-1:-1;;;;;1674:8:51;;;;:16;;:40;;;;;;;;;;;;;;;:8;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1674:40:51;;-1:-1:-1;1615:103:51;:::o;1476:30:52:-;;;;;;;;;;;;;;;-1:-1:-1;;1476:30:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1383:25;;;;;;;;;;;;;;-1:-1:-1;;1383:25:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;316:128:67;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;-1:-1:-1;;397:28:67;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;-1:-1:-1;;379:61:67;;;;;;;;;;;;;;;;-1:-1:-1;379:61:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;316:128:67:o;1456:156:51:-;1547:1;1526:8;-1:-1:-1;;;;;1526:8:51;1518:31;1510:63;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;;;;1577:8;:31;;-1:-1:-1;;;;;;1577:31:51;-1:-1:-1;;;;;1577:31:51;;;;;;;;;;1456:156::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"../RegistryEntry.sol\";\n\n\ncontract App is RegistryEntry\n{\n\t/**\n\t * Members\n\t */\n\tstring public m_appName;\n\tstring public m_appType;\n\tbytes public m_appMultiaddr;\n\tbytes32 public m_appChecksum;\n\tbytes public m_appMREnclave;\n\n\t/**\n\t * Constructor\n\t */\n\tfunction initialize(\n\t\tstring memory _appName,\n\t\tstring memory _appType,\n\t\tbytes memory _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes memory _appMREnclave)\n\tpublic\n\t{\n\t\t_initialize(msg.sender);\n\t\tm_appName = _appName;\n\t\tm_appType = _appType;\n\t\tm_appMultiaddr = _appMultiaddr;\n\t\tm_appChecksum = _appChecksum;\n\t\tm_appMREnclave = _appMREnclave;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "exportedSymbols": { - "App": [ - 10282 - ] - }, - "id": 10283, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10227, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:52" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10228, - "nodeType": "ImportDirective", - "scope": 10283, - "sourceUnit": 10226, - "src": "1267:30:52", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10229, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1316:13:52", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10230, - "nodeType": "InheritanceSpecifier", - "src": "1316:13:52" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10282, - "linearizedBaseContracts": [ - 10282, - 10225, - 12870 - ], - "name": "App", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10231, - "nodeType": "StructuredDocumentation", - "src": "1333:20:52", - "text": " Members" - }, - "functionSelector": "358982a3", - "id": 10233, - "mutability": "mutable", - "name": "m_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1355:25:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10232, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1355:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "f8c2ceb3", - "id": 10235, - "mutability": "mutable", - "name": "m_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1383:25:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10234, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1383:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "39e75d45", - "id": 10237, - "mutability": "mutable", - "name": "m_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1411:30:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10236, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1411:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "84aaf12e", - "id": 10239, - "mutability": "mutable", - "name": "m_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1444:29:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1444:7:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "e30d26a8", - "id": 10241, - "mutability": "mutable", - "name": "m_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1476:30:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10240, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1476:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10280, - "nodeType": "Block", - "src": "1715:190:52", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10256, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1731:3:52", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1731:10:52", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10255, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1719:11:52", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1719:23:52", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10259, - "nodeType": "ExpressionStatement", - "src": "1719:23:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10260, - "name": "m_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10233, - "src": "1746:9:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10261, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10244, - "src": "1763:8:52", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1746:25:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10263, - "nodeType": "ExpressionStatement", - "src": "1746:25:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10264, - "name": "m_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10235, - "src": "1775:9:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10265, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10246, - "src": "1792:8:52", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1775:25:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10267, - "nodeType": "ExpressionStatement", - "src": "1775:25:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10268, - "name": "m_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10237, - "src": "1804:14:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10269, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10248, - "src": "1821:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1804:30:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10271, - "nodeType": "ExpressionStatement", - "src": "1804:30:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10272, - "name": "m_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10239, - "src": "1838:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10273, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10250, - "src": "1855:12:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1838:29:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 10275, - "nodeType": "ExpressionStatement", - "src": "1838:29:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10276, - "name": "m_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10241, - "src": "1871:14:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10277, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10252, - "src": "1888:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1871:30:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10279, - "nodeType": "ExpressionStatement", - "src": "1871:30:52" - } - ] - }, - "documentation": { - "id": 10242, - "nodeType": "StructuredDocumentation", - "src": "1510:24:52", - "text": " Constructor" - }, - "functionSelector": "86c02c8f", - "id": 10281, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10244, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1559:23:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10243, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1559:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10246, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1586:23:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10245, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1586:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10248, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1613:28:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10247, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1613:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10250, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1645:27:52", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10249, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1645:7:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10252, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1676:28:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10251, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1676:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1555:150:52" - }, - "returnParameters": { - "id": 10254, - "nodeType": "ParameterList", - "parameters": [], - "src": "1715:0:52" - }, - "scope": 10282, - "src": "1536:369:52", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10283, - "src": "1300:607:52" - } - ], - "src": "1242:666:52" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "exportedSymbols": { - "App": [ - 10282 - ] - }, - "id": 10283, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10227, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:52" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10228, - "nodeType": "ImportDirective", - "scope": 10283, - "sourceUnit": 10226, - "src": "1267:30:52", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10229, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1316:13:52", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10230, - "nodeType": "InheritanceSpecifier", - "src": "1316:13:52" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10282, - "linearizedBaseContracts": [ - 10282, - 10225, - 12870 - ], - "name": "App", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10231, - "nodeType": "StructuredDocumentation", - "src": "1333:20:52", - "text": " Members" - }, - "functionSelector": "358982a3", - "id": 10233, - "mutability": "mutable", - "name": "m_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1355:25:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10232, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1355:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "f8c2ceb3", - "id": 10235, - "mutability": "mutable", - "name": "m_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1383:25:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10234, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1383:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "39e75d45", - "id": 10237, - "mutability": "mutable", - "name": "m_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1411:30:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10236, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1411:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "84aaf12e", - "id": 10239, - "mutability": "mutable", - "name": "m_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1444:29:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1444:7:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "e30d26a8", - "id": 10241, - "mutability": "mutable", - "name": "m_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10282, - "src": "1476:30:52", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10240, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1476:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10280, - "nodeType": "Block", - "src": "1715:190:52", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10256, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1731:3:52", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1731:10:52", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10255, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1719:11:52", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1719:23:52", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10259, - "nodeType": "ExpressionStatement", - "src": "1719:23:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10260, - "name": "m_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10233, - "src": "1746:9:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10261, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10244, - "src": "1763:8:52", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1746:25:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10263, - "nodeType": "ExpressionStatement", - "src": "1746:25:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10264, - "name": "m_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10235, - "src": "1775:9:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10265, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10246, - "src": "1792:8:52", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1775:25:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10267, - "nodeType": "ExpressionStatement", - "src": "1775:25:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10268, - "name": "m_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10237, - "src": "1804:14:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10269, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10248, - "src": "1821:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1804:30:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10271, - "nodeType": "ExpressionStatement", - "src": "1804:30:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10272, - "name": "m_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10239, - "src": "1838:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10273, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10250, - "src": "1855:12:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1838:29:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 10275, - "nodeType": "ExpressionStatement", - "src": "1838:29:52" - }, - { - "expression": { - "argumentTypes": null, - "id": 10278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10276, - "name": "m_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10241, - "src": "1871:14:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10277, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10252, - "src": "1888:13:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1871:30:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10279, - "nodeType": "ExpressionStatement", - "src": "1871:30:52" - } - ] - }, - "documentation": { - "id": 10242, - "nodeType": "StructuredDocumentation", - "src": "1510:24:52", - "text": " Constructor" - }, - "functionSelector": "86c02c8f", - "id": 10281, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10244, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1559:23:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10243, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1559:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10246, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1586:23:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10245, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1586:6:52", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10248, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1613:28:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10247, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1613:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10250, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1645:27:52", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10249, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1645:7:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10252, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10281, - "src": "1676:28:52", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10251, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1676:5:52", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1555:150:52" - }, - "returnParameters": { - "id": 10254, - "nodeType": "ParameterList", - "parameters": [], - "src": "1715:0:52" - }, - "scope": 10282, - "src": "1536:369:52", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10283, - "src": "1300:607:52" - } - ], - "src": "1242:666:52" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.866Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "initialize(string,string,bytes,bytes32,bytes)": { - "notice": "Constructor" - }, - "m_appName()": { - "notice": "Members" - } - }, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/AppInterface.json b/build/contracts/AppInterface.json deleted file mode 100644 index 3fedd37cd..000000000 --- a/build/contracts/AppInterface.json +++ /dev/null @@ -1,5784 +0,0 @@ -{ - "contractName": "AppInterface", - "abi": [ - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appType", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_appMREnclave", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"m_appChecksum\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appMREnclave\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appMultiaddr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_appType\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"AppInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.883Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/AppRegistry.json b/build/contracts/AppRegistry.json deleted file mode 100644 index a233b9129..000000000 --- a/build/contracts/AppRegistry.json +++ /dev/null @@ -1,4623 +0,0 @@ -{ - "contractName": "AppRegistry", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "createApp", - "outputs": [ - { - "internalType": "contract App", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "predictApp", - "outputs": [ - { - "internalType": "contract App", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_appOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_appName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_appType\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_appMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_appChecksum\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_appMREnclave\",\"type\":\"bytes\"}],\"name\":\"createApp\",\"outputs\":[{\"internalType\":\"contract App\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_previous\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"master\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_appOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_appName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_appType\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_appMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_appChecksum\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_appMREnclave\",\"type\":\"bytes\"}],\"name\":\"predictApp\",\"outputs\":[{\"internalType\":\"contract App\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previous\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":\"Constructor\"},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/AppRegistry.sol\":\"AppRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/AppRegistry.sol\":{\"keccak256\":\"0x9bcd1d2374e796adabc731a1ec10afcffe961a9879c4f8833912f5786ea2ca52\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2c6fcd25a1e6646579aab4364c9adf375881fe4befbe64b0771d9ae86650deb6\",\"dweb:/ipfs/Qmeu2LPa5LdH295j7PuDwJ9R9NjaaQfmztW9TXrpiFyoaE\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b506040516200002090620002c3565b604051809103906000f0801580156200003d573d6000803e3d6000fd5b50604080518082018252601f81527f6945786563204170706c69636174696f6e2052656769737472792028563529006020808301919091528251808401909352600b83526a694578656341707073563560a81b90830152908181620000a96301ffc9a760e01b6200023a565b8151620000be906006906020850190620002d1565b508051620000d4906007906020840190620002d1565b50620000e76380ac58cd60e01b6200023a565b620000f9635b5e139f60e01b6200023a565b6200010b63780e9d6360e01b6200023a565b50600090506200011a620002bf565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600b80546001600160a01b0319166001600160a01b038516179055604051620001946020820162000356565b601f1982820381018352601f909101166040528051620001be91600c9160209190910190620002d1565b50600c6040518082805460018160011615610100020316600290048015620002205780601f10620001fd57610100808354040283529182019162000220565b820191906000526020600020905b8154815290600101906020018083116200020b575b5050604051908190039020600d55506200037b9350505050565b6001600160e01b031980821614156200029a576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b610a33806200334583390190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200031457805160ff191683800117855562000344565b8280016001018555821562000344579182015b828111156200034457825182559160200191906001019062000327565b506200035292915062000364565b5090565b6103698062003d7883390190565b5b8082111562000352576000815560010162000365565b612fba806200038b6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063e985e9c511610071578063e985e9c51461097e578063ee97f7f3146109ac578063eee39111146109b4578063f2fde38b146109bc576101e5565b8063c3c5a547146107a3578063c4d66de8146107c9578063c87b56dd146107ef578063e92118ed1461080c576101e5565b80638da5cb5b116100de5780638da5cb5b146106a157806395d89b41146106a9578063a22cb465146106b1578063b88d4fde146106df576101e5565b80636fa59bbc1461066357806370a082311461066b578063715018a6146106915780637c2b2e7114610699576101e5565b80632f745c59116101875780634f6ccce7116101565780634f6ccce7146105b357806355f804b3146105d05780636352211e1461063e5780636c0360eb1461065b576101e5565b80632f745c59146103615780633121db1c1461038d5780633f7868ff1461040b57806342842e0e1461057d576101e5565b8063095ea7b3116101c3578063095ea7b3146102db578063158ef93e1461030957806318160ddd1461031157806323b872dd1461032b576101e5565b806301ffc9a7146101ea57806306fdde0314610225578063081812fc146102a2575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b0319166109e2565b604080519115158252519081900360200190f35b61022d610a05565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102bf600480360360208110156102b857600080fd5b5035610a9b565b604080516001600160a01b039092168252519081900360200190f35b610307600480360360408110156102f157600080fd5b506001600160a01b038135169060200135610afd565b005b610211610bd8565b610319610be8565b60408051918252519081900360200190f35b6103076004803603606081101561034157600080fd5b506001600160a01b03813581169160208101359091169060400135610bf9565b6103196004803603604081101561037757600080fd5b506001600160a01b038135169060200135610c50565b610307600480360360408110156103a357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cd57600080fd5b8201836020820111156103df57600080fd5b803590602001918460018302840111600160201b8311171561040057600080fd5b509092509050610c7b565b6102bf600480360360c081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b919390929091602081019035600160201b81111561049b57600080fd5b8201836020820111156104ad57600080fd5b803590602001918460018302840111600160201b831117156104ce57600080fd5b919390929091602081019035600160201b8111156104eb57600080fd5b8201836020820111156104fd57600080fd5b803590602001918460018302840111600160201b8311171561051e57600080fd5b91939092823592604081019060200135600160201b81111561053f57600080fd5b82018360208201111561055157600080fd5b803590602001918460018302840111600160201b8311171561057257600080fd5b509092509050610d13565b6103076004803603606081101561059357600080fd5b506001600160a01b03813581169160208101359091169060400135610e1b565b610319600480360360208110156105c957600080fd5b5035610e36565b610307600480360360208110156105e657600080fd5b810190602081018135600160201b81111561060057600080fd5b82018360208201111561061257600080fd5b803590602001918460018302840111600160201b8311171561063357600080fd5b509092509050610e4c565b6102bf6004803603602081101561065457600080fd5b5035610ee7565b61022d610f0f565b61022d610f70565b6103196004803603602081101561068157600080fd5b50356001600160a01b0316610ffe565b610307611066565b6102bf611108565b6102bf611117565b61022d611126565b610307600480360360408110156106c757600080fd5b506001600160a01b0381351690602001351515611187565b610307600480360360808110156106f557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561072f57600080fd5b82018360208201111561074157600080fd5b803590602001918460018302840111600160201b8311171561076257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061128c945050505050565b610211600480360360208110156107b957600080fd5b50356001600160a01b03166112ea565b610307600480360360208110156107df57600080fd5b50356001600160a01b0316611398565b61022d6004803603602081101561080557600080fd5b5035611438565b6102bf600480360360c081101561082257600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561084c57600080fd5b82018360208201111561085e57600080fd5b803590602001918460018302840111600160201b8311171561087f57600080fd5b919390929091602081019035600160201b81111561089c57600080fd5b8201836020820111156108ae57600080fd5b803590602001918460018302840111600160201b831117156108cf57600080fd5b919390929091602081019035600160201b8111156108ec57600080fd5b8201836020820111156108fe57600080fd5b803590602001918460018302840111600160201b8311171561091f57600080fd5b91939092823592604081019060200135600160201b81111561094057600080fd5b82018360208201111561095257600080fd5b803590602001918460018302840111600160201b8311171561097357600080fd5b5090925090506116df565b6102116004803603604081101561099457600080fd5b506001600160a01b03813581169160200135166117d8565b6102bf611806565b610319611815565b610307600480360360208110156109d257600080fd5b50356001600160a01b031661181b565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b820191906000526020600020905b815481529060010190602001808311610a7457829003601f168201915b5050505050905090565b6000610aa682611914565b610ae15760405162461bcd60e51b815260040180806020018281038252602c815260200180612e8f602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b0882610ee7565b9050806001600160a01b0316836001600160a01b03161415610b5b5760405162461bcd60e51b8152600401808060200182810382526021815260200180612f336021913960400191505060405180910390fd5b806001600160a01b0316610b6d611921565b6001600160a01b03161480610b8e5750610b8e81610b89611921565b6117d8565b610bc95760405162461bcd60e51b8152600401808060200182810382526038815260200180612de26038913960400191505060405180910390fd5b610bd38383611925565b505050565b600e54600160a01b900460ff1681565b6000610bf46002611993565b905090565b610c0a610c04611921565b8261199e565b610c455760405162461bcd60e51b8152600401808060200182810382526031815260200180612f546031913960400191505060405180910390fd5b610bd3838383611a42565b6001600160a01b0382166000908152600160205260408120610c729083611b8e565b90505b92915050565b610c83611921565b600a546001600160a01b03908116911614610cd3576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b610bd38383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b9a92505050565b6000610e0c8b610e078c8c8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b81528d935091508b908b9081908401838280828437600092019190915250611cff92505050565b611ee5565b9b9a5050505050505050505050565b610bd38383836040518060200160405280600081525061128c565b600080610e44600284612106565b509392505050565b610e54611921565b600a546001600160a01b03908116911614610ea4576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b610ee382828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061212292505050565b5050565b6000610c7582604051806060016040528060298152602001612e446029913960029190612135565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ff65780601f10610fcb57610100808354040283529160200191610ff6565b820191906000526020600020905b815481529060010190602001808311610fd957829003601f168201915b505050505081565b60006001600160a01b0382166110455760405162461bcd60e51b815260040180806020018281038252602a815260200180612e1a602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610c7590611993565b61106e611921565b600a546001600160a01b039081169116146110be576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b61118f611921565b6001600160a01b0316826001600160a01b031614156111f5576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611202611921565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611246611921565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61129d611297611921565b8361199e565b6112d85760405162461bcd60e51b8152600401808060200182810382526031815260200180612f546031913960400191505060405180910390fd5b6112e48484848461214c565b50505050565b60006112fe826001600160a01b0316611914565b80610c755750600e546001600160a01b031615801590610c755750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b15801561136657600080fd5b505afa15801561137a573d6000803e3d6000fd5b505050506040513d602081101561139057600080fd5b505192915050565b6113a0611921565b600a546001600160a01b039081169116146113f0576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561140757600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b606061144382611914565b61147e5760405162461bcd60e51b815260040180806020018281038252602f815260200180612f04602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b50506009549394505050506002600019610100600184161502019091160461153c579050610a00565b80511561160d5760098160405160200180838054600181600116156101000203166002900480156115a45780601f106115825761010080835404028352918201916115a4565b820191906000526020600020905b815481529060010190602001808311611590575b5050825160208401908083835b602083106115d05780518252601f1990920191602091820191016115b1565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610a00565b60096116188461219e565b60405160200180838054600181600116156101000203166002900480156116765780601f10611654576101008083540402835291820191611676565b820191906000526020600020905b815481529060010190602001808311611662575b5050825160208401908083835b602083106116a25780518252601f199092019160209182019101611683565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6000610e0c8b6117d38c8c8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b81528d935091508b908b9081908401838280828437600092019190915250611cff92505050565b612279565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b611823611921565b600a546001600160a01b03908116911614611873576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b6001600160a01b0381166118b85760405162461bcd60e51b8152600401808060200182810382526026815260200180612d6c6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c7560028361231a565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061195a82610ee7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610c7582612326565b60006119a982611914565b6119e45760405162461bcd60e51b815260040180806020018281038252602c815260200180612db6602c913960400191505060405180910390fd5b60006119ef83610ee7565b9050806001600160a01b0316846001600160a01b03161480611a2a5750836001600160a01b0316611a1f84610a9b565b6001600160a01b0316145b80611a3a5750611a3a81856117d8565b949350505050565b826001600160a01b0316611a5582610ee7565b6001600160a01b031614611a9a5760405162461bcd60e51b8152600401808060200182810382526029815260200180612edb6029913960400191505060405180910390fd5b6001600160a01b038216611adf5760405162461bcd60e51b8152600401808060200182810382526024815260200180612d926024913960400191505060405180910390fd5b611aea838383610bd3565b611af5600082611925565b6001600160a01b0383166000908152600160205260409020611b17908261232a565b506001600160a01b0382166000908152600160205260409020611b3a9082612336565b50611b4760028284612342565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610c728383612358565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b158015611c0057600080fd5b505afa158015611c14573d6000803e3d6000fd5b505050506040513d6020811015611c2a57600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611c89578181015183820152602001611c71565b50505050905090810190601f168015611cb65780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611cd557600080fd5b505af1158015611ce9573d6000803e3d6000fd5b505050506040513d60208110156112e457600080fd5b60608585858585604051602401808060200180602001806020018681526020018060200185810385528a818151815260200191508051906020019080838360005b83811015611d58578181015183820152602001611d40565b50505050905090810190601f168015611d855780820380516001836020036101000a031916815260200191505b5085810384528951815289516020918201918b019080838360005b83811015611db8578181015183820152602001611da0565b50505050905090810190601f168015611de55780820380516001836020036101000a031916815260200191505b5085810383528851815288516020918201918a019080838360005b83811015611e18578181015183820152602001611e00565b50505050905090810190601f168015611e455780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015611e78578181015183820152602001611e60565b50505050905090810190601f168015611ea55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166386c02c8f60e01b1790529a505050505050505050505095945050505050565b60008061200f600084866040516020018083805190602001908083835b60208310611f215780518252601f199092019160209182019101611f02565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120055780601f10611fda57610100808354040283529160200191612005565b820191906000526020600020905b815481529060010190602001808311611fe857829003601f168201915b50505050506123bc565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b8381101561207e578181015183820152602001612066565b50505050905090810190601f1680156120ab5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156120cb57600080fd5b505af11580156120df573d6000803e3d6000fd5b505050506120f684826001600160a01b03166124cd565b6001600160a01b03169392505050565b600080808061211586866125fb565b9097909650945050505050565b8051610ee3906009906020840190612c84565b6000612142848484612676565b90505b9392505050565b612157848484611a42565b61216384848484612740565b6112e45760405162461bcd60e51b8152600401808060200182810382526032815260200180612d3a6032913960400191505060405180910390fd5b6060816121c357506040805180820190915260018152600360fc1b6020820152610a00565b8160005b81156121db57600101600a820491506121c7565b60608167ffffffffffffffff811180156121f457600080fd5b506040519080825280601f01601f19166020018201604052801561221f576020820181803683370190505b50859350905060001982015b831561227057600a840660300160f81b8282806001900393508151811061224e57fe5b60200101906001600160f81b031916908160001a905350600a8404935061222b565b50949350505050565b60008061230983856040516020018083805190602001908083835b602083106122b35780518252601f199092019160209182019101612294565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d546128a8565b6001600160a01b0316949350505050565b6000610c7283836128b5565b5490565b6000610c7283836128cd565b6000610c728383612993565b600061214284846001600160a01b0385166129dd565b8154600090821061239a5760405162461bcd60e51b8152600401808060200182810382526022815260200180612d186022913960400191505060405180910390fd5b8260000182815481106123a957fe5b9060005260206000200154905092915050565b60008084471015612414576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b8251612467576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b038116612142576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b038216612528576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61253181611914565b15612583576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61258f60008383610bd3565b6001600160a01b03821660009081526001602052604090206125b19082612336565b506125be60028284612342565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81546000908190831061263f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612e6d6022913960400191505060405180910390fd5b600084600001848154811061265057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816127115760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126d65781810151838201526020016126be565b50505050905090810190601f1680156127035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061272457fe5b9060005260206000209060020201600101549150509392505050565b6000612754846001600160a01b0316612a74565b61276057506001611a3a565b606061286e630a85bd0160e11b612775611921565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156127dc5781810151838201526020016127c4565b50505050905090810190601f1680156128095780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612d3a603291396001600160a01b0388169190612aad565b9050600081806020019051602081101561288757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610c72838330612abc565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612989578354600019808301919081019060009087908390811061290057fe5b906000526020600020015490508087600001848154811061291d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061294d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610c75565b6000915050610c75565b600061299f83836128b5565b6129d557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c75565b506000610c75565b600082815260018401602052604081205480612a42575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612145565b82856000016001830381548110612a5557fe5b9060005260206000209060020201600101819055506000915050612145565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a3a575050151592915050565b60606121428484600085612b17565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b6060612b2285612a74565b612b73576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612bb25780518252601f199092019160209182019101612b93565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c14576040519150601f19603f3d011682016040523d82523d6000602084013e612c19565b606091505b50915091508115612c2d579150611a3a9050565b805115612c3d5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156126d65781810151838201526020016126be565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612cc557805160ff1916838001178555612cf2565b82800160010185558215612cf2579182015b82811115612cf2578251825591602001919060010190612cd7565b50612cfe929150612d02565b5090565b5b80821115612cfe5760008155600101612d0356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220035f5b4a521e958da21e468b207bdff717de6c0ebc4fa2b20c8edfa01c25664d64736f6c634300060c0033608060405234801561001057600080fd5b50610a13806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806384aaf12e1161006657806384aaf12e146101c157806386c02c8f146101db5780638da5cb5b14610416578063e30d26a81461041e578063f8c2ceb31461042657610093565b80633121db1c14610098578063358982a31461011857806339e75d45146101955780637b1039991461019d575b600080fd5b610116600480360360408110156100ae57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156100d857600080fd5b8201836020820111156100ea57600080fd5b803590602001918460018302840111600160201b8311171561010b57600080fd5b50909250905061042e565b005b6101206104d7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610120610564565b6101a56105bf565b604080516001600160a01b039092168252519081900360200190f35b6101c96105ce565b60408051918252519081900360200190f35b610116600480360360a08110156101f157600080fd5b810190602081018135600160201b81111561020b57600080fd5b82018360208201111561021d57600080fd5b803590602001918460018302840111600160201b8311171561023e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561029057600080fd5b8201836020820111156102a257600080fd5b803590602001918460018302840111600160201b831117156102c357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561031557600080fd5b82018360208201111561032757600080fd5b803590602001918460018302840111600160201b8311171561034857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103a257600080fd5b8201836020820111156103b457600080fd5b803590602001918460018302840111600160201b831117156103d557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105d4945050505050565b6101a5610639565b6101206106b6565b610120610711565b33610437610639565b6001600160a01b031614610492576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104d28383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061076992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b505050505081565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6000546001600160a01b031681565b60045481565b6105dd336108d4565b84516105f090600190602088019061094a565b50835161060490600290602087019061094a565b50825161061890600390602086019061094a565b506004829055805161063190600590602084019061094a565b505050505050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561068557600080fd5b505afa158015610699573d6000803e3d6000fd5b505050506040513d60208110156106af57600080fd5b5051905090565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561055c5780601f106105315761010080835404028352916020019161055c565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156107cf57600080fd5b505afa1580156107e3573d6000803e3d6000fd5b505050506040513d60208110156107f957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610858578181015183820152602001610840565b50505050905090810190601f1680156108855780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b505050506040513d60208110156108ce57600080fd5b50505050565b6000546001600160a01b031615610928576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061098b57805160ff19168380011785556109b8565b828001600101855582156109b8579182015b828111156109b857825182559160200191906001019061099d565b506109c49291506109c8565b5090565b5b808211156109c457600081556001016109c956fea2646970667358221220ad5f2bc07d98b3a5413c9b96d555518769e7754e249f6c3e4364f5393f42efb464736f6c634300060c0033608060405234801561001057600080fd5b50610349806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f6100ef565b005b61002f6100ef565b61002f6004803603604081101561004f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561007a57600080fd5b82018360208201111561008c57600080fd5b803590602001918460018302840111640100000000831117156100ae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610109945050505050565b6100f7610107565b6101076101026101eb565b610210565b565b60006101136101eb565b6001600160a01b03161461012657600080fd5b61012f82610234565b8051156101e7576000826001600160a01b0316826040518082805190602001908083835b602083106101725780518252601f199092019160209182019101610153565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b50509050806101e557600080fd5b505b5050565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e80801561022f573d6000f35b3d6000fd5b61023d8161029c565b6102785760405162461bcd60e51b815260040180806020018281038252603b8152602001806102d9603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906102d057508115155b94935050505056fe43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220cdbb0f880f6bae03b83b0112d96e036096c0b7dccd11cf658a9770d11b49225264736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063e985e9c511610071578063e985e9c51461097e578063ee97f7f3146109ac578063eee39111146109b4578063f2fde38b146109bc576101e5565b8063c3c5a547146107a3578063c4d66de8146107c9578063c87b56dd146107ef578063e92118ed1461080c576101e5565b80638da5cb5b116100de5780638da5cb5b146106a157806395d89b41146106a9578063a22cb465146106b1578063b88d4fde146106df576101e5565b80636fa59bbc1461066357806370a082311461066b578063715018a6146106915780637c2b2e7114610699576101e5565b80632f745c59116101875780634f6ccce7116101565780634f6ccce7146105b357806355f804b3146105d05780636352211e1461063e5780636c0360eb1461065b576101e5565b80632f745c59146103615780633121db1c1461038d5780633f7868ff1461040b57806342842e0e1461057d576101e5565b8063095ea7b3116101c3578063095ea7b3146102db578063158ef93e1461030957806318160ddd1461031157806323b872dd1461032b576101e5565b806301ffc9a7146101ea57806306fdde0314610225578063081812fc146102a2575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b0319166109e2565b604080519115158252519081900360200190f35b61022d610a05565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102bf600480360360208110156102b857600080fd5b5035610a9b565b604080516001600160a01b039092168252519081900360200190f35b610307600480360360408110156102f157600080fd5b506001600160a01b038135169060200135610afd565b005b610211610bd8565b610319610be8565b60408051918252519081900360200190f35b6103076004803603606081101561034157600080fd5b506001600160a01b03813581169160208101359091169060400135610bf9565b6103196004803603604081101561037757600080fd5b506001600160a01b038135169060200135610c50565b610307600480360360408110156103a357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cd57600080fd5b8201836020820111156103df57600080fd5b803590602001918460018302840111600160201b8311171561040057600080fd5b509092509050610c7b565b6102bf600480360360c081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b919390929091602081019035600160201b81111561049b57600080fd5b8201836020820111156104ad57600080fd5b803590602001918460018302840111600160201b831117156104ce57600080fd5b919390929091602081019035600160201b8111156104eb57600080fd5b8201836020820111156104fd57600080fd5b803590602001918460018302840111600160201b8311171561051e57600080fd5b91939092823592604081019060200135600160201b81111561053f57600080fd5b82018360208201111561055157600080fd5b803590602001918460018302840111600160201b8311171561057257600080fd5b509092509050610d13565b6103076004803603606081101561059357600080fd5b506001600160a01b03813581169160208101359091169060400135610e1b565b610319600480360360208110156105c957600080fd5b5035610e36565b610307600480360360208110156105e657600080fd5b810190602081018135600160201b81111561060057600080fd5b82018360208201111561061257600080fd5b803590602001918460018302840111600160201b8311171561063357600080fd5b509092509050610e4c565b6102bf6004803603602081101561065457600080fd5b5035610ee7565b61022d610f0f565b61022d610f70565b6103196004803603602081101561068157600080fd5b50356001600160a01b0316610ffe565b610307611066565b6102bf611108565b6102bf611117565b61022d611126565b610307600480360360408110156106c757600080fd5b506001600160a01b0381351690602001351515611187565b610307600480360360808110156106f557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561072f57600080fd5b82018360208201111561074157600080fd5b803590602001918460018302840111600160201b8311171561076257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061128c945050505050565b610211600480360360208110156107b957600080fd5b50356001600160a01b03166112ea565b610307600480360360208110156107df57600080fd5b50356001600160a01b0316611398565b61022d6004803603602081101561080557600080fd5b5035611438565b6102bf600480360360c081101561082257600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561084c57600080fd5b82018360208201111561085e57600080fd5b803590602001918460018302840111600160201b8311171561087f57600080fd5b919390929091602081019035600160201b81111561089c57600080fd5b8201836020820111156108ae57600080fd5b803590602001918460018302840111600160201b831117156108cf57600080fd5b919390929091602081019035600160201b8111156108ec57600080fd5b8201836020820111156108fe57600080fd5b803590602001918460018302840111600160201b8311171561091f57600080fd5b91939092823592604081019060200135600160201b81111561094057600080fd5b82018360208201111561095257600080fd5b803590602001918460018302840111600160201b8311171561097357600080fd5b5090925090506116df565b6102116004803603604081101561099457600080fd5b506001600160a01b03813581169160200135166117d8565b6102bf611806565b610319611815565b610307600480360360208110156109d257600080fd5b50356001600160a01b031661181b565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b820191906000526020600020905b815481529060010190602001808311610a7457829003601f168201915b5050505050905090565b6000610aa682611914565b610ae15760405162461bcd60e51b815260040180806020018281038252602c815260200180612e8f602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b0882610ee7565b9050806001600160a01b0316836001600160a01b03161415610b5b5760405162461bcd60e51b8152600401808060200182810382526021815260200180612f336021913960400191505060405180910390fd5b806001600160a01b0316610b6d611921565b6001600160a01b03161480610b8e5750610b8e81610b89611921565b6117d8565b610bc95760405162461bcd60e51b8152600401808060200182810382526038815260200180612de26038913960400191505060405180910390fd5b610bd38383611925565b505050565b600e54600160a01b900460ff1681565b6000610bf46002611993565b905090565b610c0a610c04611921565b8261199e565b610c455760405162461bcd60e51b8152600401808060200182810382526031815260200180612f546031913960400191505060405180910390fd5b610bd3838383611a42565b6001600160a01b0382166000908152600160205260408120610c729083611b8e565b90505b92915050565b610c83611921565b600a546001600160a01b03908116911614610cd3576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b610bd38383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b9a92505050565b6000610e0c8b610e078c8c8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b81528d935091508b908b9081908401838280828437600092019190915250611cff92505050565b611ee5565b9b9a5050505050505050505050565b610bd38383836040518060200160405280600081525061128c565b600080610e44600284612106565b509392505050565b610e54611921565b600a546001600160a01b03908116911614610ea4576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b610ee382828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061212292505050565b5050565b6000610c7582604051806060016040528060298152602001612e446029913960029190612135565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ff65780601f10610fcb57610100808354040283529160200191610ff6565b820191906000526020600020905b815481529060010190602001808311610fd957829003601f168201915b505050505081565b60006001600160a01b0382166110455760405162461bcd60e51b815260040180806020018281038252602a815260200180612e1a602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610c7590611993565b61106e611921565b600a546001600160a01b039081169116146110be576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b61118f611921565b6001600160a01b0316826001600160a01b031614156111f5576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611202611921565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611246611921565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61129d611297611921565b8361199e565b6112d85760405162461bcd60e51b8152600401808060200182810382526031815260200180612f546031913960400191505060405180910390fd5b6112e48484848461214c565b50505050565b60006112fe826001600160a01b0316611914565b80610c755750600e546001600160a01b031615801590610c755750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b15801561136657600080fd5b505afa15801561137a573d6000803e3d6000fd5b505050506040513d602081101561139057600080fd5b505192915050565b6113a0611921565b600a546001600160a01b039081169116146113f0576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561140757600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b606061144382611914565b61147e5760405162461bcd60e51b815260040180806020018281038252602f815260200180612f04602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b50506009549394505050506002600019610100600184161502019091160461153c579050610a00565b80511561160d5760098160405160200180838054600181600116156101000203166002900480156115a45780601f106115825761010080835404028352918201916115a4565b820191906000526020600020905b815481529060010190602001808311611590575b5050825160208401908083835b602083106115d05780518252601f1990920191602091820191016115b1565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610a00565b60096116188461219e565b60405160200180838054600181600116156101000203166002900480156116765780601f10611654576101008083540402835291820191611676565b820191906000526020600020905b815481529060010190602001808311611662575b5050825160208401908083835b602083106116a25780518252601f199092019160209182019101611683565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6000610e0c8b6117d38c8c8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b81528d935091508b908b9081908401838280828437600092019190915250611cff92505050565b612279565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b611823611921565b600a546001600160a01b03908116911614611873576040805162461bcd60e51b81526020600482018190526024820152600080516020612ebb833981519152604482015290519081900360640190fd5b6001600160a01b0381166118b85760405162461bcd60e51b8152600401808060200182810382526026815260200180612d6c6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c7560028361231a565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061195a82610ee7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610c7582612326565b60006119a982611914565b6119e45760405162461bcd60e51b815260040180806020018281038252602c815260200180612db6602c913960400191505060405180910390fd5b60006119ef83610ee7565b9050806001600160a01b0316846001600160a01b03161480611a2a5750836001600160a01b0316611a1f84610a9b565b6001600160a01b0316145b80611a3a5750611a3a81856117d8565b949350505050565b826001600160a01b0316611a5582610ee7565b6001600160a01b031614611a9a5760405162461bcd60e51b8152600401808060200182810382526029815260200180612edb6029913960400191505060405180910390fd5b6001600160a01b038216611adf5760405162461bcd60e51b8152600401808060200182810382526024815260200180612d926024913960400191505060405180910390fd5b611aea838383610bd3565b611af5600082611925565b6001600160a01b0383166000908152600160205260409020611b17908261232a565b506001600160a01b0382166000908152600160205260409020611b3a9082612336565b50611b4760028284612342565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610c728383612358565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b158015611c0057600080fd5b505afa158015611c14573d6000803e3d6000fd5b505050506040513d6020811015611c2a57600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611c89578181015183820152602001611c71565b50505050905090810190601f168015611cb65780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611cd557600080fd5b505af1158015611ce9573d6000803e3d6000fd5b505050506040513d60208110156112e457600080fd5b60608585858585604051602401808060200180602001806020018681526020018060200185810385528a818151815260200191508051906020019080838360005b83811015611d58578181015183820152602001611d40565b50505050905090810190601f168015611d855780820380516001836020036101000a031916815260200191505b5085810384528951815289516020918201918b019080838360005b83811015611db8578181015183820152602001611da0565b50505050905090810190601f168015611de55780820380516001836020036101000a031916815260200191505b5085810383528851815288516020918201918a019080838360005b83811015611e18578181015183820152602001611e00565b50505050905090810190601f168015611e455780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015611e78578181015183820152602001611e60565b50505050905090810190601f168015611ea55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166386c02c8f60e01b1790529a505050505050505050505095945050505050565b60008061200f600084866040516020018083805190602001908083835b60208310611f215780518252601f199092019160209182019101611f02565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120055780601f10611fda57610100808354040283529160200191612005565b820191906000526020600020905b815481529060010190602001808311611fe857829003601f168201915b50505050506123bc565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b8381101561207e578181015183820152602001612066565b50505050905090810190601f1680156120ab5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156120cb57600080fd5b505af11580156120df573d6000803e3d6000fd5b505050506120f684826001600160a01b03166124cd565b6001600160a01b03169392505050565b600080808061211586866125fb565b9097909650945050505050565b8051610ee3906009906020840190612c84565b6000612142848484612676565b90505b9392505050565b612157848484611a42565b61216384848484612740565b6112e45760405162461bcd60e51b8152600401808060200182810382526032815260200180612d3a6032913960400191505060405180910390fd5b6060816121c357506040805180820190915260018152600360fc1b6020820152610a00565b8160005b81156121db57600101600a820491506121c7565b60608167ffffffffffffffff811180156121f457600080fd5b506040519080825280601f01601f19166020018201604052801561221f576020820181803683370190505b50859350905060001982015b831561227057600a840660300160f81b8282806001900393508151811061224e57fe5b60200101906001600160f81b031916908160001a905350600a8404935061222b565b50949350505050565b60008061230983856040516020018083805190602001908083835b602083106122b35780518252601f199092019160209182019101612294565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d546128a8565b6001600160a01b0316949350505050565b6000610c7283836128b5565b5490565b6000610c7283836128cd565b6000610c728383612993565b600061214284846001600160a01b0385166129dd565b8154600090821061239a5760405162461bcd60e51b8152600401808060200182810382526022815260200180612d186022913960400191505060405180910390fd5b8260000182815481106123a957fe5b9060005260206000200154905092915050565b60008084471015612414576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b8251612467576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b038116612142576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b038216612528576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61253181611914565b15612583576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61258f60008383610bd3565b6001600160a01b03821660009081526001602052604090206125b19082612336565b506125be60028284612342565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81546000908190831061263f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612e6d6022913960400191505060405180910390fd5b600084600001848154811061265057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816127115760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126d65781810151838201526020016126be565b50505050905090810190601f1680156127035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061272457fe5b9060005260206000209060020201600101549150509392505050565b6000612754846001600160a01b0316612a74565b61276057506001611a3a565b606061286e630a85bd0160e11b612775611921565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156127dc5781810151838201526020016127c4565b50505050905090810190601f1680156128095780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612d3a603291396001600160a01b0388169190612aad565b9050600081806020019051602081101561288757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610c72838330612abc565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612989578354600019808301919081019060009087908390811061290057fe5b906000526020600020015490508087600001848154811061291d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061294d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610c75565b6000915050610c75565b600061299f83836128b5565b6129d557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c75565b506000610c75565b600082815260018401602052604081205480612a42575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612145565b82856000016001830381548110612a5557fe5b9060005260206000209060020201600101819055506000915050612145565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a3a575050151592915050565b60606121428484600085612b17565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b6060612b2285612a74565b612b73576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612bb25780518252601f199092019160209182019101612b93565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c14576040519150601f19603f3d011682016040523d82523d6000602084013e612c19565b606091505b50915091508115612c2d579150611a3a9050565b805115612c3d5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156126d65781810151838201526020016126be565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612cc557805160ff1916838001178555612cf2565b82800160010185558215612cf2579182015b82811115612cf2578251825591602001919060010190612cd7565b50612cfe929150612d02565b5090565b5b80821115612cfe5760008155600101612d0356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220035f5b4a521e958da21e468b207bdff717de6c0ebc4fa2b20c8edfa01c25664d64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1315:1327:53:-:0;;;1377:113;;;;;;;;;;1419:9;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1850:247:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1850:247:50;;;;;;;751:40:83;-1:-1:-1;;;751:18:83;:40::i;:::-;3637:12:90;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;3659:16:90;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;3763:40:90;-1:-1:-1;;;3763:18:90;:40::i;:::-;3813:49;-1:-1:-1;;;3813:18:90;:49::i;:::-;3872:51;-1:-1:-1;;;3872:18:90;:51::i;:::-;-1:-1:-1;865:17:82;;-1:-1:-1;885:12:82;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;-1:-1:-1;;940:43:82;;-1:-1:-1;;940:43:82;-1:-1:-1;1959:6:50::1;:23:::0;;-1:-1:-1;;;;;;1959:23:50::1;-1:-1:-1::0;;;;;1959:23:50;::::1;;::::0;;2002:51:::1;::::0;::::1;;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;2002:51:50;;;;;;;::::1;::::0;;::::1;;;::::0;1986:67;;::::1;::::0;:9:::1;::::0;2002:51:::1;::::0;;;::::1;::::0;1986:67:::1;:::i;:::-;;2083:9;2073:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;2073:20:50::1;::::0;;;;::::1;::::0;;2057:13:::1;:36:::0;-1:-1:-1;1315:1327:53;;-1:-1:-1;;;;1315:1327:53;1482:198:83;-1:-1:-1;;;;;;1565:25:83;;;;;1557:66;;;;;-1:-1:-1;;;1557:66:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1633:33:83;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1633:40:83;1669:4;1633:40;;;1482:198::o;590:104:80:-;677:10;590:104;:::o;1315:1327:53:-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1315:1327:53;;;-1:-1:-1;1315:1327:53;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1315:1327:53:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;948:140:83;;;;;;;;;;;;;;;;-1:-1:-1;948:140:83;-1:-1:-1;;;;;;948:140:83;;:::i;:::-;;;;;;;;;;;;;;;;;;4486:90:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7093:209;;;;;;;;;;;;;;;;-1:-1:-1;7093:209:90;;:::i;:::-;;;;-1:-1:-1;;;;;7093:209:90;;;;;;;;;;;;;;6651:381;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6651:381:90;;;;;;;;:::i;:::-;;1818:28:50;;;:::i;6161:200:90:-;;;:::i;:::-;;;;;;;;;;;;;;;;7941:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7941:300:90;;;;;;;;;;;;;;;;;:::i;5938:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5938:152:90;;;;;;;;:::i;2964:112:50:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2964:112:50;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;-1:-1:-1;2964:112:50;;-1:-1:-1;2964:112:50;-1:-1:-1;2964:112:50;:::i;1912:359:53:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1912:359:53;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1912:359:53;;;;;;;;;;-1:-1:-1;1912:359:53;;-1:-1:-1;1912:359:53;-1:-1:-1;1912:359:53;:::i;8307:149:90:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8307:149:90;;;;;;;;;;;;;;;;;:::i;6433:161::-;;;;;;;;;;;;;;;;-1:-1:-1;6433:161:90;;:::i;3079:98:50:-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;-1:-1:-1;3079:98:50;;-1:-1:-1;3079:98:50;-1:-1:-1;3079:98:50;:::i;4257:167:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4257:167:90;;:::i;5772:87::-;;;:::i;1728:26:50:-;;;:::i;3989:211:90:-;;;;;;;;;;;;;;;;-1:-1:-1;3989:211:90;-1:-1:-1;;;;;3989:211:90;;:::i;1689:145:82:-;;;:::i;1790:25:50:-;;;:::i;1066:77:82:-;;;:::i;4640:94:90:-;;;:::i;7369:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7369:290:90;;;;;;;;;;:::i;8522:282::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8522:282:90;;-1:-1:-1;8522:282:90;;-1:-1:-1;;;;;8522:282:90:i;3197:187:50:-;;;;;;;;;;;;;;;;-1:-1:-1;3197:187:50;-1:-1:-1;;;;;3197:187:50;;:::i;2100:151::-;;;;;;;;;;;;;;;;-1:-1:-1;2100:151:50;-1:-1:-1;;;;;2100:151:50;;:::i;4800:740:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4800:740:90;;:::i;2274:366:53:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2274:366:53;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2274:366:53;;;;;;;;;;-1:-1:-1;2274:366:53;;-1:-1:-1;2274:366:53;-1:-1:-1;2274:366:53;:::i;7725:154:90:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7725:154:90;;;;;;;;;;:::i;1702:23:50:-;;;:::i;1757:30::-;;;:::i;1983:240:82:-;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;948:140:83:-;-1:-1:-1;;;;;;1048:33:83;;1025:4;1048:33;;;;;;;;;;;;;948:140;;;;:::o;4486:90:90:-;4564:5;4557:12;;;;;;;;-1:-1:-1;;4557:12:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4532:13;;4557:12;;4564:5;;4557:12;;4564:5;4557:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4486:90;:::o;7093:209::-;7161:7;7188:16;7196:7;7188;:16::i;:::-;7180:73;;;;-1:-1:-1;;;7180:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7271:24:90;;;;:15;:24;;;;;;-1:-1:-1;;;;;7271:24:90;;7093:209::o;6651:381::-;6731:13;6747:16;6755:7;6747;:16::i;:::-;6731:32;;6787:5;-1:-1:-1;;;;;6781:11:90;:2;-1:-1:-1;;;;;6781:11:90;;;6773:57;;;;-1:-1:-1;;;6773:57:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6865:5;-1:-1:-1;;;;;6849:21:90;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6849:21:90;;:62;;;;6874:37;6891:5;6898:12;:10;:12::i;:::-;6874:16;:37::i;:::-;6841:152;;;;-1:-1:-1;;;6841:152:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7004:21;7013:2;7017:7;7004:8;:21::i;:::-;6651:381;;;:::o;1818:28:50:-;;;-1:-1:-1;;;1818:28:50;;;;;:::o;6161:200:90:-;6214:7;6333:21;:12;:19;:21::i;:::-;6326:28;;6161:200;:::o;7941:300::-;8100:41;8119:12;:10;:12::i;:::-;8133:7;8100:18;:41::i;:::-;8092:103;;;;-1:-1:-1;;;8092:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8206:28;8216:4;8222:2;8226:7;8206:9;:28::i;5938:152::-;-1:-1:-1;;;;;6053:20:90;;6027:7;6053:20;;;:13;:20;;;;;:30;;6077:5;6053:23;:30::i;:::-;6046:37;;5938:152;;;;;:::o;2964:112:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3045:27:50::1;3059:4;3066:5;;3045:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3045:8:50::1;::::0;-1:-1:-1;;;3045:27:50:i:1;1912:359:53:-:0;2140:3;2161:105;2173:9;2184:81;2202:8;;2184:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2212:8;;2184:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2184:81:53;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2222:13:53;;-1:-1:-1;2222:13:53;;;;2184:81;;2222:13;;;;2184:81;;;;;;;;;-1:-1:-1;;2184:81:53;;;;;;;;;;;;;;;;;;;;;;2237:12;;-1:-1:-1;2184:81:53;-1:-1:-1;2251:13:53;;;;;;2184:81;;2251:13;;;;2184:81;;;;;;;;;-1:-1:-1;2184:17:53;;-1:-1:-1;;;2184:81:53:i;:::-;2161:11;:105::i;:::-;2150:117;1912:359;-1:-1:-1;;;;;;;;;;;1912:359:53:o;8307:149:90:-;8410:39;8427:4;8433:2;8437:7;8410:39;;;;;;;;;;;;:16;:39::i;6433:161::-;6500:7;;6541:22;:12;6557:5;6541:15;:22::i;:::-;-1:-1:-1;6519:44:90;6433:161;-1:-1:-1;;;6433:161:90:o;3079:98:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3152:21:50::1;3164:8;;3152:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3152:11:50::1;::::0;-1:-1:-1;;;3152:21:50:i:1;:::-;3079:98:::0;;:::o;4257:167:90:-;4321:7;4347:70;4364:7;4347:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;5772:87::-;5844:8;5837:15;;;;;;;;-1:-1:-1;;5837:15:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5812:13;;5837:15;;5844:8;;5837:15;;5844:8;5837:15;;;;;;;;;;;;;;;;;;;;;;;;1728:26:50;;;;;;;;;;;;;;;-1:-1:-1;;1728:26:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3989:211:90:-;4053:7;-1:-1:-1;;;;;4080:19:90;;4072:74;;;;-1:-1:-1;;;4072:74:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4164:20:90;;;;;;:13;:20;;;;;:29;;:27;:29::i;1689:145:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1779:6:::1;::::0;1758:40:::1;::::0;1795:1:::1;::::0;-1:-1:-1;;;;;1779:6:82::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1808:6;:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1790:25:50:-;;;-1:-1:-1;;;;;1790:25:50;;:::o;1066:77:82:-;1130:6;;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;4640:94:90:-;4720:7;4713:14;;;;;;;;-1:-1:-1;;4713:14:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4688:13;;4713:14;;4720:7;;4713:14;;4720:7;4713:14;;;;;;;;;;;;;;;;;;;;;;;;7369:290;7483:12;:10;:12::i;:::-;-1:-1:-1;;;;;7471:24:90;:8;-1:-1:-1;;;;;7471:24:90;;;7463:62;;;;;-1:-1:-1;;;7463:62:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;7581:8;7536:18;:32;7555:12;:10;:12::i;:::-;-1:-1:-1;;;;;7536:32:90;;;;;;;;;;;;;;;;;-1:-1:-1;7536:32:90;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7536:53:90;;;;;;;;;;;7619:12;:10;:12::i;:::-;-1:-1:-1;;;;;7604:48:90;;7643:8;7604:48;;;;;;;;;;;;;;;;;;;;7369:290;;:::o;8522:282::-;8653:41;8672:12;:10;:12::i;:::-;8686:7;8653:18;:41::i;:::-;8645:103;;;;-1:-1:-1;;;8645:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:39;8772:4;8778:2;8782:7;8791:5;8758:13;:39::i;:::-;8522:282;;;;:::o;3197:187:50:-;3268:4;3286:24;3302:6;-1:-1:-1;;;;;3294:15:50;3286:7;:24::i;:::-;:94;;;-1:-1:-1;3323:8:50;;-1:-1:-1;;;;;3323:8:50;3315:31;;;;:64;;-1:-1:-1;3350:8:50;;:29;;;-1:-1:-1;;;3350:29:50;;-1:-1:-1;;;;;3350:29:50;;;;;;;;;:8;;;;;:21;;:29;;;;;;;;;;;;;;:8;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3350:29:50;;3197:187;-1:-1:-1;;3197:187:50:o;2100:151::-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;2175:11:50::1;::::0;-1:-1:-1;;;2175:11:50;::::1;;;2174:12;2166:21;;;::::0;::::1;;2191:11;:18:::0;;-1:-1:-1;;;;;;;2191:18:50;;::::1;;-1:-1:-1::0;;;;;;2213:34:50::1;-1:-1:-1::0;;;;;2213:34:50;;;::::1;::::0;;;::::1;::::0;;2100:151::o;4800:740:90:-;4865:13;4898:16;4906:7;4898;:16::i;:::-;4890:76;;;;-1:-1:-1;;;4890:76:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:19;;;;:10;:19;;;;;;;;;4977:45;;;;;;-1:-1:-1;;4977:45:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5003:19;4977:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5101:8:90;5095:22;4977:45;;-1:-1:-1;;;;5095:22:90;-1:-1:-1;;5095:22:90;;;;;;;;;;;5091:74;;5145:9;-1:-1:-1;5138:16:90;;5091:74;5267:23;;:27;5263:110;;5341:8;5351:9;5324:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5310:52;;;;;5263:110;5503:8;5513:18;:7;:16;:18::i;:::-;5486:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5472:61;;;4800:740;;;:::o;2274:366:53:-;2508:3;2529:106;2542:9;2553:81;2571:8;;2553:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2581:8;;2553:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2553:81:53;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2591:13:53;;-1:-1:-1;2591:13:53;;;;2553:81;;2591:13;;;;2553:81;;;;;;;;;-1:-1:-1;;2553:81:53;;;;;;;;;;;;;;;;;;;;;;2606:12;;-1:-1:-1;2553:81:53;-1:-1:-1;2620:13:53;;;;;;2553:81;;2620:13;;;;2553:81;;;;;;;;;-1:-1:-1;2553:17:53;;-1:-1:-1;;;2553:81:53:i;:::-;2529:12;:106::i;7725:154:90:-;-1:-1:-1;;;;;7837:25:90;;;7814:4;7837:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7725:154::o;1702:23:50:-;;;-1:-1:-1;;;;;1702:23:50;;:::o;1757:30::-;;;;:::o;1983:240:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6:::1;::::0;2151:38:::1;::::0;2172:6:::1;::::0;2151:38:::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;10237:117:90:-;10294:4;10317:30;:12;10339:7;10317:21;:30::i;590:104:80:-;677:10;590:104;:::o;15893:155:90:-;15958:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15958:29:90;-1:-1:-1;;;;;15958:29:90;;;;;;;;:24;;16011:16;15958:24;16011:7;:16::i;:::-;-1:-1:-1;;;;;16002:39:90;;;;;;;;;;;15893:155;;:::o;7023:121:99:-;7092:7;7118:19;7126:3;7118:7;:19::i;10512:329:90:-;10597:4;10621:16;10629:7;10621;:16::i;:::-;10613:73;;;;-1:-1:-1;;;10613:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10696:13;10712:16;10720:7;10712;:16::i;:::-;10696:32;;10757:5;-1:-1:-1;;;;;10746:16:90;:7;-1:-1:-1;;;;;10746:16:90;;:51;;;;10790:7;-1:-1:-1;;;;;10766:31:90;:20;10778:7;10766:11;:20::i;:::-;-1:-1:-1;;;;;10766:31:90;;10746:51;:87;;;;10801:32;10818:5;10825:7;10801:16;:32::i;:::-;10738:96;10512:329;-1:-1:-1;;;;10512:329:90:o;13506:559::-;13623:4;-1:-1:-1;;;;;13603:24:90;:16;13611:7;13603;:16::i;:::-;-1:-1:-1;;;;;13603:24:90;;13595:78;;;;-1:-1:-1;;;13595:78:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13691:16:90;;13683:65;;;;-1:-1:-1;;;13683:65:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13759:39;13780:4;13786:2;13790:7;13759:20;:39::i;:::-;13860:29;13877:1;13881:7;13860:8;:29::i;:::-;-1:-1:-1;;;;;13900:19:90;;;;;;:13;:19;;;;;:35;;13927:7;13900:26;:35::i;:::-;-1:-1:-1;;;;;;13945:17:90;;;;;;:13;:17;;;;;:30;;13967:7;13945:21;:30::i;:::-;-1:-1:-1;13986:29:90;:12;14003:7;14012:2;13986:16;:29::i;:::-;;14050:7;14046:2;-1:-1:-1;;;;;14031:27:90;14040:4;-1:-1:-1;;;;;14031:27:90;;;;;;;;;;;13506:559;;;:::o;7649:135:100:-;7720:7;7754:22;7758:3;7770:5;7754:3;:22::i;316:128:67:-;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;;;:28;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;;;435:4;;379:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1520:389:53;1721:12;1827:8;1840;1853:13;1871:12;1888:13;1747:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1747:158:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1747:158:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1747:158:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1747:158:53;;;-1:-1:-1;;1747:158:53;;;;;;;;;;;;;;-1:-1:-1;;;;;1747:158:53;-1:-1:-1;;;1747:158:53;;;;-1:-1:-1;;;;;;;;;;;1520:389:53;;;;;;;:::o;2269:445:50:-;2345:7;2385:13;2401:72;2416:1;2446:5;2453:6;2429:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;2419:42;;;;;;2463:9;2401:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:14;:72::i;:::-;2608:6;;2548:74;;;-1:-1:-1;;;2548:74:50;;-1:-1:-1;;;;;2608:6:50;;;2548:74;;;;;;;;;;;;;;;;;;;;2385:88;;-1:-1:-1;2548:59:50;;;;;;2608:6;;2616:5;;2548:74;;;;;;;;;;;;;;2608:6;2548:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2656:29;2662:6;2678:5;-1:-1:-1;;;;;2670:14:50;2656:5;:29::i;:::-;-1:-1:-1;;;;;2696:14:50;;2269:445;-1:-1:-1;;;2269:445:50:o;7472:224:99:-;7552:7;;;;7611:22;7615:3;7627:5;7611:3;:22::i;:::-;7580:53;;;;-1:-1:-1;7472:224:99;-1:-1:-1;;;;;7472:224:99:o;14647:98:90:-;14719:19;;;;:8;;:19;;;;;:::i;8115:202:99:-;8222:7;8264:44;8269:3;8289;8295:12;8264:4;:44::i;:::-;8256:53;-1:-1:-1;8115:202:99;;;;;;:::o;9665:269:90:-;9778:28;9788:4;9794:2;9798:7;9778:9;:28::i;:::-;9824:48;9847:4;9853:2;9857:7;9866:5;9824:22;:48::i;:::-;9816:111;;;;-1:-1:-1;;;9816:111:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202:723:101;258:13;475:10;471:51;;-1:-1:-1;501:10:101;;;;;;;;;;;;-1:-1:-1;;;501:10:101;;;;;;471:51;546:5;531:12;585:75;592:9;;585:75;;617:8;;647:2;639:10;;;;585:75;;;669:19;701:6;691:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;691:17:101;-1:-1:-1;761:5:101;;-1:-1:-1;669:39:101;-1:-1:-1;;;734:10:101;;776:112;783:9;;776:112;;849:2;842:4;:9;837:2;:14;826:27;;808:6;815:7;;;;;;;808:15;;;;;;;;;;;:45;-1:-1:-1;;;;;808:45:101;;;;;;;;-1:-1:-1;875:2:101;867:10;;;;776:112;;;-1:-1:-1;911:6:101;202:723;-1:-1:-1;;;;202:723:101:o;2717:222:50:-;2799:7;2813:13;2829:81;2879:5;2886:6;2862:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;2852:42;;;;;;2896:13;;2829:22;:81::i;:::-;-1:-1:-1;;;;;2921:14:50;;2717:222;-1:-1:-1;;;;2717:222:50:o;6791:149:99:-;6875:4;6898:35;6908:3;6928;6898:9;:35::i;4483:108::-;4565:19;;4483:108::o;6764:135:100:-;6834:4;6857:35;6865:3;6885:5;6857:7;:35::i;6467:129::-;6534:4;6557:32;6562:3;6582:5;6557:4;:32::i;6239:174:99:-;6328:4;6351:55;6356:3;6376;-1:-1:-1;;;;;6390:14:99;;6351:4;:55::i;4423:201:100:-;4517:18;;4490:7;;4517:26;-1:-1:-1;4509:73:100;;;;-1:-1:-1;;;4509:73:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:3;:11;;4611:5;4599:18;;;;;;;;;;;;;;;;4592:25;;4423:201;;;;:::o;1013:535:98:-;1100:7;1119:12;1174:6;1149:21;:31;;1141:73;;;;;-1:-1:-1;;;1141:73:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;1232:15;;1224:65;;;;;-1:-1:-1;;;1224:65:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:4;1429:8;1423:15;1416:4;1406:8;1402:19;1394:6;1386:59;1378:67;-1:-1:-1;;;;;;1472:18:98;;1464:56;;;;;-1:-1:-1;;;1464:56:98;;;;;;;;;;;;;;;;;;;;;;;;;;;12070:393:90;-1:-1:-1;;;;;12149:16:90;;12141:61;;;;;-1:-1:-1;;;12141:61:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12221:16;12229:7;12221;:16::i;:::-;12220:17;12212:58;;;;;-1:-1:-1;;;12212:58:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;12281:45;12310:1;12314:2;12318:7;12281:20;:45::i;:::-;-1:-1:-1;;;;;12337:17:90;;;;;;:13;:17;;;;;:30;;12359:7;12337:21;:30::i;:::-;-1:-1:-1;12378:29:90;:12;12395:7;12404:2;12378:16;:29::i;:::-;-1:-1:-1;12423:33:90;;12448:7;;-1:-1:-1;;;;;12423:33:90;;;12440:1;;12423:33;;12440:1;;12423:33;12070:393;;:::o;4934:274:99:-;5037:19;;5001:7;;;;5037:27;-1:-1:-1;5029:74:99;;;;-1:-1:-1;;;5029:74:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:22;5139:3;:12;;5152:5;5139:19;;;;;;;;;;;;;;;;;;5114:44;;5176:5;:10;;;5188:5;:12;;;5168:33;;;;;4934:274;;;;;:::o;5615:315::-;5709:7;5747:17;;;:12;;;:17;;;;;;5797:12;5782:13;5774:36;;;;-1:-1:-1;;;5774:36:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5863:3;:12;;5887:1;5876:8;:12;5863:26;;;;;;;;;;;;;;;;;;:33;;;5856:40;;;5615:315;;;;;:::o;15298:589:90:-;15418:4;15443:15;:2;-1:-1:-1;;;;;15443:13:90;;:15::i;:::-;15438:58;;-1:-1:-1;15481:4:90;15474:11;;15438:58;15505:23;15531:246;-1:-1:-1;;;15642:12:90;:10;:12::i;:::-;15668:4;15686:7;15707:5;15547:175;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;15531:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15531:15:90;;;:246;:15;:246::i;:::-;15505:272;;15787:13;15814:10;15803:32;;;;;;;;;;;;;;;-1:-1:-1;15803:32:90;-1:-1:-1;;;;;;15853:26:90;-1:-1:-1;;;15853:26:90;;-1:-1:-1;;;15298:589:90;;;;;;:::o;1752:165:98:-;1835:7;1861:49;1876:4;1882:12;1904:4;1861:14;:49::i;4270:123:99:-;4341:4;4364:17;;;:12;;;;;:17;;;;;;:22;;;4270:123::o;2183:1512:100:-;2249:4;2386:19;;;:12;;;:19;;;;;;2420:15;;2416:1273;;2849:18;;-1:-1:-1;;2801:14:100;;;;2849:22;;;;2777:21;;2849:3;;:22;;3131;;;;;;;;;;;;;;3111:42;;3274:9;3245:3;:11;;3257:13;3245:26;;;;;;;;;;;;;;;;;;;:38;;;;3349:23;;;3391:1;3349:12;;;:23;;;;;;3375:17;;;3349:43;;3498:17;;3349:3;;3498:17;;;;;;;;;;;;;;;;;;;;;;3590:3;:12;;:19;3603:5;3590:19;;;;;;;;;;;3583:26;;;3631:4;3624:11;;;;;;;;2416:1273;3673:5;3666:12;;;;;1611:404;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;1828:678:99;1904:4;2037:17;;;:12;;;:17;;;;;;2069:13;2065:435;;-1:-1:-1;;2153:38:99;;;;;;;;;;;;;;;;;;2135:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2347:19;;2327:17;;;:12;;;:17;;;;;;;:39;2380:11;;2065:435;2458:5;2422:3;:12;;2446:1;2435:8;:12;2422:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2484:5;2477:12;;;;;718:610:95;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:95;;;1270:51;-1:-1:-1;;718:610:95:o;3770:194::-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;3904:22;:53::i;2160:276:98:-;2319:60;;;-1:-1:-1;;;;;;2319:60:98;;;;;;;;;;;;;-1:-1:-1;;2319:60:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2296:93;;;;;;2160:276::o;5117:958:95:-;5247:12;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:95;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5443:36:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:95;;-1:-1:-1;5516:17:95;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:95;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport '../Registry.sol';\nimport './App.sol';\n\n\ncontract AppRegistry is Registry\n{\n\t/**\n\t * Constructor\n\t */\n\tconstructor()\n\tpublic Registry(\n\t\taddress(new App()),\n\t\t'iExec Application Registry (V5)',\n\t\t'iExecAppsV5')\n\t{\n\t}\n\n\t/**\n\t * App creation\n\t */\n\tfunction encodeInitializer(\n\t\tstring memory _appName,\n\t\tstring memory _appType,\n\t\tbytes memory _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes memory _appMREnclave)\n\tinternal pure returns (bytes memory)\n\t{\n\t\treturn abi.encodeWithSignature(\n\t\t\t'initialize(string,string,bytes,bytes32,bytes)'\n\t\t,\t_appName\n\t\t,\t_appType\n\t\t,\t_appMultiaddr\n\t\t,\t_appChecksum\n\t\t,\t_appMREnclave\n\t\t);\n\t}\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (App)\n\t{\n\t\treturn App(_mintCreate(_appOwner, encodeInitializer(_appName, _appType, _appMultiaddr, _appChecksum, _appMREnclave)));\n\t}\n\n\tfunction predictApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal view returns (App)\n\t{\n\t\treturn App(_mintPredict(_appOwner, encodeInitializer(_appName, _appType, _appMultiaddr, _appChecksum, _appMREnclave)));\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/AppRegistry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/AppRegistry.sol", - "exportedSymbols": { - "AppRegistry": [ - 10393 - ] - }, - "id": 10394, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10284, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:53" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10285, - "nodeType": "ImportDirective", - "scope": 10394, - "sourceUnit": 10145, - "src": "1267:25:53", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "file": "./App.sol", - "id": 10286, - "nodeType": "ImportDirective", - "scope": 10394, - "sourceUnit": 10283, - "src": "1293:19:53", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10287, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1339:8:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10288, - "nodeType": "InheritanceSpecifier", - "src": "1339:8:53" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10282, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10393, - "linearizedBaseContracts": [ - 10393, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "AppRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10302, - "nodeType": "Block", - "src": "1486:4:53", - "statements": [] - }, - "documentation": { - "id": 10289, - "nodeType": "StructuredDocumentation", - "src": "1351:24:53", - "text": " Constructor" - }, - "id": 10303, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1419:7:53", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_App_$10282_$", - "typeString": "function () returns (contract App)" - }, - "typeName": { - "contractScope": null, - "id": 10294, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "1423:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - } - }, - "id": 10296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1419:9:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - ], - "id": 10293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1411:7:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10292, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1411:7:53", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1411:18:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "6945786563204170706c69636174696f6e2052656769737472792028563529", - "id": 10298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1433:33:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a08be85dd48f577aebf2b6927ce569be17ddba03f283376888c42f35aa6ac401", - "typeString": "literal_string \"iExec Application Registry (V5)\"" - }, - "value": "iExec Application Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "6945786563417070735635", - "id": 10299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1470:13:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c797558bda43990d6740413550c98b950b467aff02179311982cdd477bf6335", - "typeString": "literal_string \"iExecAppsV5\"" - }, - "value": "iExecAppsV5" - } - ], - "id": 10300, - "modifierName": { - "argumentTypes": null, - "id": 10291, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1399:8:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1399:85:53" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10290, - "nodeType": "ParameterList", - "parameters": [], - "src": "1388:2:53" - }, - "returnParameters": { - "id": 10301, - "nodeType": "ParameterList", - "parameters": [], - "src": "1486:0:53" - }, - "scope": 10393, - "src": "1377:113:53", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10329, - "nodeType": "Block", - "src": "1736:173:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e672c737472696e672c62797465732c627974657333322c627974657329", - "id": 10321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1775:47:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86c02c8f3bc0ec1cce7af1a43bb2bf3842fefc1277d314760bd53c0049085739", - "typeString": "literal_string \"initialize(string,string,bytes,bytes32,bytes)\"" - }, - "value": "initialize(string,string,bytes,bytes32,bytes)" - }, - { - "argumentTypes": null, - "id": 10322, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10306, - "src": "1827:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10323, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10308, - "src": "1840:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10324, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10310, - "src": "1853:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10325, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10312, - "src": "1871:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10326, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10314, - "src": "1888:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86c02c8f3bc0ec1cce7af1a43bb2bf3842fefc1277d314760bd53c0049085739", - "typeString": "literal_string \"initialize(string,string,bytes,bytes32,bytes)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 10319, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1747:3:53", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1747:23:53", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1747:158:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10318, - "id": 10328, - "nodeType": "Return", - "src": "1740:165:53" - } - ] - }, - "documentation": { - "id": 10304, - "nodeType": "StructuredDocumentation", - "src": "1493:25:53", - "text": " App creation" - }, - "id": 10330, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10306, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1550:23:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10305, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1550:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10308, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1577:23:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10307, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10310, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1604:28:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10309, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1604:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10312, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1636:27:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10311, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10314, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1667:28:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10313, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1667:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:150:53" - }, - "returnParameters": { - "id": 10318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10317, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1721:12:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1721:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1720:14:53" - }, - "scope": 10393, - "src": "1520:389:53", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10360, - "nodeType": "Block", - "src": "2146:125:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10349, - "name": "_appOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10332, - "src": "2173:9:53", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10351, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10334, - "src": "2202:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10352, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10336, - "src": "2212:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10353, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10338, - "src": "2222:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10354, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10340, - "src": "2237:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10355, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10342, - "src": "2251:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 10350, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10330, - "src": "2184:17:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory,bytes32,bytes memory) pure returns (bytes memory)" - } - }, - "id": 10356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2184:81:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10348, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "2161:11:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2161:105:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10347, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10282, - "src": "2157:3:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10282_$", - "typeString": "type(contract App)" - } - }, - "id": 10358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2157:110:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "functionReturnParameters": 10346, - "id": 10359, - "nodeType": "Return", - "src": "2150:117:53" - } - ] - }, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 10361, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10332, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1934:26:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1934:7:53", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10334, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1964:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1964:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10336, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1993:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1993:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10338, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2022:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10337, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2022:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10340, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2056:29:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10339, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2056:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10342, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2089:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10341, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2089:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1930:190:53" - }, - "returnParameters": { - "id": 10346, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10345, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2140:3:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - }, - "typeName": { - "contractScope": null, - "id": 10344, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "2140:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2139:5:53" - }, - "scope": 10393, - "src": "1912:359:53", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10391, - "nodeType": "Block", - "src": "2514:126:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10380, - "name": "_appOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10363, - "src": "2542:9:53", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10382, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10365, - "src": "2571:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10383, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10367, - "src": "2581:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10384, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10369, - "src": "2591:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10385, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10371, - "src": "2606:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10386, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10373, - "src": "2620:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 10381, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10330, - "src": "2553:17:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory,bytes32,bytes memory) pure returns (bytes memory)" - } - }, - "id": 10387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:81:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10379, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2529:12:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2529:106:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10378, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10282, - "src": "2525:3:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10282_$", - "typeString": "type(contract App)" - } - }, - "id": 10389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2525:111:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "functionReturnParameters": 10377, - "id": 10390, - "nodeType": "Return", - "src": "2518:118:53" - } - ] - }, - "documentation": null, - "functionSelector": "e92118ed", - "id": 10392, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10374, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10363, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2297:26:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10362, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2297:7:53", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10365, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2327:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10364, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2327:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10367, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2356:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2356:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10369, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2385:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2385:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10371, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2419:29:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10370, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2419:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10373, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2452:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10372, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2452:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2293:190:53" - }, - "returnParameters": { - "id": 10377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10376, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2508:3:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - }, - "typeName": { - "contractScope": null, - "id": 10375, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "2508:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2507:5:53" - }, - "scope": 10393, - "src": "2274:366:53", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10394, - "src": "1315:1327:53" - } - ], - "src": "1242:1401:53" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/AppRegistry.sol", - "exportedSymbols": { - "AppRegistry": [ - 10393 - ] - }, - "id": 10394, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10284, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:53" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10285, - "nodeType": "ImportDirective", - "scope": 10394, - "sourceUnit": 10145, - "src": "1267:25:53", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "file": "./App.sol", - "id": 10286, - "nodeType": "ImportDirective", - "scope": 10394, - "sourceUnit": 10283, - "src": "1293:19:53", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10287, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1339:8:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10288, - "nodeType": "InheritanceSpecifier", - "src": "1339:8:53" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10282, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10393, - "linearizedBaseContracts": [ - 10393, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "AppRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10302, - "nodeType": "Block", - "src": "1486:4:53", - "statements": [] - }, - "documentation": { - "id": 10289, - "nodeType": "StructuredDocumentation", - "src": "1351:24:53", - "text": " Constructor" - }, - "id": 10303, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1419:7:53", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_App_$10282_$", - "typeString": "function () returns (contract App)" - }, - "typeName": { - "contractScope": null, - "id": 10294, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "1423:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - } - }, - "id": 10296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1419:9:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - ], - "id": 10293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1411:7:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10292, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1411:7:53", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1411:18:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "6945786563204170706c69636174696f6e2052656769737472792028563529", - "id": 10298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1433:33:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a08be85dd48f577aebf2b6927ce569be17ddba03f283376888c42f35aa6ac401", - "typeString": "literal_string \"iExec Application Registry (V5)\"" - }, - "value": "iExec Application Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "6945786563417070735635", - "id": 10299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1470:13:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c797558bda43990d6740413550c98b950b467aff02179311982cdd477bf6335", - "typeString": "literal_string \"iExecAppsV5\"" - }, - "value": "iExecAppsV5" - } - ], - "id": 10300, - "modifierName": { - "argumentTypes": null, - "id": 10291, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1399:8:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1399:85:53" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10290, - "nodeType": "ParameterList", - "parameters": [], - "src": "1388:2:53" - }, - "returnParameters": { - "id": 10301, - "nodeType": "ParameterList", - "parameters": [], - "src": "1486:0:53" - }, - "scope": 10393, - "src": "1377:113:53", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10329, - "nodeType": "Block", - "src": "1736:173:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e672c737472696e672c62797465732c627974657333322c627974657329", - "id": 10321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1775:47:53", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86c02c8f3bc0ec1cce7af1a43bb2bf3842fefc1277d314760bd53c0049085739", - "typeString": "literal_string \"initialize(string,string,bytes,bytes32,bytes)\"" - }, - "value": "initialize(string,string,bytes,bytes32,bytes)" - }, - { - "argumentTypes": null, - "id": 10322, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10306, - "src": "1827:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10323, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10308, - "src": "1840:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10324, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10310, - "src": "1853:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10325, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10312, - "src": "1871:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10326, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10314, - "src": "1888:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86c02c8f3bc0ec1cce7af1a43bb2bf3842fefc1277d314760bd53c0049085739", - "typeString": "literal_string \"initialize(string,string,bytes,bytes32,bytes)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 10319, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1747:3:53", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1747:23:53", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1747:158:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10318, - "id": 10328, - "nodeType": "Return", - "src": "1740:165:53" - } - ] - }, - "documentation": { - "id": 10304, - "nodeType": "StructuredDocumentation", - "src": "1493:25:53", - "text": " App creation" - }, - "id": 10330, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10306, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1550:23:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10305, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1550:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10308, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1577:23:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10307, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10310, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1604:28:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10309, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1604:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10312, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1636:27:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10311, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10314, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1667:28:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10313, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1667:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:150:53" - }, - "returnParameters": { - "id": 10318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10317, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10330, - "src": "1721:12:53", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1721:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1720:14:53" - }, - "scope": 10393, - "src": "1520:389:53", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10360, - "nodeType": "Block", - "src": "2146:125:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10349, - "name": "_appOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10332, - "src": "2173:9:53", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10351, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10334, - "src": "2202:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10352, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10336, - "src": "2212:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10353, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10338, - "src": "2222:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10354, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10340, - "src": "2237:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10355, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10342, - "src": "2251:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 10350, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10330, - "src": "2184:17:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory,bytes32,bytes memory) pure returns (bytes memory)" - } - }, - "id": 10356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2184:81:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10348, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "2161:11:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2161:105:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10347, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10282, - "src": "2157:3:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10282_$", - "typeString": "type(contract App)" - } - }, - "id": 10358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2157:110:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "functionReturnParameters": 10346, - "id": 10359, - "nodeType": "Return", - "src": "2150:117:53" - } - ] - }, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 10361, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10332, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1934:26:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1934:7:53", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10334, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1964:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1964:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10336, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "1993:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1993:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10338, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2022:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10337, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2022:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10340, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2056:29:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10339, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2056:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10342, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2089:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10341, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2089:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1930:190:53" - }, - "returnParameters": { - "id": 10346, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10345, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10361, - "src": "2140:3:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - }, - "typeName": { - "contractScope": null, - "id": 10344, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "2140:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2139:5:53" - }, - "scope": 10393, - "src": "1912:359:53", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10391, - "nodeType": "Block", - "src": "2514:126:53", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10380, - "name": "_appOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10363, - "src": "2542:9:53", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10382, - "name": "_appName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10365, - "src": "2571:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10383, - "name": "_appType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10367, - "src": "2581:8:53", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10384, - "name": "_appMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10369, - "src": "2591:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10385, - "name": "_appChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10371, - "src": "2606:12:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10386, - "name": "_appMREnclave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10373, - "src": "2620:13:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 10381, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10330, - "src": "2553:17:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory,bytes32,bytes memory) pure returns (bytes memory)" - } - }, - "id": 10387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:81:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10379, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2529:12:53", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2529:106:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10378, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10282, - "src": "2525:3:53", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10282_$", - "typeString": "type(contract App)" - } - }, - "id": 10389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2525:111:53", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "functionReturnParameters": 10377, - "id": 10390, - "nodeType": "Return", - "src": "2518:118:53" - } - ] - }, - "documentation": null, - "functionSelector": "e92118ed", - "id": 10392, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10374, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10363, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2297:26:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10362, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2297:7:53", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10365, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2327:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10364, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2327:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10367, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2356:25:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2356:6:53", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10369, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2385:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2385:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10371, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2419:29:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10370, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2419:7:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10373, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2452:30:53", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10372, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2452:5:53", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2293:190:53" - }, - "returnParameters": { - "id": 10377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10376, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10392, - "src": "2508:3:53", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - }, - "typeName": { - "contractScope": null, - "id": 10375, - "name": "App", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10282, - "src": "2508:3:53", - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10282", - "typeString": "contract App" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2507:5:53" - }, - "scope": 10393, - "src": "2274:366:53", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10394, - "src": "1315:1327:53" - } - ], - "src": "1242:1401:53" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xB1C52075b276f87b1834919167312221d50c9D16" - } - }, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.942Z", - "networkType": "ethereum", - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "baseURI()": { - "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenByIndex(uint256)": { - "details": "See {IERC721Enumerable-tokenByIndex}." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "totalSupply()": { - "details": "See {IERC721Enumerable-totalSupply}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "constructor": "Constructor" - }, - "version": 1 - } -} diff --git a/build/contracts/AppRegistryInterface.json b/build/contracts/AppRegistryInterface.json deleted file mode 100644 index b7b16f3e7..000000000 --- a/build/contracts/AppRegistryInterface.json +++ /dev/null @@ -1,5831 +0,0 @@ -{ - "contractName": "AppRegistryInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "appOwner", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "app", - "type": "address" - } - ], - "name": "CreateApp", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_appName", - "type": "string" - }, - { - "internalType": "string", - "name": "_appType", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_appMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_appChecksum", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_appMREnclave", - "type": "bytes" - } - ], - "name": "createApp", - "outputs": [ - { - "internalType": "contract AppInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"appOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"}],\"name\":\"CreateApp\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_appOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_appName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_appType\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_appMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_appChecksum\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_appMREnclave\",\"type\":\"bytes\"}],\"name\":\"createApp\",\"outputs\":[{\"internalType\":\"contract AppInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"viewCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"viewEntry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"AppRegistryInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.884Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/BaseUpgradeabilityProxy.json b/build/contracts/BaseUpgradeabilityProxy.json deleted file mode 100644 index f45d58fd4..000000000 --- a/build/contracts/BaseUpgradeabilityProxy.json +++ /dev/null @@ -1,1788 +0,0 @@ -{ - "contractName": "BaseUpgradeabilityProxy", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"This contract implements a proxy that allows to change the implementation address to which it will delegate. Such a change is called an implementation upgrade.\",\"events\":{\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\",\"params\":{\"implementation\":\"Address of the new implementation.\"}}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"IMPLEMENTATION_SLOT\":{\"details\":\"Storage slot with the address of the current implementation. This is the keccak-256 hash of \\\"org.zeppelinos.proxy.implementation\\\", and is validated in the constructor.\"}},\"title\":\"BaseUpgradeabilityProxy\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":\"BaseUpgradeabilityProxy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]}},\"version\":1}", - "bytecode": "0x6080604052348015600f57600080fd5b5060a58061001e6000396000f3fe608060405236601057600e6013565b005b600e5b60196025565b602560216027565b604c565b565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e808015606a573d6000f35b3d6000fdfea26469706673582212203a3321fd790156ec992ac16f2e8dcab2ca370bbb32d8e08889c775359bf6cfbb64736f6c634300060c0033", - "deployedBytecode": "0x608060405236601057600e6013565b005b600e5b60196025565b602560216027565b604c565b565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e808015606a573d6000f35b3d6000fdfea26469706673582212203a3321fd790156ec992ac16f2e8dcab2ca370bbb32d8e08889c775359bf6cfbb64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "316:1525:77:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "316:1525:77:-:0;;;;;;459:11:79;:9;:11::i;:::-;316:1525:77;;596:11:79;2133:90;2169:15;:13;:15::i;:::-;2190:28;2200:17;:15;:17::i;:::-;2190:9;:28::i;:::-;2133:90::o;975:165:77:-;790:66;1119:11;;1103:33::o;1039:743:79:-;1341:14;1338:1;1335;1322:34;1537:1;1534;1518:14;1515:1;1499:14;1492:5;1479:60;1601:16;1598:1;1595;1580:38;1633:6;1688:38;;;;1753:16;1750:1;1743:27;1688:38;1707:16;1704:1;1697:27", - "source": "pragma solidity ^0.6.0;\n\nimport '@openzeppelin/contracts/utils/Address.sol';\nimport './Proxy.sol';\n\n/**\n * @title BaseUpgradeabilityProxy\n * @dev This contract implements a proxy that allows to change the\n * implementation address to which it will delegate.\n * Such a change is called an implementation upgrade.\n */\ncontract BaseUpgradeabilityProxy is Proxy {\n /**\n * @dev Emitted when the implementation is upgraded.\n * @param implementation Address of the new implementation.\n */\n event Upgraded(address indexed implementation);\n\n /**\n * @dev Storage slot with the address of the current implementation.\n * This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is\n * validated in the constructor.\n */\n bytes32 internal constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3;\n\n /**\n * @dev Returns the current implementation.\n * @return impl Address of the current implementation\n */\n function _implementation() internal override view returns (address impl) {\n bytes32 slot = IMPLEMENTATION_SLOT;\n assembly {\n impl := sload(slot)\n }\n }\n\n /**\n * @dev Upgrades the proxy to a new implementation.\n * @param newImplementation Address of the new implementation.\n */\n function _upgradeTo(address newImplementation) internal {\n _setImplementation(newImplementation);\n emit Upgraded(newImplementation);\n }\n\n /**\n * @dev Sets the implementation address of the proxy.\n * @param newImplementation Address of the new implementation.\n */\n function _setImplementation(address newImplementation) internal {\n require(Address.isContract(newImplementation), \"Cannot set a proxy implementation to a non-contract address\");\n\n bytes32 slot = IMPLEMENTATION_SLOT;\n\n assembly {\n sstore(slot, newImplementation)\n }\n }\n}\n", - "sourcePath": "@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol", - "exportedSymbols": { - "BaseUpgradeabilityProxy": [ - 13549 - ] - }, - "id": 13550, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13486, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:77" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "@openzeppelin/contracts/utils/Address.sol", - "id": 13487, - "nodeType": "ImportDirective", - "scope": 13550, - "sourceUnit": 16655, - "src": "25:51:77", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/Proxy.sol", - "file": "./Proxy.sol", - "id": 13488, - "nodeType": "ImportDirective", - "scope": 13550, - "sourceUnit": 13657, - "src": "77:21:77", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13490, - "name": "Proxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13656, - "src": "352:5:77", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Proxy_$13656", - "typeString": "contract Proxy" - } - }, - "id": 13491, - "nodeType": "InheritanceSpecifier", - "src": "352:5:77" - } - ], - "contractDependencies": [ - 13656 - ], - "contractKind": "contract", - "documentation": { - "id": 13489, - "nodeType": "StructuredDocumentation", - "src": "100:215:77", - "text": " @title BaseUpgradeabilityProxy\n @dev This contract implements a proxy that allows to change the\n implementation address to which it will delegate.\n Such a change is called an implementation upgrade." - }, - "fullyImplemented": true, - "id": 13549, - "linearizedBaseContracts": [ - 13549, - 13656 - ], - "name": "BaseUpgradeabilityProxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": { - "id": 13492, - "nodeType": "StructuredDocumentation", - "src": "362:126:77", - "text": " @dev Emitted when the implementation is upgraded.\n @param implementation Address of the new implementation." - }, - "id": 13496, - "name": "Upgraded", - "nodeType": "EventDefinition", - "parameters": { - "id": 13495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13494, - "indexed": true, - "mutability": "mutable", - "name": "implementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13496, - "src": "506:30:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "506:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "505:32:77" - }, - "src": "491:47:77" - }, - { - "constant": true, - "documentation": { - "id": 13497, - "nodeType": "StructuredDocumentation", - "src": "542:197:77", - "text": " @dev Storage slot with the address of the current implementation.\n This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is\n validated in the constructor." - }, - "id": 13500, - "mutability": "constant", - "name": "IMPLEMENTATION_SLOT", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13549, - "src": "742:114:77", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13498, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "742:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307837303530633965306634636137363963363962643361386566373430626333373933346638653263303336653561373233666438656530343865643366386333", - "id": 13499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "790:66:77", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_50801780122331352337026042894847907698553222651959119521779622085092237899971_by_1", - "typeString": "int_const 5080...(69 digits omitted)...9971" - }, - "value": "0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3" - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 13629 - ], - "body": { - "id": 13512, - "nodeType": "Block", - "src": "1048:92:77", - "statements": [ - { - "assignments": [ - 13508 - ], - "declarations": [ - { - "constant": false, - "id": 13508, - "mutability": "mutable", - "name": "slot", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13512, - "src": "1054:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13507, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1054:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13510, - "initialValue": { - "argumentTypes": null, - "id": 13509, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "1069:19:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1054:34:77" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1103:33:77", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1111:19:77", - "value": { - "arguments": [ - { - "name": "slot", - "nodeType": "YulIdentifier", - "src": "1125:4:77" - } - ], - "functionName": { - "name": "sload", - "nodeType": "YulIdentifier", - "src": "1119:5:77" - }, - "nodeType": "YulFunctionCall", - "src": "1119:11:77" - }, - "variableNames": [ - { - "name": "impl", - "nodeType": "YulIdentifier", - "src": "1111:4:77" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13505, - "isOffset": false, - "isSlot": false, - "src": "1111:4:77", - "valueSize": 1 - }, - { - "declaration": 13508, - "isOffset": false, - "isSlot": false, - "src": "1125:4:77", - "valueSize": 1 - } - ], - "id": 13511, - "nodeType": "InlineAssembly", - "src": "1094:42:77" - } - ] - }, - "documentation": { - "id": 13501, - "nodeType": "StructuredDocumentation", - "src": "861:111:77", - "text": " @dev Returns the current implementation.\n @return impl Address of the current implementation" - }, - "id": 13513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 13503, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1011:8:77" - }, - "parameters": { - "id": 13502, - "nodeType": "ParameterList", - "parameters": [], - "src": "999:2:77" - }, - "returnParameters": { - "id": 13506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13505, - "mutability": "mutable", - "name": "impl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13513, - "src": "1034:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13504, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1034:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1033:14:77" - }, - "scope": 13549, - "src": "975:165:77", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13527, - "nodeType": "Block", - "src": "1331:86:77", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13520, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13516, - "src": "1356:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13519, - "name": "_setImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13548, - "src": "1337:18:77", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1337:37:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13522, - "nodeType": "ExpressionStatement", - "src": "1337:37:77" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13524, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13516, - "src": "1394:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13523, - "name": "Upgraded", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13496, - "src": "1385:8:77", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1385:27:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13526, - "nodeType": "EmitStatement", - "src": "1380:32:77" - } - ] - }, - "documentation": { - "id": 13514, - "nodeType": "StructuredDocumentation", - "src": "1144:128:77", - "text": " @dev Upgrades the proxy to a new implementation.\n @param newImplementation Address of the new implementation." - }, - "id": 13528, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_upgradeTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13516, - "mutability": "mutable", - "name": "newImplementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13528, - "src": "1295:25:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1295:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1294:27:77" - }, - "returnParameters": { - "id": 13518, - "nodeType": "ParameterList", - "parameters": [], - "src": "1331:0:77" - }, - "scope": 13549, - "src": "1275:142:77", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13547, - "nodeType": "Block", - "src": "1618:221:77", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13537, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13531, - "src": "1651:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 13535, - "name": "Address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16654, - "src": "1632:7:77", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Address_$16654_$", - "typeString": "type(library Address)" - } - }, - "id": 13536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 16479, - "src": "1632:18:77", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 13538, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1632:37:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373", - "id": 13539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1671:61:77", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b5145a64ce8c406e5785204fe5b300f0ceda96d6636350b38fdccb9cd8c0c37c", - "typeString": "literal_string \"Cannot set a proxy implementation to a non-contract address\"" - }, - "value": "Cannot set a proxy implementation to a non-contract address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b5145a64ce8c406e5785204fe5b300f0ceda96d6636350b38fdccb9cd8c0c37c", - "typeString": "literal_string \"Cannot set a proxy implementation to a non-contract address\"" - } - ], - "id": 13534, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1624:7:77", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:109:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13541, - "nodeType": "ExpressionStatement", - "src": "1624:109:77" - }, - { - "assignments": [ - 13543 - ], - "declarations": [ - { - "constant": false, - "id": 13543, - "mutability": "mutable", - "name": "slot", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13547, - "src": "1740:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13542, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1740:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13545, - "initialValue": { - "argumentTypes": null, - "id": 13544, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "1755:19:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1740:34:77" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1790:45:77", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "slot", - "nodeType": "YulIdentifier", - "src": "1805:4:77" - }, - { - "name": "newImplementation", - "nodeType": "YulIdentifier", - "src": "1811:17:77" - } - ], - "functionName": { - "name": "sstore", - "nodeType": "YulIdentifier", - "src": "1798:6:77" - }, - "nodeType": "YulFunctionCall", - "src": "1798:31:77" - }, - "nodeType": "YulExpressionStatement", - "src": "1798:31:77" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13531, - "isOffset": false, - "isSlot": false, - "src": "1811:17:77", - "valueSize": 1 - }, - { - "declaration": 13543, - "isOffset": false, - "isSlot": false, - "src": "1805:4:77", - "valueSize": 1 - } - ], - "id": 13546, - "nodeType": "InlineAssembly", - "src": "1781:54:77" - } - ] - }, - "documentation": { - "id": 13529, - "nodeType": "StructuredDocumentation", - "src": "1421:130:77", - "text": " @dev Sets the implementation address of the proxy.\n @param newImplementation Address of the new implementation." - }, - "id": 13548, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setImplementation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13531, - "mutability": "mutable", - "name": "newImplementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13548, - "src": "1582:25:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13530, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1582:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1581:27:77" - }, - "returnParameters": { - "id": 13533, - "nodeType": "ParameterList", - "parameters": [], - "src": "1618:0:77" - }, - "scope": 13549, - "src": "1554:285:77", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13550, - "src": "316:1525:77" - } - ], - "src": "0:1842:77" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol", - "exportedSymbols": { - "BaseUpgradeabilityProxy": [ - 13549 - ] - }, - "id": 13550, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13486, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:77" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "@openzeppelin/contracts/utils/Address.sol", - "id": 13487, - "nodeType": "ImportDirective", - "scope": 13550, - "sourceUnit": 16655, - "src": "25:51:77", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/Proxy.sol", - "file": "./Proxy.sol", - "id": 13488, - "nodeType": "ImportDirective", - "scope": 13550, - "sourceUnit": 13657, - "src": "77:21:77", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13490, - "name": "Proxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13656, - "src": "352:5:77", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Proxy_$13656", - "typeString": "contract Proxy" - } - }, - "id": 13491, - "nodeType": "InheritanceSpecifier", - "src": "352:5:77" - } - ], - "contractDependencies": [ - 13656 - ], - "contractKind": "contract", - "documentation": { - "id": 13489, - "nodeType": "StructuredDocumentation", - "src": "100:215:77", - "text": " @title BaseUpgradeabilityProxy\n @dev This contract implements a proxy that allows to change the\n implementation address to which it will delegate.\n Such a change is called an implementation upgrade." - }, - "fullyImplemented": true, - "id": 13549, - "linearizedBaseContracts": [ - 13549, - 13656 - ], - "name": "BaseUpgradeabilityProxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": { - "id": 13492, - "nodeType": "StructuredDocumentation", - "src": "362:126:77", - "text": " @dev Emitted when the implementation is upgraded.\n @param implementation Address of the new implementation." - }, - "id": 13496, - "name": "Upgraded", - "nodeType": "EventDefinition", - "parameters": { - "id": 13495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13494, - "indexed": true, - "mutability": "mutable", - "name": "implementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13496, - "src": "506:30:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "506:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "505:32:77" - }, - "src": "491:47:77" - }, - { - "constant": true, - "documentation": { - "id": 13497, - "nodeType": "StructuredDocumentation", - "src": "542:197:77", - "text": " @dev Storage slot with the address of the current implementation.\n This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is\n validated in the constructor." - }, - "id": 13500, - "mutability": "constant", - "name": "IMPLEMENTATION_SLOT", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13549, - "src": "742:114:77", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13498, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "742:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307837303530633965306634636137363963363962643361386566373430626333373933346638653263303336653561373233666438656530343865643366386333", - "id": 13499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "790:66:77", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_50801780122331352337026042894847907698553222651959119521779622085092237899971_by_1", - "typeString": "int_const 5080...(69 digits omitted)...9971" - }, - "value": "0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3" - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 13629 - ], - "body": { - "id": 13512, - "nodeType": "Block", - "src": "1048:92:77", - "statements": [ - { - "assignments": [ - 13508 - ], - "declarations": [ - { - "constant": false, - "id": 13508, - "mutability": "mutable", - "name": "slot", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13512, - "src": "1054:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13507, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1054:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13510, - "initialValue": { - "argumentTypes": null, - "id": 13509, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "1069:19:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1054:34:77" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1103:33:77", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1111:19:77", - "value": { - "arguments": [ - { - "name": "slot", - "nodeType": "YulIdentifier", - "src": "1125:4:77" - } - ], - "functionName": { - "name": "sload", - "nodeType": "YulIdentifier", - "src": "1119:5:77" - }, - "nodeType": "YulFunctionCall", - "src": "1119:11:77" - }, - "variableNames": [ - { - "name": "impl", - "nodeType": "YulIdentifier", - "src": "1111:4:77" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13505, - "isOffset": false, - "isSlot": false, - "src": "1111:4:77", - "valueSize": 1 - }, - { - "declaration": 13508, - "isOffset": false, - "isSlot": false, - "src": "1125:4:77", - "valueSize": 1 - } - ], - "id": 13511, - "nodeType": "InlineAssembly", - "src": "1094:42:77" - } - ] - }, - "documentation": { - "id": 13501, - "nodeType": "StructuredDocumentation", - "src": "861:111:77", - "text": " @dev Returns the current implementation.\n @return impl Address of the current implementation" - }, - "id": 13513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 13503, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1011:8:77" - }, - "parameters": { - "id": 13502, - "nodeType": "ParameterList", - "parameters": [], - "src": "999:2:77" - }, - "returnParameters": { - "id": 13506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13505, - "mutability": "mutable", - "name": "impl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13513, - "src": "1034:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13504, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1034:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1033:14:77" - }, - "scope": 13549, - "src": "975:165:77", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13527, - "nodeType": "Block", - "src": "1331:86:77", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13520, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13516, - "src": "1356:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13519, - "name": "_setImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13548, - "src": "1337:18:77", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1337:37:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13522, - "nodeType": "ExpressionStatement", - "src": "1337:37:77" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13524, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13516, - "src": "1394:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13523, - "name": "Upgraded", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13496, - "src": "1385:8:77", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1385:27:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13526, - "nodeType": "EmitStatement", - "src": "1380:32:77" - } - ] - }, - "documentation": { - "id": 13514, - "nodeType": "StructuredDocumentation", - "src": "1144:128:77", - "text": " @dev Upgrades the proxy to a new implementation.\n @param newImplementation Address of the new implementation." - }, - "id": 13528, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_upgradeTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13516, - "mutability": "mutable", - "name": "newImplementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13528, - "src": "1295:25:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1295:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1294:27:77" - }, - "returnParameters": { - "id": 13518, - "nodeType": "ParameterList", - "parameters": [], - "src": "1331:0:77" - }, - "scope": 13549, - "src": "1275:142:77", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13547, - "nodeType": "Block", - "src": "1618:221:77", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13537, - "name": "newImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13531, - "src": "1651:17:77", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 13535, - "name": "Address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16654, - "src": "1632:7:77", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Address_$16654_$", - "typeString": "type(library Address)" - } - }, - "id": 13536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 16479, - "src": "1632:18:77", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 13538, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1632:37:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373", - "id": 13539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1671:61:77", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b5145a64ce8c406e5785204fe5b300f0ceda96d6636350b38fdccb9cd8c0c37c", - "typeString": "literal_string \"Cannot set a proxy implementation to a non-contract address\"" - }, - "value": "Cannot set a proxy implementation to a non-contract address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b5145a64ce8c406e5785204fe5b300f0ceda96d6636350b38fdccb9cd8c0c37c", - "typeString": "literal_string \"Cannot set a proxy implementation to a non-contract address\"" - } - ], - "id": 13534, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1624:7:77", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 13540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:109:77", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13541, - "nodeType": "ExpressionStatement", - "src": "1624:109:77" - }, - { - "assignments": [ - 13543 - ], - "declarations": [ - { - "constant": false, - "id": 13543, - "mutability": "mutable", - "name": "slot", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13547, - "src": "1740:12:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13542, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1740:7:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13545, - "initialValue": { - "argumentTypes": null, - "id": 13544, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "1755:19:77", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1740:34:77" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1790:45:77", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "slot", - "nodeType": "YulIdentifier", - "src": "1805:4:77" - }, - { - "name": "newImplementation", - "nodeType": "YulIdentifier", - "src": "1811:17:77" - } - ], - "functionName": { - "name": "sstore", - "nodeType": "YulIdentifier", - "src": "1798:6:77" - }, - "nodeType": "YulFunctionCall", - "src": "1798:31:77" - }, - "nodeType": "YulExpressionStatement", - "src": "1798:31:77" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13531, - "isOffset": false, - "isSlot": false, - "src": "1811:17:77", - "valueSize": 1 - }, - { - "declaration": 13543, - "isOffset": false, - "isSlot": false, - "src": "1805:4:77", - "valueSize": 1 - } - ], - "id": 13546, - "nodeType": "InlineAssembly", - "src": "1781:54:77" - } - ] - }, - "documentation": { - "id": 13529, - "nodeType": "StructuredDocumentation", - "src": "1421:130:77", - "text": " @dev Sets the implementation address of the proxy.\n @param newImplementation Address of the new implementation." - }, - "id": 13548, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setImplementation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13531, - "mutability": "mutable", - "name": "newImplementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13548, - "src": "1582:25:77", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13530, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1582:7:77", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1581:27:77" - }, - "returnParameters": { - "id": 13533, - "nodeType": "ParameterList", - "parameters": [], - "src": "1618:0:77" - }, - "scope": 13549, - "src": "1554:285:77", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13550, - "src": "316:1525:77" - } - ], - "src": "0:1842:77" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.895Z", - "devdoc": { - "details": "This contract implements a proxy that allows to change the implementation address to which it will delegate. Such a change is called an implementation upgrade.", - "events": { - "Upgraded(address)": { - "details": "Emitted when the implementation is upgraded.", - "params": { - "implementation": "Address of the new implementation." - } - } - }, - "kind": "dev", - "methods": {}, - "stateVariables": { - "IMPLEMENTATION_SLOT": { - "details": "Storage slot with the address of the current implementation. This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is validated in the constructor." - } - }, - "title": "BaseUpgradeabilityProxy", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Context.json b/build/contracts/Context.json deleted file mode 100644 index e994533b1..000000000 --- a/build/contracts/Context.json +++ /dev/null @@ -1,545 +0,0 @@ -{ - "contractName": "Context", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/GSN/Context.sol\":\"Context\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/GSN/Context.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "exportedSymbols": { - "Context": [ - 13679 - ] - }, - "id": 13680, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13658, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:80" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13679, - "linearizedBaseContracts": [ - 13679 - ], - "name": "Context", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13666, - "nodeType": "Block", - "src": "660:34:80", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13663, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "677:3:80", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 13664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "677:10:80", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 13662, - "id": 13665, - "nodeType": "Return", - "src": "670:17:80" - } - ] - }, - "documentation": null, - "id": 13667, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgSender", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13659, - "nodeType": "ParameterList", - "parameters": [], - "src": "609:2:80" - }, - "returnParameters": { - "id": 13662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13661, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13667, - "src": "643:15:80", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 13660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "643:15:80", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "642:17:80" - }, - "scope": 13679, - "src": "590:104:80", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13677, - "nodeType": "Block", - "src": "765:165:80", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 13672, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "775:4:80", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13673, - "nodeType": "ExpressionStatement", - "src": "775:4:80" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13674, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "915:3:80", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 13675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "915:8:80", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "functionReturnParameters": 13671, - "id": 13676, - "nodeType": "Return", - "src": "908:15:80" - } - ] - }, - "documentation": null, - "id": 13678, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgData", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13668, - "nodeType": "ParameterList", - "parameters": [], - "src": "717:2:80" - }, - "returnParameters": { - "id": 13671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13670, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13678, - "src": "751:12:80", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13669, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "751:5:80", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "750:14:80" - }, - "scope": 13679, - "src": "700:230:80", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 13680, - "src": "558:374:80" - } - ], - "src": "33:900:80" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "exportedSymbols": { - "Context": [ - 13679 - ] - }, - "id": 13680, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13658, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:80" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13679, - "linearizedBaseContracts": [ - 13679 - ], - "name": "Context", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13666, - "nodeType": "Block", - "src": "660:34:80", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13663, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "677:3:80", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 13664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "677:10:80", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 13662, - "id": 13665, - "nodeType": "Return", - "src": "670:17:80" - } - ] - }, - "documentation": null, - "id": 13667, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgSender", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13659, - "nodeType": "ParameterList", - "parameters": [], - "src": "609:2:80" - }, - "returnParameters": { - "id": 13662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13661, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13667, - "src": "643:15:80", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 13660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "643:15:80", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "642:17:80" - }, - "scope": 13679, - "src": "590:104:80", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13677, - "nodeType": "Block", - "src": "765:165:80", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 13672, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "775:4:80", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13673, - "nodeType": "ExpressionStatement", - "src": "775:4:80" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13674, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "915:3:80", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 13675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "915:8:80", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "functionReturnParameters": 13671, - "id": 13676, - "nodeType": "Return", - "src": "908:15:80" - } - ] - }, - "documentation": null, - "id": 13678, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgData", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13668, - "nodeType": "ParameterList", - "parameters": [], - "src": "717:2:80" - }, - "returnParameters": { - "id": 13671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13670, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13678, - "src": "751:12:80", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13669, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "751:5:80", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "750:14:80" - }, - "scope": 13679, - "src": "700:230:80", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 13680, - "src": "558:374:80" - } - ], - "src": "33:900:80" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.896Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Create2.json b/build/contracts/Create2.json deleted file mode 100644 index bc76f16e5..000000000 --- a/build/contracts/Create2.json +++ /dev/null @@ -1,3304 +0,0 @@ -{ - "contractName": "Create2", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Helper to make usage of the `CREATE2` EVM opcode easier and safer. `CREATE2` can be used to compute in advance the address where a smart contract will be deployed, which allows for interesting new mechanisms known as 'counterfactual interactions'. See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more information.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Create2.sol\":\"Create2\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a12e0fad144a6e6a886aeddbe96cc83a439dcade76729a4ca50f0a4da78c204a64736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a12e0fad144a6e6a886aeddbe96cc83a439dcade76729a4ca50f0a4da78c204a64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "426:2012:98:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "426:2012:98:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Helper to make usage of the `CREATE2` EVM opcode easier and safer.\n * `CREATE2` can be used to compute in advance the address where a smart\n * contract will be deployed, which allows for interesting new mechanisms known\n * as 'counterfactual interactions'.\n *\n * See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more\n * information.\n */\nlibrary Create2 {\n /**\n * @dev Deploys a contract using `CREATE2`. The address where the contract\n * will be deployed can be known in advance via {computeAddress}.\n *\n * The bytecode for a contract can be obtained from Solidity with\n * `type(contractName).creationCode`.\n *\n * Requirements:\n *\n * - `bytecode` must not be empty.\n * - `salt` must have not been used for `bytecode` already.\n * - the factory must have a balance of at least `amount`.\n * - if `amount` is non-zero, `bytecode` must have a `payable` constructor.\n */\n function deploy(uint256 amount, bytes32 salt, bytes memory bytecode) internal returns (address) {\n address addr;\n require(address(this).balance >= amount, \"Create2: insufficient balance\");\n require(bytecode.length != 0, \"Create2: bytecode length is zero\");\n // solhint-disable-next-line no-inline-assembly\n assembly {\n addr := create2(amount, add(bytecode, 0x20), mload(bytecode), salt)\n }\n require(addr != address(0), \"Create2: Failed on deploy\");\n return addr;\n }\n\n /**\n * @dev Returns the address where a contract will be stored if deployed via {deploy}. Any change in the\n * `bytecodeHash` or `salt` will result in a new destination address.\n */\n function computeAddress(bytes32 salt, bytes32 bytecodeHash) internal view returns (address) {\n return computeAddress(salt, bytecodeHash, address(this));\n }\n\n /**\n * @dev Returns the address where a contract will be stored if deployed via {deploy} from a contract located at\n * `deployer`. If `deployer` is this contract's address, returns the same value as {computeAddress}.\n */\n function computeAddress(bytes32 salt, bytes32 bytecodeHash, address deployer) internal pure returns (address) {\n bytes32 _data = keccak256(\n abi.encodePacked(bytes1(0xff), deployer, salt, bytecodeHash)\n );\n return address(uint256(_data));\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/utils/Create2.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/utils/Create2.sol", - "exportedSymbols": { - "Create2": [ - 16897 - ] - }, - "id": 16898, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16791, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:98" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16792, - "nodeType": "StructuredDocumentation", - "src": "58:367:98", - "text": " @dev Helper to make usage of the `CREATE2` EVM opcode easier and safer.\n `CREATE2` can be used to compute in advance the address where a smart\n contract will be deployed, which allows for interesting new mechanisms known\n as 'counterfactual interactions'.\n See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more\n information." - }, - "fullyImplemented": true, - "id": 16897, - "linearizedBaseContracts": [ - 16897 - ], - "name": "Create2", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 16839, - "nodeType": "Block", - "src": "1109:439:98", - "statements": [ - { - "assignments": [ - 16805 - ], - "declarations": [ - { - "constant": false, - "id": 16805, - "mutability": "mutable", - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16839, - "src": "1119:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1119:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16806, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "1119:12:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16810, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1157:4:98", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - ], - "id": 16809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1149:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16808, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1149:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1149:13:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1149:21:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16813, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16795, - "src": "1174:6:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1149:31:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a20696e73756666696369656e742062616c616e6365", - "id": 16815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1182:31:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f94f9c62541b73155a9def26a7988ac5579c2c6b698df8f608ced5572b7d72ca", - "typeString": "literal_string \"Create2: insufficient balance\"" - }, - "value": "Create2: insufficient balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f94f9c62541b73155a9def26a7988ac5579c2c6b698df8f608ced5572b7d72ca", - "typeString": "literal_string \"Create2: insufficient balance\"" - } - ], - "id": 16807, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1141:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1141:73:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16817, - "nodeType": "ExpressionStatement", - "src": "1141:73:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16819, - "name": "bytecode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16799, - "src": "1232:8:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 16820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1232:15:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1251:1:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1232:20:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a2062797465636f6465206c656e677468206973207a65726f", - "id": 16823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1254:34:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_124767115c09b0dd37c31c42ddb030d84459c933a30879cc32c4c922ae5928f0", - "typeString": "literal_string \"Create2: bytecode length is zero\"" - }, - "value": "Create2: bytecode length is zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_124767115c09b0dd37c31c42ddb030d84459c933a30879cc32c4c922ae5928f0", - "typeString": "literal_string \"Create2: bytecode length is zero\"" - } - ], - "id": 16818, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1224:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1224:65:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16825, - "nodeType": "ExpressionStatement", - "src": "1224:65:98" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1364:91:98", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1378:67:98", - "value": { - "arguments": [ - { - "name": "amount", - "nodeType": "YulIdentifier", - "src": "1394:6:98" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "1406:8:98" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1416:4:98", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1402:3:98" - }, - "nodeType": "YulFunctionCall", - "src": "1402:19:98" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "1429:8:98" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1423:5:98" - }, - "nodeType": "YulFunctionCall", - "src": "1423:15:98" - }, - { - "name": "salt", - "nodeType": "YulIdentifier", - "src": "1440:4:98" - } - ], - "functionName": { - "name": "create2", - "nodeType": "YulIdentifier", - "src": "1386:7:98" - }, - "nodeType": "YulFunctionCall", - "src": "1386:59:98" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "1378:4:98" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16805, - "isOffset": false, - "isSlot": false, - "src": "1378:4:98", - "valueSize": 1 - }, - { - "declaration": 16795, - "isOffset": false, - "isSlot": false, - "src": "1394:6:98", - "valueSize": 1 - }, - { - "declaration": 16799, - "isOffset": false, - "isSlot": false, - "src": "1406:8:98", - "valueSize": 1 - }, - { - "declaration": 16799, - "isOffset": false, - "isSlot": false, - "src": "1429:8:98", - "valueSize": 1 - }, - { - "declaration": 16797, - "isOffset": false, - "isSlot": false, - "src": "1440:4:98", - "valueSize": 1 - } - ], - "id": 16826, - "nodeType": "InlineAssembly", - "src": "1355:100:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16828, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16805, - "src": "1472:4:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1488:1:98", - "subdenomination": null, - "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": 16830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1480:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1480:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1480:10:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1472:18:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a204661696c6564206f6e206465706c6f79", - "id": 16834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1492:27:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87142438d464a3cd804331cca8480b31569380ef25d1f39b80404975699f0676", - "typeString": "literal_string \"Create2: Failed on deploy\"" - }, - "value": "Create2: Failed on deploy" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87142438d464a3cd804331cca8480b31569380ef25d1f39b80404975699f0676", - "typeString": "literal_string \"Create2: Failed on deploy\"" - } - ], - "id": 16827, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1464:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1464:56:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16836, - "nodeType": "ExpressionStatement", - "src": "1464:56:98" - }, - { - "expression": { - "argumentTypes": null, - "id": 16837, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16805, - "src": "1537:4:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 16803, - "id": 16838, - "nodeType": "Return", - "src": "1530:11:98" - } - ] - }, - "documentation": { - "id": 16793, - "nodeType": "StructuredDocumentation", - "src": "448:560:98", - "text": " @dev Deploys a contract using `CREATE2`. The address where the contract\n will be deployed can be known in advance via {computeAddress}.\n The bytecode for a contract can be obtained from Solidity with\n `type(contractName).creationCode`.\n Requirements:\n - `bytecode` must not be empty.\n - `salt` must have not been used for `bytecode` already.\n - the factory must have a balance of at least `amount`.\n - if `amount` is non-zero, `bytecode` must have a `payable` constructor." - }, - "id": 16840, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deploy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16795, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1029:14:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16794, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1029:7:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16797, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1045:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16796, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1045:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16799, - "mutability": "mutable", - "name": "bytecode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1059:21:98", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16798, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1059:5:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1028:53:98" - }, - "returnParameters": { - "id": 16803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16802, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1100:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16801, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1100:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1099:9:98" - }, - "scope": 16897, - "src": "1013:535:98", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16859, - "nodeType": "Block", - "src": "1844:73:98", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16851, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16843, - "src": "1876:4:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16852, - "name": "bytecodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16845, - "src": "1882:12:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16855, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1904:4:98", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - ], - "id": 16854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1896:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1896:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1896:13:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16850, - "name": "computeAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16860, - 16896 - ], - "referencedDeclaration": 16896, - "src": "1861:14:98", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_address_$", - "typeString": "function (bytes32,bytes32,address) pure returns (address)" - } - }, - "id": 16857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1861:49:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 16849, - "id": 16858, - "nodeType": "Return", - "src": "1854:56:98" - } - ] - }, - "documentation": { - "id": 16841, - "nodeType": "StructuredDocumentation", - "src": "1554:193:98", - "text": " @dev Returns the address where a contract will be stored if deployed via {deploy}. Any change in the\n `bytecodeHash` or `salt` will result in a new destination address." - }, - "id": 16860, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16843, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1776:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16842, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1776:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16845, - "mutability": "mutable", - "name": "bytecodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1790:20:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16844, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1790:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1775:36:98" - }, - "returnParameters": { - "id": 16849, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16848, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1835:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1835:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1834:9:98" - }, - "scope": 16897, - "src": "1752:165:98", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16895, - "nodeType": "Block", - "src": "2270:166:98", - "statements": [ - { - "assignments": [ - 16873 - ], - "declarations": [ - { - "constant": false, - "id": 16873, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16895, - "src": "2280:13:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16872, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2280:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16886, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30786666", - "id": 16879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2343:4:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - } - ], - "id": 16878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2336:6:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 16877, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2336:6:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2336:12:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "argumentTypes": null, - "id": 16881, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16867, - "src": "2350:8:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16882, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16863, - "src": "2360:4:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16883, - "name": "bytecodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16865, - "src": "2366:12:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 16875, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2319:3:98", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2319:16:98", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 16884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2319:60:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16874, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2296:9:98", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 16885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2296:93:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2280:109:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16891, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16873, - "src": "2422:5:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 16890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2414:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 16889, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2414:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2414:14:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2406:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16887, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2406:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2406:23:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 16871, - "id": 16894, - "nodeType": "Return", - "src": "2399:30:98" - } - ] - }, - "documentation": { - "id": 16861, - "nodeType": "StructuredDocumentation", - "src": "1923:232:98", - "text": " @dev Returns the address where a contract will be stored if deployed via {deploy} from a contract located at\n `deployer`. If `deployer` is this contract's address, returns the same value as {computeAddress}." - }, - "id": 16896, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16863, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2184:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16862, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2184:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16865, - "mutability": "mutable", - "name": "bytecodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2198:20:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16864, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2198:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16867, - "mutability": "mutable", - "name": "deployer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2220:16:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16866, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2220:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2183:54:98" - }, - "returnParameters": { - "id": 16871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16870, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2261:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16869, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2261:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2260:9:98" - }, - "scope": 16897, - "src": "2160:276:98", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 16898, - "src": "426:2012:98" - } - ], - "src": "33:2406:98" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/utils/Create2.sol", - "exportedSymbols": { - "Create2": [ - 16897 - ] - }, - "id": 16898, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16791, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:98" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16792, - "nodeType": "StructuredDocumentation", - "src": "58:367:98", - "text": " @dev Helper to make usage of the `CREATE2` EVM opcode easier and safer.\n `CREATE2` can be used to compute in advance the address where a smart\n contract will be deployed, which allows for interesting new mechanisms known\n as 'counterfactual interactions'.\n See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more\n information." - }, - "fullyImplemented": true, - "id": 16897, - "linearizedBaseContracts": [ - 16897 - ], - "name": "Create2", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 16839, - "nodeType": "Block", - "src": "1109:439:98", - "statements": [ - { - "assignments": [ - 16805 - ], - "declarations": [ - { - "constant": false, - "id": 16805, - "mutability": "mutable", - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16839, - "src": "1119:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1119:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16806, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "1119:12:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16810, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1157:4:98", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - ], - "id": 16809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1149:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16808, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1149:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1149:13:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1149:21:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 16813, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16795, - "src": "1174:6:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1149:31:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a20696e73756666696369656e742062616c616e6365", - "id": 16815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1182:31:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f94f9c62541b73155a9def26a7988ac5579c2c6b698df8f608ced5572b7d72ca", - "typeString": "literal_string \"Create2: insufficient balance\"" - }, - "value": "Create2: insufficient balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f94f9c62541b73155a9def26a7988ac5579c2c6b698df8f608ced5572b7d72ca", - "typeString": "literal_string \"Create2: insufficient balance\"" - } - ], - "id": 16807, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1141:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1141:73:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16817, - "nodeType": "ExpressionStatement", - "src": "1141:73:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16819, - "name": "bytecode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16799, - "src": "1232:8:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 16820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1232:15:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1251:1:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1232:20:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a2062797465636f6465206c656e677468206973207a65726f", - "id": 16823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1254:34:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_124767115c09b0dd37c31c42ddb030d84459c933a30879cc32c4c922ae5928f0", - "typeString": "literal_string \"Create2: bytecode length is zero\"" - }, - "value": "Create2: bytecode length is zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_124767115c09b0dd37c31c42ddb030d84459c933a30879cc32c4c922ae5928f0", - "typeString": "literal_string \"Create2: bytecode length is zero\"" - } - ], - "id": 16818, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1224:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1224:65:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16825, - "nodeType": "ExpressionStatement", - "src": "1224:65:98" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1364:91:98", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1378:67:98", - "value": { - "arguments": [ - { - "name": "amount", - "nodeType": "YulIdentifier", - "src": "1394:6:98" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "1406:8:98" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1416:4:98", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1402:3:98" - }, - "nodeType": "YulFunctionCall", - "src": "1402:19:98" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "1429:8:98" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1423:5:98" - }, - "nodeType": "YulFunctionCall", - "src": "1423:15:98" - }, - { - "name": "salt", - "nodeType": "YulIdentifier", - "src": "1440:4:98" - } - ], - "functionName": { - "name": "create2", - "nodeType": "YulIdentifier", - "src": "1386:7:98" - }, - "nodeType": "YulFunctionCall", - "src": "1386:59:98" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "1378:4:98" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 16805, - "isOffset": false, - "isSlot": false, - "src": "1378:4:98", - "valueSize": 1 - }, - { - "declaration": 16795, - "isOffset": false, - "isSlot": false, - "src": "1394:6:98", - "valueSize": 1 - }, - { - "declaration": 16799, - "isOffset": false, - "isSlot": false, - "src": "1406:8:98", - "valueSize": 1 - }, - { - "declaration": 16799, - "isOffset": false, - "isSlot": false, - "src": "1429:8:98", - "valueSize": 1 - }, - { - "declaration": 16797, - "isOffset": false, - "isSlot": false, - "src": "1440:4:98", - "valueSize": 1 - } - ], - "id": 16826, - "nodeType": "InlineAssembly", - "src": "1355:100:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16828, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16805, - "src": "1472:4:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1488:1:98", - "subdenomination": null, - "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": 16830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1480:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1480:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1480:10:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1472:18:98", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "437265617465323a204661696c6564206f6e206465706c6f79", - "id": 16834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1492:27:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87142438d464a3cd804331cca8480b31569380ef25d1f39b80404975699f0676", - "typeString": "literal_string \"Create2: Failed on deploy\"" - }, - "value": "Create2: Failed on deploy" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87142438d464a3cd804331cca8480b31569380ef25d1f39b80404975699f0676", - "typeString": "literal_string \"Create2: Failed on deploy\"" - } - ], - "id": 16827, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1464:7:98", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1464:56:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16836, - "nodeType": "ExpressionStatement", - "src": "1464:56:98" - }, - { - "expression": { - "argumentTypes": null, - "id": 16837, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16805, - "src": "1537:4:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 16803, - "id": 16838, - "nodeType": "Return", - "src": "1530:11:98" - } - ] - }, - "documentation": { - "id": 16793, - "nodeType": "StructuredDocumentation", - "src": "448:560:98", - "text": " @dev Deploys a contract using `CREATE2`. The address where the contract\n will be deployed can be known in advance via {computeAddress}.\n The bytecode for a contract can be obtained from Solidity with\n `type(contractName).creationCode`.\n Requirements:\n - `bytecode` must not be empty.\n - `salt` must have not been used for `bytecode` already.\n - the factory must have a balance of at least `amount`.\n - if `amount` is non-zero, `bytecode` must have a `payable` constructor." - }, - "id": 16840, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deploy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16795, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1029:14:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16794, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1029:7:98", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16797, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1045:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16796, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1045:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16799, - "mutability": "mutable", - "name": "bytecode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1059:21:98", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16798, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1059:5:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1028:53:98" - }, - "returnParameters": { - "id": 16803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16802, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16840, - "src": "1100:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16801, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1100:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1099:9:98" - }, - "scope": 16897, - "src": "1013:535:98", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16859, - "nodeType": "Block", - "src": "1844:73:98", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16851, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16843, - "src": "1876:4:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16852, - "name": "bytecodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16845, - "src": "1882:12:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16855, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1904:4:98", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Create2_$16897", - "typeString": "library Create2" - } - ], - "id": 16854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1896:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1896:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1896:13:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16850, - "name": "computeAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 16860, - 16896 - ], - "referencedDeclaration": 16896, - "src": "1861:14:98", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_address_$", - "typeString": "function (bytes32,bytes32,address) pure returns (address)" - } - }, - "id": 16857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1861:49:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 16849, - "id": 16858, - "nodeType": "Return", - "src": "1854:56:98" - } - ] - }, - "documentation": { - "id": 16841, - "nodeType": "StructuredDocumentation", - "src": "1554:193:98", - "text": " @dev Returns the address where a contract will be stored if deployed via {deploy}. Any change in the\n `bytecodeHash` or `salt` will result in a new destination address." - }, - "id": 16860, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16843, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1776:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16842, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1776:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16845, - "mutability": "mutable", - "name": "bytecodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1790:20:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16844, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1790:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1775:36:98" - }, - "returnParameters": { - "id": 16849, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16848, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16860, - "src": "1835:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1835:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1834:9:98" - }, - "scope": 16897, - "src": "1752:165:98", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 16895, - "nodeType": "Block", - "src": "2270:166:98", - "statements": [ - { - "assignments": [ - 16873 - ], - "declarations": [ - { - "constant": false, - "id": 16873, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16895, - "src": "2280:13:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16872, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2280:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16886, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30786666", - "id": 16879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2343:4:98", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - } - ], - "id": 16878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2336:6:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 16877, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2336:6:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2336:12:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "argumentTypes": null, - "id": 16881, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16867, - "src": "2350:8:98", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16882, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16863, - "src": "2360:4:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16883, - "name": "bytecodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16865, - "src": "2366:12:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 16875, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2319:3:98", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2319:16:98", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 16884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2319:60:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16874, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2296:9:98", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 16885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2296:93:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2280:109:98" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16891, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16873, - "src": "2422:5:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 16890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2414:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 16889, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2414:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2414:14:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2406:7:98", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16887, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2406:7:98", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2406:23:98", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 16871, - "id": 16894, - "nodeType": "Return", - "src": "2399:30:98" - } - ] - }, - "documentation": { - "id": 16861, - "nodeType": "StructuredDocumentation", - "src": "1923:232:98", - "text": " @dev Returns the address where a contract will be stored if deployed via {deploy} from a contract located at\n `deployer`. If `deployer` is this contract's address, returns the same value as {computeAddress}." - }, - "id": 16896, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16863, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2184:12:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16862, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2184:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16865, - "mutability": "mutable", - "name": "bytecodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2198:20:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16864, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2198:7:98", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16867, - "mutability": "mutable", - "name": "deployer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2220:16:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16866, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2220:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2183:54:98" - }, - "returnParameters": { - "id": 16871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16870, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16896, - "src": "2261:7:98", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16869, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2261:7:98", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2260:9:98" - }, - "scope": 16897, - "src": "2160:276:98", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 16898, - "src": "426:2012:98" - } - ], - "src": "33:2406:98" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.914Z", - "devdoc": { - "details": "Helper to make usage of the `CREATE2` EVM opcode easier and safer. `CREATE2` can be used to compute in advance the address where a smart contract will be deployed, which allows for interesting new mechanisms known as 'counterfactual interactions'. See the https://eips.ethereum.org/EIPS/eip-1014#motivation[EIP] for more information.", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Dataset.json b/build/contracts/Dataset.json deleted file mode 100644 index 6e14eade0..000000000 --- a/build/contracts/Dataset.json +++ /dev/null @@ -1,1153 +0,0 @@ -{ - "contractName": "Dataset", - "abi": [ - { - "inputs": [], - "name": "m_datasetChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_datasetName\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_datasetMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_datasetChecksum\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_datasetChecksum\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_datasetMultiaddr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_datasetName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"initialize(string,bytes,bytes32)\":{\"notice\":\"Constructor\"},\"m_datasetName()\":{\"notice\":\"Members\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":\"Dataset\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610800806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637b1039991161005b5780637b1039991461019b5780638c2b1e2f146101bf5780638da5cb5b146102ee578063a61ca6c5146102f65761007d565b80630847c431146100825780631ba99d7e146100ff5780633121db1c14610119575b600080fd5b61008a6102fe565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100c45781810151838201526020016100ac565b50505050905090810190601f1680156100f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61010761038b565b60408051918252519081900360200190f35b6101996004803603604081101561012f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561015a57600080fd5b82018360208201111561016c57600080fd5b8035906020019184600183028401116401000000008311171561018e57600080fd5b509092509050610391565b005b6101a361043a565b604080516001600160a01b039092168252519081900360200190f35b610199600480360360608110156101d557600080fd5b8101906020810181356401000000008111156101f057600080fd5b82018360208201111561020257600080fd5b8035906020019184600183028401116401000000008311171561022457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561027757600080fd5b82018360208201111561028957600080fd5b803590602001918460018302840111640100000000831117156102ab57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610449915050565b6101a3610481565b61008a6104fe565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b820191906000526020600020905b81548152906001019060200180831161036657829003601f168201915b505050505081565b60035481565b3361039a610481565b6001600160a01b0316146103f5576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104358383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055692505050565b505050565b6000546001600160a01b031681565b610452336106c1565b8251610465906001906020860190610737565b508151610479906002906020850190610737565b506003555050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d60208110156104f757600080fd5b5051905090565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bc57600080fd5b505afa1580156105d0573d6000803e3d6000fd5b505050506040513d60208110156105e657600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b8381101561064557818101518382015260200161062d565b50505050905090810190601f1680156106725780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069157600080fd5b505af11580156106a5573d6000803e3d6000fd5b505050506040513d60208110156106bb57600080fd5b50505050565b6000546001600160a01b031615610715576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077857805160ff19168380011785556107a5565b828001600101855582156107a5579182015b828111156107a557825182559160200191906001019061078a565b506107b19291506107b5565b5090565b5b808211156107b157600081556001016107b656fea264697066735822122084b15333ac1513712226a0ea14233ce8f42494bfa349a99267fa225166f5003364736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80637b1039991161005b5780637b1039991461019b5780638c2b1e2f146101bf5780638da5cb5b146102ee578063a61ca6c5146102f65761007d565b80630847c431146100825780631ba99d7e146100ff5780633121db1c14610119575b600080fd5b61008a6102fe565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100c45781810151838201526020016100ac565b50505050905090810190601f1680156100f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61010761038b565b60408051918252519081900360200190f35b6101996004803603604081101561012f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561015a57600080fd5b82018360208201111561016c57600080fd5b8035906020019184600183028401116401000000008311171561018e57600080fd5b509092509050610391565b005b6101a361043a565b604080516001600160a01b039092168252519081900360200190f35b610199600480360360608110156101d557600080fd5b8101906020810181356401000000008111156101f057600080fd5b82018360208201111561020257600080fd5b8035906020019184600183028401116401000000008311171561022457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561027757600080fd5b82018360208201111561028957600080fd5b803590602001918460018302840111640100000000831117156102ab57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610449915050565b6101a3610481565b61008a6104fe565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b820191906000526020600020905b81548152906001019060200180831161036657829003601f168201915b505050505081565b60035481565b3361039a610481565b6001600160a01b0316146103f5576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104358383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055692505050565b505050565b6000546001600160a01b031681565b610452336106c1565b8251610465906001906020860190610737565b508151610479906002906020850190610737565b506003555050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d60208110156104f757600080fd5b5051905090565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bc57600080fd5b505afa1580156105d0573d6000803e3d6000fd5b505050506040513d60208110156105e657600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b8381101561064557818101518382015260200161062d565b50505050905090810190601f1680156106725780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069157600080fd5b505af11580156106a5573d6000803e3d6000fd5b505050506040513d60208110156106bb57600080fd5b50505050565b6000546001600160a01b031615610715576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077857805160ff19168380011785556107a5565b828001600101855582156107a5579182015b828111156107a557825182559160200191906001019061078a565b506107b19291506107b5565b5090565b5b808211156107b157600081556001016107b656fea264697066735822122084b15333ac1513712226a0ea14233ce8f42494bfa349a99267fa225166f5003364736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1300:473:54:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1300:473:54:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1426:32;;;:::i;:::-;;;;;;;;;;;;;;;;1816:112:51;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1816:112:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1816:112:51;;-1:-1:-1;1816:112:51;-1:-1:-1;1816:112:51;:::i;:::-;;1427:25;;;:::i;:::-;;;;-1:-1:-1;;;;;1427:25:51;;;;;;;;;;;;;;1488:283:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1488:283:54;;;;;;;;-1:-1:-1;1488:283:54;;-1:-1:-1;;1488:283:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1488:283:54;;-1:-1:-1;;1488:283:54;;;-1:-1:-1;1488:283:54;;-1:-1:-1;;1488:283:54:i;1615:103:51:-;;;:::i;1390:33:54:-;;;:::i;1359:28::-;;;;;;;;;;;;;;;-1:-1:-1;;1359:28:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1426:32::-;;;;:::o;1816:112:51:-;1766:10;1755:7;:5;:7::i;:::-;-1:-1:-1;;;;;1755:21:51;;1747:57;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;1897:27:::1;1911:4;1918:5;;1897:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1897:8:51::1;::::0;-1:-1:-1;;;1897:27:51:i:1;:::-;1816:112:::0;;;:::o;1427:25::-;;;-1:-1:-1;;;;;1427:25:51;;:::o;1488:283:54:-;1624:23;1636:10;1624:11;:23::i;:::-;1651:33;;;;:13;;:33;;;;;:::i;:::-;-1:-1:-1;1688:38:54;;;;:18;;:38;;;;;:::i;:::-;-1:-1:-1;1730:17:54;:37;-1:-1:-1;;1488:283:54:o;1615:103:51:-;1653:7;1674:8;;:40;;;-1:-1:-1;;;1674:40:51;;1707:4;1674:40;;;;;;-1:-1:-1;;;;;1674:8:51;;;;:16;;:40;;;;;;;;;;;;;;;:8;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1674:40:51;;-1:-1:-1;1615:103:51;:::o;1390:33:54:-;;;;;;;;;;;;;;-1:-1:-1;;1390:33:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;316:128:67;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;-1:-1:-1;;397:28:67;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;-1:-1:-1;;379:61:67;;;;;;;;;;;;;;;;-1:-1:-1;379:61:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;316:128:67:o;1456:156:51:-;1547:1;1526:8;-1:-1:-1;;;;;1526:8:51;1518:31;1510:63;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;;;;1577:8;:31;;-1:-1:-1;;;;;;1577:31:51;-1:-1:-1;;;;;1577:31:51;;;;;;;;;;1456:156::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"../RegistryEntry.sol\";\n\n\ncontract Dataset is RegistryEntry\n{\n\t/**\n\t * Members\n\t */\n\tstring public m_datasetName;\n\tbytes public m_datasetMultiaddr;\n\tbytes32 public m_datasetChecksum;\n\n\t/**\n\t * Constructor\n\t */\n\tfunction initialize(\n\t\tstring memory _datasetName,\n\t\tbytes memory _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\tpublic\n\t{\n\t\t_initialize(msg.sender);\n\t\tm_datasetName = _datasetName;\n\t\tm_datasetMultiaddr = _datasetMultiaddr;\n\t\tm_datasetChecksum = _datasetChecksum;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "exportedSymbols": { - "Dataset": [ - 10434 - ] - }, - "id": 10435, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10395, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:54" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10396, - "nodeType": "ImportDirective", - "scope": 10435, - "sourceUnit": 10226, - "src": "1267:30:54", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10397, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1320:13:54", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10398, - "nodeType": "InheritanceSpecifier", - "src": "1320:13:54" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10434, - "linearizedBaseContracts": [ - 10434, - 10225, - 12870 - ], - "name": "Dataset", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10399, - "nodeType": "StructuredDocumentation", - "src": "1337:20:54", - "text": " Members" - }, - "functionSelector": "0847c431", - "id": 10401, - "mutability": "mutable", - "name": "m_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1359:28:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10400, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1359:6:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "a61ca6c5", - "id": 10403, - "mutability": "mutable", - "name": "m_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1390:33:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10402, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1390:5:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "1ba99d7e", - "id": 10405, - "mutability": "mutable", - "name": "m_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1426:32:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10404, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1426:7:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10432, - "nodeType": "Block", - "src": "1620:151:54", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10416, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1636:3:54", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1636:10:54", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10415, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1624:11:54", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:23:54", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10419, - "nodeType": "ExpressionStatement", - "src": "1624:23:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10420, - "name": "m_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10401, - "src": "1651:13:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10421, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10408, - "src": "1672:12:54", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1651:33:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10423, - "nodeType": "ExpressionStatement", - "src": "1651:33:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10424, - "name": "m_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10403, - "src": "1688:18:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10425, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10410, - "src": "1709:17:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1688:38:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10427, - "nodeType": "ExpressionStatement", - "src": "1688:38:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10428, - "name": "m_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10405, - "src": "1730:17:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10429, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10412, - "src": "1751:16:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1730:37:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 10431, - "nodeType": "ExpressionStatement", - "src": "1730:37:54" - } - ] - }, - "documentation": { - "id": 10406, - "nodeType": "StructuredDocumentation", - "src": "1462:24:54", - "text": " Constructor" - }, - "functionSelector": "8c2b1e2f", - "id": 10433, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10408, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1511:27:54", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10407, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1511:6:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10410, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1542:32:54", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10409, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1542:5:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10412, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1578:31:54", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10411, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1578:7:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1507:103:54" - }, - "returnParameters": { - "id": 10414, - "nodeType": "ParameterList", - "parameters": [], - "src": "1620:0:54" - }, - "scope": 10434, - "src": "1488:283:54", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10435, - "src": "1300:473:54" - } - ], - "src": "1242:532:54" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "exportedSymbols": { - "Dataset": [ - 10434 - ] - }, - "id": 10435, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10395, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:54" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10396, - "nodeType": "ImportDirective", - "scope": 10435, - "sourceUnit": 10226, - "src": "1267:30:54", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10397, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1320:13:54", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10398, - "nodeType": "InheritanceSpecifier", - "src": "1320:13:54" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10434, - "linearizedBaseContracts": [ - 10434, - 10225, - 12870 - ], - "name": "Dataset", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10399, - "nodeType": "StructuredDocumentation", - "src": "1337:20:54", - "text": " Members" - }, - "functionSelector": "0847c431", - "id": 10401, - "mutability": "mutable", - "name": "m_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1359:28:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10400, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1359:6:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "a61ca6c5", - "id": 10403, - "mutability": "mutable", - "name": "m_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1390:33:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 10402, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1390:5:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "1ba99d7e", - "id": 10405, - "mutability": "mutable", - "name": "m_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10434, - "src": "1426:32:54", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10404, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1426:7:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10432, - "nodeType": "Block", - "src": "1620:151:54", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10416, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1636:3:54", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1636:10:54", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10415, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1624:11:54", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:23:54", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10419, - "nodeType": "ExpressionStatement", - "src": "1624:23:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10420, - "name": "m_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10401, - "src": "1651:13:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10421, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10408, - "src": "1672:12:54", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1651:33:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10423, - "nodeType": "ExpressionStatement", - "src": "1651:33:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10424, - "name": "m_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10403, - "src": "1688:18:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10425, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10410, - "src": "1709:17:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1688:38:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 10427, - "nodeType": "ExpressionStatement", - "src": "1688:38:54" - }, - { - "expression": { - "argumentTypes": null, - "id": 10430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10428, - "name": "m_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10405, - "src": "1730:17:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10429, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10412, - "src": "1751:16:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1730:37:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 10431, - "nodeType": "ExpressionStatement", - "src": "1730:37:54" - } - ] - }, - "documentation": { - "id": 10406, - "nodeType": "StructuredDocumentation", - "src": "1462:24:54", - "text": " Constructor" - }, - "functionSelector": "8c2b1e2f", - "id": 10433, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10408, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1511:27:54", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10407, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1511:6:54", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10410, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1542:32:54", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10409, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1542:5:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10412, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10433, - "src": "1578:31:54", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10411, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1578:7:54", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1507:103:54" - }, - "returnParameters": { - "id": 10414, - "nodeType": "ParameterList", - "parameters": [], - "src": "1620:0:54" - }, - "scope": 10434, - "src": "1488:283:54", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10435, - "src": "1300:473:54" - } - ], - "src": "1242:532:54" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.868Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "initialize(string,bytes,bytes32)": { - "notice": "Constructor" - }, - "m_datasetName()": { - "notice": "Members" - } - }, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/DatasetInterface.json b/build/contracts/DatasetInterface.json deleted file mode 100644 index 917c23839..000000000 --- a/build/contracts/DatasetInterface.json +++ /dev/null @@ -1,5758 +0,0 @@ -{ - "contractName": "DatasetInterface", - "abi": [ - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetName", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetMultiaddr", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_datasetChecksum", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"m_datasetChecksum\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_datasetMultiaddr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_datasetName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"DatasetInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.885Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/DatasetRegistry.json b/build/contracts/DatasetRegistry.json deleted file mode 100644 index 29003c322..000000000 --- a/build/contracts/DatasetRegistry.json +++ /dev/null @@ -1,4063 +0,0 @@ -{ - "contractName": "DatasetRegistry", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "createDataset", - "outputs": [ - { - "internalType": "contract Dataset", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "predictDataset", - "outputs": [ - { - "internalType": "contract Dataset", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_datasetOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_datasetName\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_datasetMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_datasetChecksum\",\"type\":\"bytes32\"}],\"name\":\"createDataset\",\"outputs\":[{\"internalType\":\"contract Dataset\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_previous\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"master\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_datasetOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_datasetName\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_datasetMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_datasetChecksum\",\"type\":\"bytes32\"}],\"name\":\"predictDataset\",\"outputs\":[{\"internalType\":\"contract Dataset\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previous\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":\"Constructor\"},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/DatasetRegistry.sol\":\"DatasetRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/DatasetRegistry.sol\":{\"keccak256\":\"0xf0a6194a02726b3c3998ac84804c4d8ce01807c95a1184502a08a31251572a4e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://511235ffc66f6367d17b463465ff84640ea1b82c4ee4bdbab0b6156ec29cd663\",\"dweb:/ipfs/Qmf6NCuHkVi3trZG7RPjTCa4R2Lfu6FzzBP1Dg9Cw8XdMm\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b506040516200002090620002c7565b604051809103906000f0801580156200003d573d6000803e3d6000fd5b50604080518082018252601b81527f69457865632044617461736574205265676973747279202856352900000000006020808301919091528251808401909352600f83526e69457865634461746173657473563560881b90830152908181620000ad6301ffc9a760e01b6200023e565b8151620000c2906006906020850190620002d5565b508051620000d8906007906020840190620002d5565b50620000eb6380ac58cd60e01b6200023e565b620000fd635b5e139f60e01b6200023e565b6200010f63780e9d6360e01b6200023e565b50600090506200011e620002c3565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600b80546001600160a01b0319166001600160a01b03851617905560405162000198602082016200035a565b601f1982820381018352601f909101166040528051620001c291600c9160209190910190620002d5565b50600c6040518082805460018160011615610100020316600290048015620002245780601f106200020157610100808354040283529182019162000224565b820191906000526020600020905b8154815290600101906020018083116200020f575b5050604051908190039020600d55506200037f9350505050565b6001600160e01b031980821614156200029e576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b610820806200303283390190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200031857805160ff191683800117855562000348565b8280016001018555821562000348579182015b82811115620003485782518255916020019190600101906200032b565b506200035692915062000368565b5090565b610369806200385283390190565b5b8082111562000356576000815560010162000369565b612ca3806200038f6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063ee97f7f311610071578063ee97f7f314610796578063eee391111461079e578063f2fde38b146107a6578063fe17fc7a146107cc576101e5565b8063c3c5a547146106ff578063c4d66de814610725578063c87b56dd1461074b578063e985e9c514610768576101e5565b80638da5cb5b116100de5780638da5cb5b146105fd57806395d89b4114610605578063a22cb4651461060d578063b88d4fde1461063b576101e5565b80636fa59bbc146105bf57806370a08231146105c7578063715018a6146105ed5780637c2b2e71146105f5576101e5565b80632f745c59116101875780634f6ccce7116101565780634f6ccce71461050f57806355f804b31461052c5780636352211e1461059a5780636c0360eb146105b7576101e5565b80632f745c59146103615780633121db1c1461038d5780633354bcdb1461040b57806342842e0e146104d9576101e5565b8063095ea7b3116101c3578063095ea7b3146102db578063158ef93e1461030957806318160ddd1461031157806323b872dd1461032b576101e5565b806301ffc9a7146101ea57806306fdde0314610225578063081812fc146102a2575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b03191661089a565b604080519115158252519081900360200190f35b61022d6108bd565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102bf600480360360208110156102b857600080fd5b5035610953565b604080516001600160a01b039092168252519081900360200190f35b610307600480360360408110156102f157600080fd5b506001600160a01b0381351690602001356109b5565b005b610211610a90565b610319610aa0565b60408051918252519081900360200190f35b6103076004803603606081101561034157600080fd5b506001600160a01b03813581169160208101359091169060400135610ab1565b6103196004803603604081101561037757600080fd5b506001600160a01b038135169060200135610b08565b610307600480360360408110156103a357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cd57600080fd5b8201836020820111156103df57600080fd5b803590602001918460018302840111600160201b8311171561040057600080fd5b509092509050610b33565b6102bf6004803603608081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b919390929091602081019035600160201b81111561049b57600080fd5b8201836020820111156104ad57600080fd5b803590602001918460018302840111600160201b831117156104ce57600080fd5b919350915035610bcb565b610307600480360360608110156104ef57600080fd5b506001600160a01b03813581169160208101359091169060400135610c56565b6103196004803603602081101561052557600080fd5b5035610c71565b6103076004803603602081101561054257600080fd5b810190602081018135600160201b81111561055c57600080fd5b82018360208201111561056e57600080fd5b803590602001918460018302840111600160201b8311171561058f57600080fd5b509092509050610c87565b6102bf600480360360208110156105b057600080fd5b5035610d22565b61022d610d4a565b61022d610dab565b610319600480360360208110156105dd57600080fd5b50356001600160a01b0316610e39565b610307610ea1565b6102bf610f43565b6102bf610f52565b61022d610f61565b6103076004803603604081101561062357600080fd5b506001600160a01b0381351690602001351515610fc2565b6103076004803603608081101561065157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561068b57600080fd5b82018360208201111561069d57600080fd5b803590602001918460018302840111600160201b831117156106be57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110c7945050505050565b6102116004803603602081101561071557600080fd5b50356001600160a01b0316611125565b6103076004803603602081101561073b57600080fd5b50356001600160a01b03166111d3565b61022d6004803603602081101561076157600080fd5b5035611273565b6102116004803603604081101561077e57600080fd5b506001600160a01b038135811691602001351661151a565b6102bf611548565b610319611557565b610307600480360360208110156107bc57600080fd5b50356001600160a01b031661155d565b6102bf600480360360808110156107e257600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561080c57600080fd5b82018360208201111561081e57600080fd5b803590602001918460018302840111600160201b8311171561083f57600080fd5b919390929091602081019035600160201b81111561085c57600080fd5b82018360208201111561086e57600080fd5b803590602001918460018302840111600160201b8311171561088f57600080fd5b919350915035611656565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b600061095e826116d6565b6109995760405162461bcd60e51b815260040180806020018281038252602c815260200180612b78602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109c082610d22565b9050806001600160a01b0316836001600160a01b03161415610a135760405162461bcd60e51b8152600401808060200182810382526021815260200180612c1c6021913960400191505060405180910390fd5b806001600160a01b0316610a256116e3565b6001600160a01b03161480610a465750610a4681610a416116e3565b61151a565b610a815760405162461bcd60e51b8152600401808060200182810382526038815260200180612acb6038913960400191505060405180910390fd5b610a8b83836116e7565b505050565b600e54600160a01b900460ff1681565b6000610aac6002611755565b905090565b610ac2610abc6116e3565b82611760565b610afd5760405162461bcd60e51b8152600401808060200182810382526031815260200180612c3d6031913960400191505060405180910390fd5b610a8b838383611804565b6001600160a01b0382166000908152600160205260408120610b2a9083611950565b90505b92915050565b610b3b6116e3565b600a546001600160a01b03908116911614610b8b576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b610a8b8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061195c92505050565b6000610c4b87610c4688888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250611ac1915050565b611bd8565b979650505050505050565b610a8b838383604051806020016040528060008152506110c7565b600080610c7f600284611df9565b509392505050565b610c8f6116e3565b600a546001600160a01b03908116911614610cdf576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b610d1e82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e1592505050565b5050565b6000610b2d82604051806060016040528060298152602001612b2d6029913960029190611e28565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e315780601f10610e0657610100808354040283529160200191610e31565b820191906000526020600020905b815481529060010190602001808311610e1457829003601f168201915b505050505081565b60006001600160a01b038216610e805760405162461bcd60e51b815260040180806020018281038252602a815260200180612b03602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610b2d90611755565b610ea96116e3565b600a546001600160a01b03908116911614610ef9576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b610fca6116e3565b6001600160a01b0316826001600160a01b03161415611030576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061103d6116e3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110816116e3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6110d86110d26116e3565b83611760565b6111135760405162461bcd60e51b8152600401808060200182810382526031815260200180612c3d6031913960400191505060405180910390fd5b61111f84848484611e35565b50505050565b6000611139826001600160a01b03166116d6565b80610b2d5750600e546001600160a01b031615801590610b2d5750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b1580156111a157600080fd5b505afa1580156111b5573d6000803e3d6000fd5b505050506040513d60208110156111cb57600080fd5b505192915050565b6111db6116e3565b600a546001600160a01b0390811691161461122b576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561124257600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b606061127e826116d6565b6112b95760405162461bcd60e51b815260040180806020018281038252602f815260200180612bed602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561134e5780601f106113235761010080835404028352916020019161134e565b820191906000526020600020905b81548152906001019060200180831161133157829003601f168201915b5050600954939450505050600260001961010060018416150201909116046113775790506108b8565b8051156114485760098160405160200180838054600181600116156101000203166002900480156113df5780601f106113bd5761010080835404028352918201916113df565b820191906000526020600020905b8154815290600101906020018083116113cb575b5050825160208401908083835b6020831061140b5780518252601f1990920191602091820191016113ec565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506108b8565b600961145384611e87565b60405160200180838054600181600116156101000203166002900480156114b15780601f1061148f5761010080835404028352918201916114b1565b820191906000526020600020905b81548152906001019060200180831161149d575b5050825160208401908083835b602083106114dd5780518252601f1990920191602091820191016114be565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b6115656116e3565b600a546001600160a01b039081169116146115b5576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b6001600160a01b0381166115fa5760405162461bcd60e51b8152600401808060200182810382526026815260200180612a556026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c4b876116d188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250611ac1915050565b611f62565b6000610b2d600283612003565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061171c82610d22565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b2d8261200f565b600061176b826116d6565b6117a65760405162461bcd60e51b815260040180806020018281038252602c815260200180612a9f602c913960400191505060405180910390fd5b60006117b183610d22565b9050806001600160a01b0316846001600160a01b031614806117ec5750836001600160a01b03166117e184610953565b6001600160a01b0316145b806117fc57506117fc818561151a565b949350505050565b826001600160a01b031661181782610d22565b6001600160a01b03161461185c5760405162461bcd60e51b8152600401808060200182810382526029815260200180612bc46029913960400191505060405180910390fd5b6001600160a01b0382166118a15760405162461bcd60e51b8152600401808060200182810382526024815260200180612a7b6024913960400191505060405180910390fd5b6118ac838383610a8b565b6118b76000826116e7565b6001600160a01b03831660009081526001602052604090206118d99082612013565b506001600160a01b03821660009081526001602052604090206118fc908261201f565b506119096002828461202b565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b2a8383612041565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156119c257600080fd5b505afa1580156119d6573d6000803e3d6000fd5b505050506040513d60208110156119ec57600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611a4b578181015183820152602001611a33565b50505050905090810190601f168015611a785780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611a9757600080fd5b505af1158015611aab573d6000803e3d6000fd5b505050506040513d602081101561111f57600080fd5b6060838383604051602401808060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611b10578181015183820152602001611af8565b50505050905090810190601f168015611b3d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611b70578181015183820152602001611b58565b50505050905090810190601f168015611b9d5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316638c2b1e2f60e01b17905296505050505050505b9392505050565b600080611d02600084866040516020018083805190602001908083835b60208310611c145780518252601f199092019160209182019101611bf5565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611cf85780601f10611ccd57610100808354040283529160200191611cf8565b820191906000526020600020905b815481529060010190602001808311611cdb57829003601f168201915b50505050506120a5565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b83811015611d71578181015183820152602001611d59565b50505050905090810190601f168015611d9e5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015611dbe57600080fd5b505af1158015611dd2573d6000803e3d6000fd5b50505050611de984826001600160a01b03166121b6565b6001600160a01b03169392505050565b6000808080611e0886866122e4565b9097909650945050505050565b8051610d1e90600990602084019061296d565b60006117fc84848461235f565b611e40848484611804565b611e4c84848484612429565b61111f5760405162461bcd60e51b8152600401808060200182810382526032815260200180612a236032913960400191505060405180910390fd5b606081611eac57506040805180820190915260018152600360fc1b60208201526108b8565b8160005b8115611ec457600101600a82049150611eb0565b60608167ffffffffffffffff81118015611edd57600080fd5b506040519080825280601f01601f191660200182016040528015611f08576020820181803683370190505b50859350905060001982015b8315611f5957600a840660300160f81b82828060019003935081518110611f3757fe5b60200101906001600160f81b031916908160001a905350600a84049350611f14565b50949350505050565b600080611ff283856040516020018083805190602001908083835b60208310611f9c5780518252601f199092019160209182019101611f7d565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d54612591565b6001600160a01b0316949350505050565b6000610b2a838361259e565b5490565b6000610b2a83836125b6565b6000610b2a838361267c565b60006117fc84846001600160a01b0385166126c6565b815460009082106120835760405162461bcd60e51b8152600401808060200182810382526022815260200180612a016022913960400191505060405180910390fd5b82600001828154811061209257fe5b9060005260206000200154905092915050565b600080844710156120fd576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b8251612150576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b0381166117fc576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b038216612211576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61221a816116d6565b1561226c576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61227860008383610a8b565b6001600160a01b038216600090815260016020526040902061229a908261201f565b506122a76002828461202b565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8154600090819083106123285760405162461bcd60e51b8152600401808060200182810382526022815260200180612b566022913960400191505060405180910390fd5b600084600001848154811061233957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123fa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123bf5781810151838201526020016123a7565b50505050905090810190601f1680156123ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061240d57fe5b9060005260206000209060020201600101549150509392505050565b600061243d846001600160a01b031661275d565b612449575060016117fc565b6060612557630a85bd0160e11b61245e6116e3565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156124c55781810151838201526020016124ad565b50505050905090810190601f1680156124f25780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a23603291396001600160a01b0388169190612796565b9050600081806020019051602081101561257057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610b2a8383306127a5565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561267257835460001980830191908101906000908790839081106125e957fe5b906000526020600020015490508087600001848154811061260657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061263657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b2d565b6000915050610b2d565b6000612688838361259e565b6126be57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b2d565b506000610b2d565b60008281526001840160205260408120548061272b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611bd1565b8285600001600183038154811061273e57fe5b9060005260206000209060020201600101819055506000915050611bd1565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906117fc575050151592915050565b60606117fc8484600085612800565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b606061280b8561275d565b61285c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061289b5780518252601f19909201916020918201910161287c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128fd576040519150601f19603f3d011682016040523d82523d6000602084013e612902565b606091505b509150915081156129165791506117fc9050565b8051156129265780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156123bf5781810151838201526020016123a7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129ae57805160ff19168380011785556129db565b828001600101855582156129db579182015b828111156129db5782518255916020019190600101906129c0565b506129e79291506129eb565b5090565b5b808211156129e757600081556001016129ec56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212204153eaec3aae5b144055919092e7f268390f95416d9b076f47192f5c437b7dfb64736f6c634300060c0033608060405234801561001057600080fd5b50610800806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637b1039991161005b5780637b1039991461019b5780638c2b1e2f146101bf5780638da5cb5b146102ee578063a61ca6c5146102f65761007d565b80630847c431146100825780631ba99d7e146100ff5780633121db1c14610119575b600080fd5b61008a6102fe565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100c45781810151838201526020016100ac565b50505050905090810190601f1680156100f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61010761038b565b60408051918252519081900360200190f35b6101996004803603604081101561012f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561015a57600080fd5b82018360208201111561016c57600080fd5b8035906020019184600183028401116401000000008311171561018e57600080fd5b509092509050610391565b005b6101a361043a565b604080516001600160a01b039092168252519081900360200190f35b610199600480360360608110156101d557600080fd5b8101906020810181356401000000008111156101f057600080fd5b82018360208201111561020257600080fd5b8035906020019184600183028401116401000000008311171561022457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561027757600080fd5b82018360208201111561028957600080fd5b803590602001918460018302840111640100000000831117156102ab57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610449915050565b6101a3610481565b61008a6104fe565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b820191906000526020600020905b81548152906001019060200180831161036657829003601f168201915b505050505081565b60035481565b3361039a610481565b6001600160a01b0316146103f5576040805162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604482015290519081900360640190fd5b6104358383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055692505050565b505050565b6000546001600160a01b031681565b610452336106c1565b8251610465906001906020860190610737565b508151610479906002906020850190610737565b506003555050565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b1580156104cd57600080fd5b505afa1580156104e1573d6000803e3d6000fd5b505050506040513d60208110156104f757600080fd5b5051905090565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103835780601f1061035857610100808354040283529160200191610383565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bc57600080fd5b505afa1580156105d0573d6000803e3d6000fd5b505050506040513d60208110156105e657600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b8381101561064557818101518382015260200161062d565b50505050905090810190601f1680156106725780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069157600080fd5b505af11580156106a5573d6000803e3d6000fd5b505050506040513d60208110156106bb57600080fd5b50505050565b6000546001600160a01b031615610715576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077857805160ff19168380011785556107a5565b828001600101855582156107a5579182015b828111156107a557825182559160200191906001019061078a565b506107b19291506107b5565b5090565b5b808211156107b157600081556001016107b656fea264697066735822122084b15333ac1513712226a0ea14233ce8f42494bfa349a99267fa225166f5003364736f6c634300060c0033608060405234801561001057600080fd5b50610349806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f6100ef565b005b61002f6100ef565b61002f6004803603604081101561004f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561007a57600080fd5b82018360208201111561008c57600080fd5b803590602001918460018302840111640100000000831117156100ae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610109945050505050565b6100f7610107565b6101076101026101eb565b610210565b565b60006101136101eb565b6001600160a01b03161461012657600080fd5b61012f82610234565b8051156101e7576000826001600160a01b0316826040518082805190602001908083835b602083106101725780518252601f199092019160209182019101610153565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b50509050806101e557600080fd5b505b5050565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e80801561022f573d6000f35b3d6000fd5b61023d8161029c565b6102785760405162461bcd60e51b815260040180806020018281038252603b8152602001806102d9603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906102d057508115155b94935050505056fe43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220cdbb0f880f6bae03b83b0112d96e036096c0b7dccd11cf658a9770d11b49225264736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063ee97f7f311610071578063ee97f7f314610796578063eee391111461079e578063f2fde38b146107a6578063fe17fc7a146107cc576101e5565b8063c3c5a547146106ff578063c4d66de814610725578063c87b56dd1461074b578063e985e9c514610768576101e5565b80638da5cb5b116100de5780638da5cb5b146105fd57806395d89b4114610605578063a22cb4651461060d578063b88d4fde1461063b576101e5565b80636fa59bbc146105bf57806370a08231146105c7578063715018a6146105ed5780637c2b2e71146105f5576101e5565b80632f745c59116101875780634f6ccce7116101565780634f6ccce71461050f57806355f804b31461052c5780636352211e1461059a5780636c0360eb146105b7576101e5565b80632f745c59146103615780633121db1c1461038d5780633354bcdb1461040b57806342842e0e146104d9576101e5565b8063095ea7b3116101c3578063095ea7b3146102db578063158ef93e1461030957806318160ddd1461031157806323b872dd1461032b576101e5565b806301ffc9a7146101ea57806306fdde0314610225578063081812fc146102a2575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b03191661089a565b604080519115158252519081900360200190f35b61022d6108bd565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026757818101518382015260200161024f565b50505050905090810190601f1680156102945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102bf600480360360208110156102b857600080fd5b5035610953565b604080516001600160a01b039092168252519081900360200190f35b610307600480360360408110156102f157600080fd5b506001600160a01b0381351690602001356109b5565b005b610211610a90565b610319610aa0565b60408051918252519081900360200190f35b6103076004803603606081101561034157600080fd5b506001600160a01b03813581169160208101359091169060400135610ab1565b6103196004803603604081101561037757600080fd5b506001600160a01b038135169060200135610b08565b610307600480360360408110156103a357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cd57600080fd5b8201836020820111156103df57600080fd5b803590602001918460018302840111600160201b8311171561040057600080fd5b509092509050610b33565b6102bf6004803603608081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b919390929091602081019035600160201b81111561049b57600080fd5b8201836020820111156104ad57600080fd5b803590602001918460018302840111600160201b831117156104ce57600080fd5b919350915035610bcb565b610307600480360360608110156104ef57600080fd5b506001600160a01b03813581169160208101359091169060400135610c56565b6103196004803603602081101561052557600080fd5b5035610c71565b6103076004803603602081101561054257600080fd5b810190602081018135600160201b81111561055c57600080fd5b82018360208201111561056e57600080fd5b803590602001918460018302840111600160201b8311171561058f57600080fd5b509092509050610c87565b6102bf600480360360208110156105b057600080fd5b5035610d22565b61022d610d4a565b61022d610dab565b610319600480360360208110156105dd57600080fd5b50356001600160a01b0316610e39565b610307610ea1565b6102bf610f43565b6102bf610f52565b61022d610f61565b6103076004803603604081101561062357600080fd5b506001600160a01b0381351690602001351515610fc2565b6103076004803603608081101561065157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561068b57600080fd5b82018360208201111561069d57600080fd5b803590602001918460018302840111600160201b831117156106be57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110c7945050505050565b6102116004803603602081101561071557600080fd5b50356001600160a01b0316611125565b6103076004803603602081101561073b57600080fd5b50356001600160a01b03166111d3565b61022d6004803603602081101561076157600080fd5b5035611273565b6102116004803603604081101561077e57600080fd5b506001600160a01b038135811691602001351661151a565b6102bf611548565b610319611557565b610307600480360360208110156107bc57600080fd5b50356001600160a01b031661155d565b6102bf600480360360808110156107e257600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561080c57600080fd5b82018360208201111561081e57600080fd5b803590602001918460018302840111600160201b8311171561083f57600080fd5b919390929091602081019035600160201b81111561085c57600080fd5b82018360208201111561086e57600080fd5b803590602001918460018302840111600160201b8311171561088f57600080fd5b919350915035611656565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b600061095e826116d6565b6109995760405162461bcd60e51b815260040180806020018281038252602c815260200180612b78602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109c082610d22565b9050806001600160a01b0316836001600160a01b03161415610a135760405162461bcd60e51b8152600401808060200182810382526021815260200180612c1c6021913960400191505060405180910390fd5b806001600160a01b0316610a256116e3565b6001600160a01b03161480610a465750610a4681610a416116e3565b61151a565b610a815760405162461bcd60e51b8152600401808060200182810382526038815260200180612acb6038913960400191505060405180910390fd5b610a8b83836116e7565b505050565b600e54600160a01b900460ff1681565b6000610aac6002611755565b905090565b610ac2610abc6116e3565b82611760565b610afd5760405162461bcd60e51b8152600401808060200182810382526031815260200180612c3d6031913960400191505060405180910390fd5b610a8b838383611804565b6001600160a01b0382166000908152600160205260408120610b2a9083611950565b90505b92915050565b610b3b6116e3565b600a546001600160a01b03908116911614610b8b576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b610a8b8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061195c92505050565b6000610c4b87610c4688888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250611ac1915050565b611bd8565b979650505050505050565b610a8b838383604051806020016040528060008152506110c7565b600080610c7f600284611df9565b509392505050565b610c8f6116e3565b600a546001600160a01b03908116911614610cdf576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b610d1e82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e1592505050565b5050565b6000610b2d82604051806060016040528060298152602001612b2d6029913960029190611e28565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e315780601f10610e0657610100808354040283529160200191610e31565b820191906000526020600020905b815481529060010190602001808311610e1457829003601f168201915b505050505081565b60006001600160a01b038216610e805760405162461bcd60e51b815260040180806020018281038252602a815260200180612b03602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610b2d90611755565b610ea96116e3565b600a546001600160a01b03908116911614610ef9576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109495780601f1061091e57610100808354040283529160200191610949565b610fca6116e3565b6001600160a01b0316826001600160a01b03161415611030576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061103d6116e3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110816116e3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6110d86110d26116e3565b83611760565b6111135760405162461bcd60e51b8152600401808060200182810382526031815260200180612c3d6031913960400191505060405180910390fd5b61111f84848484611e35565b50505050565b6000611139826001600160a01b03166116d6565b80610b2d5750600e546001600160a01b031615801590610b2d5750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b1580156111a157600080fd5b505afa1580156111b5573d6000803e3d6000fd5b505050506040513d60208110156111cb57600080fd5b505192915050565b6111db6116e3565b600a546001600160a01b0390811691161461122b576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561124257600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b606061127e826116d6565b6112b95760405162461bcd60e51b815260040180806020018281038252602f815260200180612bed602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561134e5780601f106113235761010080835404028352916020019161134e565b820191906000526020600020905b81548152906001019060200180831161133157829003601f168201915b5050600954939450505050600260001961010060018416150201909116046113775790506108b8565b8051156114485760098160405160200180838054600181600116156101000203166002900480156113df5780601f106113bd5761010080835404028352918201916113df565b820191906000526020600020905b8154815290600101906020018083116113cb575b5050825160208401908083835b6020831061140b5780518252601f1990920191602091820191016113ec565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506108b8565b600961145384611e87565b60405160200180838054600181600116156101000203166002900480156114b15780601f1061148f5761010080835404028352918201916114b1565b820191906000526020600020905b81548152906001019060200180831161149d575b5050825160208401908083835b602083106114dd5780518252601f1990920191602091820191016114be565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b6115656116e3565b600a546001600160a01b039081169116146115b5576040805162461bcd60e51b81526020600482018190526024820152600080516020612ba4833981519152604482015290519081900360640190fd5b6001600160a01b0381166115fa5760405162461bcd60e51b8152600401808060200182810382526026815260200180612a556026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c4b876116d188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250611ac1915050565b611f62565b6000610b2d600283612003565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061171c82610d22565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b2d8261200f565b600061176b826116d6565b6117a65760405162461bcd60e51b815260040180806020018281038252602c815260200180612a9f602c913960400191505060405180910390fd5b60006117b183610d22565b9050806001600160a01b0316846001600160a01b031614806117ec5750836001600160a01b03166117e184610953565b6001600160a01b0316145b806117fc57506117fc818561151a565b949350505050565b826001600160a01b031661181782610d22565b6001600160a01b03161461185c5760405162461bcd60e51b8152600401808060200182810382526029815260200180612bc46029913960400191505060405180910390fd5b6001600160a01b0382166118a15760405162461bcd60e51b8152600401808060200182810382526024815260200180612a7b6024913960400191505060405180910390fd5b6118ac838383610a8b565b6118b76000826116e7565b6001600160a01b03831660009081526001602052604090206118d99082612013565b506001600160a01b03821660009081526001602052604090206118fc908261201f565b506119096002828461202b565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b2a8383612041565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156119c257600080fd5b505afa1580156119d6573d6000803e3d6000fd5b505050506040513d60208110156119ec57600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611a4b578181015183820152602001611a33565b50505050905090810190601f168015611a785780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611a9757600080fd5b505af1158015611aab573d6000803e3d6000fd5b505050506040513d602081101561111f57600080fd5b6060838383604051602401808060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611b10578181015183820152602001611af8565b50505050905090810190601f168015611b3d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611b70578181015183820152602001611b58565b50505050905090810190601f168015611b9d5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316638c2b1e2f60e01b17905296505050505050505b9392505050565b600080611d02600084866040516020018083805190602001908083835b60208310611c145780518252601f199092019160209182019101611bf5565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611cf85780601f10611ccd57610100808354040283529160200191611cf8565b820191906000526020600020905b815481529060010190602001808311611cdb57829003601f168201915b50505050506120a5565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b83811015611d71578181015183820152602001611d59565b50505050905090810190601f168015611d9e5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015611dbe57600080fd5b505af1158015611dd2573d6000803e3d6000fd5b50505050611de984826001600160a01b03166121b6565b6001600160a01b03169392505050565b6000808080611e0886866122e4565b9097909650945050505050565b8051610d1e90600990602084019061296d565b60006117fc84848461235f565b611e40848484611804565b611e4c84848484612429565b61111f5760405162461bcd60e51b8152600401808060200182810382526032815260200180612a236032913960400191505060405180910390fd5b606081611eac57506040805180820190915260018152600360fc1b60208201526108b8565b8160005b8115611ec457600101600a82049150611eb0565b60608167ffffffffffffffff81118015611edd57600080fd5b506040519080825280601f01601f191660200182016040528015611f08576020820181803683370190505b50859350905060001982015b8315611f5957600a840660300160f81b82828060019003935081518110611f3757fe5b60200101906001600160f81b031916908160001a905350600a84049350611f14565b50949350505050565b600080611ff283856040516020018083805190602001908083835b60208310611f9c5780518252601f199092019160209182019101611f7d565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d54612591565b6001600160a01b0316949350505050565b6000610b2a838361259e565b5490565b6000610b2a83836125b6565b6000610b2a838361267c565b60006117fc84846001600160a01b0385166126c6565b815460009082106120835760405162461bcd60e51b8152600401808060200182810382526022815260200180612a016022913960400191505060405180910390fd5b82600001828154811061209257fe5b9060005260206000200154905092915050565b600080844710156120fd576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b8251612150576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b0381166117fc576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b038216612211576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61221a816116d6565b1561226c576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61227860008383610a8b565b6001600160a01b038216600090815260016020526040902061229a908261201f565b506122a76002828461202b565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8154600090819083106123285760405162461bcd60e51b8152600401808060200182810382526022815260200180612b566022913960400191505060405180910390fd5b600084600001848154811061233957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123fa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123bf5781810151838201526020016123a7565b50505050905090810190601f1680156123ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061240d57fe5b9060005260206000209060020201600101549150509392505050565b600061243d846001600160a01b031661275d565b612449575060016117fc565b6060612557630a85bd0160e11b61245e6116e3565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156124c55781810151838201526020016124ad565b50505050905090810190601f1680156124f25780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a23603291396001600160a01b0388169190612796565b9050600081806020019051602081101561257057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610b2a8383306127a5565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561267257835460001980830191908101906000908790839081106125e957fe5b906000526020600020015490508087600001848154811061260657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061263657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b2d565b6000915050610b2d565b6000612688838361259e565b6126be57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b2d565b506000610b2d565b60008281526001840160205260408120548061272b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611bd1565b8285600001600183038154811061273e57fe5b9060005260206000209060020201600101819055506000915050611bd1565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906117fc575050151592915050565b60606117fc8484600085612800565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b606061280b8561275d565b61285c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061289b5780518252601f19909201916020918201910161287c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128fd576040519150601f19603f3d011682016040523d82523d6000602084013e612902565b606091505b509150915081156129165791506117fc9050565b8051156129265780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156123bf5781810151838201526020016123a7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129ae57805160ff19168380011785556129db565b828001600101855582156129db579182015b828111156129db5782518255916020019190600101906129c0565b506129e79291506129eb565b5090565b5b808211156129e757600081556001016129ec56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212204153eaec3aae5b144055919092e7f268390f95416d9b076f47192f5c437b7dfb64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1319:1172:55:-:0;;;1385:117;;;;;;;;;;1427:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1850:247:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1850:247:50;;;;;;;751:40:83;-1:-1:-1;;;751:18:83;:40::i;:::-;3637:12:90;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;3659:16:90;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;3763:40:90;-1:-1:-1;;;3763:18:90;:40::i;:::-;3813:49;-1:-1:-1;;;3813:18:90;:49::i;:::-;3872:51;-1:-1:-1;;;3872:18:90;:51::i;:::-;-1:-1:-1;865:17:82;;-1:-1:-1;885:12:82;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;-1:-1:-1;;940:43:82;;-1:-1:-1;;940:43:82;-1:-1:-1;1959:6:50::1;:23:::0;;-1:-1:-1;;;;;;1959:23:50::1;-1:-1:-1::0;;;;;1959:23:50;::::1;;::::0;;2002:51:::1;::::0;::::1;;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;2002:51:50;;;;;;;::::1;::::0;;::::1;;;::::0;1986:67;;::::1;::::0;:9:::1;::::0;2002:51:::1;::::0;;;::::1;::::0;1986:67:::1;:::i;:::-;;2083:9;2073:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;2073:20:50::1;::::0;;;;::::1;::::0;;2057:13:::1;:36:::0;-1:-1:-1;1319:1172:55;;-1:-1:-1;;;;1319:1172:55;1482:198:83;-1:-1:-1;;;;;;1565:25:83;;;;;1557:66;;;;;-1:-1:-1;;;1557:66:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1633:33:83;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1633:40:83;1669:4;1633:40;;;1482:198::o;590:104:80:-;677:10;590:104;:::o;1319:1172:55:-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1319:1172:55;;;-1:-1:-1;1319:1172:55;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1319:1172:55:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;948:140:83;;;;;;;;;;;;;;;;-1:-1:-1;948:140:83;-1:-1:-1;;;;;;948:140:83;;:::i;:::-;;;;;;;;;;;;;;;;;;4486:90:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7093:209;;;;;;;;;;;;;;;;-1:-1:-1;7093:209:90;;:::i;:::-;;;;-1:-1:-1;;;;;7093:209:90;;;;;;;;;;;;;;6651:381;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6651:381:90;;;;;;;;:::i;:::-;;1818:28:50;;;:::i;6161:200:90:-;;;:::i;:::-;;;;;;;;;;;;;;;;7941:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7941:300:90;;;;;;;;;;;;;;;;;:::i;5938:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5938:152:90;;;;;;;;:::i;2964:112:50:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2964:112:50;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;-1:-1:-1;2964:112:50;;-1:-1:-1;2964:112:50;-1:-1:-1;2964:112:50;:::i;1849:315:55:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1849:315:55;;;;;;;;;;;;;;;-1:-1:-1;;;1849:315:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1849:315:55;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1849:315:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1849:315:55;;;;;;;;;;;;-1:-1:-1;1849:315:55;-1:-1:-1;1849:315:55;;:::i;8307:149:90:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8307:149:90;;;;;;;;;;;;;;;;;:::i;6433:161::-;;;;;;;;;;;;;;;;-1:-1:-1;6433:161:90;;:::i;3079:98:50:-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;-1:-1:-1;3079:98:50;;-1:-1:-1;3079:98:50;-1:-1:-1;3079:98:50;:::i;4257:167:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4257:167:90;;:::i;5772:87::-;;;:::i;1728:26:50:-;;;:::i;3989:211:90:-;;;;;;;;;;;;;;;;-1:-1:-1;3989:211:90;-1:-1:-1;;;;;3989:211:90;;:::i;1689:145:82:-;;;:::i;1790:25:50:-;;;:::i;1066:77:82:-;;;:::i;4640:94:90:-;;;:::i;7369:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7369:290:90;;;;;;;;;;:::i;8522:282::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8522:282:90;;-1:-1:-1;8522:282:90;;-1:-1:-1;;;;;8522:282:90:i;3197:187:50:-;;;;;;;;;;;;;;;;-1:-1:-1;3197:187:50;-1:-1:-1;;;;;3197:187:50;;:::i;2100:151::-;;;;;;;;;;;;;;;;-1:-1:-1;2100:151:50;-1:-1:-1;;;;;2100:151:50;;:::i;4800:740:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4800:740:90;;:::i;7725:154::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7725:154:90;;;;;;;;;;:::i;1702:23:50:-;;;:::i;1757:30::-;;;:::i;1983:240:82:-;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;2167:322:55:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2167:322:55;;;;;;;;;;;;;;;-1:-1:-1;;;2167:322:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2167:322:55;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2167:322:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2167:322:55;;;;;;;;;;;;-1:-1:-1;2167:322:55;-1:-1:-1;2167:322:55;;:::i;948:140:83:-;-1:-1:-1;;;;;;1048:33:83;;1025:4;1048:33;;;;;;;;;;;;;948:140;;;;:::o;4486:90:90:-;4564:5;4557:12;;;;;;;;-1:-1:-1;;4557:12:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4532:13;;4557:12;;4564:5;;4557:12;;4564:5;4557:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4486:90;:::o;7093:209::-;7161:7;7188:16;7196:7;7188;:16::i;:::-;7180:73;;;;-1:-1:-1;;;7180:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7271:24:90;;;;:15;:24;;;;;;-1:-1:-1;;;;;7271:24:90;;7093:209::o;6651:381::-;6731:13;6747:16;6755:7;6747;:16::i;:::-;6731:32;;6787:5;-1:-1:-1;;;;;6781:11:90;:2;-1:-1:-1;;;;;6781:11:90;;;6773:57;;;;-1:-1:-1;;;6773:57:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6865:5;-1:-1:-1;;;;;6849:21:90;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6849:21:90;;:62;;;;6874:37;6891:5;6898:12;:10;:12::i;:::-;6874:16;:37::i;:::-;6841:152;;;;-1:-1:-1;;;6841:152:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7004:21;7013:2;7017:7;7004:8;:21::i;:::-;6651:381;;;:::o;1818:28:50:-;;;-1:-1:-1;;;1818:28:50;;;;;:::o;6161:200:90:-;6214:7;6333:21;:12;:19;:21::i;:::-;6326:28;;6161:200;:::o;7941:300::-;8100:41;8119:12;:10;:12::i;:::-;8133:7;8100:18;:41::i;:::-;8092:103;;;;-1:-1:-1;;;8092:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8206:28;8216:4;8222:2;8226:7;8206:9;:28::i;5938:152::-;-1:-1:-1;;;;;6053:20:90;;6027:7;6053:20;;;:13;:20;;;;;:30;;6077:5;6053:23;:30::i;:::-;6046:37;;5938:152;;;;;:::o;2964:112:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3045:27:50::1;3059:4;3066:5;;3045:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3045:8:50::1;::::0;-1:-1:-1;;;3045:27:50:i:1;1849:315:55:-:0;2034:7;2063:96;2075:13;2090:68;2108:12;;2090:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2090:68:55;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2122:17:55;;-1:-1:-1;2122:17:55;;;;2090:68;;2122:17;;;;2090:68;;;;;;;;;-1:-1:-1;2141:16:55;;-1:-1:-1;2090:17:55;;-1:-1:-1;;2090:68:55:i;:::-;2063:11;:96::i;:::-;2048:112;1849:315;-1:-1:-1;;;;;;;1849:315:55:o;8307:149:90:-;8410:39;8427:4;8433:2;8437:7;8410:39;;;;;;;;;;;;:16;:39::i;6433:161::-;6500:7;;6541:22;:12;6557:5;6541:15;:22::i;:::-;-1:-1:-1;6519:44:90;6433:161;-1:-1:-1;;;6433:161:90:o;3079:98:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3152:21:50::1;3164:8;;3152:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3152:11:50::1;::::0;-1:-1:-1;;;3152:21:50:i:1;:::-;3079:98:::0;;:::o;4257:167:90:-;4321:7;4347:70;4364:7;4347:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;5772:87::-;5844:8;5837:15;;;;;;;;-1:-1:-1;;5837:15:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5812:13;;5837:15;;5844:8;;5837:15;;5844:8;5837:15;;;;;;;;;;;;;;;;;;;;;;;;1728:26:50;;;;;;;;;;;;;;;-1:-1:-1;;1728:26:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3989:211:90:-;4053:7;-1:-1:-1;;;;;4080:19:90;;4072:74;;;;-1:-1:-1;;;4072:74:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4164:20:90;;;;;;:13;:20;;;;;:29;;:27;:29::i;1689:145:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1779:6:::1;::::0;1758:40:::1;::::0;1795:1:::1;::::0;-1:-1:-1;;;;;1779:6:82::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1808:6;:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1790:25:50:-;;;-1:-1:-1;;;;;1790:25:50;;:::o;1066:77:82:-;1130:6;;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;4640:94:90:-;4720:7;4713:14;;;;;;;;-1:-1:-1;;4713:14:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4688:13;;4713:14;;4720:7;;4713:14;;4720:7;4713:14;;;;;;;;;;;;;;;;;;;;;;;;7369:290;7483:12;:10;:12::i;:::-;-1:-1:-1;;;;;7471:24:90;:8;-1:-1:-1;;;;;7471:24:90;;;7463:62;;;;;-1:-1:-1;;;7463:62:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;7581:8;7536:18;:32;7555:12;:10;:12::i;:::-;-1:-1:-1;;;;;7536:32:90;;;;;;;;;;;;;;;;;-1:-1:-1;7536:32:90;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7536:53:90;;;;;;;;;;;7619:12;:10;:12::i;:::-;-1:-1:-1;;;;;7604:48:90;;7643:8;7604:48;;;;;;;;;;;;;;;;;;;;7369:290;;:::o;8522:282::-;8653:41;8672:12;:10;:12::i;:::-;8686:7;8653:18;:41::i;:::-;8645:103;;;;-1:-1:-1;;;8645:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:39;8772:4;8778:2;8782:7;8791:5;8758:13;:39::i;:::-;8522:282;;;;:::o;3197:187:50:-;3268:4;3286:24;3302:6;-1:-1:-1;;;;;3294:15:50;3286:7;:24::i;:::-;:94;;;-1:-1:-1;3323:8:50;;-1:-1:-1;;;;;3323:8:50;3315:31;;;;:64;;-1:-1:-1;3350:8:50;;:29;;;-1:-1:-1;;;3350:29:50;;-1:-1:-1;;;;;3350:29:50;;;;;;;;;:8;;;;;:21;;:29;;;;;;;;;;;;;;:8;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3350:29:50;;3197:187;-1:-1:-1;;3197:187:50:o;2100:151::-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;2175:11:50::1;::::0;-1:-1:-1;;;2175:11:50;::::1;;;2174:12;2166:21;;;::::0;::::1;;2191:11;:18:::0;;-1:-1:-1;;;;;;;2191:18:50;;::::1;;-1:-1:-1::0;;;;;;2213:34:50::1;-1:-1:-1::0;;;;;2213:34:50;;;::::1;::::0;;;::::1;::::0;;2100:151::o;4800:740:90:-;4865:13;4898:16;4906:7;4898;:16::i;:::-;4890:76;;;;-1:-1:-1;;;4890:76:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:19;;;;:10;:19;;;;;;;;;4977:45;;;;;;-1:-1:-1;;4977:45:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5003:19;4977:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5101:8:90;5095:22;4977:45;;-1:-1:-1;;;;5095:22:90;-1:-1:-1;;5095:22:90;;;;;;;;;;;5091:74;;5145:9;-1:-1:-1;5138:16:90;;5091:74;5267:23;;:27;5263:110;;5341:8;5351:9;5324:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5310:52;;;;;5263:110;5503:8;5513:18;:7;:16;:18::i;:::-;5486:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5472:61;;;4800:740;;;:::o;7725:154::-;-1:-1:-1;;;;;7837:25:90;;;7814:4;7837:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7725:154::o;1702:23:50:-;;;-1:-1:-1;;;;;1702:23:50;;:::o;1757:30::-;;;;:::o;1983:240:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6:::1;::::0;2151:38:::1;::::0;2172:6:::1;::::0;2151:38:::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;2167:322:55:-;2358:7;2387:97;2400:13;2415:68;2433:12;;2415:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2415:68:55;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2447:17:55;;-1:-1:-1;2447:17:55;;;;2415:68;;2447:17;;;;2415:68;;;;;;;;;-1:-1:-1;2466:16:55;;-1:-1:-1;2415:17:55;;-1:-1:-1;;2415:68:55:i;:::-;2387:12;:97::i;10237:117:90:-;10294:4;10317:30;:12;10339:7;10317:21;:30::i;590:104:80:-;677:10;590:104;:::o;15893:155:90:-;15958:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15958:29:90;-1:-1:-1;;;;;15958:29:90;;;;;;;;:24;;16011:16;15958:24;16011:7;:16::i;:::-;-1:-1:-1;;;;;16002:39:90;;;;;;;;;;;15893:155;;:::o;7023:121:99:-;7092:7;7118:19;7126:3;7118:7;:19::i;10512:329:90:-;10597:4;10621:16;10629:7;10621;:16::i;:::-;10613:73;;;;-1:-1:-1;;;10613:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10696:13;10712:16;10720:7;10712;:16::i;:::-;10696:32;;10757:5;-1:-1:-1;;;;;10746:16:90;:7;-1:-1:-1;;;;;10746:16:90;;:51;;;;10790:7;-1:-1:-1;;;;;10766:31:90;:20;10778:7;10766:11;:20::i;:::-;-1:-1:-1;;;;;10766:31:90;;10746:51;:87;;;;10801:32;10818:5;10825:7;10801:16;:32::i;:::-;10738:96;10512:329;-1:-1:-1;;;;10512:329:90:o;13506:559::-;13623:4;-1:-1:-1;;;;;13603:24:90;:16;13611:7;13603;:16::i;:::-;-1:-1:-1;;;;;13603:24:90;;13595:78;;;;-1:-1:-1;;;13595:78:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13691:16:90;;13683:65;;;;-1:-1:-1;;;13683:65:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13759:39;13780:4;13786:2;13790:7;13759:20;:39::i;:::-;13860:29;13877:1;13881:7;13860:8;:29::i;:::-;-1:-1:-1;;;;;13900:19:90;;;;;;:13;:19;;;;;:35;;13927:7;13900:26;:35::i;:::-;-1:-1:-1;;;;;;13945:17:90;;;;;;:13;:17;;;;;:30;;13967:7;13945:21;:30::i;:::-;-1:-1:-1;13986:29:90;:12;14003:7;14012:2;13986:16;:29::i;:::-;;14050:7;14046:2;-1:-1:-1;;;;;14031:27:90;14040:4;-1:-1:-1;;;;;14031:27:90;;;;;;;;;;;13506:559;;;:::o;7649:135:100:-;7720:7;7754:22;7758:3;7770:5;7754:3;:22::i;316:128:67:-;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;;;:28;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;;;435:4;;379:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:310:55;1690:12;1783;1800:17;1822:16;1716:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1716:126:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1716:126:55;;;-1:-1:-1;;1716:126:55;;;;;;;;;;;;;;-1:-1:-1;;;;;1716:126:55;-1:-1:-1;;;1716:126:55;;;;-1:-1:-1;;;;;;;1536:310:55;;;;;;:::o;2269:445:50:-;2345:7;2385:13;2401:72;2416:1;2446:5;2453:6;2429:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;2419:42;;;;;;2463:9;2401:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:14;:72::i;:::-;2608:6;;2548:74;;;-1:-1:-1;;;2548:74:50;;-1:-1:-1;;;;;2608:6:50;;;2548:74;;;;;;;;;;;;;;;;;;;;2385:88;;-1:-1:-1;2548:59:50;;;;;;2608:6;;2616:5;;2548:74;;;;;;;;;;;;;;2608:6;2548:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2656:29;2662:6;2678:5;-1:-1:-1;;;;;2670:14:50;2656:5;:29::i;:::-;-1:-1:-1;;;;;2696:14:50;;2269:445;-1:-1:-1;;;2269:445:50:o;7472:224:99:-;7552:7;;;;7611:22;7615:3;7627:5;7611:3;:22::i;:::-;7580:53;;;;-1:-1:-1;7472:224:99;-1:-1:-1;;;;;7472:224:99:o;14647:98:90:-;14719:19;;;;:8;;:19;;;;;:::i;8115:202:99:-;8222:7;8264:44;8269:3;8289;8295:12;8264:4;:44::i;9665:269:90:-;9778:28;9788:4;9794:2;9798:7;9778:9;:28::i;:::-;9824:48;9847:4;9853:2;9857:7;9866:5;9824:22;:48::i;:::-;9816:111;;;;-1:-1:-1;;;9816:111:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202:723:101;258:13;475:10;471:51;;-1:-1:-1;501:10:101;;;;;;;;;;;;-1:-1:-1;;;501:10:101;;;;;;471:51;546:5;531:12;585:75;592:9;;585:75;;617:8;;647:2;639:10;;;;585:75;;;669:19;701:6;691:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;691:17:101;-1:-1:-1;761:5:101;;-1:-1:-1;669:39:101;-1:-1:-1;;;734:10:101;;776:112;783:9;;776:112;;849:2;842:4;:9;837:2;:14;826:27;;808:6;815:7;;;;;;;808:15;;;;;;;;;;;:45;-1:-1:-1;;;;;808:45:101;;;;;;;;-1:-1:-1;875:2:101;867:10;;;;776:112;;;-1:-1:-1;911:6:101;202:723;-1:-1:-1;;;;202:723:101:o;2717:222:50:-;2799:7;2813:13;2829:81;2879:5;2886:6;2862:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;2852:42;;;;;;2896:13;;2829:22;:81::i;:::-;-1:-1:-1;;;;;2921:14:50;;2717:222;-1:-1:-1;;;;2717:222:50:o;6791:149:99:-;6875:4;6898:35;6908:3;6928;6898:9;:35::i;4483:108::-;4565:19;;4483:108::o;6764:135:100:-;6834:4;6857:35;6865:3;6885:5;6857:7;:35::i;6467:129::-;6534:4;6557:32;6562:3;6582:5;6557:4;:32::i;6239:174:99:-;6328:4;6351:55;6356:3;6376;-1:-1:-1;;;;;6390:14:99;;6351:4;:55::i;4423:201:100:-;4517:18;;4490:7;;4517:26;-1:-1:-1;4509:73:100;;;;-1:-1:-1;;;4509:73:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:3;:11;;4611:5;4599:18;;;;;;;;;;;;;;;;4592:25;;4423:201;;;;:::o;1013:535:98:-;1100:7;1119:12;1174:6;1149:21;:31;;1141:73;;;;;-1:-1:-1;;;1141:73:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;1232:15;;1224:65;;;;;-1:-1:-1;;;1224:65:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:4;1429:8;1423:15;1416:4;1406:8;1402:19;1394:6;1386:59;1378:67;-1:-1:-1;;;;;;1472:18:98;;1464:56;;;;;-1:-1:-1;;;1464:56:98;;;;;;;;;;;;;;;;;;;;;;;;;;;12070:393:90;-1:-1:-1;;;;;12149:16:90;;12141:61;;;;;-1:-1:-1;;;12141:61:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12221:16;12229:7;12221;:16::i;:::-;12220:17;12212:58;;;;;-1:-1:-1;;;12212:58:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;12281:45;12310:1;12314:2;12318:7;12281:20;:45::i;:::-;-1:-1:-1;;;;;12337:17:90;;;;;;:13;:17;;;;;:30;;12359:7;12337:21;:30::i;:::-;-1:-1:-1;12378:29:90;:12;12395:7;12404:2;12378:16;:29::i;:::-;-1:-1:-1;12423:33:90;;12448:7;;-1:-1:-1;;;;;12423:33:90;;;12440:1;;12423:33;;12440:1;;12423:33;12070:393;;:::o;4934:274:99:-;5037:19;;5001:7;;;;5037:27;-1:-1:-1;5029:74:99;;;;-1:-1:-1;;;5029:74:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:22;5139:3;:12;;5152:5;5139:19;;;;;;;;;;;;;;;;;;5114:44;;5176:5;:10;;;5188:5;:12;;;5168:33;;;;;4934:274;;;;;:::o;5615:315::-;5709:7;5747:17;;;:12;;;:17;;;;;;5797:12;5782:13;5774:36;;;;-1:-1:-1;;;5774:36:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5863:3;:12;;5887:1;5876:8;:12;5863:26;;;;;;;;;;;;;;;;;;:33;;;5856:40;;;5615:315;;;;;:::o;15298:589:90:-;15418:4;15443:15;:2;-1:-1:-1;;;;;15443:13:90;;:15::i;:::-;15438:58;;-1:-1:-1;15481:4:90;15474:11;;15438:58;15505:23;15531:246;-1:-1:-1;;;15642:12:90;:10;:12::i;:::-;15668:4;15686:7;15707:5;15547:175;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;15531:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15531:15:90;;;:246;:15;:246::i;:::-;15505:272;;15787:13;15814:10;15803:32;;;;;;;;;;;;;;;-1:-1:-1;15803:32:90;-1:-1:-1;;;;;;15853:26:90;-1:-1:-1;;;15853:26:90;;-1:-1:-1;;;15298:589:90;;;;;;:::o;1752:165:98:-;1835:7;1861:49;1876:4;1882:12;1904:4;1861:14;:49::i;4270:123:99:-;4341:4;4364:17;;;:12;;;;;:17;;;;;;:22;;;4270:123::o;2183:1512:100:-;2249:4;2386:19;;;:12;;;:19;;;;;;2420:15;;2416:1273;;2849:18;;-1:-1:-1;;2801:14:100;;;;2849:22;;;;2777:21;;2849:3;;:22;;3131;;;;;;;;;;;;;;3111:42;;3274:9;3245:3;:11;;3257:13;3245:26;;;;;;;;;;;;;;;;;;;:38;;;;3349:23;;;3391:1;3349:12;;;:23;;;;;;3375:17;;;3349:43;;3498:17;;3349:3;;3498:17;;;;;;;;;;;;;;;;;;;;;;3590:3;:12;;:19;3603:5;3590:19;;;;;;;;;;;3583:26;;;3631:4;3624:11;;;;;;;;2416:1273;3673:5;3666:12;;;;;1611:404;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;1828:678:99;1904:4;2037:17;;;:12;;;:17;;;;;;2069:13;2065:435;;-1:-1:-1;;2153:38:99;;;;;;;;;;;;;;;;;;2135:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2347:19;;2327:17;;;:12;;;:17;;;;;;;:39;2380:11;;2065:435;2458:5;2422:3;:12;;2446:1;2435:8;:12;2422:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2484:5;2477:12;;;;;718:610:95;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:95;;;1270:51;-1:-1:-1;;718:610:95:o;3770:194::-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;3904:22;:53::i;2160:276:98:-;2319:60;;;-1:-1:-1;;;;;;2319:60:98;;;;;;;;;;;;;-1:-1:-1;;2319:60:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2296:93;;;;;;2160:276::o;5117:958:95:-;5247:12;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:95;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5443:36:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:95;;-1:-1:-1;5516:17:95;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:95;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport '../Registry.sol';\nimport './Dataset.sol';\n\n\ncontract DatasetRegistry is Registry\n{\n\t/**\n\t * Constructor\n\t */\n\tconstructor()\n\tpublic Registry(\n\t\taddress(new Dataset()),\n\t\t'iExec Dataset Registry (V5)',\n\t\t'iExecDatasetsV5')\n\t{\n\t}\n\n\t/**\n\t * Dataset creation\n\t */\n\tfunction encodeInitializer(\n\t\tstring memory _datasetName,\n\t\tbytes memory _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\tinternal pure returns (bytes memory)\n\t{\n\t\treturn abi.encodeWithSignature(\n\t\t\t'initialize(string,bytes,bytes32)'\n\t\t,\t_datasetName\n\t\t,\t_datasetMultiaddr\n\t\t,\t_datasetChecksum\n\t\t);\n\t}\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (Dataset)\n\t{\n\t\treturn Dataset(_mintCreate(_datasetOwner, encodeInitializer(_datasetName, _datasetMultiaddr, _datasetChecksum)));\n\t}\n\n\tfunction predictDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal view returns (Dataset)\n\t{\n\t\treturn Dataset(_mintPredict(_datasetOwner, encodeInitializer(_datasetName, _datasetMultiaddr, _datasetChecksum)));\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/DatasetRegistry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/DatasetRegistry.sol", - "exportedSymbols": { - "DatasetRegistry": [ - 10527 - ] - }, - "id": 10528, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10436, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:55" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10437, - "nodeType": "ImportDirective", - "scope": 10528, - "sourceUnit": 10145, - "src": "1267:25:55", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "file": "./Dataset.sol", - "id": 10438, - "nodeType": "ImportDirective", - "scope": 10528, - "sourceUnit": 10435, - "src": "1293:23:55", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10439, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1347:8:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10440, - "nodeType": "InheritanceSpecifier", - "src": "1347:8:55" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10434, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10527, - "linearizedBaseContracts": [ - 10527, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "DatasetRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10454, - "nodeType": "Block", - "src": "1498:4:55", - "statements": [] - }, - "documentation": { - "id": 10441, - "nodeType": "StructuredDocumentation", - "src": "1359:24:55", - "text": " Constructor" - }, - "id": 10455, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1427:11:55", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Dataset_$10434_$", - "typeString": "function () returns (contract Dataset)" - }, - "typeName": { - "contractScope": null, - "id": 10446, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "1431:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - } - }, - "id": 10448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1427:13:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - ], - "id": 10445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1419:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1419:7:55", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1419:22:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656320446174617365742052656769737472792028563529", - "id": 10450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1445:29:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_032d116d678cc6df59cac026187b1e3934771a6f2958506160057ba576ee4eb1", - "typeString": "literal_string \"iExec Dataset Registry (V5)\"" - }, - "value": "iExec Dataset Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "694578656344617461736574735635", - "id": 10451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1478:17:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a54a693b90a4a2f6784c36ca55f82e0a377c3ef535fb1de73caae60d21b3501a", - "typeString": "literal_string \"iExecDatasetsV5\"" - }, - "value": "iExecDatasetsV5" - } - ], - "id": 10452, - "modifierName": { - "argumentTypes": null, - "id": 10443, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1407:8:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1407:89:55" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10442, - "nodeType": "ParameterList", - "parameters": [], - "src": "1396:2:55" - }, - "returnParameters": { - "id": 10453, - "nodeType": "ParameterList", - "parameters": [], - "src": "1498:0:55" - }, - "scope": 10527, - "src": "1385:117:55", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10475, - "nodeType": "Block", - "src": "1705:141:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e672c62797465732c6279746573333229", - "id": 10469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1744:34:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c2b1e2f998a5d17ef0a41e8b8b8fb44bf7ad2cd6fbd4da994f344033e67152d", - "typeString": "literal_string \"initialize(string,bytes,bytes32)\"" - }, - "value": "initialize(string,bytes,bytes32)" - }, - { - "argumentTypes": null, - "id": 10470, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10458, - "src": "1783:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10471, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10460, - "src": "1800:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10472, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10462, - "src": "1822:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c2b1e2f998a5d17ef0a41e8b8b8fb44bf7ad2cd6fbd4da994f344033e67152d", - "typeString": "literal_string \"initialize(string,bytes,bytes32)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 10467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1716:3:55", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1716:23:55", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1716:126:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10466, - "id": 10474, - "nodeType": "Return", - "src": "1709:133:55" - } - ] - }, - "documentation": { - "id": 10456, - "nodeType": "StructuredDocumentation", - "src": "1505:29:55", - "text": " Dataset creation" - }, - "id": 10476, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10458, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1566:27:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1566:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10460, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1597:32:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10459, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1597:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10462, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1633:31:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1633:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1562:103:55" - }, - "returnParameters": { - "id": 10466, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10465, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1690:12:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10464, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1690:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1689:14:55" - }, - "scope": 10527, - "src": "1536:310:55", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10500, - "nodeType": "Block", - "src": "2044:120:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10491, - "name": "_datasetOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10478, - "src": "2075:13:55", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10493, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10480, - "src": "2108:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10494, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10482, - "src": "2122:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10495, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10484, - "src": "2141:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10492, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10476, - "src": "2090:17:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory,bytes32) pure returns (bytes memory)" - } - }, - "id": 10496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2090:68:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10490, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "2063:11:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:96:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10489, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10434, - "src": "2055:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10434_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 10498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2055:105:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "functionReturnParameters": 10488, - "id": 10499, - "nodeType": "Return", - "src": "2048:112:55" - } - ] - }, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 10501, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10478, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1875:30:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1875:7:55", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10480, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1909:29:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1909:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10482, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1942:34:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10481, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1942:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10484, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1980:33:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10483, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1980:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1871:143:55" - }, - "returnParameters": { - "id": 10488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10487, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "2034:7:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - }, - "typeName": { - "contractScope": null, - "id": 10486, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "2034:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2033:9:55" - }, - "scope": 10527, - "src": "1849:315:55", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10525, - "nodeType": "Block", - "src": "2368:121:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10516, - "name": "_datasetOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10503, - "src": "2400:13:55", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10518, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10505, - "src": "2433:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10519, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10507, - "src": "2447:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10520, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10509, - "src": "2466:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10517, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10476, - "src": "2415:17:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory,bytes32) pure returns (bytes memory)" - } - }, - "id": 10521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2415:68:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10515, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2387:12:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2387:97:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10514, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10434, - "src": "2379:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10434_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 10523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2379:106:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "functionReturnParameters": 10513, - "id": 10524, - "nodeType": "Return", - "src": "2372:113:55" - } - ] - }, - "documentation": null, - "functionSelector": "fe17fc7a", - "id": 10526, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10503, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2194:30:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2194:7:55", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10505, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2228:29:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10504, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2228:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10507, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2261:34:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2261:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10509, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2299:33:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10508, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2299:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2190:143:55" - }, - "returnParameters": { - "id": 10513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10512, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2358:7:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - }, - "typeName": { - "contractScope": null, - "id": 10511, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "2358:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2357:9:55" - }, - "scope": 10527, - "src": "2167:322:55", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10528, - "src": "1319:1172:55" - } - ], - "src": "1242:1250:55" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/DatasetRegistry.sol", - "exportedSymbols": { - "DatasetRegistry": [ - 10527 - ] - }, - "id": 10528, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10436, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:55" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10437, - "nodeType": "ImportDirective", - "scope": 10528, - "sourceUnit": 10145, - "src": "1267:25:55", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "file": "./Dataset.sol", - "id": 10438, - "nodeType": "ImportDirective", - "scope": 10528, - "sourceUnit": 10435, - "src": "1293:23:55", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10439, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1347:8:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10440, - "nodeType": "InheritanceSpecifier", - "src": "1347:8:55" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10434, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10527, - "linearizedBaseContracts": [ - 10527, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "DatasetRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10454, - "nodeType": "Block", - "src": "1498:4:55", - "statements": [] - }, - "documentation": { - "id": 10441, - "nodeType": "StructuredDocumentation", - "src": "1359:24:55", - "text": " Constructor" - }, - "id": 10455, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1427:11:55", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Dataset_$10434_$", - "typeString": "function () returns (contract Dataset)" - }, - "typeName": { - "contractScope": null, - "id": 10446, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "1431:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - } - }, - "id": 10448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1427:13:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - ], - "id": 10445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1419:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1419:7:55", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1419:22:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656320446174617365742052656769737472792028563529", - "id": 10450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1445:29:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_032d116d678cc6df59cac026187b1e3934771a6f2958506160057ba576ee4eb1", - "typeString": "literal_string \"iExec Dataset Registry (V5)\"" - }, - "value": "iExec Dataset Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "694578656344617461736574735635", - "id": 10451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1478:17:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a54a693b90a4a2f6784c36ca55f82e0a377c3ef535fb1de73caae60d21b3501a", - "typeString": "literal_string \"iExecDatasetsV5\"" - }, - "value": "iExecDatasetsV5" - } - ], - "id": 10452, - "modifierName": { - "argumentTypes": null, - "id": 10443, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1407:8:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1407:89:55" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10442, - "nodeType": "ParameterList", - "parameters": [], - "src": "1396:2:55" - }, - "returnParameters": { - "id": 10453, - "nodeType": "ParameterList", - "parameters": [], - "src": "1498:0:55" - }, - "scope": 10527, - "src": "1385:117:55", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10475, - "nodeType": "Block", - "src": "1705:141:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e672c62797465732c6279746573333229", - "id": 10469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1744:34:55", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c2b1e2f998a5d17ef0a41e8b8b8fb44bf7ad2cd6fbd4da994f344033e67152d", - "typeString": "literal_string \"initialize(string,bytes,bytes32)\"" - }, - "value": "initialize(string,bytes,bytes32)" - }, - { - "argumentTypes": null, - "id": 10470, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10458, - "src": "1783:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 10471, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10460, - "src": "1800:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10472, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10462, - "src": "1822:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c2b1e2f998a5d17ef0a41e8b8b8fb44bf7ad2cd6fbd4da994f344033e67152d", - "typeString": "literal_string \"initialize(string,bytes,bytes32)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 10467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1716:3:55", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1716:23:55", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1716:126:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10466, - "id": 10474, - "nodeType": "Return", - "src": "1709:133:55" - } - ] - }, - "documentation": { - "id": 10456, - "nodeType": "StructuredDocumentation", - "src": "1505:29:55", - "text": " Dataset creation" - }, - "id": 10476, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10458, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1566:27:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1566:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10460, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1597:32:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10459, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1597:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10462, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1633:31:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10461, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1633:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1562:103:55" - }, - "returnParameters": { - "id": 10466, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10465, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10476, - "src": "1690:12:55", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10464, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1690:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1689:14:55" - }, - "scope": 10527, - "src": "1536:310:55", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10500, - "nodeType": "Block", - "src": "2044:120:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10491, - "name": "_datasetOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10478, - "src": "2075:13:55", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10493, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10480, - "src": "2108:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10494, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10482, - "src": "2122:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10495, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10484, - "src": "2141:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10492, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10476, - "src": "2090:17:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory,bytes32) pure returns (bytes memory)" - } - }, - "id": 10496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2090:68:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10490, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "2063:11:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:96:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10489, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10434, - "src": "2055:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10434_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 10498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2055:105:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "functionReturnParameters": 10488, - "id": 10499, - "nodeType": "Return", - "src": "2048:112:55" - } - ] - }, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 10501, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10478, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1875:30:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1875:7:55", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10480, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1909:29:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1909:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10482, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1942:34:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10481, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1942:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10484, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "1980:33:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10483, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1980:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1871:143:55" - }, - "returnParameters": { - "id": 10488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10487, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10501, - "src": "2034:7:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - }, - "typeName": { - "contractScope": null, - "id": 10486, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "2034:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2033:9:55" - }, - "scope": 10527, - "src": "1849:315:55", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10525, - "nodeType": "Block", - "src": "2368:121:55", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10516, - "name": "_datasetOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10503, - "src": "2400:13:55", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10518, - "name": "_datasetName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10505, - "src": "2433:12:55", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 10519, - "name": "_datasetMultiaddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10507, - "src": "2447:17:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 10520, - "name": "_datasetChecksum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10509, - "src": "2466:16:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10517, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10476, - "src": "2415:17:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory,bytes32) pure returns (bytes memory)" - } - }, - "id": 10521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2415:68:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10515, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2387:12:55", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2387:97:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10514, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10434, - "src": "2379:7:55", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10434_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 10523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2379:106:55", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "functionReturnParameters": 10513, - "id": 10524, - "nodeType": "Return", - "src": "2372:113:55" - } - ] - }, - "documentation": null, - "functionSelector": "fe17fc7a", - "id": 10526, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10503, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2194:30:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2194:7:55", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10505, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2228:29:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10504, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2228:6:55", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10507, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2261:34:55", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2261:5:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10509, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2299:33:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10508, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2299:7:55", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2190:143:55" - }, - "returnParameters": { - "id": 10513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10512, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10526, - "src": "2358:7:55", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - }, - "typeName": { - "contractScope": null, - "id": 10511, - "name": "Dataset", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10434, - "src": "2358:7:55", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10434", - "typeString": "contract Dataset" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2357:9:55" - }, - "scope": 10527, - "src": "2167:322:55", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10528, - "src": "1319:1172:55" - } - ], - "src": "1242:1250:55" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0x799DAa22654128d0C64d5b79eac9283008158730" - } - }, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.944Z", - "networkType": "ethereum", - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "baseURI()": { - "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenByIndex(uint256)": { - "details": "See {IERC721Enumerable-tokenByIndex}." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "totalSupply()": { - "details": "See {IERC721Enumerable-totalSupply}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "constructor": "Constructor" - }, - "version": 1 - } -} diff --git a/build/contracts/DatasetRegistryInterface.json b/build/contracts/DatasetRegistryInterface.json deleted file mode 100644 index 32f08f379..000000000 --- a/build/contracts/DatasetRegistryInterface.json +++ /dev/null @@ -1,5821 +0,0 @@ -{ - "contractName": "DatasetRegistryInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "datasetOwner", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "dataset", - "type": "address" - } - ], - "name": "CreateDataset", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_datasetOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_datasetName", - "type": "string" - }, - { - "internalType": "bytes", - "name": "_datasetMultiaddr", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_datasetChecksum", - "type": "bytes32" - } - ], - "name": "createDataset", - "outputs": [ - { - "internalType": "contract DatasetInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"datasetOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"}],\"name\":\"CreateDataset\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_datasetOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_datasetName\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_datasetMultiaddr\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_datasetChecksum\",\"type\":\"bytes32\"}],\"name\":\"createDataset\",\"outputs\":[{\"internalType\":\"contract DatasetInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"viewCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"viewEntry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"DatasetRegistryInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.886Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/DelegateBase.json b/build/contracts/DelegateBase.json deleted file mode 100644 index b1947cc55..000000000 --- a/build/contracts/DelegateBase.json +++ /dev/null @@ -1,852 +0,0 @@ -{ - "contractName": "DelegateBase", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":\"DelegateBase\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\";\nimport \"../Store.sol\";\n\n\nabstract contract DelegateBase is Store, ERC1538Module\n{\n\tmodifier onlyScheduler(bytes32 _taskid)\n\t{\n\t\trequire(_msgSender() == m_deals[m_tasks[_taskid].dealid].workerpool.owner);\n\t\t_;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "exportedSymbols": { - "DelegateBase": [ - 1658 - ] - }, - "id": 1659, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1631, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:11" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "id": 1632, - "nodeType": "ImportDirective", - "scope": 1659, - "sourceUnit": 13162, - "src": "1267:61:11", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol", - "file": "../Store.sol", - "id": 1633, - "nodeType": "ImportDirective", - "scope": 1659, - "sourceUnit": 310, - "src": "1329:22:11", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1634, - "name": "Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 309, - "src": "1388:5:11", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Store_$309", - "typeString": "contract Store" - } - }, - "id": 1635, - "nodeType": "InheritanceSpecifier", - "src": "1388:5:11" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1636, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13161, - "src": "1395:13:11", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$13161", - "typeString": "contract ERC1538Module" - } - }, - "id": 1637, - "nodeType": "InheritanceSpecifier", - "src": "1395:13:11" - } - ], - "contractDependencies": [ - 309, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1658, - "linearizedBaseContracts": [ - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "DelegateBase", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 1656, - "nodeType": "Block", - "src": "1453:87:11", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1642, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1465:10:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 1643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1465:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1644, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1481:7:11", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1649, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1645, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "1489:7:11", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 1647, - "indexExpression": { - "argumentTypes": null, - "id": 1646, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1639, - "src": "1497:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1489:16:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "1489:23:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1481:32:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 1650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1481:43:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 1651, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1481:49:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1465:65:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 1641, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1457:7:11", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 1653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1457:74:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1654, - "nodeType": "ExpressionStatement", - "src": "1457:74:11" - }, - { - "id": 1655, - "nodeType": "PlaceholderStatement", - "src": "1535:1:11" - } - ] - }, - "documentation": null, - "id": 1657, - "name": "onlyScheduler", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 1640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1639, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1657, - "src": "1435:15:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1638, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1435:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1434:17:11" - }, - "src": "1412:128:11", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 1659, - "src": "1354:188:11" - } - ], - "src": "1242:301:11" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "exportedSymbols": { - "DelegateBase": [ - 1658 - ] - }, - "id": 1659, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1631, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:11" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "id": 1632, - "nodeType": "ImportDirective", - "scope": 1659, - "sourceUnit": 13162, - "src": "1267:61:11", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol", - "file": "../Store.sol", - "id": 1633, - "nodeType": "ImportDirective", - "scope": 1659, - "sourceUnit": 310, - "src": "1329:22:11", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1634, - "name": "Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 309, - "src": "1388:5:11", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Store_$309", - "typeString": "contract Store" - } - }, - "id": 1635, - "nodeType": "InheritanceSpecifier", - "src": "1388:5:11" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1636, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13161, - "src": "1395:13:11", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$13161", - "typeString": "contract ERC1538Module" - } - }, - "id": 1637, - "nodeType": "InheritanceSpecifier", - "src": "1395:13:11" - } - ], - "contractDependencies": [ - 309, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1658, - "linearizedBaseContracts": [ - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "DelegateBase", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 1656, - "nodeType": "Block", - "src": "1453:87:11", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1642, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1465:10:11", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 1643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1465:12:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1644, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1481:7:11", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1649, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1645, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "1489:7:11", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 1647, - "indexExpression": { - "argumentTypes": null, - "id": 1646, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1639, - "src": "1497:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1489:16:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "1489:23:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1481:32:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 1650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1481:43:11", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 1651, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1481:49:11", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1465:65:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 1641, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1457:7:11", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 1653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1457:74:11", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1654, - "nodeType": "ExpressionStatement", - "src": "1457:74:11" - }, - { - "id": 1655, - "nodeType": "PlaceholderStatement", - "src": "1535:1:11" - } - ] - }, - "documentation": null, - "id": 1657, - "name": "onlyScheduler", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 1640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1639, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1657, - "src": "1435:15:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1638, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1435:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1434:17:11" - }, - "src": "1412:128:11", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 1659, - "src": "1354:188:11" - } - ], - "src": "1242:301:11" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.549Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ENSIntegration.json b/build/contracts/ENSIntegration.json deleted file mode 100644 index 4ae56be38..000000000 --- a/build/contracts/ENSIntegration.json +++ /dev/null @@ -1,326 +0,0 @@ -{ - "contractName": "ENSIntegration", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":\"ENSIntegration\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface ENSIntegration\n{\n\tfunction setName(address ens, string calldata name) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "exportedSymbols": { - "ENSIntegration": [ - 8751 - ] - }, - "id": 8752, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8742, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:32" - }, - { - "id": 8743, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:32" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8751, - "linearizedBaseContracts": [ - 8751 - ], - "name": "ENSIntegration", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "3121db1c", - "id": 8750, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8745, - "mutability": "mutable", - "name": "ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8750, - "src": "1347:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8744, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1347:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8747, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8750, - "src": "1360:20:32", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8746, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1360:6:32", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1346:35:32" - }, - "returnParameters": { - "id": 8749, - "nodeType": "ParameterList", - "parameters": [], - "src": "1390:0:32" - }, - "scope": 8751, - "src": "1330:61:32", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8752, - "src": "1302:91:32" - } - ], - "src": "1242:152:32" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "exportedSymbols": { - "ENSIntegration": [ - 8751 - ] - }, - "id": 8752, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8742, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:32" - }, - { - "id": 8743, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:32" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8751, - "linearizedBaseContracts": [ - 8751 - ], - "name": "ENSIntegration", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "3121db1c", - "id": 8750, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8745, - "mutability": "mutable", - "name": "ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8750, - "src": "1347:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8744, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1347:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8747, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8750, - "src": "1360:20:32", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8746, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1360:6:32", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1346:35:32" - }, - "returnParameters": { - "id": 8749, - "nodeType": "ParameterList", - "parameters": [], - "src": "1390:0:32" - }, - "scope": 8751, - "src": "1330:61:32", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8752, - "src": "1302:91:32" - } - ], - "src": "1242:152:32" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.854Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ENSIntegrationDelegate.json b/build/contracts/ENSIntegrationDelegate.json deleted file mode 100644 index 58a393b97..000000000 --- a/build/contracts/ENSIntegrationDelegate.json +++ /dev/null @@ -1,884 +0,0 @@ -{ - "contractName": "ENSIntegrationDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/ENSIntegrationDelegate.sol\":\"ENSIntegrationDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/ENSIntegrationDelegate.sol\":{\"keccak256\":\"0x6fcaa980c06a3c92fc6c77f477173e4e2ea7b561778809e513285100904cea33\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://181562ff7d1445b2d4c6618dbafe9c71aca229b420dfb9b7a4f2feb33182e4fc\",\"dweb:/ipfs/Qmc2SFTQkiBP6xkX2eWuRwLcUEDLLKCjmfPeSabnWi5D77\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206106b1833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b03909116906000805160206106b1833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6105938061011e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633121db1c14610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b1461008c575b600080fd5b61006461005f3660046103c2565b61009f565b005b610064610122565b6100766101a1565b604051610083919061045a565b60405180910390f35b61006461009a366004610383565b6101b0565b6100a7610266565b6000546001600160a01b039081169116146100dd5760405162461bcd60e51b81526004016100d490610510565b60405180910390fd5b61011d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061026a92505050565b505050565b61012a610266565b6000546001600160a01b039081169116146101575760405162461bcd60e51b81526004016100d490610510565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101b8610266565b6000546001600160a01b039081169116146101e55760405162461bcd60e51b81526004016100d490610510565b6001600160a01b03811661020b5760405162461bcd60e51b81526004016100d4906104ca565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6040516302571be360e01b81526001600160a01b038316906302571be3906102b6907f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e29060040161046e565b60206040518083038186803b1580156102ce57600080fd5b505afa1580156102e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030691906103a6565b6001600160a01b031663c47f0027826040518263ffffffff1660e01b81526004016103319190610477565b602060405180830381600087803b15801561034b57600080fd5b505af115801561035f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011d9190610442565b600060208284031215610394578081fd5b813561039f81610545565b9392505050565b6000602082840312156103b7578081fd5b815161039f81610545565b6000806000604084860312156103d6578182fd5b83356103e181610545565b9250602084013567ffffffffffffffff808211156103fd578384fd5b818601915086601f830112610410578384fd5b81358181111561041e578485fd5b87602082850101111561042f578485fd5b6020830194508093505050509250925092565b600060208284031215610453578081fd5b5051919050565b6001600160a01b0391909116815260200190565b90815260200190565b6000602080835283518082850152825b818110156104a357858101830151858201604001528201610487565b818111156104b45783604083870101525b50601f01601f1916929092016040019392505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b038116811461055a57600080fd5b5056fea264697066735822122074a2932234ebf2421c6fb298be01f380fe05f232810bbf90d580bc9ccf02640164736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80633121db1c14610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b1461008c575b600080fd5b61006461005f3660046103c2565b61009f565b005b610064610122565b6100766101a1565b604051610083919061045a565b60405180910390f35b61006461009a366004610383565b6101b0565b6100a7610266565b6000546001600160a01b039081169116146100dd5760405162461bcd60e51b81526004016100d490610510565b60405180910390fd5b61011d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061026a92505050565b505050565b61012a610266565b6000546001600160a01b039081169116146101575760405162461bcd60e51b81526004016100d490610510565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101b8610266565b6000546001600160a01b039081169116146101e55760405162461bcd60e51b81526004016100d490610510565b6001600160a01b03811661020b5760405162461bcd60e51b81526004016100d4906104ca565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6040516302571be360e01b81526001600160a01b038316906302571be3906102b6907f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e29060040161046e565b60206040518083038186803b1580156102ce57600080fd5b505afa1580156102e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030691906103a6565b6001600160a01b031663c47f0027826040518263ffffffff1660e01b81526004016103319190610477565b602060405180830381600087803b15801561034b57600080fd5b505af115801561035f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011d9190610442565b600060208284031215610394578081fd5b813561039f81610545565b9392505050565b6000602082840312156103b7578081fd5b815161039f81610545565b6000806000604084860312156103d6578182fd5b83356103e181610545565b9250602084013567ffffffffffffffff808211156103fd578384fd5b818601915086601f830112610410578384fd5b81358181111561041e578485fd5b87602082850101111561042f578485fd5b6020830194508093505050509250925092565b600060208284031215610453578081fd5b5051919050565b6001600160a01b0391909116815260200190565b90815260200190565b6000602080835283518082850152825b818110156104a357858101830151858201604001528201610487565b818111156104b45783604083870101525b50601f01601f1916929092016040019392505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b038116811461055a57600080fd5b5056fea264697066735822122074a2932234ebf2421c6fb298be01f380fe05f232810bbf90d580bc9ccf02640164736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1448:214:12:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1448:214:12;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1448:214:12;;;;;;", - "deployedSourceMap": "1448:214:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1539:121;;;;;;:::i;:::-;;:::i;:::-;;1689:145:83;;;:::i;1066:77::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1983:240;;;;;;:::i;:::-;;:::i;1539:121:12:-;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1629:27:12::1;1643:4;1650:5;;1629:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1629:8:12::1;::::0;-1:-1:-1;;;1629:27:12:i:1;:::-;1539:121:::0;;;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;316:128:68:-;397:28;;-1:-1:-1;;;397:28:68;;-1:-1:-1;;;;;397:9:68;;;;;:28;;246:66;;397:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;379:55:68;;435:4;379:61;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;784:241:-1:-;;888:2;876:9;867:7;863:23;859:32;856:2;;;-1:-1;;894:12;856:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;946:63;850:175;-1:-1;;;850:175::o;1032:263::-;;1147:2;1135:9;1126:7;1122:23;1118:32;1115:2;;;-1:-1;;1153:12;1115:2;226:6;220:13;238:33;265:5;238:33;:::i;1302:492::-;;;;1443:2;1431:9;1422:7;1418:23;1414:32;1411:2;;;-1:-1;;1449:12;1411:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1501:63;-1:-1;1629:2;1614:18;;1601:32;1653:18;1642:30;;;1639:2;;;-1:-1;;1675:12;1639:2;1761:6;1750:9;1746:22;;;554:3;547:4;539:6;535:17;531:27;521:2;;-1:-1;;562:12;521:2;605:6;592:20;1653:18;624:6;621:30;618:2;;;-1:-1;;654:12;618:2;749:3;1629:2;729:17;690:6;715:32;;712:41;709:2;;;-1:-1;;756:12;709:2;1629;690:6;686:17;1695:83;;;;;;;;1405:389;;;;;:::o;1801:263::-;;1916:2;1904:9;1895:7;1891:23;1887:32;1884:2;;;-1:-1;;1922:12;1884:2;-1:-1;361:13;;1878:186;-1:-1;1878:186::o;3390:222::-;-1:-1;;;;;5551:54;;;;2142:37;;3517:2;3502:18;;3488:124::o;3619:222::-;2262:37;;;3746:2;3731:18;;3717:124::o;3848:310::-;;3995:2;;4016:17;4009:47;2456:5;5099:12;5256:6;3995:2;3984:9;3980:18;5244:19;-1:-1;5690:101;5704:6;5701:1;5698:13;5690:101;;;5771:11;;;;;5765:18;5752:11;;;5284:14;5752:11;5745:39;5719:10;;5690:101;;;5806:6;5803:1;5800:13;5797:2;;;-1:-1;5284:14;5862:6;3984:9;5853:16;;5846:27;5797:2;-1:-1;5978:7;5962:14;-1:-1;;5958:28;2614:39;;;;5284:14;2614:39;;3966:192;-1:-1;;;3966:192::o;4165:416::-;4365:2;4379:47;;;2890:2;4350:18;;;5244:19;2926:34;5284:14;;;2906:55;-1:-1;;;2981:12;;;2974:30;3023:12;;;4336:245::o;4588:416::-;4788:2;4802:47;;;4773:18;;;5244:19;3310:34;5284:14;;;3290:55;3364:12;;;4759:245::o;5999:117::-;-1:-1;;;;;5551:54;;6058:35;;6048:2;;6107:1;;6097:12;6048:2;6042:74;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/ENSIntegration.sol\";\n\n\ncontract ENSIntegrationDelegate is ENSIntegration, ENSReverseRegistration, DelegateBase\n{\n\tfunction setName(address _ens, string calldata _name)\n\texternal override onlyOwner()\n\t{\n\t\t_setName(IENS(_ens), _name);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/ENSIntegrationDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/ENSIntegrationDelegate.sol", - "exportedSymbols": { - "ENSIntegrationDelegate": [ - 1689 - ] - }, - "id": 1690, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1660, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:12" - }, - { - "id": 1661, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:12" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 1662, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 12932, - "src": "1301:71:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1663, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 1659, - "src": "1373:29:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "../interfaces/ENSIntegration.sol", - "id": 1664, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 8813, - "src": "1403:42:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1665, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "1483:14:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 1666, - "nodeType": "InheritanceSpecifier", - "src": "1483:14:12" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1667, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12931, - "src": "1499:22:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12931", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 1668, - "nodeType": "InheritanceSpecifier", - "src": "1499:22:12" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1669, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1523:12:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 1670, - "nodeType": "InheritanceSpecifier", - "src": "1523:12:12" - } - ], - "contractDependencies": [ - 309, - 1658, - 8812, - 12931, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1689, - "linearizedBaseContracts": [ - 1689, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 12931, - 8812 - ], - "name": "ENSIntegrationDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 8811 - ], - "body": { - "id": 1687, - "nodeType": "Block", - "src": "1625:35:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1682, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1672, - "src": "1643:4:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1681, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13068, - "src": "1638:4:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13068_$", - "typeString": "type(contract IENS)" - } - }, - "id": 1683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1638:10:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13068", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 1684, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "1650:5:12", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13068", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 1680, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12930, - "src": "1629:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13068_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 1685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1629:27:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1686, - "nodeType": "ExpressionStatement", - "src": "1629:27:12" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 1688, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 1678, - "modifierName": { - "argumentTypes": null, - "id": 1677, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1612:9:12", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1612:11:12" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1676, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1603:8:12" - }, - "parameters": { - "id": 1675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1672, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1688, - "src": "1556:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1671, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1556:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1674, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1688, - "src": "1570:21:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1570:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1555:37:12" - }, - "returnParameters": { - "id": 1679, - "nodeType": "ParameterList", - "parameters": [], - "src": "1625:0:12" - }, - "scope": 1689, - "src": "1539:121:12", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1690, - "src": "1448:214:12" - } - ], - "src": "1242:421:12" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/ENSIntegrationDelegate.sol", - "exportedSymbols": { - "ENSIntegrationDelegate": [ - 1689 - ] - }, - "id": 1690, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1660, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:12" - }, - { - "id": 1661, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:12" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 1662, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 12932, - "src": "1301:71:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1663, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 1659, - "src": "1373:29:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "../interfaces/ENSIntegration.sol", - "id": 1664, - "nodeType": "ImportDirective", - "scope": 1690, - "sourceUnit": 8813, - "src": "1403:42:12", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1665, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "1483:14:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 1666, - "nodeType": "InheritanceSpecifier", - "src": "1483:14:12" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1667, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12931, - "src": "1499:22:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12931", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 1668, - "nodeType": "InheritanceSpecifier", - "src": "1499:22:12" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1669, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1523:12:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 1670, - "nodeType": "InheritanceSpecifier", - "src": "1523:12:12" - } - ], - "contractDependencies": [ - 309, - 1658, - 8812, - 12931, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1689, - "linearizedBaseContracts": [ - 1689, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 12931, - 8812 - ], - "name": "ENSIntegrationDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 8811 - ], - "body": { - "id": 1687, - "nodeType": "Block", - "src": "1625:35:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1682, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1672, - "src": "1643:4:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1681, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13068, - "src": "1638:4:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13068_$", - "typeString": "type(contract IENS)" - } - }, - "id": 1683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1638:10:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13068", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 1684, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "1650:5:12", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13068", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 1680, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12930, - "src": "1629:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13068_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 1685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1629:27:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1686, - "nodeType": "ExpressionStatement", - "src": "1629:27:12" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 1688, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 1678, - "modifierName": { - "argumentTypes": null, - "id": 1677, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1612:9:12", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1612:11:12" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1676, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1603:8:12" - }, - "parameters": { - "id": 1675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1672, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1688, - "src": "1556:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1671, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1556:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1674, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1688, - "src": "1570:21:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1570:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1555:37:12" - }, - "returnParameters": { - "id": 1679, - "nodeType": "ParameterList", - "parameters": [], - "src": "1625:0:12" - }, - "scope": 1689, - "src": "1539:121:12", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1690, - "src": "1448:214:12" - } - ], - "src": "1242:421:12" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.550Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ENSRegistry.json b/build/contracts/ENSRegistry.json deleted file mode 100644 index a134cdf38..000000000 --- a/build/contracts/ENSRegistry.json +++ /dev/null @@ -1,10443 +0,0 @@ -{ - "contractName": "ENSRegistry", - "abi": [ - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "NewOwner", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "NewResolver", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "NewTTL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setSubnodeRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "setResolver", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setTTL", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"constructor\":{\"details\":\"Constructs a new ENS registrar.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Query if an address is an authorized operator for another address.\",\"params\":{\"operator\":\"The address that acts on behalf of the owner.\",\"owner\":\"The address that owns the records.\"},\"return\":\"True if `operator` is an approved operator for `owner`, false otherwise.\"},\"owner(bytes32)\":{\"details\":\"Returns the address that owns the specified node.\",\"params\":{\"node\":\"The specified node.\"},\"return\":\"address of the owner.\"},\"recordExists(bytes32)\":{\"details\":\"Returns whether a record has been imported to the registry.\",\"params\":{\"node\":\"The specified node.\"},\"return\":\"Bool if record exists\"},\"resolver(bytes32)\":{\"details\":\"Returns the address of the resolver for the specified node.\",\"params\":{\"node\":\"The specified node.\"},\"return\":\"address of the resolver.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Enable or disable approval for a third party (\\\"operator\\\") to manage all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.\",\"params\":{\"approved\":\"True if the operator is approved, false to revoke approval.\",\"operator\":\"Address to add to the set of authorized operators.\"}},\"setOwner(bytes32,address)\":{\"details\":\"Transfers ownership of a node to a new address. May only be called by the current owner of the node.\",\"params\":{\"node\":\"The node to transfer ownership of.\",\"owner\":\"The address of the new owner.\"}},\"setRecord(bytes32,address,address,uint64)\":{\"details\":\"Sets the record for a node.\",\"params\":{\"node\":\"The node to update.\",\"owner\":\"The address of the new owner.\",\"resolver\":\"The address of the resolver.\",\"ttl\":\"The TTL in seconds.\"}},\"setResolver(bytes32,address)\":{\"details\":\"Sets the resolver address for the specified node.\",\"params\":{\"node\":\"The node to update.\",\"resolver\":\"The address of the resolver.\"}},\"setSubnodeOwner(bytes32,bytes32,address)\":{\"details\":\"Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.\",\"params\":{\"label\":\"The hash of the label specifying the subnode.\",\"node\":\"The parent node.\",\"owner\":\"The address of the new owner.\"}},\"setSubnodeRecord(bytes32,bytes32,address,address,uint64)\":{\"details\":\"Sets the record for a subnode.\",\"params\":{\"label\":\"The hash of the label specifying the subnode.\",\"node\":\"The parent node.\",\"owner\":\"The address of the new owner.\",\"resolver\":\"The address of the resolver.\",\"ttl\":\"The TTL in seconds.\"}},\"setTTL(bytes32,uint64)\":{\"details\":\"Sets the TTL for the specified node.\",\"params\":{\"node\":\"The node to update.\",\"ttl\":\"The TTL in seconds.\"}},\"ttl(bytes32)\":{\"details\":\"Returns the TTL of a node, and any records associated with it.\",\"params\":{\"node\":\"The specified node.\"},\"return\":\"ttl of the node.\"}}},\"userdoc\":{\"methods\":{},\"notice\":\"The ENS registry contract.\"}},\"settings\":{\"compilationTarget\":{\"/Users/makoto/work/ens/ens/contracts/ENSRegistry.sol\":\"ENSRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/makoto/work/ens/ens/contracts/ENS.sol\":{\"keccak256\":\"0x10b88673d8c180cd62523be4fec7607c65594eb4f0c561fa0fbc0784422b4871\",\"urls\":[\"bzz-raw://b3de1882a4a1a1b13c27ee6dc04cc58c34ac392c80cad507de2cdfa8c02712fe\",\"dweb:/ipfs/QmeKcaBF8QdJjXiqFrPJkAtK3et5kUL8XJrnHjwhAThRMT\"]},\"/Users/makoto/work/ens/ens/contracts/ENSRegistry.sol\":{\"keccak256\":\"0xa40b635d209272928968c804b0a8ee390d599e84100b491c9ad38e86b841fed8\",\"urls\":[\"bzz-raw://8bb61b4f5773f6ddd5e4abde74f08127b86a6bc07466cbfba119760bcfb9aa59\",\"dweb:/ipfs/QmRckNAmD2gqVSocvBbLPNDhMrFgHdRaErR7MnY7TLr7Yx\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50336000808060001b815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061118b806100776000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80635b0fc9c3116100715780635b0fc9c3146102e75780635ef2c7f014610335578063a22cb465146103c1578063cf40882314610411578063e985e9c514610493578063f79fe5381461050f576100b4565b80630178b8bf146100b957806302571be31461012757806306ab59231461019557806314ab90381461020157806316a25cbd146102435780631896f70a14610299575b600080fd5b6100e5600480360360208110156100cf57600080fd5b8101908080359060200190929190505050610555565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101536004803603602081101561013d57600080fd5b8101908080359060200190929190505050610594565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101eb600480360360608110156101ab57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610617565b6040518082815260200191505060405180910390f35b6102416004803603604081101561021757600080fd5b8101908080359060200190929190803567ffffffffffffffff1690602001909291905050506107cc565b005b61026f6004803603602081101561025957600080fd5b810190808035906020019092919050505061095e565b604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390f35b6102e5600480360360408110156102af57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610991565b005b610333600480360360408110156102fd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b53565b005b6103bf600480360360a081101561034b57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190505050610ccb565b005b61040f600480360360408110156103d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ced565b005b6104916004803603608081101561042757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190505050610dee565b005b6104f5600480360360408110156104a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e09565b604051808215151515815260200191505060405180910390f35b61053b6004803603602081101561052557600080fd5b8101908080359060200190929190505050610e9d565b604051808215151515815260200191505060405180910390f35b600080600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060008084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561060d576000915050610612565b809150505b919050565b600083600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806107145750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61071d57600080fd5b60008686604051602001808381526020018281526020019250505060405160208183030381529060405280519060200120905061075a8186610f0b565b85877fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e8287604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a38093505050509392505050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806108c75750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6108d057600080fd5b837f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6884604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390a28260008086815260200190815260200160002060010160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050505050565b600080600083815260200190815260200160002060010160149054906101000a900467ffffffffffffffff169050919050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610a8c5750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a9557600080fd5b837f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a084604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a28260008086815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610c4e5750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610c5757600080fd5b610c618484610f0b565b837fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26684604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a250505050565b6000610cd8868686610617565b9050610ce5818484610f63565b505050505050565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b610df88484610b53565b610e03848383610f63565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff1660008084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8060008084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60008084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611084578160008085815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550827f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a083604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a25b60008084815260200190815260200160002060010160149054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff1614611151578060008085815260200190815260200160002060010160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550827f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6882604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390a25b50505056fea265627a7a723158207b5a893502e908f44aa238df4c84f15a53b16ec0f0e4ca667c972fe8f918e5d364736f6c63430005100032", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80635b0fc9c3116100715780635b0fc9c3146102e75780635ef2c7f014610335578063a22cb465146103c1578063cf40882314610411578063e985e9c514610493578063f79fe5381461050f576100b4565b80630178b8bf146100b957806302571be31461012757806306ab59231461019557806314ab90381461020157806316a25cbd146102435780631896f70a14610299575b600080fd5b6100e5600480360360208110156100cf57600080fd5b8101908080359060200190929190505050610555565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101536004803603602081101561013d57600080fd5b8101908080359060200190929190505050610594565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101eb600480360360608110156101ab57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610617565b6040518082815260200191505060405180910390f35b6102416004803603604081101561021757600080fd5b8101908080359060200190929190803567ffffffffffffffff1690602001909291905050506107cc565b005b61026f6004803603602081101561025957600080fd5b810190808035906020019092919050505061095e565b604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390f35b6102e5600480360360408110156102af57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610991565b005b610333600480360360408110156102fd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b53565b005b6103bf600480360360a081101561034b57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190505050610ccb565b005b61040f600480360360408110156103d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ced565b005b6104916004803603608081101561042757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803567ffffffffffffffff169060200190929190505050610dee565b005b6104f5600480360360408110156104a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e09565b604051808215151515815260200191505060405180910390f35b61053b6004803603602081101561052557600080fd5b8101908080359060200190929190505050610e9d565b604051808215151515815260200191505060405180910390f35b600080600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060008084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561060d576000915050610612565b809150505b919050565b600083600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806107145750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61071d57600080fd5b60008686604051602001808381526020018281526020019250505060405160208183030381529060405280519060200120905061075a8186610f0b565b85877fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e8287604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a38093505050509392505050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806108c75750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6108d057600080fd5b837f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6884604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390a28260008086815260200190815260200160002060010160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050505050565b600080600083815260200190815260200160002060010160149054906101000a900467ffffffffffffffff169050919050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610a8c5750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a9557600080fd5b837f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a084604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a28260008086815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b81600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610c4e5750600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610c5757600080fd5b610c618484610f0b565b837fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26684604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a250505050565b6000610cd8868686610617565b9050610ce5818484610f63565b505050505050565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b610df88484610b53565b610e03848383610f63565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff1660008084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8060008084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60008084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611084578160008085815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550827f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a083604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a25b60008084815260200190815260200160002060010160149054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff1614611151578060008085815260200190815260200160002060010160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550827f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6882604051808267ffffffffffffffff1667ffffffffffffffff16815260200191505060405180910390a25b50505056fea265627a7a723158207b5a893502e908f44aa238df4c84f15a53b16ec0f0e4ca667c972fe8f918e5d364736f6c63430005100032", - "sourceMap": "84:5835:3:-;;;621:69;8:9:-1;5:2;;;30:1;27;20:12;5:2;621:69:3;673:10;652:7;:12;660:3;652:12;;;;;;;;;;;;;:18;;;:31;;;;;;;;;;;;;;;;;;84:5835;;;;;;", - "deployedSourceMap": "84:5835:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;84:5835:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4325:108;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4325:108:3;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3940:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3940:212:3;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2340:287;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2340:287:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3119:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3119:138:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4601:97;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4601:97:3;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2802:169;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2802:169:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1882:146;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1882:146:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1412:231;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;1412:231:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3591:189;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3591:189:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;931:174;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;931:174:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5303:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5303:138:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4868:122;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4868:122:3;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4325:108;4378:7;4404;:13;4412:4;4404:13;;;;;;;;;;;:22;;;;;;;;;;;;4397:29;;4325:108;;;:::o;3940:212::-;3990:7;4009:12;4024:7;:13;4032:4;4024:13;;;;;;;;;;;:19;;;;;;;;;;;;4009:34;;4073:4;4057:21;;:4;:21;;;4053:71;;;4109:3;4094:19;;;;;4053:71;4141:4;4134:11;;;3940:212;;;;:::o;2340:287::-;2441:7;2427:4;432:13;448:7;:13;456:4;448:13;;;;;;;;;;;:19;;;;;;;;;;;;432:35;;494:10;485:19;;:5;:19;;;:51;;;;508:9;:16;518:5;508:16;;;;;;;;;;;;;;;:28;525:10;508:28;;;;;;;;;;;;;;;;;;;;;;;;;485:51;477:60;;;;;;2460:15;2505:4;2511:5;2488:29;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2488:29:3;;;2478:40;;;;;;2460:58;;2528:25;2538:7;2547:5;2528:9;:25::i;:::-;2583:5;2577:4;2568:28;2590:5;2568:28;;;;;;;;;;;;;;;;;;;;;;2613:7;2606:14;;;2340:287;;;;;;;:::o;3119:138::-;3179:4;432:13;448:7;:13;456:4;448:13;;;;;;;;;;;:19;;;;;;;;;;;;432:35;;494:10;485:19;;:5;:19;;;:51;;;;508:9;:16;518:5;508:16;;;;;;;;;;;;;;;:28;525:10;508:28;;;;;;;;;;;;;;;;;;;;;;;;;485:51;477:60;;;;;;3207:4;3200:17;3213:3;3200:17;;;;;;;;;;;;;;;;;;;;;;3247:3;3227:7;:13;3235:4;3227:13;;;;;;;;;;;:17;;;:23;;;;;;;;;;;;;;;;;;3119:138;;;;:::o;4601:97::-;4649:6;4674:7;:13;4682:4;4674:13;;;;;;;;;;;:17;;;;;;;;;;;;4667:24;;4601:97;;;:::o;2802:169::-;2873:4;432:13;448:7;:13;456:4;448:13;;;;;;;;;;;:19;;;;;;;;;;;;432:35;;494:10;485:19;;:5;:19;;;:51;;;;508:9;:16;518:5;508:16;;;;;;;;;;;;;;;:28;525:10;508:28;;;;;;;;;;;;;;;;;;;;;;;;;485:51;477:60;;;;;;2906:4;2894:27;2912:8;2894:27;;;;;;;;;;;;;;;;;;;;;;2956:8;2931:7;:13;2939:4;2931:13;;;;;;;;;;;:22;;;:33;;;;;;;;;;;;;;;;;;2802:169;;;;:::o;1882:146::-;1947:4;432:13;448:7;:13;456:4;448:13;;;;;;;;;;;:19;;;;;;;;;;;;432:35;;494:10;485:19;;:5;:19;;;:51;;;;508:9;:16;518:5;508:16;;;;;;;;;;;;;;;:28;525:10;508:28;;;;;;;;;;;;;;;;;;;;;;;;;485:51;477:60;;;;;;1963:22;1973:4;1979:5;1963:9;:22::i;:::-;2009:4;2000:21;2015:5;2000:21;;;;;;;;;;;;;;;;;;;;;;1882:146;;;;:::o;1412:231::-;1531:15;1549:35;1565:4;1571:5;1578;1549:15;:35::i;:::-;1531:53;;1594:42;1613:7;1622:8;1632:3;1594:18;:42::i;:::-;1412:231;;;;;;:::o;3591:189::-;3704:8;3670:9;:21;3680:10;3670:21;;;;;;;;;;;;;;;:31;3692:8;3670:31;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;3754:8;3727:46;;3742:10;3727:46;;;3764:8;3727:46;;;;;;;;;;;;;;;;;;;;;;3591:189;;:::o;931:174::-;1028:21;1037:4;1043:5;1028:8;:21::i;:::-;1059:39;1078:4;1084:8;1094:3;1059:18;:39::i;:::-;931:174;;;;:::o;5303:138::-;5385:4;5408:9;:16;5418:5;5408:16;;;;;;;;;;;;;;;:26;5425:8;5408:26;;;;;;;;;;;;;;;;;;;;;;;;;5401:33;;5303:138;;;;:::o;4868:122::-;4925:4;4979:3;4948:35;;:7;:13;4956:4;4948:13;;;;;;;;;;;:19;;;;;;;;;;;;:35;;;;4941:42;;4868:122;;;:::o;5447:101::-;5536:5;5514:7;:13;5522:4;5514:13;;;;;;;;;;;:19;;;:27;;;;;;;;;;;;;;;;;;5447:101;;:::o;5554:363::-;5660:7;:13;5668:4;5660:13;;;;;;;;;;;:22;;;;;;;;;;;;5648:34;;:8;:34;;;5645:143;;5723:8;5698:7;:13;5706:4;5698:13;;;;;;;;;;;:22;;;:33;;;;;;;;;;;;;;;;;;5762:4;5750:27;5768:8;5750:27;;;;;;;;;;;;;;;;;;;;;;5645:143;5808:7;:13;5816:4;5808:13;;;;;;;;;;;:17;;;;;;;;;;;;5801:24;;:3;:24;;;5798:113;;5861:3;5841:7;:13;5849:4;5841:13;;;;;;;;;;;:17;;;:23;;;;;;;;;;;;;;;;;;5890:4;5883:17;5896:3;5883:17;;;;;;;;;;;;;;;;;;;;;;5798:113;5554:363;;;:::o", - "source": "pragma solidity ^0.5.0;\n\nimport \"./ENS.sol\";\n\n/**\n * The ENS registry contract.\n */\ncontract ENSRegistry is ENS {\n\n struct Record {\n address owner;\n address resolver;\n uint64 ttl;\n }\n\n mapping (bytes32 => Record) records;\n mapping (address => mapping(address => bool)) operators;\n\n // Permits modifications only by the owner of the specified node.\n modifier authorised(bytes32 node) {\n address owner = records[node].owner;\n require(owner == msg.sender || operators[owner][msg.sender]);\n _;\n }\n\n /**\n * @dev Constructs a new ENS registrar.\n */\n constructor() public {\n records[0x0].owner = msg.sender;\n }\n\n /**\n * @dev Sets the record for a node.\n * @param node The node to update.\n * @param owner The address of the new owner.\n * @param resolver The address of the resolver.\n * @param ttl The TTL in seconds.\n */\n function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external {\n setOwner(node, owner);\n _setResolverAndTTL(node, resolver, ttl);\n }\n\n /**\n * @dev Sets the record for a subnode.\n * @param node The parent node.\n * @param label The hash of the label specifying the subnode.\n * @param owner The address of the new owner.\n * @param resolver The address of the resolver.\n * @param ttl The TTL in seconds.\n */\n function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external {\n bytes32 subnode = setSubnodeOwner(node, label, owner);\n _setResolverAndTTL(subnode, resolver, ttl);\n }\n\n /**\n * @dev Transfers ownership of a node to a new address. May only be called by the current owner of the node.\n * @param node The node to transfer ownership of.\n * @param owner The address of the new owner.\n */\n function setOwner(bytes32 node, address owner) public authorised(node) {\n _setOwner(node, owner);\n emit Transfer(node, owner);\n }\n\n /**\n * @dev Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.\n * @param node The parent node.\n * @param label The hash of the label specifying the subnode.\n * @param owner The address of the new owner.\n */\n function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public authorised(node) returns(bytes32) {\n bytes32 subnode = keccak256(abi.encodePacked(node, label));\n _setOwner(subnode, owner);\n emit NewOwner(node, label, owner);\n return subnode;\n }\n\n /**\n * @dev Sets the resolver address for the specified node.\n * @param node The node to update.\n * @param resolver The address of the resolver.\n */\n function setResolver(bytes32 node, address resolver) public authorised(node) {\n emit NewResolver(node, resolver);\n records[node].resolver = resolver;\n }\n\n /**\n * @dev Sets the TTL for the specified node.\n * @param node The node to update.\n * @param ttl The TTL in seconds.\n */\n function setTTL(bytes32 node, uint64 ttl) public authorised(node) {\n emit NewTTL(node, ttl);\n records[node].ttl = ttl;\n }\n\n /**\n * @dev Enable or disable approval for a third party (\"operator\") to manage\n * all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.\n * @param operator Address to add to the set of authorized operators.\n * @param approved True if the operator is approved, false to revoke approval.\n */\n function setApprovalForAll(address operator, bool approved) external {\n operators[msg.sender][operator] = approved;\n emit ApprovalForAll(msg.sender, operator, approved);\n }\n\n /**\n * @dev Returns the address that owns the specified node.\n * @param node The specified node.\n * @return address of the owner.\n */\n function owner(bytes32 node) public view returns (address) {\n address addr = records[node].owner;\n if (addr == address(this)) {\n return address(0x0);\n }\n\n return addr;\n }\n\n /**\n * @dev Returns the address of the resolver for the specified node.\n * @param node The specified node.\n * @return address of the resolver.\n */\n function resolver(bytes32 node) public view returns (address) {\n return records[node].resolver;\n }\n\n /**\n * @dev Returns the TTL of a node, and any records associated with it.\n * @param node The specified node.\n * @return ttl of the node.\n */\n function ttl(bytes32 node) public view returns (uint64) {\n return records[node].ttl;\n }\n\n /**\n * @dev Returns whether a record has been imported to the registry.\n * @param node The specified node.\n * @return Bool if record exists\n */\n function recordExists(bytes32 node) public view returns (bool) {\n return records[node].owner != address(0x0);\n }\n\n /**\n * @dev Query if an address is an authorized operator for another address.\n * @param owner The address that owns the records.\n * @param operator The address that acts on behalf of the owner.\n * @return True if `operator` is an approved operator for `owner`, false otherwise.\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool) {\n return operators[owner][operator];\n }\n\n function _setOwner(bytes32 node, address owner) internal {\n records[node].owner = owner;\n }\n\n function _setResolverAndTTL(bytes32 node, address resolver, uint64 ttl) internal {\n if(resolver != records[node].resolver) {\n records[node].resolver = resolver;\n emit NewResolver(node, resolver);\n }\n\n if(ttl != records[node].ttl) {\n records[node].ttl = ttl;\n emit NewTTL(node, ttl);\n }\n }\n}\n", - "sourcePath": "/Users/makoto/work/ens/ens/contracts/ENSRegistry.sol", - "ast": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENSRegistry.sol", - "exportedSymbols": { - "ENSRegistry": [ - 830 - ] - }, - "id": 831, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 438, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:3" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 439, - "nodeType": "ImportDirective", - "scope": 831, - "sourceUnit": 437, - "src": "25:19:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 440, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "108:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 441, - "nodeType": "InheritanceSpecifier", - "src": "108:3:3" - } - ], - "contractDependencies": [ - 436 - ], - "contractKind": "contract", - "documentation": "The ENS registry contract.", - "fullyImplemented": true, - "id": 830, - "linearizedBaseContracts": [ - 830, - 436 - ], - "name": "ENSRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "ENSRegistry.Record", - "id": 448, - "members": [ - { - "constant": false, - "id": 443, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "143:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "143:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 445, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "166:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "166:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 447, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "192:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 446, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "192:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Record", - "nodeType": "StructDefinition", - "scope": 830, - "src": "119:90:3", - "visibility": "public" - }, - { - "constant": false, - "id": 452, - "name": "records", - "nodeType": "VariableDeclaration", - "scope": 830, - "src": "215:35:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record)" - }, - "typeName": { - "id": 451, - "keyType": { - "id": 449, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "224:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "215:27:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record)" - }, - "valueType": { - "contractScope": null, - "id": 450, - "name": "Record", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 448, - "src": "235:6:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage_ptr", - "typeString": "struct ENSRegistry.Record" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 458, - "name": "operators", - "nodeType": "VariableDeclaration", - "scope": 830, - "src": "256:55:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 457, - "keyType": { - "id": 453, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "265:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "256:45:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 456, - "keyType": { - "id": 454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "284:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "276:24:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 455, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "295:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "body": { - "id": 484, - "nodeType": "Block", - "src": "422:133:3", - "statements": [ - { - "assignments": [ - 463 - ], - "declarations": [ - { - "constant": false, - "id": 463, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 484, - "src": "432:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "432:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 468, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 464, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "448:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 466, - "indexExpression": { - "argumentTypes": null, - "id": 465, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 460, - "src": "456:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "448:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "448:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "432:35:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 470, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "485:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 471, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "494:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "494:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "485:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 474, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "508:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 476, - "indexExpression": { - "argumentTypes": null, - "id": 475, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "518:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "508:16:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 479, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 477, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "525:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "525:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "508:28:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "485:51:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 469, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3035, - 3036 - ], - "referencedDeclaration": 3035, - "src": "477:7:3", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "477:60:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 482, - "nodeType": "ExpressionStatement", - "src": "477:60:3" - }, - { - "id": 483, - "nodeType": "PlaceholderStatement", - "src": "547:1:3" - } - ] - }, - "documentation": null, - "id": 485, - "name": "authorised", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 460, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 485, - "src": "408:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 459, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "408:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "407:14:3" - }, - "src": "388:167:3", - "visibility": "internal" - }, - { - "body": { - "id": 496, - "nodeType": "Block", - "src": "642:48:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 488, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "652:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 490, - "indexExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "660:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "652:12:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 491, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "652:18:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 492, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "673:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "673:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "652:31:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 495, - "nodeType": "ExpressionStatement", - "src": "652:31:3" - } - ] - }, - "documentation": "@dev Constructs a new ENS registrar.", - "id": 497, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 486, - "nodeType": "ParameterList", - "parameters": [], - "src": "632:2:3" - }, - "returnParameters": { - "id": 487, - "nodeType": "ParameterList", - "parameters": [], - "src": "642:0:3" - }, - "scope": 830, - "src": "621:69:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 519, - "nodeType": "Block", - "src": "1018:87:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 509, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 499, - "src": "1037:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 510, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 501, - "src": "1043:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 508, - "name": "setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 569, - "src": "1028:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1028:21:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 512, - "nodeType": "ExpressionStatement", - "src": "1028:21:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 514, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 499, - "src": "1078:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 515, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 503, - "src": "1084:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 516, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 505, - "src": "1094:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 513, - "name": "_setResolverAndTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "1059:18:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,address,uint64)" - } - }, - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1059:39:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 518, - "nodeType": "ExpressionStatement", - "src": "1059:39:3" - } - ] - }, - "documentation": "@dev Sets the record for a node.\n@param node The node to update.\n@param owner The address of the new owner.\n@param resolver The address of the resolver.\n@param ttl The TTL in seconds.", - "id": 520, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setRecord", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 499, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "950:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 498, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "950:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 501, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "964:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 500, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "964:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 503, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "979:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "979:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 505, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "997:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 504, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "997:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "949:59:3" - }, - "returnParameters": { - "id": 507, - "nodeType": "ParameterList", - "parameters": [], - "src": "1018:0:3" - }, - "scope": 830, - "src": "931:174:3", - "stateMutability": "nonpayable", - "superFunction": 346, - "visibility": "external" - }, - { - "body": { - "id": 547, - "nodeType": "Block", - "src": "1521:122:3", - "statements": [ - { - "assignments": [ - 534 - ], - "declarations": [ - { - "constant": false, - "id": 534, - "name": "subnode", - "nodeType": "VariableDeclaration", - "scope": 547, - "src": "1531:15:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 533, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1531:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 540, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 536, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 522, - "src": "1565:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 537, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "1571:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 538, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 526, - "src": "1578:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 535, - "name": "setSubnodeOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 607, - "src": "1549:15:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) returns (bytes32)" - } - }, - "id": 539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1549:35:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1531:53:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 542, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 534, - "src": "1613:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 543, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "1622:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 544, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 530, - "src": "1632:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 541, - "name": "_setResolverAndTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "1594:18:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,address,uint64)" - } - }, - "id": 545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1594:42:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 546, - "nodeType": "ExpressionStatement", - "src": "1594:42:3" - } - ] - }, - "documentation": "@dev Sets the record for a subnode.\n@param node The parent node.\n@param label The hash of the label specifying the subnode.\n@param owner The address of the new owner.\n@param resolver The address of the resolver.\n@param ttl The TTL in seconds.", - "id": 548, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setSubnodeRecord", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 522, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1438:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1438:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 524, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1452:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 523, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1452:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 526, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1467:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1467:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 528, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1482:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 527, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1482:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 530, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1500:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 529, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1500:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1437:74:3" - }, - "returnParameters": { - "id": 532, - "nodeType": "ParameterList", - "parameters": [], - "src": "1521:0:3" - }, - "scope": 830, - "src": "1412:231:3", - "stateMutability": "nonpayable", - "superFunction": 359, - "visibility": "external" - }, - { - "body": { - "id": 568, - "nodeType": "Block", - "src": "1953:75:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 559, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "1973:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 560, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 552, - "src": "1979:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 558, - "name": "_setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "1963:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1963:22:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 562, - "nodeType": "ExpressionStatement", - "src": "1963:22:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 564, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "2009:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 565, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 552, - "src": "2015:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 563, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 315, - "src": "2000:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2000:21:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 567, - "nodeType": "EmitStatement", - "src": "1995:26:3" - } - ] - }, - "documentation": "@dev Transfers ownership of a node to a new address. May only be called by the current owner of the node.\n@param node The node to transfer ownership of.\n@param owner The address of the new owner.", - "id": 569, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 555, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "1947:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 556, - "modifierName": { - "argumentTypes": null, - "id": 554, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "1936:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1936:16:3" - } - ], - "name": "setOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 550, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 569, - "src": "1900:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 549, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1900:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 552, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 569, - "src": "1914:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1914:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1899:29:3" - }, - "returnParameters": { - "id": 557, - "nodeType": "ParameterList", - "parameters": [], - "src": "1953:0:3" - }, - "scope": 830, - "src": "1882:146:3", - "stateMutability": "nonpayable", - "superFunction": 384, - "visibility": "public" - }, - { - "body": { - "id": 606, - "nodeType": "Block", - "src": "2450:177:3", - "statements": [ - { - "assignments": [ - 584 - ], - "declarations": [ - { - "constant": false, - "id": 584, - "name": "subnode", - "nodeType": "VariableDeclaration", - "scope": 606, - "src": "2460:15:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2460:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 592, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 588, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2505:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 589, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 573, - "src": "2511:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "2488:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2488:16:3", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2488:29:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 585, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "2478:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2478:40:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2460:58:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 594, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 584, - "src": "2538:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 595, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "2547:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 593, - "name": "_setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "2528:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2528:25:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 597, - "nodeType": "ExpressionStatement", - "src": "2528:25:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 599, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2577:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 600, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 573, - "src": "2583:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 601, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "2590:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 598, - "name": "NewOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "2568:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,bytes32,address)" - } - }, - "id": 602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2568:28:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 603, - "nodeType": "EmitStatement", - "src": "2563:33:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 604, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 584, - "src": "2613:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 582, - "id": 605, - "nodeType": "Return", - "src": "2606:14:3" - } - ] - }, - "documentation": "@dev Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.\n@param node The parent node.\n@param label The hash of the label specifying the subnode.\n@param owner The address of the new owner.", - "id": 607, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 578, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2427:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 579, - "modifierName": { - "argumentTypes": null, - "id": 577, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "2416:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2416:16:3" - } - ], - "name": "setSubnodeOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 576, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 571, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2365:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 570, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2365:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 573, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2379:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 572, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2379:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 575, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2394:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2394:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2364:44:3" - }, - "returnParameters": { - "id": 582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 581, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2441:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 580, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2441:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2440:9:3" - }, - "scope": 830, - "src": "2340:287:3", - "stateMutability": "nonpayable", - "superFunction": 370, - "visibility": "public" - }, - { - "body": { - "id": 629, - "nodeType": "Block", - "src": "2879:92:3", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 618, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2906:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 619, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 611, - "src": "2912:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 617, - "name": "NewResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 321, - "src": "2894:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2894:27:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 621, - "nodeType": "EmitStatement", - "src": "2889:32:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 622, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "2931:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 624, - "indexExpression": { - "argumentTypes": null, - "id": 623, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2939:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2931:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 625, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "2931:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 626, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 611, - "src": "2956:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2931:33:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 628, - "nodeType": "ExpressionStatement", - "src": "2931:33:3" - } - ] - }, - "documentation": "@dev Sets the resolver address for the specified node.\n@param node The node to update.\n@param resolver The address of the resolver.", - "id": 630, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 614, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2873:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 615, - "modifierName": { - "argumentTypes": null, - "id": 613, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "2862:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2862:16:3" - } - ], - "name": "setResolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 609, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 630, - "src": "2823:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 608, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2823:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 611, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 630, - "src": "2837:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 610, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2837:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2822:32:3" - }, - "returnParameters": { - "id": 616, - "nodeType": "ParameterList", - "parameters": [], - "src": "2879:0:3" - }, - "scope": 830, - "src": "2802:169:3", - "stateMutability": "nonpayable", - "superFunction": 377, - "visibility": "public" - }, - { - "body": { - "id": 652, - "nodeType": "Block", - "src": "3185:72:3", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 641, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3207:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 642, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "3213:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 640, - "name": "NewTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "3200:6:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,uint64)" - } - }, - "id": 643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3200:17:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 644, - "nodeType": "EmitStatement", - "src": "3195:22:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 645, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "3227:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 647, - "indexExpression": { - "argumentTypes": null, - "id": 646, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3235:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3227:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "3227:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 649, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "3247:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "3227:23:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 651, - "nodeType": "ExpressionStatement", - "src": "3227:23:3" - } - ] - }, - "documentation": "@dev Sets the TTL for the specified node.\n@param node The node to update.\n@param ttl The TTL in seconds.", - "id": 653, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 637, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3179:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 638, - "modifierName": { - "argumentTypes": null, - "id": 636, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "3168:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "3168:16:3" - } - ], - "name": "setTTL", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 632, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 653, - "src": "3135:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 631, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3135:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 634, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 653, - "src": "3149:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 633, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3149:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3134:26:3" - }, - "returnParameters": { - "id": 639, - "nodeType": "ParameterList", - "parameters": [], - "src": "3185:0:3" - }, - "scope": 830, - "src": "3119:138:3", - "stateMutability": "nonpayable", - "superFunction": 391, - "visibility": "public" - }, - { - "body": { - "id": 676, - "nodeType": "Block", - "src": "3660:120:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 660, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "3670:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 664, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 661, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "3680:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3680:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3670:21:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 665, - "indexExpression": { - "argumentTypes": null, - "id": 663, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 655, - "src": "3692:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3670:31:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 666, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 657, - "src": "3704:8:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3670:42:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 668, - "nodeType": "ExpressionStatement", - "src": "3670:42:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 670, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "3742:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3742:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 672, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 655, - "src": "3754:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 673, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 657, - "src": "3764:8:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 669, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3727:14:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3727:46:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 675, - "nodeType": "EmitStatement", - "src": "3722:51:3" - } - ] - }, - "documentation": "@dev Enable or disable approval for a third party (\"operator\") to manage\n all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.\n@param operator Address to add to the set of authorized operators.\n@param approved True if the operator is approved, false to revoke approval.", - "id": 677, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 655, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 677, - "src": "3618:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 654, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3618:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 657, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 677, - "src": "3636:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3636:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3617:33:3" - }, - "returnParameters": { - "id": 659, - "nodeType": "ParameterList", - "parameters": [], - "src": "3660:0:3" - }, - "scope": 830, - "src": "3591:189:3", - "stateMutability": "nonpayable", - "superFunction": 398, - "visibility": "external" - }, - { - "body": { - "id": 704, - "nodeType": "Block", - "src": "3999:153:3", - "statements": [ - { - "assignments": [ - 685 - ], - "declarations": [ - { - "constant": false, - "id": 685, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 704, - "src": "4009:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 684, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4009:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 690, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 686, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4024:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 688, - "indexExpression": { - "argumentTypes": null, - "id": 687, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 679, - "src": "4032:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4024:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 689, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "4024:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4009:34:3" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 691, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "4057:4:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 693, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "4073:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSRegistry_$830", - "typeString": "contract ENSRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENSRegistry_$830", - "typeString": "contract ENSRegistry" - } - ], - "id": 692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4065:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4065:13:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4057:21:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 701, - "nodeType": "IfStatement", - "src": "4053:71:3", - "trueBody": { - "id": 700, - "nodeType": "Block", - "src": "4080:44:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4109:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4101:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4101:12:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 683, - "id": 699, - "nodeType": "Return", - "src": "4094:19:3" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 702, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "4141:4:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 683, - "id": 703, - "nodeType": "Return", - "src": "4134:11:3" - } - ] - }, - "documentation": "@dev Returns the address that owns the specified node.\n@param node The specified node.\n@return address of the owner.", - "id": 705, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 679, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 705, - "src": "3955:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 678, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3955:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3954:14:3" - }, - "returnParameters": { - "id": 683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 682, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 705, - "src": "3990:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3990:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3989:9:3" - }, - "scope": 830, - "src": "3940:212:3", - "stateMutability": "view", - "superFunction": 405, - "visibility": "public" - }, - { - "body": { - "id": 717, - "nodeType": "Block", - "src": "4387:46:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 712, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4404:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 714, - "indexExpression": { - "argumentTypes": null, - "id": 713, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "4412:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4404:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 715, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "4404:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 711, - "id": 716, - "nodeType": "Return", - "src": "4397:29:3" - } - ] - }, - "documentation": "@dev Returns the address of the resolver for the specified node.\n@param node The specified node.\n@return address of the resolver.", - "id": 718, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "resolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 708, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 707, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 718, - "src": "4343:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 706, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4343:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4342:14:3" - }, - "returnParameters": { - "id": 711, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 710, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 718, - "src": "4378:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4378:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4377:9:3" - }, - "scope": 830, - "src": "4325:108:3", - "stateMutability": "view", - "superFunction": 412, - "visibility": "public" - }, - { - "body": { - "id": 730, - "nodeType": "Block", - "src": "4657:41:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 725, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4674:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 727, - "indexExpression": { - "argumentTypes": null, - "id": 726, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 720, - "src": "4682:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4674:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "4674:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 724, - "id": 729, - "nodeType": "Return", - "src": "4667:24:3" - } - ] - }, - "documentation": "@dev Returns the TTL of a node, and any records associated with it.\n@param node The specified node.\n@return ttl of the node.", - "id": 731, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ttl", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 720, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 731, - "src": "4614:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 719, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4614:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4613:14:3" - }, - "returnParameters": { - "id": 724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 723, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 731, - "src": "4649:6:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 722, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4649:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4648:8:3" - }, - "scope": 830, - "src": "4601:97:3", - "stateMutability": "view", - "superFunction": 419, - "visibility": "public" - }, - { - "body": { - "id": 747, - "nodeType": "Block", - "src": "4931:59:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 738, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4948:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 740, - "indexExpression": { - "argumentTypes": null, - "id": 739, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "4956:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4948:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 741, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "4948:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4979:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4971:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4971:12:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4948:35:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 737, - "id": 746, - "nodeType": "Return", - "src": "4941:42:3" - } - ] - }, - "documentation": "@dev Returns whether a record has been imported to the registry.\n@param node The specified node.\n@return Bool if record exists", - "id": 748, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "recordExists", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 734, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 733, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 748, - "src": "4890:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4890:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4889:14:3" - }, - "returnParameters": { - "id": 737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 736, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 748, - "src": "4925:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 735, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4925:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4924:6:3" - }, - "scope": 830, - "src": "4868:122:3", - "stateMutability": "view", - "superFunction": 426, - "visibility": "public" - }, - { - "body": { - "id": 763, - "nodeType": "Block", - "src": "5391:50:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 757, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "5408:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 759, - "indexExpression": { - "argumentTypes": null, - "id": 758, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 750, - "src": "5418:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5408:16:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 761, - "indexExpression": { - "argumentTypes": null, - "id": 760, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "5425:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5408:26:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 756, - "id": 762, - "nodeType": "Return", - "src": "5401:33:3" - } - ] - }, - "documentation": "@dev Query if an address is an authorized operator for another address.\n@param owner The address that owns the records.\n@param operator The address that acts on behalf of the owner.\n@return True if `operator` is an approved operator for `owner`, false otherwise.", - "id": 764, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 750, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5329:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5329:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 752, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5344:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5344:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5328:33:3" - }, - "returnParameters": { - "id": 756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 755, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5385:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5385:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5384:6:3" - }, - "scope": 830, - "src": "5303:138:3", - "stateMutability": "view", - "superFunction": 435, - "visibility": "external" - }, - { - "body": { - "id": 778, - "nodeType": "Block", - "src": "5504:44:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 771, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5514:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 773, - "indexExpression": { - "argumentTypes": null, - "id": 772, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 766, - "src": "5522:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5514:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 774, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "5514:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 775, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 768, - "src": "5536:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5514:27:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 777, - "nodeType": "ExpressionStatement", - "src": "5514:27:3" - } - ] - }, - "documentation": null, - "id": 779, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 766, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "5466:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 765, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5466:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 768, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "5480:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 767, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5480:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5465:29:3" - }, - "returnParameters": { - "id": 770, - "nodeType": "ParameterList", - "parameters": [], - "src": "5504:0:3" - }, - "scope": 830, - "src": "5447:101:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 828, - "nodeType": "Block", - "src": "5635:282:3", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 788, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5648:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 789, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5660:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 791, - "indexExpression": { - "argumentTypes": null, - "id": 790, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5668:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5660:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "5660:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5648:34:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 807, - "nodeType": "IfStatement", - "src": "5645:143:3", - "trueBody": { - "id": 806, - "nodeType": "Block", - "src": "5684:104:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 794, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5698:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 796, - "indexExpression": { - "argumentTypes": null, - "id": 795, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5706:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5698:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "5698:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 798, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5723:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5698:33:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 800, - "nodeType": "ExpressionStatement", - "src": "5698:33:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 802, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5762:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 803, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5768:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 801, - "name": "NewResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 321, - "src": "5750:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5750:27:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 805, - "nodeType": "EmitStatement", - "src": "5745:32:3" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 808, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5801:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 809, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5808:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 811, - "indexExpression": { - "argumentTypes": null, - "id": 810, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5816:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5808:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 812, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "5808:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "5801:24:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 827, - "nodeType": "IfStatement", - "src": "5798:113:3", - "trueBody": { - "id": 826, - "nodeType": "Block", - "src": "5827:84:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 814, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5841:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 816, - "indexExpression": { - "argumentTypes": null, - "id": 815, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5849:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5841:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "5841:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 818, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5861:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "5841:23:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 820, - "nodeType": "ExpressionStatement", - "src": "5841:23:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 822, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5890:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 823, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5896:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 821, - "name": "NewTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "5883:6:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,uint64)" - } - }, - "id": 824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5883:17:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 825, - "nodeType": "EmitStatement", - "src": "5878:22:3" - } - ] - } - } - ] - }, - "documentation": null, - "id": 829, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setResolverAndTTL", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 781, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5582:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 780, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5582:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 783, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5596:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5596:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 785, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5614:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 784, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5614:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5581:44:3" - }, - "returnParameters": { - "id": 787, - "nodeType": "ParameterList", - "parameters": [], - "src": "5635:0:3" - }, - "scope": 830, - "src": "5554:363:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 831, - "src": "84:5835:3" - } - ], - "src": "0:5920:3" - }, - "legacyAST": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENSRegistry.sol", - "exportedSymbols": { - "ENSRegistry": [ - 830 - ] - }, - "id": 831, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 438, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:3" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 439, - "nodeType": "ImportDirective", - "scope": 831, - "sourceUnit": 437, - "src": "25:19:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 440, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "108:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 441, - "nodeType": "InheritanceSpecifier", - "src": "108:3:3" - } - ], - "contractDependencies": [ - 436 - ], - "contractKind": "contract", - "documentation": "The ENS registry contract.", - "fullyImplemented": true, - "id": 830, - "linearizedBaseContracts": [ - 830, - 436 - ], - "name": "ENSRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "ENSRegistry.Record", - "id": 448, - "members": [ - { - "constant": false, - "id": 443, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "143:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "143:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 445, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "166:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "166:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 447, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 448, - "src": "192:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 446, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "192:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Record", - "nodeType": "StructDefinition", - "scope": 830, - "src": "119:90:3", - "visibility": "public" - }, - { - "constant": false, - "id": 452, - "name": "records", - "nodeType": "VariableDeclaration", - "scope": 830, - "src": "215:35:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record)" - }, - "typeName": { - "id": 451, - "keyType": { - "id": 449, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "224:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "215:27:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record)" - }, - "valueType": { - "contractScope": null, - "id": 450, - "name": "Record", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 448, - "src": "235:6:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage_ptr", - "typeString": "struct ENSRegistry.Record" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 458, - "name": "operators", - "nodeType": "VariableDeclaration", - "scope": 830, - "src": "256:55:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 457, - "keyType": { - "id": 453, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "265:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "256:45:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 456, - "keyType": { - "id": 454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "284:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "276:24:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 455, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "295:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "body": { - "id": 484, - "nodeType": "Block", - "src": "422:133:3", - "statements": [ - { - "assignments": [ - 463 - ], - "declarations": [ - { - "constant": false, - "id": 463, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 484, - "src": "432:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "432:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 468, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 464, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "448:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 466, - "indexExpression": { - "argumentTypes": null, - "id": 465, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 460, - "src": "456:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "448:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "448:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "432:35:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 470, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "485:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 471, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "494:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "494:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "485:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 474, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "508:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 476, - "indexExpression": { - "argumentTypes": null, - "id": 475, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 463, - "src": "518:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "508:16:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 479, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 477, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "525:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "525:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "508:28:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "485:51:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 469, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3035, - 3036 - ], - "referencedDeclaration": 3035, - "src": "477:7:3", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "477:60:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 482, - "nodeType": "ExpressionStatement", - "src": "477:60:3" - }, - { - "id": 483, - "nodeType": "PlaceholderStatement", - "src": "547:1:3" - } - ] - }, - "documentation": null, - "id": 485, - "name": "authorised", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 460, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 485, - "src": "408:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 459, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "408:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "407:14:3" - }, - "src": "388:167:3", - "visibility": "internal" - }, - { - "body": { - "id": 496, - "nodeType": "Block", - "src": "642:48:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 488, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "652:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 490, - "indexExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "660:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "652:12:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 491, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "652:18:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 492, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "673:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "673:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "652:31:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 495, - "nodeType": "ExpressionStatement", - "src": "652:31:3" - } - ] - }, - "documentation": "@dev Constructs a new ENS registrar.", - "id": 497, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 486, - "nodeType": "ParameterList", - "parameters": [], - "src": "632:2:3" - }, - "returnParameters": { - "id": 487, - "nodeType": "ParameterList", - "parameters": [], - "src": "642:0:3" - }, - "scope": 830, - "src": "621:69:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 519, - "nodeType": "Block", - "src": "1018:87:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 509, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 499, - "src": "1037:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 510, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 501, - "src": "1043:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 508, - "name": "setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 569, - "src": "1028:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1028:21:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 512, - "nodeType": "ExpressionStatement", - "src": "1028:21:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 514, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 499, - "src": "1078:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 515, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 503, - "src": "1084:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 516, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 505, - "src": "1094:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 513, - "name": "_setResolverAndTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "1059:18:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,address,uint64)" - } - }, - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1059:39:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 518, - "nodeType": "ExpressionStatement", - "src": "1059:39:3" - } - ] - }, - "documentation": "@dev Sets the record for a node.\n@param node The node to update.\n@param owner The address of the new owner.\n@param resolver The address of the resolver.\n@param ttl The TTL in seconds.", - "id": 520, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setRecord", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 499, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "950:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 498, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "950:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 501, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "964:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 500, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "964:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 503, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "979:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "979:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 505, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 520, - "src": "997:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 504, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "997:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "949:59:3" - }, - "returnParameters": { - "id": 507, - "nodeType": "ParameterList", - "parameters": [], - "src": "1018:0:3" - }, - "scope": 830, - "src": "931:174:3", - "stateMutability": "nonpayable", - "superFunction": 346, - "visibility": "external" - }, - { - "body": { - "id": 547, - "nodeType": "Block", - "src": "1521:122:3", - "statements": [ - { - "assignments": [ - 534 - ], - "declarations": [ - { - "constant": false, - "id": 534, - "name": "subnode", - "nodeType": "VariableDeclaration", - "scope": 547, - "src": "1531:15:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 533, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1531:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 540, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 536, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 522, - "src": "1565:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 537, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "1571:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 538, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 526, - "src": "1578:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 535, - "name": "setSubnodeOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 607, - "src": "1549:15:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) returns (bytes32)" - } - }, - "id": 539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1549:35:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1531:53:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 542, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 534, - "src": "1613:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 543, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "1622:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 544, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 530, - "src": "1632:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 541, - "name": "_setResolverAndTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "1594:18:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,address,uint64)" - } - }, - "id": 545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1594:42:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 546, - "nodeType": "ExpressionStatement", - "src": "1594:42:3" - } - ] - }, - "documentation": "@dev Sets the record for a subnode.\n@param node The parent node.\n@param label The hash of the label specifying the subnode.\n@param owner The address of the new owner.\n@param resolver The address of the resolver.\n@param ttl The TTL in seconds.", - "id": 548, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setSubnodeRecord", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 522, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1438:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1438:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 524, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1452:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 523, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1452:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 526, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1467:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1467:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 528, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1482:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 527, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1482:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 530, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 548, - "src": "1500:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 529, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1500:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1437:74:3" - }, - "returnParameters": { - "id": 532, - "nodeType": "ParameterList", - "parameters": [], - "src": "1521:0:3" - }, - "scope": 830, - "src": "1412:231:3", - "stateMutability": "nonpayable", - "superFunction": 359, - "visibility": "external" - }, - { - "body": { - "id": 568, - "nodeType": "Block", - "src": "1953:75:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 559, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "1973:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 560, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 552, - "src": "1979:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 558, - "name": "_setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "1963:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1963:22:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 562, - "nodeType": "ExpressionStatement", - "src": "1963:22:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 564, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "2009:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 565, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 552, - "src": "2015:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 563, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 315, - "src": "2000:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2000:21:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 567, - "nodeType": "EmitStatement", - "src": "1995:26:3" - } - ] - }, - "documentation": "@dev Transfers ownership of a node to a new address. May only be called by the current owner of the node.\n@param node The node to transfer ownership of.\n@param owner The address of the new owner.", - "id": 569, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 555, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 550, - "src": "1947:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 556, - "modifierName": { - "argumentTypes": null, - "id": 554, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "1936:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1936:16:3" - } - ], - "name": "setOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 550, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 569, - "src": "1900:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 549, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1900:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 552, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 569, - "src": "1914:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1914:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1899:29:3" - }, - "returnParameters": { - "id": 557, - "nodeType": "ParameterList", - "parameters": [], - "src": "1953:0:3" - }, - "scope": 830, - "src": "1882:146:3", - "stateMutability": "nonpayable", - "superFunction": 384, - "visibility": "public" - }, - { - "body": { - "id": 606, - "nodeType": "Block", - "src": "2450:177:3", - "statements": [ - { - "assignments": [ - 584 - ], - "declarations": [ - { - "constant": false, - "id": 584, - "name": "subnode", - "nodeType": "VariableDeclaration", - "scope": 606, - "src": "2460:15:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2460:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 592, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 588, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2505:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 589, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 573, - "src": "2511:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "2488:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2488:16:3", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2488:29:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 585, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "2478:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2478:40:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2460:58:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 594, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 584, - "src": "2538:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 595, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "2547:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 593, - "name": "_setOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 779, - "src": "2528:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2528:25:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 597, - "nodeType": "ExpressionStatement", - "src": "2528:25:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 599, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2577:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 600, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 573, - "src": "2583:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 601, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "2590:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 598, - "name": "NewOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "2568:8:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,bytes32,address)" - } - }, - "id": 602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2568:28:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 603, - "nodeType": "EmitStatement", - "src": "2563:33:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 604, - "name": "subnode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 584, - "src": "2613:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 582, - "id": 605, - "nodeType": "Return", - "src": "2606:14:3" - } - ] - }, - "documentation": "@dev Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.\n@param node The parent node.\n@param label The hash of the label specifying the subnode.\n@param owner The address of the new owner.", - "id": 607, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 578, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "2427:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 579, - "modifierName": { - "argumentTypes": null, - "id": 577, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "2416:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2416:16:3" - } - ], - "name": "setSubnodeOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 576, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 571, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2365:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 570, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2365:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 573, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2379:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 572, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2379:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 575, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2394:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2394:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2364:44:3" - }, - "returnParameters": { - "id": 582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 581, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "2441:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 580, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2441:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2440:9:3" - }, - "scope": 830, - "src": "2340:287:3", - "stateMutability": "nonpayable", - "superFunction": 370, - "visibility": "public" - }, - { - "body": { - "id": 629, - "nodeType": "Block", - "src": "2879:92:3", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 618, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2906:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 619, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 611, - "src": "2912:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 617, - "name": "NewResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 321, - "src": "2894:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2894:27:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 621, - "nodeType": "EmitStatement", - "src": "2889:32:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 622, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "2931:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 624, - "indexExpression": { - "argumentTypes": null, - "id": 623, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2939:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2931:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 625, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "2931:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 626, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 611, - "src": "2956:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2931:33:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 628, - "nodeType": "ExpressionStatement", - "src": "2931:33:3" - } - ] - }, - "documentation": "@dev Sets the resolver address for the specified node.\n@param node The node to update.\n@param resolver The address of the resolver.", - "id": 630, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 614, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "2873:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 615, - "modifierName": { - "argumentTypes": null, - "id": 613, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "2862:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2862:16:3" - } - ], - "name": "setResolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 609, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 630, - "src": "2823:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 608, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2823:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 611, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 630, - "src": "2837:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 610, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2837:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2822:32:3" - }, - "returnParameters": { - "id": 616, - "nodeType": "ParameterList", - "parameters": [], - "src": "2879:0:3" - }, - "scope": 830, - "src": "2802:169:3", - "stateMutability": "nonpayable", - "superFunction": 377, - "visibility": "public" - }, - { - "body": { - "id": 652, - "nodeType": "Block", - "src": "3185:72:3", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 641, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3207:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 642, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "3213:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 640, - "name": "NewTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "3200:6:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,uint64)" - } - }, - "id": 643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3200:17:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 644, - "nodeType": "EmitStatement", - "src": "3195:22:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 645, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "3227:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 647, - "indexExpression": { - "argumentTypes": null, - "id": 646, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3235:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3227:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 648, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "3227:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 649, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "3247:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "3227:23:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 651, - "nodeType": "ExpressionStatement", - "src": "3227:23:3" - } - ] - }, - "documentation": "@dev Sets the TTL for the specified node.\n@param node The node to update.\n@param ttl The TTL in seconds.", - "id": 653, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 637, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "3179:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 638, - "modifierName": { - "argumentTypes": null, - "id": 636, - "name": "authorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "3168:10:3", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "3168:16:3" - } - ], - "name": "setTTL", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 632, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 653, - "src": "3135:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 631, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3135:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 634, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 653, - "src": "3149:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 633, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3149:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3134:26:3" - }, - "returnParameters": { - "id": 639, - "nodeType": "ParameterList", - "parameters": [], - "src": "3185:0:3" - }, - "scope": 830, - "src": "3119:138:3", - "stateMutability": "nonpayable", - "superFunction": 391, - "visibility": "public" - }, - { - "body": { - "id": 676, - "nodeType": "Block", - "src": "3660:120:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 660, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "3670:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 664, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 661, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "3680:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3680:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3670:21:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 665, - "indexExpression": { - "argumentTypes": null, - "id": 663, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 655, - "src": "3692:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3670:31:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 666, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 657, - "src": "3704:8:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3670:42:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 668, - "nodeType": "ExpressionStatement", - "src": "3670:42:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 670, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "3742:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3742:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 672, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 655, - "src": "3754:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 673, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 657, - "src": "3764:8:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 669, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3727:14:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3727:46:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 675, - "nodeType": "EmitStatement", - "src": "3722:51:3" - } - ] - }, - "documentation": "@dev Enable or disable approval for a third party (\"operator\") to manage\n all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.\n@param operator Address to add to the set of authorized operators.\n@param approved True if the operator is approved, false to revoke approval.", - "id": 677, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 655, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 677, - "src": "3618:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 654, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3618:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 657, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 677, - "src": "3636:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3636:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3617:33:3" - }, - "returnParameters": { - "id": 659, - "nodeType": "ParameterList", - "parameters": [], - "src": "3660:0:3" - }, - "scope": 830, - "src": "3591:189:3", - "stateMutability": "nonpayable", - "superFunction": 398, - "visibility": "external" - }, - { - "body": { - "id": 704, - "nodeType": "Block", - "src": "3999:153:3", - "statements": [ - { - "assignments": [ - 685 - ], - "declarations": [ - { - "constant": false, - "id": 685, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 704, - "src": "4009:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 684, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4009:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 690, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 686, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4024:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 688, - "indexExpression": { - "argumentTypes": null, - "id": 687, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 679, - "src": "4032:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4024:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 689, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "4024:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4009:34:3" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 691, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "4057:4:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 693, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "4073:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSRegistry_$830", - "typeString": "contract ENSRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENSRegistry_$830", - "typeString": "contract ENSRegistry" - } - ], - "id": 692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4065:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4065:13:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4057:21:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 701, - "nodeType": "IfStatement", - "src": "4053:71:3", - "trueBody": { - "id": 700, - "nodeType": "Block", - "src": "4080:44:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4109:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4101:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4101:12:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 683, - "id": 699, - "nodeType": "Return", - "src": "4094:19:3" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 702, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "4141:4:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 683, - "id": 703, - "nodeType": "Return", - "src": "4134:11:3" - } - ] - }, - "documentation": "@dev Returns the address that owns the specified node.\n@param node The specified node.\n@return address of the owner.", - "id": 705, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 679, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 705, - "src": "3955:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 678, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3955:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3954:14:3" - }, - "returnParameters": { - "id": 683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 682, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 705, - "src": "3990:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3990:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3989:9:3" - }, - "scope": 830, - "src": "3940:212:3", - "stateMutability": "view", - "superFunction": 405, - "visibility": "public" - }, - { - "body": { - "id": 717, - "nodeType": "Block", - "src": "4387:46:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 712, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4404:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 714, - "indexExpression": { - "argumentTypes": null, - "id": 713, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "4412:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4404:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 715, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "4404:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 711, - "id": 716, - "nodeType": "Return", - "src": "4397:29:3" - } - ] - }, - "documentation": "@dev Returns the address of the resolver for the specified node.\n@param node The specified node.\n@return address of the resolver.", - "id": 718, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "resolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 708, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 707, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 718, - "src": "4343:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 706, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4343:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4342:14:3" - }, - "returnParameters": { - "id": 711, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 710, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 718, - "src": "4378:7:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4378:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4377:9:3" - }, - "scope": 830, - "src": "4325:108:3", - "stateMutability": "view", - "superFunction": 412, - "visibility": "public" - }, - { - "body": { - "id": 730, - "nodeType": "Block", - "src": "4657:41:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 725, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4674:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 727, - "indexExpression": { - "argumentTypes": null, - "id": 726, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 720, - "src": "4682:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4674:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "4674:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 724, - "id": 729, - "nodeType": "Return", - "src": "4667:24:3" - } - ] - }, - "documentation": "@dev Returns the TTL of a node, and any records associated with it.\n@param node The specified node.\n@return ttl of the node.", - "id": 731, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ttl", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 720, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 731, - "src": "4614:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 719, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4614:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4613:14:3" - }, - "returnParameters": { - "id": 724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 723, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 731, - "src": "4649:6:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 722, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4649:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4648:8:3" - }, - "scope": 830, - "src": "4601:97:3", - "stateMutability": "view", - "superFunction": 419, - "visibility": "public" - }, - { - "body": { - "id": 747, - "nodeType": "Block", - "src": "4931:59:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 738, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "4948:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 740, - "indexExpression": { - "argumentTypes": null, - "id": 739, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "4956:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4948:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 741, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "4948:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4979:3:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4971:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4971:12:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4948:35:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 737, - "id": 746, - "nodeType": "Return", - "src": "4941:42:3" - } - ] - }, - "documentation": "@dev Returns whether a record has been imported to the registry.\n@param node The specified node.\n@return Bool if record exists", - "id": 748, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "recordExists", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 734, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 733, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 748, - "src": "4890:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4890:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4889:14:3" - }, - "returnParameters": { - "id": 737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 736, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 748, - "src": "4925:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 735, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4925:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4924:6:3" - }, - "scope": 830, - "src": "4868:122:3", - "stateMutability": "view", - "superFunction": 426, - "visibility": "public" - }, - { - "body": { - "id": 763, - "nodeType": "Block", - "src": "5391:50:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 757, - "name": "operators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 458, - "src": "5408:9:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 759, - "indexExpression": { - "argumentTypes": null, - "id": 758, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 750, - "src": "5418:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5408:16:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 761, - "indexExpression": { - "argumentTypes": null, - "id": 760, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "5425:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5408:26:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 756, - "id": 762, - "nodeType": "Return", - "src": "5401:33:3" - } - ] - }, - "documentation": "@dev Query if an address is an authorized operator for another address.\n@param owner The address that owns the records.\n@param operator The address that acts on behalf of the owner.\n@return True if `operator` is an approved operator for `owner`, false otherwise.", - "id": 764, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 750, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5329:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5329:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 752, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5344:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5344:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5328:33:3" - }, - "returnParameters": { - "id": 756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 755, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 764, - "src": "5385:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5385:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5384:6:3" - }, - "scope": 830, - "src": "5303:138:3", - "stateMutability": "view", - "superFunction": 435, - "visibility": "external" - }, - { - "body": { - "id": 778, - "nodeType": "Block", - "src": "5504:44:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 771, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5514:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 773, - "indexExpression": { - "argumentTypes": null, - "id": 772, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 766, - "src": "5522:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5514:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 774, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 443, - "src": "5514:19:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 775, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 768, - "src": "5536:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5514:27:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 777, - "nodeType": "ExpressionStatement", - "src": "5514:27:3" - } - ] - }, - "documentation": null, - "id": 779, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 766, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "5466:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 765, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5466:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 768, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 779, - "src": "5480:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 767, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5480:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5465:29:3" - }, - "returnParameters": { - "id": 770, - "nodeType": "ParameterList", - "parameters": [], - "src": "5504:0:3" - }, - "scope": 830, - "src": "5447:101:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 828, - "nodeType": "Block", - "src": "5635:282:3", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 788, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5648:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 789, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5660:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 791, - "indexExpression": { - "argumentTypes": null, - "id": 790, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5668:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5660:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "5660:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5648:34:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 807, - "nodeType": "IfStatement", - "src": "5645:143:3", - "trueBody": { - "id": 806, - "nodeType": "Block", - "src": "5684:104:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 794, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5698:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 796, - "indexExpression": { - "argumentTypes": null, - "id": 795, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5706:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5698:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 445, - "src": "5698:22:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 798, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5723:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5698:33:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 800, - "nodeType": "ExpressionStatement", - "src": "5698:33:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 802, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5762:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 803, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 783, - "src": "5768:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 801, - "name": "NewResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 321, - "src": "5750:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5750:27:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 805, - "nodeType": "EmitStatement", - "src": "5745:32:3" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 808, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5801:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 809, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5808:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 811, - "indexExpression": { - "argumentTypes": null, - "id": 810, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5816:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5808:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 812, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "5808:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "5801:24:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 827, - "nodeType": "IfStatement", - "src": "5798:113:3", - "trueBody": { - "id": 826, - "nodeType": "Block", - "src": "5827:84:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 814, - "name": "records", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 452, - "src": "5841:7:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Record_$448_storage_$", - "typeString": "mapping(bytes32 => struct ENSRegistry.Record storage ref)" - } - }, - "id": 816, - "indexExpression": { - "argumentTypes": null, - "id": 815, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5849:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5841:13:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Record_$448_storage", - "typeString": "struct ENSRegistry.Record storage ref" - } - }, - "id": 817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "ttl", - "nodeType": "MemberAccess", - "referencedDeclaration": 447, - "src": "5841:17:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 818, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5861:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "5841:23:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 820, - "nodeType": "ExpressionStatement", - "src": "5841:23:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 822, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "5890:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 823, - "name": "ttl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 785, - "src": "5896:3:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "id": 821, - "name": "NewTTL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "5883:6:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$", - "typeString": "function (bytes32,uint64)" - } - }, - "id": 824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5883:17:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 825, - "nodeType": "EmitStatement", - "src": "5878:22:3" - } - ] - } - } - ] - }, - "documentation": null, - "id": 829, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setResolverAndTTL", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 781, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5582:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 780, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5582:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 783, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5596:16:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5596:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 785, - "name": "ttl", - "nodeType": "VariableDeclaration", - "scope": 829, - "src": "5614:10:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 784, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5614:6:3", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5581:44:3" - }, - "returnParameters": { - "id": 787, - "nodeType": "ParameterList", - "parameters": [], - "src": "5635:0:3" - }, - "scope": 830, - "src": "5554:363:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 831, - "src": "84:5835:3" - } - ], - "src": "0:5920:3" - }, - "compiler": { - "name": "solc", - "version": "0.5.16+commit.9c3226ce.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.926Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "constructor": { - "details": "Constructs a new ENS registrar." - }, - "isApprovedForAll(address,address)": { - "details": "Query if an address is an authorized operator for another address.", - "params": { - "operator": "The address that acts on behalf of the owner.", - "owner": "The address that owns the records." - }, - "return": "True if `operator` is an approved operator for `owner`, false otherwise." - }, - "owner(bytes32)": { - "details": "Returns the address that owns the specified node.", - "params": { - "node": "The specified node." - }, - "return": "address of the owner." - }, - "recordExists(bytes32)": { - "details": "Returns whether a record has been imported to the registry.", - "params": { - "node": "The specified node." - }, - "return": "Bool if record exists" - }, - "resolver(bytes32)": { - "details": "Returns the address of the resolver for the specified node.", - "params": { - "node": "The specified node." - }, - "return": "address of the resolver." - }, - "setApprovalForAll(address,bool)": { - "details": "Enable or disable approval for a third party (\"operator\") to manage all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.", - "params": { - "approved": "True if the operator is approved, false to revoke approval.", - "operator": "Address to add to the set of authorized operators." - } - }, - "setOwner(bytes32,address)": { - "details": "Transfers ownership of a node to a new address. May only be called by the current owner of the node.", - "params": { - "node": "The node to transfer ownership of.", - "owner": "The address of the new owner." - } - }, - "setRecord(bytes32,address,address,uint64)": { - "details": "Sets the record for a node.", - "params": { - "node": "The node to update.", - "owner": "The address of the new owner.", - "resolver": "The address of the resolver.", - "ttl": "The TTL in seconds." - } - }, - "setResolver(bytes32,address)": { - "details": "Sets the resolver address for the specified node.", - "params": { - "node": "The node to update.", - "resolver": "The address of the resolver." - } - }, - "setSubnodeOwner(bytes32,bytes32,address)": { - "details": "Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.", - "params": { - "label": "The hash of the label specifying the subnode.", - "node": "The parent node.", - "owner": "The address of the new owner." - } - }, - "setSubnodeRecord(bytes32,bytes32,address,address,uint64)": { - "details": "Sets the record for a subnode.", - "params": { - "label": "The hash of the label specifying the subnode.", - "node": "The parent node.", - "owner": "The address of the new owner.", - "resolver": "The address of the resolver.", - "ttl": "The TTL in seconds." - } - }, - "setTTL(bytes32,uint64)": { - "details": "Sets the TTL for the specified node.", - "params": { - "node": "The node to update.", - "ttl": "The TTL in seconds." - } - }, - "ttl(bytes32)": { - "details": "Returns the TTL of a node, and any records associated with it.", - "params": { - "node": "The specified node." - }, - "return": "ttl of the node." - } - } - }, - "userdoc": { - "methods": {}, - "notice": "The ENS registry contract." - } -} diff --git a/build/contracts/ENSReverseRegistration.json b/build/contracts/ENSReverseRegistration.json deleted file mode 100644 index 7397168de..000000000 --- a/build/contracts/ENSReverseRegistration.json +++ /dev/null @@ -1,757 +0,0 @@ -{ - "contractName": "ENSReverseRegistration", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":\"ENSReverseRegistration\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]}},\"version\":1}", - "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220e0559139e2db3eb592dfcf64d624ae6aadaaa57e10c2e3e4912ccab6cd80ffcb64736f6c634300060c0033", - "deployedBytecode": "0x6080604052600080fdfea2646970667358221220e0559139e2db3eb592dfcf64d624ae6aadaaa57e10c2e3e4912ccab6cd80ffcb64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "165:281:67:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "165:281:67:-:0;;;;;", - "source": "pragma solidity ^0.6.0;\n\n// import \"@ensdomains/ens/contracts/ENS.sol\"; // ENS packages are dependency heavy\nimport \"./IENS.sol\";\nimport \"./IReverseRegistrar.sol\";\n\ncontract ENSReverseRegistration\n{\n\tbytes32 internal constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2;\n\n\tfunction _setName(IENS ens, string memory name)\n\tinternal\n\t{\n\t\tIReverseRegistrar(ens.owner(ADDR_REVERSE_NODE)).setName(name);\n\t}\n}\n", - "sourcePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "exportedSymbols": { - "ENSReverseRegistration": [ - 12870 - ] - }, - "id": 12871, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12846, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:67" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "file": "./IENS.sol", - "id": 12847, - "nodeType": "ImportDirective", - "scope": 12871, - "sourceUnit": 13008, - "src": "109:20:67", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol", - "file": "./IReverseRegistrar.sol", - "id": 12848, - "nodeType": "ImportDirective", - "scope": 12871, - "sourceUnit": 13057, - "src": "130:33:67", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 12870, - "linearizedBaseContracts": [ - 12870 - ], - "name": "ENSReverseRegistration", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 12851, - "mutability": "constant", - "name": "ADDR_REVERSE_NODE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12870, - "src": "200:112:67", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12849, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "200:7:67", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839316431373737373831383834643033613637353761383033393936653338646532613432393637666233376565616361373237323932373130323561396532", - "id": 12850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "246:66:67", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65955458610802586644366824307633271870356699036341805474246458084352783133154_by_1", - "typeString": "int_const 6595...(69 digits omitted)...3154" - }, - "value": "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" - }, - "visibility": "internal" - }, - { - "body": { - "id": 12868, - "nodeType": "Block", - "src": "375:69:67", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12865, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12855, - "src": "435:4:67", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12861, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12851, - "src": "407:17:67", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 12859, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12853, - "src": "397:3:67", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "id": 12860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 12976, - "src": "397:9:67", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 12862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "397:28:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 12858, - "name": "IReverseRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13056, - "src": "379:17:67", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IReverseRegistrar_$13056_$", - "typeString": "type(contract IReverseRegistrar)" - } - }, - "id": 12863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "379:47:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IReverseRegistrar_$13056", - "typeString": "contract IReverseRegistrar" - } - }, - "id": 12864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setName", - "nodeType": "MemberAccess", - "referencedDeclaration": 13048, - "src": "379:55:67", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory) external returns (bytes32)" - } - }, - "id": 12866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "379:61:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12867, - "nodeType": "ExpressionStatement", - "src": "379:61:67" - } - ] - }, - "documentation": null, - "id": 12869, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12853, - "mutability": "mutable", - "name": "ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12869, - "src": "334:8:67", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - "typeName": { - "contractScope": null, - "id": 12852, - "name": "IENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13007, - "src": "334:4:67", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12855, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12869, - "src": "344:18:67", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12854, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "344:6:67", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "333:30:67" - }, - "returnParameters": { - "id": 12857, - "nodeType": "ParameterList", - "parameters": [], - "src": "375:0:67" - }, - "scope": 12870, - "src": "316:128:67", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 12871, - "src": "165:281:67" - } - ], - "src": "0:447:67" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "exportedSymbols": { - "ENSReverseRegistration": [ - 12870 - ] - }, - "id": 12871, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12846, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:67" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "file": "./IENS.sol", - "id": 12847, - "nodeType": "ImportDirective", - "scope": 12871, - "sourceUnit": 13008, - "src": "109:20:67", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol", - "file": "./IReverseRegistrar.sol", - "id": 12848, - "nodeType": "ImportDirective", - "scope": 12871, - "sourceUnit": 13057, - "src": "130:33:67", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 12870, - "linearizedBaseContracts": [ - 12870 - ], - "name": "ENSReverseRegistration", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 12851, - "mutability": "constant", - "name": "ADDR_REVERSE_NODE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12870, - "src": "200:112:67", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12849, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "200:7:67", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839316431373737373831383834643033613637353761383033393936653338646532613432393637666233376565616361373237323932373130323561396532", - "id": 12850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "246:66:67", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65955458610802586644366824307633271870356699036341805474246458084352783133154_by_1", - "typeString": "int_const 6595...(69 digits omitted)...3154" - }, - "value": "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" - }, - "visibility": "internal" - }, - { - "body": { - "id": 12868, - "nodeType": "Block", - "src": "375:69:67", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12865, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12855, - "src": "435:4:67", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 12861, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12851, - "src": "407:17:67", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 12859, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12853, - "src": "397:3:67", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "id": 12860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 12976, - "src": "397:9:67", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 12862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "397:28:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 12858, - "name": "IReverseRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13056, - "src": "379:17:67", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IReverseRegistrar_$13056_$", - "typeString": "type(contract IReverseRegistrar)" - } - }, - "id": 12863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "379:47:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IReverseRegistrar_$13056", - "typeString": "contract IReverseRegistrar" - } - }, - "id": 12864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setName", - "nodeType": "MemberAccess", - "referencedDeclaration": 13048, - "src": "379:55:67", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory) external returns (bytes32)" - } - }, - "id": 12866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "379:61:67", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12867, - "nodeType": "ExpressionStatement", - "src": "379:61:67" - } - ] - }, - "documentation": null, - "id": 12869, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12853, - "mutability": "mutable", - "name": "ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12869, - "src": "334:8:67", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - "typeName": { - "contractScope": null, - "id": 12852, - "name": "IENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13007, - "src": "334:4:67", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12855, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12869, - "src": "344:18:67", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12854, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "344:6:67", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "333:30:67" - }, - "returnParameters": { - "id": 12857, - "nodeType": "ParameterList", - "parameters": [], - "src": "375:0:67" - }, - "scope": 12870, - "src": "316:128:67", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 12871, - "src": "165:281:67" - } - ], - "src": "0:447:67" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.891Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ERC1538Module.json b/build/contracts/ERC1538Module.json deleted file mode 100644 index c4fa31dcb..000000000 --- a/build/contracts/ERC1538Module.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "contractName": "ERC1538Module", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":\"ERC1538Module\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206103dc833981519152908290a35061005b610064565b610106565b3390565b61006c610060565b6000546001600160a01b039081169116146100ce576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206103dc833981519152908390a3600080546001600160a01b0319169055565b6102c7806101156000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b14610074575b600080fd5b61004e61009a565b005b61005861014e565b604080516001600160a01b039092168252519081900360200190f35b61004e6004803603602081101561008a57600080fd5b50356001600160a01b031661015d565b6100a2610267565b6000546001600160a01b03908116911614610104576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610165610267565b6000546001600160a01b039081169116146101c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661020c5760405162461bcd60e51b815260040180806020018281038252602681526020018061026c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220b65cf791c19be882f9191e80e9f3b65906a0dd5ea79c49f17e52a4cb87b6a4fd64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b14610074575b600080fd5b61004e61009a565b005b61005861014e565b604080516001600160a01b039092168252519081900360200190f35b61004e6004803603602081101561008a57600080fd5b50356001600160a01b031661015d565b6100a2610267565b6000546001600160a01b03908116911614610104576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610165610267565b6000546001600160a01b039081169116146101c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661020c5760405162461bcd60e51b815260040180806020018281038252602681526020018061026c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220b65cf791c19be882f9191e80e9f3b65906a0dd5ea79c49f17e52a4cb87b6a4fd64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "55:94:72:-:0;;;97:50;;;;;;;;;-1:-1:-1;865:17:82;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;-1:-1:-1;;;;;;;;;;;940:43:82;907:6;;940:43;-1:-1:-1;124:19:72;:17;:19::i;:::-;55:94;;590:104:80;677:10;590:104;:::o;1689:145:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:82;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:82;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;55:94:72:-;;;;;;;", - "deployedSourceMap": "55:94:72:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1689:145:82;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;-1:-1:-1;;;;;1066:77:82;;;;;;;;;;;;;;1983:240;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;1689:145::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:82;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:80:-;677:10;590:104;:::o", - "source": "pragma solidity ^0.6.0;\n\nimport \"./ERC1538Store.sol\";\n\ncontract ERC1538Module is ERC1538Store\n{\n\tconstructor()\n\tpublic\n\t{\n\t\trenounceOwnership();\n\t}\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "exportedSymbols": { - "ERC1538Module": [ - 13100 - ] - }, - "id": 13101, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13089, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:72" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "file": "./ERC1538Store.sol", - "id": 13090, - "nodeType": "ImportDirective", - "scope": 13101, - "sourceUnit": 13113, - "src": "25:28:72", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13091, - "name": "ERC1538Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13112, - "src": "81:12:72", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Store_$13112", - "typeString": "contract ERC1538Store" - } - }, - "id": 13092, - "nodeType": "InheritanceSpecifier", - "src": "81:12:72" - } - ], - "contractDependencies": [ - 13112, - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13100, - "linearizedBaseContracts": [ - 13100, - 13112, - 14071, - 13679 - ], - "name": "ERC1538Module", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13098, - "nodeType": "Block", - "src": "120:27:72", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13095, - "name": "renounceOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14042, - "src": "124:17:72", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "124:19:72", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13097, - "nodeType": "ExpressionStatement", - "src": "124:19:72" - } - ] - }, - "documentation": null, - "id": 13099, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13093, - "nodeType": "ParameterList", - "parameters": [], - "src": "108:2:72" - }, - "returnParameters": { - "id": 13094, - "nodeType": "ParameterList", - "parameters": [], - "src": "120:0:72" - }, - "scope": 13100, - "src": "97:50:72", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 13101, - "src": "55:94:72" - } - ], - "src": "0:150:72" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Module.sol", - "exportedSymbols": { - "ERC1538Module": [ - 13100 - ] - }, - "id": 13101, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13089, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:72" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "file": "./ERC1538Store.sol", - "id": 13090, - "nodeType": "ImportDirective", - "scope": 13101, - "sourceUnit": 13113, - "src": "25:28:72", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13091, - "name": "ERC1538Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13112, - "src": "81:12:72", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Store_$13112", - "typeString": "contract ERC1538Store" - } - }, - "id": 13092, - "nodeType": "InheritanceSpecifier", - "src": "81:12:72" - } - ], - "contractDependencies": [ - 13112, - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13100, - "linearizedBaseContracts": [ - 13100, - 13112, - 14071, - 13679 - ], - "name": "ERC1538Module", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13098, - "nodeType": "Block", - "src": "120:27:72", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13095, - "name": "renounceOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14042, - "src": "124:17:72", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "124:19:72", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13097, - "nodeType": "ExpressionStatement", - "src": "124:19:72" - } - ] - }, - "documentation": null, - "id": 13099, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13093, - "nodeType": "ParameterList", - "parameters": [], - "src": "108:2:72" - }, - "returnParameters": { - "id": 13094, - "nodeType": "ParameterList", - "parameters": [], - "src": "120:0:72" - }, - "scope": 13100, - "src": "97:50:72", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 13101, - "src": "55:94:72" - } - ], - "src": "0:150:72" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.893Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ERC1538Proxy.json b/build/contracts/ERC1538Proxy.json deleted file mode 100644 index f93bcccd3..000000000 --- a/build/contracts/ERC1538Proxy.json +++ /dev/null @@ -1,2220 +0,0 @@ -{ - "contractName": "ERC1538Proxy", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_erc1538Delegate", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "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" - }, - { - "stateMutability": "payable", - "type": "fallback", - "payable": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive", - "payable": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.4+commit.1dca32f3\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc1538Delegate\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"CommitMessage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"functionId\",\"type\":\"bytes4\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDelegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"functionSignature\",\"type\":\"string\"}],\"name\":\"FunctionUpdate\",\"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\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Proxy/ERC1538Proxy.sol\":\"ERC1538Proxy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol\":{\"keccak256\":\"0xd64a96f64947644f1f74ff2a929f908efbd947096094a746ff6c48a8c13bae7a\",\"urls\":[\"bzz-raw://ad46a3ce0d629acc78122a5abe5ad043a4cf8076410c799fb19950f2e83aab29\",\"dweb:/ipfs/QmPV7nwnwWr4GshhnTrhthoqEsrKyDdCPfKkNQbptExcrS\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Proxy/ERC1538Proxy.sol\":{\"keccak256\":\"0xd39934429113dd867d3247465c096991732f84da7aa650facddc60e34d216e3c\",\"urls\":[\"bzz-raw://6c6f8a783ee3614b2b0780ba9f42c8625cc14e7c2d5c09069842415edce19e94\",\"dweb:/ipfs/QmWeexbdBceS2pfnSBePQLYgwW9swZmnqimB3BfMCtRT8b\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/IERC1538.sol\":{\"keccak256\":\"0x8cff03c7a2520c3312650990cd3defb9168022790c93030e577ffbfea378b906\",\"urls\":[\"bzz-raw://36cb2e3c66e04aee1681a662bd3db7713c0edfd6053cc75c95b4bc2fd48d0455\",\"dweb:/ipfs/Qmb3upBWiTaM3kfKG2riufsroxSoA5hJSxxsdZjBPzYbA3\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x0de74dfa6b37943c1b834cbd8fb7a8d052e5ff80c7adb33692102dd6cd2985e9\",\"urls\":[\"bzz-raw://9d2d827fcf4a838f5821732c0acd6a40d21c2a5a2cfe2563feec91465f47bb60\",\"dweb:/ipfs/Qmex3wMKf5Sghbfvr288RUg1kP2uAyTMf11w83WbMbpQQc\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x13846e13b9a53dec12db1afd1e6ef8fb6b3a34577c59bab7b84db5c0fe227c6e\",\"urls\":[\"bzz-raw://ed869339a2fa5d4dda5f917d5b7970d845d1cdc1c02c7edb0f84ef1cda4d7646\",\"dweb:/ipfs/QmVYwkKDyxs9vT9S3HUHaQZ798NF3gYZ1QMg69CGedssgd\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060405162000f9338038062000f93833981810160405260208110156200003757600080fd5b505160006200004e6001600160e01b036200011c16565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062000f39833981519152908290a3506200009b336001600160e01b036200012116565b620000c960405180606001604052806025815260200162000f1460259139826001600160e01b03620001b216565b7faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de60405180806020018281038252603a81526020018062000f59603a913960400191505060405180910390a15062000788565b335b90565b6001600160a01b038116620001685760405162461bcd60e51b815260040180806020018281038252602681526020018062000eee6026913960400191505060405180910390fd5b600080546040516001600160a01b038085169392169160008051602062000f3983398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b815160208301206001600160e01b0319811663690bfe6360e11b1415620001d7575060005b6001600160e01b0319811663b32cdf4d60e01b1415620001fc57506001600160e01b03195b6000620002198260016200035260201b6200033a1790919060201c565b9050806001600160a01b0316836001600160a01b031614156200023e5750506200034e565b6001600160a01b0383166200026f57620002688260016200037e60201b620003661790919060201c565b5062000290565b6200028e8284866001620003e760201b620003c017909392919060201c565b505b826001600160a01b0316816001600160a01b0316836001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353876040518080602001828103825283818151815260200191508051906020019080838360005b8381101562000310578181015183820152602001620002f6565b50505050905090810190601f1680156200033e5780820380516001836020036101000a031916815260200191505b509250505060405180910390a450505b5050565b6001600160e01b0319811660009081526002830160205260409020546001600160a01b03165b92915050565b60006200039d82846000016200046360201b6200042d1790919060201c565b506001600160e01b031982166000908152600284016020908152604080832080546001600160a01b0319169055600386019091528120620003de916200069b565b50600192915050565b6000620004068486600001620005d160201b620005741790919060201c565b506001600160e01b031984166000908152600286016020908152604080832080546001600160a01b0319166001600160a01b03881617905560038801825290912083516200045792850190620006e6565b50600195945050505050565b60006200047a83836001600160e01b036200065716565b620004885750600062000378565b60006200049f84846001600160e01b036200067716565b90506000620004b7856001600160e01b036200069716565b90508082146200056f576000856000016001830381548110620004d657fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b9050808660000160018503815481106200050f57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555082866001016000836001600160e01b0319166001600160e01b031916815260200190815260200160002081905550505b6001600160e01b03198416600090815260018601602052604081205584548590806200059757fe5b600082815260209020600860001990920191820401805463ffffffff600460078516026101000a0219169055905550600191505092915050565b6000620005e883836001600160e01b036200065716565b15620005f75750600062000378565b50815460018082018455600084815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293810190915260409092205590565b60006200066e83836001600160e01b036200067716565b15159392505050565b6001600160e01b0319166000908152600191909101602052604090205490565b5490565b50805460018160011615610100020316600290046000825580601f10620006c35750620006e3565b601f016020900490600052602060002090810190620006e391906200076b565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200072957805160ff191683800117855562000759565b8280016001018555821562000759579182015b82811115620007595782518255916020019190600101906200073c565b50620007679291506200076b565b5090565b6200011e91905b8082111562000767576000815560010162000772565b61075680620007986000396000f3fe6080604052600436106100385760003560e01c8063715018a61461004f5780638da5cb5b14610064578063f2fde38b1461009557610047565b36610047576100456100c8565b005b6100456100c8565b34801561005b57600080fd5b506100456100e2565b34801561007057600080fd5b50610079610196565b604080516001600160a01b039092168252519081900360200190f35b3480156100a157600080fd5b50610045600480360360208110156100b857600080fd5b50356001600160a01b03166101a6565b6100d06100e0565b6100e06100db61021c565b610272565b565b6100ea610296565b6000546001600160a01b0390811691161461014c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6101ae610296565b6000546001600160a01b03908116911614610210576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102198161029a565b50565b60008061023b60016001600160e01b031983351663ffffffff61033a16565b90506001600160a01b038116156102535790506101a3565b61026660016001600160e01b031961033a565b9150506101a3565b5090565b3660008037600080366000845af43d6000803e808015610291573d6000f35b3d6000fd5b3390565b6001600160a01b0381166102df5760405162461bcd60e51b81526004018080602001828103825260268152602001806106fb6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811660009081526002830160205260409020546001600160a01b03165b92915050565b6000610378838363ffffffff61042d16565b506001600160e01b031982166000908152600284016020908152604080832080546001600160a01b03191690556003860190915281206103b791610626565b50600192915050565b60006103d2858563ffffffff61057416565b506001600160e01b031984166000908152600286016020908152604080832080546001600160a01b0319166001600160a01b03881617905560038801825290912083516104219285019061066a565b50600195945050505050565b600061043983836105ed565b61044557506000610360565b60006104518484610602565b9050600061045e85610622565b905080821461051357600085600001600183038154811061047b57fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b9050808660000160018503815481106104b357fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555082866001016000836001600160e01b0319166001600160e01b031916815260200190815260200160002081905550505b6001600160e01b031984166000908152600186016020526040812055845485908061053a57fe5b600082815260209020600860001990920191820401805463ffffffff600460078516026101000a0219169055905550600191505092915050565b600061058083836105ed565b1561058d57506000610360565b50815460018082018455600084815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293810190915260409092205590565b60006105f98383610602565b15159392505050565b6001600160e01b0319166000908152600191909101602052604090205490565b5490565b50805460018160011615610100020316600290046000825580601f1061064c5750610219565b601f01602090049060005260206000209081019061021991906106e0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106ab57805160ff19168380011785556106d8565b828001600101855582156106d8579182015b828111156106d85782518255916020019190600101906106bd565b5061026e9291505b6101a391905b8082111561026e57600081556001016106e656fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220d24d03da5c0af07060348adaf9368c37562adf7d53e06b4ebe9ac4a638db4a7f64736f6c634300060400334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373757064617465436f6e747261637428616464726573732c737472696e672c737472696e67298be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e04164646564204552433135333820757064617465436f6e74726163742066756e6374696f6e20617420636f6e7472616374206372656174696f6e", - "deployedBytecode": "0x6080604052600436106100385760003560e01c8063715018a61461004f5780638da5cb5b14610064578063f2fde38b1461009557610047565b36610047576100456100c8565b005b6100456100c8565b34801561005b57600080fd5b506100456100e2565b34801561007057600080fd5b50610079610196565b604080516001600160a01b039092168252519081900360200190f35b3480156100a157600080fd5b50610045600480360360208110156100b857600080fd5b50356001600160a01b03166101a6565b6100d06100e0565b6100e06100db61021c565b610272565b565b6100ea610296565b6000546001600160a01b0390811691161461014c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6101ae610296565b6000546001600160a01b03908116911614610210576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102198161029a565b50565b60008061023b60016001600160e01b031983351663ffffffff61033a16565b90506001600160a01b038116156102535790506101a3565b61026660016001600160e01b031961033a565b9150506101a3565b5090565b3660008037600080366000845af43d6000803e808015610291573d6000f35b3d6000fd5b3390565b6001600160a01b0381166102df5760405162461bcd60e51b81526004018080602001828103825260268152602001806106fb6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811660009081526002830160205260409020546001600160a01b03165b92915050565b6000610378838363ffffffff61042d16565b506001600160e01b031982166000908152600284016020908152604080832080546001600160a01b03191690556003860190915281206103b791610626565b50600192915050565b60006103d2858563ffffffff61057416565b506001600160e01b031984166000908152600286016020908152604080832080546001600160a01b0319166001600160a01b03881617905560038801825290912083516104219285019061066a565b50600195945050505050565b600061043983836105ed565b61044557506000610360565b60006104518484610602565b9050600061045e85610622565b905080821461051357600085600001600183038154811061047b57fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b9050808660000160018503815481106104b357fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555082866001016000836001600160e01b0319166001600160e01b031916815260200190815260200160002081905550505b6001600160e01b031984166000908152600186016020526040812055845485908061053a57fe5b600082815260209020600860001990920191820401805463ffffffff600460078516026101000a0219169055905550600191505092915050565b600061058083836105ed565b1561058d57506000610360565b50815460018082018455600084815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293810190915260409092205590565b60006105f98383610602565b15159392505050565b6001600160e01b0319166000908152600191909101602052604090205490565b5490565b50805460018160011615610100020316600290046000825580601f1061064c5750610219565b601f01602090049060005260206000209081019061021991906106e0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106ab57805160ff19168380011785556106d8565b828001600101855582156106d8579182015b828111156106d85782518255916020019190600101906106bd565b5061026e9291505b6101a391905b8082111561026e57600081556001016106e656fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220d24d03da5c0af07060348adaf9368c37562adf7d53e06b4ebe9ac4a638db4a7f64736f6c63430006040033", - "sourceMap": "97:535:10:-:0;;;144:240;5:9:-1;2:2;;;27:1;24;17:12;2:2;144:240:10;;;;;;;;;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;144:240:10;832:17:29;852:12;-1:-1:-1;;;;;852:10:29;:12;:::i;:::-;874:6;:18;;-1:-1:-1;;;;;;874:18:29;-1:-1:-1;;;;;874:18:29;;;;;;;907:43;;874:18;;-1:-1:-1;874:18:29;-1:-1:-1;;;;;;;;;;;907:43:29;874:6;;907:43;-1:-1:-1;195:30:10;214:10;-1:-1:-1;;;;;195:18:10;:30;:::i;:::-;229:67;;;;;;;;;;;;;;;;;;279:16;-1:-1:-1;;;;;229:8:10;:67;:::i;:::-;305:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:240;97:535;;735:104:28;822:10;735:104;;:::o;2166:233:29:-;-1:-1:-1;;;;;2247:22:29;;2239:73;;;;-1:-1:-1;;;2239:73:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2348:6;;;2327:38;;-1:-1:-1;;;;;2327:38:29;;;;2348:6;;;-1:-1:-1;;;;;;;;;;;2327:38:29;;2375:6;:17;;-1:-1:-1;;;;;;2375:17:29;-1:-1:-1;;;;;2375:17:29;;;;;;;;;;2166:233::o;469:633:5:-;576:31;;;;;;-1:-1:-1;;;;;;616:17:5;;-1:-1:-1;;;616:17:5;612:56;;;-1:-1:-1;654:10:5;612:56;-1:-1:-1;;;;;;675:18:5;;-1:-1:-1;;;675:18:5;671:56;;;-1:-1:-1;;;;;;;671:56:5;731:19;753:22;768:6;753:7;:14;;;;;;:22;;;;:::i;:::-;731:44;;800:11;-1:-1:-1;;;;;784:27:5;:12;-1:-1:-1;;;;;784:27:5;;780:245;;;842:7;;;;780:245;-1:-1:-1;;;;;865:26:5;;861:164;;910:19;922:6;910:7;:11;;;;;;:19;;;;:::i;:::-;;861:164;;;965:55;977:6;985:12;1005:13;965:7;:11;;;;;;:55;;;;;;:::i;:::-;;861:164;1070:12;-1:-1:-1;;;;;1034:64:5;1057:11;-1:-1:-1;;;;;1034:64:5;1049:6;-1:-1:-1;;;;;1034:64:5;;;1084:13;1034:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1034:64:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;469:633;;;;;:::o;375:116:31:-;-1:-1:-1;;;;;;469:18:31;;447:7;469:18;;;:12;;;:18;;;;;;-1:-1:-1;;;;;469:18:31;375:116;;;;;:::o;1537:176::-;1601:4;1612:24;1631:4;1612;:11;;:18;;;;;;:24;;;;:::i;:::-;-1:-1:-1;;;;;;;1647:18:31;;;;;;:12;;;:18;;;;;;;;1640:25;;-1:-1:-1;;;;;;1640:25:31;;;1676:12;;;:18;;;;;1669:25;;;:::i;:::-;-1:-1:-1;1705:4:31;1537:176;;;;:::o;1306:228::-;1419:4;1430:21;1446:4;1430;:11;;:15;;;;;;:21;;;;:::i;:::-;-1:-1:-1;;;;;;;1455:18:31;;;;;;:12;;;:18;;;;;;;;:28;;-1:-1:-1;;;;;;1455:28:31;-1:-1:-1;;;;;1455:28:31;;;;;1487:12;;;:18;;;;;:28;;;;;;;;:::i;:::-;-1:-1:-1;1526:4:31;;1306:228;-1:-1:-1;;;;;1306:228:31:o;937:416:32:-;1006:4;1022:22;1031:4;1037:6;-1:-1:-1;;;;;1022:8:32;:22;:::i;:::-;1017:53;;-1:-1:-1;1060:5:32;1053:12;;1017:53;1074:9;1089:21;1097:4;1103:6;-1:-1:-1;;;;;1089:7:32;:21;:::i;:::-;1074:36;-1:-1:-1;1114:12:32;1129;1136:4;-1:-1:-1;;;;;1129:6:32;:12;:::i;:::-;1114:27;;1155:4;1150:1;:9;1146:135;;1168:17;1188:4;:11;;1207:1;1200:4;:8;1188:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1168:41;;1235:9;1214:4;:11;;1230:1;1226;:5;1214:18;;;;;;;;;;;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;1275:1;1249:4;:12;;:23;1262:9;-1:-1:-1;;;;;1249:23:32;;-1:-1:-1;;;;;1249:23:32;;;;;;;;;;;;;:27;;;;1146:135;;-1:-1:-1;;;;;;1292:20:32;;;;;;:12;;;:20;;;;;1285:27;1316:17;;1292:4;;1316:17;;;;;;;;;;;;;-1:-1:-1;;1316:17:32;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1316:17:32;;-1:-1:-1;;937:416:32;;;;:::o;714:220::-;780:4;795:22;804:4;810:6;-1:-1:-1;;;;;795:8:32;:22;:::i;:::-;791:52;;;-1:-1:-1;833:5:32;826:12;;791:52;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;846:24:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;897:18;;-1:-1:-1;;;;;;874:20:32;;;;;:12;;;:20;;;;;;;:41;39:1:-1;714:220:32:o;481:124::-;557:4;575:21;583:4;589:6;-1:-1:-1;;;;;575:7:32;:21;:::i;:::-;:26;;;481:124;-1:-1:-1;;;481:124:32:o;358:120::-;-1:-1:-1;;;;;;454:20:32;433:7;454:20;;;:12;;;;;:20;;;;;;;358:120::o;133:101::-;212:18;;133:101::o;97:535:10:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97:535:10;;;-1:-1:-1;97:535:10;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "97:535:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;459:11:27;:9;:11::i;:::-;97:535:10;;596:11:27;:9;:11::i;1656:145:29:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1656:145:29;;;:::i;1033:77::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1033:77:29;;;:::i;:::-;;;;-1:-1:-1;;;;;1033:77:29;;;;;;;;;;;;;;1950:115;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1950:115:29;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1950:115:29;-1:-1:-1;;;;;1950:115:29;;:::i;2133:90:27:-;2169:15;:13;:15::i;:::-;2190:28;2200:17;:15;:17::i;:::-;2190:9;:28::i;:::-;2133:90::o;1656:145:29:-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1762:1:::1;1746:6:::0;;1725:40:::1;::::0;-1:-1:-1;;;;;1746:6:29;;::::1;::::0;1725:40:::1;::::0;1762:1;;1725:40:::1;1792:1;1775:19:::0;;-1:-1:-1;;;;;;1775:19:29::1;::::0;;1656:145::o;1033:77::-;1071:7;1097:6;-1:-1:-1;;;;;1097:6:29;1033:77;;:::o;1950:115::-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2030:28:::1;2049:8;2030:18;:28::i;:::-;1950:115:::0;:::o;387:243:10:-;446:7;;483:23;:7;-1:-1:-1;;;;;;498:7:10;;;483:23;:14;:23;:::i;:::-;460:46;-1:-1:-1;;;;;;515:26:10;;;511:116;;557:12;-1:-1:-1;550:19:10;;511:116;596:26;:7;-1:-1:-1;;;;;;596:14:10;:26::i;:::-;589:33;;;;;511:116;387:243;;:::o;1039:743:27:-;1341:14;1338:1;1335;1322:34;1537:1;1534;1518:14;1515:1;1499:14;1492:5;1479:60;1601:16;1598:1;1595;1580:38;1633:6;1688:38;;;;1753:16;1750:1;1743:27;1688:38;1707:16;1704:1;1697:27;735:104:28;822:10;735:104;:::o;2166:233:29:-;-1:-1:-1;;;;;2247:22:29;;2239:73;;;;-1:-1:-1;;;2239:73:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2348:6;;;2327:38;;-1:-1:-1;;;;;2327:38:29;;;;2348:6;;;2327:38;;;2375:6;:17;;-1:-1:-1;;;;;;2375:17:29;-1:-1:-1;;;;;2375:17:29;;;;;;;;;;2166:233::o;375:116:31:-;-1:-1:-1;;;;;;469:18:31;;447:7;469:18;;;:12;;;:18;;;;;;-1:-1:-1;;;;;469:18:31;375:116;;;;;:::o;1537:176::-;1601:4;1612:24;:4;1631;1612:24;:18;:24;:::i;:::-;-1:-1:-1;;;;;;;1647:18:31;;;;;;:12;;;:18;;;;;;;;1640:25;;-1:-1:-1;;;;;;1640:25:31;;;1676:12;;;:18;;;;;1669:25;;;:::i;:::-;-1:-1:-1;1705:4:31;1537:176;;;;:::o;1306:228::-;1419:4;1430:21;:4;1446;1430:21;:15;:21;:::i;:::-;-1:-1:-1;;;;;;;1455:18:31;;;;;;:12;;;:18;;;;;;;;:28;;-1:-1:-1;;;;;;1455:28:31;-1:-1:-1;;;;;1455:28:31;;;;;1487:12;;;:18;;;;;:28;;;;;;;;:::i;:::-;-1:-1:-1;1526:4:31;;1306:228;-1:-1:-1;;;;;1306:228:31:o;937:416:32:-;1006:4;1022:22;1031:4;1037:6;1022:8;:22::i;:::-;1017:53;;-1:-1:-1;1060:5:32;1053:12;;1017:53;1074:9;1089:21;1097:4;1103:6;1089:7;:21::i;:::-;1074:36;;1114:12;1129;1136:4;1129:6;:12::i;:::-;1114:27;;1155:4;1150:1;:9;1146:135;;1168:17;1188:4;:11;;1207:1;1200:4;:8;1188:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1168:41;;1235:9;1214:4;:11;;1230:1;1226;:5;1214:18;;;;;;;;;;;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;1275:1;1249:4;:12;;:23;1262:9;-1:-1:-1;;;;;1249:23:32;;-1:-1:-1;;;;;1249:23:32;;;;;;;;;;;;;:27;;;;1146:135;;-1:-1:-1;;;;;;1292:20:32;;;;;;:12;;;:20;;;;;1285:27;1316:17;;1292:4;;1316:17;;;;;;;;;;;;;-1:-1:-1;;1316:17:32;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1316:17:32;;-1:-1:-1;;937:416:32;;;;:::o;714:220::-;780:4;795:22;804:4;810:6;795:8;:22::i;:::-;791:52;;;-1:-1:-1;833:5:32;826:12;;791:52;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;846:24:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;897:18;;-1:-1:-1;;;;;;874:20:32;;;;;:12;;;:20;;;;;;;:41;39:1:-1;714:220:32:o;481:124::-;557:4;575:21;583:4;589:6;575:7;:21::i;:::-;:26;;;481:124;-1:-1:-1;;;481:124:32:o;358:120::-;-1:-1:-1;;;;;;454:20:32;433:7;454:20;;;:12;;;;;:20;;;;;;;358:120::o;133:101::-;212:18;;133:101::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.6.0;\n\nimport \"../../Upgradeability/Proxy.sol\";\nimport \"../ERC1538Core.sol\";\n\n\ncontract ERC1538Proxy is ERC1538Core, Proxy\n{\n\tconstructor(address _erc1538Delegate)\n\tpublic\n\t{\n\t\t_transferOwnership(msg.sender);\n\t\t_setFunc(\"updateContract(address,string,string)\", _erc1538Delegate);\n\t\temit CommitMessage(\"Added ERC1538 updateContract function at contract creation\");\n\t}\n\n\tfunction _implementation() internal override view returns (address)\n\t{\n\t\taddress delegateFunc = m_funcs.value1(msg.sig);\n\n\t\tif (delegateFunc != address(0))\n\t\t{\n\t\t\treturn delegateFunc;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn m_funcs.value1(0xFFFFFFFF);\n\t\t}\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Proxy/ERC1538Proxy.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Proxy/ERC1538Proxy.sol", - "exportedSymbols": { - "ERC1538Proxy": [ - 1191 - ] - }, - "id": 1192, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1133, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:10" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Upgradeability/Proxy.sol", - "file": "../../Upgradeability/Proxy.sol", - "id": 1134, - "nodeType": "ImportDirective", - "scope": 1192, - "sourceUnit": 2462, - "src": "25:40:10", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol", - "file": "../ERC1538Core.sol", - "id": 1135, - "nodeType": "ImportDirective", - "scope": 1192, - "sourceUnit": 362, - "src": "66:28:10", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1136, - "name": "ERC1538Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 361, - "src": "122:11:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Core_$361", - "typeString": "contract ERC1538Core" - } - }, - "id": 1137, - "nodeType": "InheritanceSpecifier", - "src": "122:11:10" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1138, - "name": "Proxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2461, - "src": "135:5:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Proxy_$2461", - "typeString": "contract Proxy" - } - }, - "id": 1139, - "nodeType": "InheritanceSpecifier", - "src": "135:5:10" - } - ], - "contractDependencies": [ - 361, - 1263, - 1280, - 2461, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1191, - "linearizedBaseContracts": [ - 1191, - 2461, - 361, - 1263, - 2608, - 2488, - 1280 - ], - "name": "ERC1538Proxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 1158, - "nodeType": "Block", - "src": "191:193:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1145, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "214:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 1146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "214:10:10", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 1144, - "name": "_transferOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "195:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 1147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "195:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1148, - "nodeType": "ExpressionStatement", - "src": "195:30:10" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "757064617465436f6e747261637428616464726573732c737472696e672c737472696e6729", - "id": 1150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "238:39:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6145556710ea545cbd23b05426d1c42aa5025511b47f500956dfd3af0ab263ee", - "typeString": "literal_string \"updateContract(address,string,string)\"" - }, - "value": "updateContract(address,string,string)" - }, - { - "argumentTypes": null, - "id": 1151, - "name": "_erc1538Delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1141, - "src": "279:16:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6145556710ea545cbd23b05426d1c42aa5025511b47f500956dfd3af0ab263ee", - "typeString": "literal_string \"updateContract(address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1149, - "name": "_setFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 360, - "src": "229:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "229:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1153, - "nodeType": "ExpressionStatement", - "src": "229:67:10" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "4164646564204552433135333820757064617465436f6e74726163742066756e6374696f6e20617420636f6e7472616374206372656174696f6e", - "id": 1155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "319:60:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a59507b444e9cf7401adee1e6ab833d42e0e49661985984591c7f0123a26e73c", - "typeString": "literal_string \"Added ERC1538 updateContract function at contract creation\"" - }, - "value": "Added ERC1538 updateContract function at contract creation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a59507b444e9cf7401adee1e6ab833d42e0e49661985984591c7f0123a26e73c", - "typeString": "literal_string \"Added ERC1538 updateContract function at contract creation\"" - } - ], - "id": 1154, - "name": "CommitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 260 - ], - "referencedDeclaration": 260, - "src": "305:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "305:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1157, - "nodeType": "EmitStatement", - "src": "300:80:10" - } - ] - }, - "documentation": null, - "id": 1159, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1141, - "name": "_erc1538Delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1159, - "src": "156:24:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1140, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "155:26:10" - }, - "returnParameters": { - "id": 1143, - "nodeType": "ParameterList", - "parameters": [], - "src": "191:0:10" - }, - "scope": 1191, - "src": "144:240:10", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 2434 - ], - "body": { - "id": 1189, - "nodeType": "Block", - "src": "456:174:10", - "statements": [ - { - "assignments": [ - 1166 - ], - "declarations": [ - { - "constant": false, - "id": 1166, - "name": "delegateFunc", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1189, - "src": "460:20:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "460:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1172, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1169, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "498:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 1170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "498:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 1167, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "483:7:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 1168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "483:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 1171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "483:23:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "460:46:10" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1173, - "name": "delegateFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1166, - "src": "515:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 1176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "539:1:10", - "subdenomination": null, - "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": 1175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "531:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 1174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "531:7:10", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "531:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "515:26:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 1187, - "nodeType": "Block", - "src": "584:43:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30784646464646464646", - "id": 1184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "611:10:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - }, - "value": "0xFFFFFFFF" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - } - ], - "expression": { - "argumentTypes": null, - "id": 1182, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "596:7:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 1183, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "596:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 1185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "596:26:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1164, - "id": 1186, - "nodeType": "Return", - "src": "589:33:10" - } - ] - }, - "id": 1188, - "nodeType": "IfStatement", - "src": "511:116:10", - "trueBody": { - "id": 1181, - "nodeType": "Block", - "src": "545:29:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 1179, - "name": "delegateFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1166, - "src": "557:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1164, - "id": 1180, - "nodeType": "Return", - "src": "550:19:10" - } - ] - } - } - ] - }, - "documentation": null, - "id": 1190, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1161, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "423:8:10" - }, - "parameters": { - "id": 1160, - "nodeType": "ParameterList", - "parameters": [], - "src": "411:2:10" - }, - "returnParameters": { - "id": 1164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1163, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1190, - "src": "446:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "446:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "445:9:10" - }, - "scope": 1191, - "src": "387:243:10", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 1192, - "src": "97:535:10" - } - ], - "src": "0:633:10" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Proxy/ERC1538Proxy.sol", - "exportedSymbols": { - "ERC1538Proxy": [ - 1191 - ] - }, - "id": 1192, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1133, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:10" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Upgradeability/Proxy.sol", - "file": "../../Upgradeability/Proxy.sol", - "id": 1134, - "nodeType": "ImportDirective", - "scope": 1192, - "sourceUnit": 2462, - "src": "25:40:10", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol", - "file": "../ERC1538Core.sol", - "id": 1135, - "nodeType": "ImportDirective", - "scope": 1192, - "sourceUnit": 362, - "src": "66:28:10", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1136, - "name": "ERC1538Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 361, - "src": "122:11:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Core_$361", - "typeString": "contract ERC1538Core" - } - }, - "id": 1137, - "nodeType": "InheritanceSpecifier", - "src": "122:11:10" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1138, - "name": "Proxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2461, - "src": "135:5:10", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Proxy_$2461", - "typeString": "contract Proxy" - } - }, - "id": 1139, - "nodeType": "InheritanceSpecifier", - "src": "135:5:10" - } - ], - "contractDependencies": [ - 361, - 1263, - 1280, - 2461, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1191, - "linearizedBaseContracts": [ - 1191, - 2461, - 361, - 1263, - 2608, - 2488, - 1280 - ], - "name": "ERC1538Proxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 1158, - "nodeType": "Block", - "src": "191:193:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1145, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "214:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 1146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "214:10:10", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 1144, - "name": "_transferOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "195:18:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 1147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "195:30:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1148, - "nodeType": "ExpressionStatement", - "src": "195:30:10" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "757064617465436f6e747261637428616464726573732c737472696e672c737472696e6729", - "id": 1150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "238:39:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6145556710ea545cbd23b05426d1c42aa5025511b47f500956dfd3af0ab263ee", - "typeString": "literal_string \"updateContract(address,string,string)\"" - }, - "value": "updateContract(address,string,string)" - }, - { - "argumentTypes": null, - "id": 1151, - "name": "_erc1538Delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1141, - "src": "279:16:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6145556710ea545cbd23b05426d1c42aa5025511b47f500956dfd3af0ab263ee", - "typeString": "literal_string \"updateContract(address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1149, - "name": "_setFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 360, - "src": "229:8:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "229:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1153, - "nodeType": "ExpressionStatement", - "src": "229:67:10" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "4164646564204552433135333820757064617465436f6e74726163742066756e6374696f6e20617420636f6e7472616374206372656174696f6e", - "id": 1155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "319:60:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a59507b444e9cf7401adee1e6ab833d42e0e49661985984591c7f0123a26e73c", - "typeString": "literal_string \"Added ERC1538 updateContract function at contract creation\"" - }, - "value": "Added ERC1538 updateContract function at contract creation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a59507b444e9cf7401adee1e6ab833d42e0e49661985984591c7f0123a26e73c", - "typeString": "literal_string \"Added ERC1538 updateContract function at contract creation\"" - } - ], - "id": 1154, - "name": "CommitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 260 - ], - "referencedDeclaration": 260, - "src": "305:13:10", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "305:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1157, - "nodeType": "EmitStatement", - "src": "300:80:10" - } - ] - }, - "documentation": null, - "id": 1159, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1141, - "name": "_erc1538Delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1159, - "src": "156:24:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1140, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "155:26:10" - }, - "returnParameters": { - "id": 1143, - "nodeType": "ParameterList", - "parameters": [], - "src": "191:0:10" - }, - "scope": 1191, - "src": "144:240:10", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 2434 - ], - "body": { - "id": 1189, - "nodeType": "Block", - "src": "456:174:10", - "statements": [ - { - "assignments": [ - 1166 - ], - "declarations": [ - { - "constant": false, - "id": 1166, - "name": "delegateFunc", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1189, - "src": "460:20:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "460:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1172, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1169, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "498:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 1170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "498:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 1167, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "483:7:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 1168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "483:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 1171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "483:23:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "460:46:10" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 1178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1173, - "name": "delegateFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1166, - "src": "515:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 1176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "539:1:10", - "subdenomination": null, - "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": 1175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "531:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 1174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "531:7:10", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "531:10:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "515:26:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 1187, - "nodeType": "Block", - "src": "584:43:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30784646464646464646", - "id": 1184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "611:10:10", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - }, - "value": "0xFFFFFFFF" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - } - ], - "expression": { - "argumentTypes": null, - "id": 1182, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "596:7:10", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 1183, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "596:14:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 1185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "596:26:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1164, - "id": 1186, - "nodeType": "Return", - "src": "589:33:10" - } - ] - }, - "id": 1188, - "nodeType": "IfStatement", - "src": "511:116:10", - "trueBody": { - "id": 1181, - "nodeType": "Block", - "src": "545:29:10", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 1179, - "name": "delegateFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1166, - "src": "557:12:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1164, - "id": 1180, - "nodeType": "Return", - "src": "550:19:10" - } - ] - } - } - ] - }, - "documentation": null, - "id": 1190, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1161, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "423:8:10" - }, - "parameters": { - "id": 1160, - "nodeType": "ParameterList", - "parameters": [], - "src": "411:2:10" - }, - "returnParameters": { - "id": 1164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1163, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1190, - "src": "446:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "446:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "445:9:10" - }, - "scope": 1191, - "src": "387:243:10", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 1192, - "src": "97:535:10" - } - ], - "src": "0:633:10" - }, - "compiler": { - "name": "solc", - "version": "0.6.4+commit.1dca32f3.Emscripten.clang" - }, - "networks": { - "1": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "3": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "4": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "5": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "42": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "133": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - }, - "134": { - "events": { - "0xaa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - "0x3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" - } - }, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:34.353Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - } - }, - "userdoc": { - "methods": {} - } -} diff --git a/build/contracts/ERC1538QueryDelegate.json b/build/contracts/ERC1538QueryDelegate.json deleted file mode 100644 index b1ebdc9bf..000000000 --- a/build/contracts/ERC1538QueryDelegate.json +++ /dev/null @@ -1,14691 +0,0 @@ -{ - "contractName": "ERC1538QueryDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "totalFunctions", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "functionByIndex", - "outputs": [ - { - "internalType": "string", - "name": "signature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "id", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "delegate", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "_funcId", - "type": "bytes4" - } - ], - "name": "functionById", - "outputs": [ - { - "internalType": "string", - "name": "signature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "id", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "delegate", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_funcSignature", - "type": "string" - } - ], - "name": "functionExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_funcSignature", - "type": "string" - } - ], - "name": "delegateAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "functionSignatures", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_delegate", - "type": "address" - } - ], - "name": "delegateFunctionSignatures", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "delegateAddresses", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.4+commit.1dca32f3\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_funcSignature\",\"type\":\"string\"}],\"name\":\"delegateAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegateAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegate\",\"type\":\"address\"}],\"name\":\"delegateFunctionSignatures\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_funcId\",\"type\":\"bytes4\"}],\"name\":\"functionById\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"functionByIndex\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_funcSignature\",\"type\":\"string\"}],\"name\":\"functionExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"functionSignatures\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFunctions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Query.sol\":\"ERC1538QueryDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Query.sol\":{\"keccak256\":\"0x7da49fa70e8525fd80271046b12aa4e4b8bca1fbc95bd27fcb6472bf5006447f\",\"urls\":[\"bzz-raw://55985cf2cb5130e32c57218b2e52d83e03fd769fa8f59a3ea032bae43850284d\",\"dweb:/ipfs/QmVmhkYMVgmiK4iaMqjZUUZSFKmSnJNeu4xwUZxvh3QPD9\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x0de74dfa6b37943c1b834cbd8fb7a8d052e5ff80c7adb33692102dd6cd2985e9\",\"urls\":[\"bzz-raw://9d2d827fcf4a838f5821732c0acd6a40d21c2a5a2cfe2563feec91465f47bb60\",\"dweb:/ipfs/Qmex3wMKf5Sghbfvr288RUg1kP2uAyTMf11w83WbMbpQQc\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x13846e13b9a53dec12db1afd1e6ef8fb6b3a34577c59bab7b84db5c0fe227c6e\",\"urls\":[\"bzz-raw://ed869339a2fa5d4dda5f917d5b7970d845d1cdc1c02c7edb0f84ef1cda4d7646\",\"dweb:/ipfs/QmVYwkKDyxs9vT9S3HUHaQZ798NF3gYZ1QMg69CGedssgd\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405260006100176001600160e01b0361006516565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610e54833981519152908290a3506100606001600160e01b0361006916565b610114565b3390565b61007a6001600160e01b0361006516565b6000546001600160a01b039081169116146100dc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020610e54833981519152908390a3600080546001600160a01b0319169055565b610d31806101236000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063715018a611610071578063715018a61461032a5780638006a5d3146103345780638da5cb5b1461038c578063a08e8b3614610394578063a3f01e59146103ae578063f2fde38b146103d5576100a9565b80630164ee96146100ae5780630f0132b81461017757806349d0cd851461020357806351fc00ed146102805780635bfc7f77146102a6575b600080fd5b6100cb600480360360208110156100c457600080fd5b50356103fb565b6040518080602001846001600160e01b0319166001600160e01b0319168152602001836001600160a01b03166001600160a01b03168152602001828103825285818151815260200191508051906020019080838360005b8381101561013a578181015183820152602001610122565b50505050905090810190601f1680156101675780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b6101e76004803603602081101561018d57600080fd5b8101906020810181356401000000008111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460018302840111640100000000831117156101dc57600080fd5b509092509050610424565b604080516001600160a01b039092168252519081900360200190f35b61020b61045b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024557818101518382015260200161022d565b50505050905090810190601f1680156102725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020b6004803603602081101561029657600080fd5b50356001600160a01b0316610591565b610316600480360360208110156102bc57600080fd5b8101906020810181356401000000008111156102d757600080fd5b8201836020820111156102e957600080fd5b8035906020019184600183028401116401000000008311171561030b57600080fd5b509092509050610742565b604080519115158252519081900360200190f35b610332610772565b005b61033c610826565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610378578181015183820152602001610360565b505050509050019250505060405180910390f35b6101e76109ab565b61039c6109ba565b60408051918252519081900360200190f35b6100cb600480360360208110156103c457600080fd5b50356001600160e01b0319166109cb565b610332600480360360208110156103eb57600080fd5b50356001600160a01b0316610a00565b6060600080808084610416600180890163ffffffff610a7616565b999198509650945050505050565b600061045483836040518083838082843760405192018290039091206001945092505063ffffffff610aac169050565b9392505050565b6060600060015b61046c6001610ad5565b81116104a25761049461048660018363ffffffff610ae616565b60019063ffffffff610af816565b516001920182019101610462565b506060816040519080825280601f01601f1916602001820160405280156104d0576020820181803683370190505b509050600060015b6104e26001610ad5565b81116105885760606104fe61048660018463ffffffff610ae616565b905060005b81518110156105525781818151811061051857fe5b602001015160f81c60f81b85858151811061052f57fe5b60200101906001600160f81b031916908160001a90535060019384019301610503565b50603b60f81b84848151811061056457fe5b60200101906001600160f81b031916908160001a90535050600191820191016104d8565b50909250505090565b60608061059e6001610ad5565b6040519080825280602002602001820160405280156105d157816020015b60608152602001906001900390816105bc5790505b50905060008060015b6105e46001610ad5565b811161065657600080606061060060018563ffffffff610a7616565b925092509250816001600160a01b0316896001600160a01b03161415610648578051600101850194508087878151811061063657fe5b60200260200101819052508560010195505b5050508060010190506105da565b506060816040519080825280601f01601f191660200182016040528015610684576020820181803683370190505b5090506000805b848110156107365760608682815181106106a157fe5b6020026020010151905060008090505b8151811015610700578181815181106106c657fe5b602001015160f81c60f81b8585815181106106dd57fe5b60200101906001600160f81b031916908160001a905350600193840193016106b1565b50603b60f81b84848151811061071257fe5b60200101906001600160f81b031916908160001a905350506001918201910161068b565b50909695505050505050565b600061045483836040518083838082843760405192018290039091206001945092505063ffffffff610ba7169050565b61077a610bb9565b6000546001600160a01b039081169116146107dc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060806108336001610ad5565b60405190808252806020026020018201604052801561085c578160200160208202803683370190505b509050600060015b61086e6001610ad5565b811161092857600061089861088a60018463ffffffff610ae616565b60019063ffffffff610aac16565b90506000805b848110156108e4578581815181106108b257fe5b60200260200101516001600160a01b0316836001600160a01b031614156108dc57600191506108e4565b60010161089e565b508061091e57818585815181106108f757fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b5050600101610864565b50606081604051908082528060200260200182016040528015610955578160200160208202803683370190505b50905060005b828110156109a35783818151811061096f57fe5b602002602001015182828151811061098357fe5b6001600160a01b039092166020928302919091019091015260010161095b565b509250505090565b6000546001600160a01b031690565b60006109c66001610ad5565b905090565b60606000806109e160018563ffffffff610af816565b846109f360018263ffffffff610aac16565b9250925092509193909250565b610a08610bb9565b6000546001600160a01b03908116911614610a6a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a7381610bbd565b50565b60008060606000610a878686610ae6565b905080610a948783610aac565b610a9e8884610af8565b935093509350509250925092565b6001600160e01b031916600090815260029190910160205260409020546001600160a01b031690565b6000610ae082610c5d565b92915050565b6000610454838363ffffffff610c6116565b6001600160e01b03198116600090815260038301602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905092915050565b6000610454838363ffffffff610ca016565b3390565b6001600160a01b038116610c025760405162461bcd60e51b8152600401808060200182810382526026815260200180610cd66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b5490565b6000826000016001830381548110610c7557fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b905092915050565b6000610cac8383610cb5565b15159392505050565b6001600160e01b031916600090815260019190910160205260409020549056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122098fc9b58a1b5d0fdfeee180cfd826726897a2d24bca930c21ab2f4445c996f4064736f6c634300060400338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c8063715018a611610071578063715018a61461032a5780638006a5d3146103345780638da5cb5b1461038c578063a08e8b3614610394578063a3f01e59146103ae578063f2fde38b146103d5576100a9565b80630164ee96146100ae5780630f0132b81461017757806349d0cd851461020357806351fc00ed146102805780635bfc7f77146102a6575b600080fd5b6100cb600480360360208110156100c457600080fd5b50356103fb565b6040518080602001846001600160e01b0319166001600160e01b0319168152602001836001600160a01b03166001600160a01b03168152602001828103825285818151815260200191508051906020019080838360005b8381101561013a578181015183820152602001610122565b50505050905090810190601f1680156101675780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b6101e76004803603602081101561018d57600080fd5b8101906020810181356401000000008111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460018302840111640100000000831117156101dc57600080fd5b509092509050610424565b604080516001600160a01b039092168252519081900360200190f35b61020b61045b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024557818101518382015260200161022d565b50505050905090810190601f1680156102725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020b6004803603602081101561029657600080fd5b50356001600160a01b0316610591565b610316600480360360208110156102bc57600080fd5b8101906020810181356401000000008111156102d757600080fd5b8201836020820111156102e957600080fd5b8035906020019184600183028401116401000000008311171561030b57600080fd5b509092509050610742565b604080519115158252519081900360200190f35b610332610772565b005b61033c610826565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610378578181015183820152602001610360565b505050509050019250505060405180910390f35b6101e76109ab565b61039c6109ba565b60408051918252519081900360200190f35b6100cb600480360360208110156103c457600080fd5b50356001600160e01b0319166109cb565b610332600480360360208110156103eb57600080fd5b50356001600160a01b0316610a00565b6060600080808084610416600180890163ffffffff610a7616565b999198509650945050505050565b600061045483836040518083838082843760405192018290039091206001945092505063ffffffff610aac169050565b9392505050565b6060600060015b61046c6001610ad5565b81116104a25761049461048660018363ffffffff610ae616565b60019063ffffffff610af816565b516001920182019101610462565b506060816040519080825280601f01601f1916602001820160405280156104d0576020820181803683370190505b509050600060015b6104e26001610ad5565b81116105885760606104fe61048660018463ffffffff610ae616565b905060005b81518110156105525781818151811061051857fe5b602001015160f81c60f81b85858151811061052f57fe5b60200101906001600160f81b031916908160001a90535060019384019301610503565b50603b60f81b84848151811061056457fe5b60200101906001600160f81b031916908160001a90535050600191820191016104d8565b50909250505090565b60608061059e6001610ad5565b6040519080825280602002602001820160405280156105d157816020015b60608152602001906001900390816105bc5790505b50905060008060015b6105e46001610ad5565b811161065657600080606061060060018563ffffffff610a7616565b925092509250816001600160a01b0316896001600160a01b03161415610648578051600101850194508087878151811061063657fe5b60200260200101819052508560010195505b5050508060010190506105da565b506060816040519080825280601f01601f191660200182016040528015610684576020820181803683370190505b5090506000805b848110156107365760608682815181106106a157fe5b6020026020010151905060008090505b8151811015610700578181815181106106c657fe5b602001015160f81c60f81b8585815181106106dd57fe5b60200101906001600160f81b031916908160001a905350600193840193016106b1565b50603b60f81b84848151811061071257fe5b60200101906001600160f81b031916908160001a905350506001918201910161068b565b50909695505050505050565b600061045483836040518083838082843760405192018290039091206001945092505063ffffffff610ba7169050565b61077a610bb9565b6000546001600160a01b039081169116146107dc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060806108336001610ad5565b60405190808252806020026020018201604052801561085c578160200160208202803683370190505b509050600060015b61086e6001610ad5565b811161092857600061089861088a60018463ffffffff610ae616565b60019063ffffffff610aac16565b90506000805b848110156108e4578581815181106108b257fe5b60200260200101516001600160a01b0316836001600160a01b031614156108dc57600191506108e4565b60010161089e565b508061091e57818585815181106108f757fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b5050600101610864565b50606081604051908082528060200260200182016040528015610955578160200160208202803683370190505b50905060005b828110156109a35783818151811061096f57fe5b602002602001015182828151811061098357fe5b6001600160a01b039092166020928302919091019091015260010161095b565b509250505090565b6000546001600160a01b031690565b60006109c66001610ad5565b905090565b60606000806109e160018563ffffffff610af816565b846109f360018263ffffffff610aac16565b9250925092509193909250565b610a08610bb9565b6000546001600160a01b03908116911614610a6a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a7381610bbd565b50565b60008060606000610a878686610ae6565b905080610a948783610aac565b610a9e8884610af8565b935093509350509250925092565b6001600160e01b031916600090815260029190910160205260409020546001600160a01b031690565b6000610ae082610c5d565b92915050565b6000610454838363ffffffff610c6116565b6001600160e01b03198116600090815260038301602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905092915050565b6000610454838363ffffffff610ca016565b3390565b6001600160a01b038116610c025760405162461bcd60e51b8152600401808060200182810382526026815260200180610cd66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b5490565b6000826000016001830381548110610c7557fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b905092915050565b6000610cac8383610cb5565b15159392505050565b6001600160e01b031916600090815260019190910160205260409020549056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122098fc9b58a1b5d0fdfeee180cfd826726897a2d24bca930c21ab2f4445c996f4064736f6c63430006040033", - "sourceMap": "934:3351:7:-:0;;;832:17:29;852:12;-1:-1:-1;;;;;852:10:29;:12;:::i;:::-;874:6;:18;;-1:-1:-1;;;;;;874:18:29;-1:-1:-1;;;;;874:18:29;;;;;;;907:43;;874:18;;-1:-1:-1;874:18:29;-1:-1:-1;;;;;;;;;;;907:43:29;874:6;;907:43;-1:-1:-1;124:19:6;-1:-1:-1;;;;;124:17:6;:19;:::i;:::-;934:3351:7;;735:104:28;822:10;735:104;:::o;1656:145:29:-;1247:12;-1:-1:-1;;;;;1247:10:29;:12;:::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1762:1:::1;1746:6:::0;;1725:40:::1;::::0;-1:-1:-1;;;;;1746:6:29;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1725:40:29;1762:1;;1725:40:::1;1792:1;1775:19:::0;;-1:-1:-1;;;;;;1775:19:29::1;::::0;;1656:145::o;934:3351:7:-;;;;;;;", - "deployedSourceMap": "934:3351:7:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;934:3351:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1100:282:7;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1100:282:7;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;1100:282:7;;-1:-1:-1;;;;;1100:282:7;;;;;;;-1:-1:-1;;;;;1100:282:7;-1:-1:-1;;;;;1100:282:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1100:282:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1766:170;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1766:170:7;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;1766:170:7;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1766:170:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;1766:170:7;;-1:-1:-1;1766:170:7;-1:-1:-1;1766:170:7;:::i;:::-;;;;-1:-1:-1;;;;;1766:170:7;;;;;;;;;;;;;;1939:639;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1939:639:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2581:972;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;2581:972:7;-1:-1:-1;;;;;2581:972:7;;:::i;1595:168::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1595:168:7;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;1595:168:7;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1595:168:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;1595:168:7;;-1:-1:-1;1595:168:7;-1:-1:-1;1595:168:7;:::i;:::-;;;;;;;;;;;;;;;;;;1656:145:29;;;:::i;:::-;;3556:727:7;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3556:727:7;;;;;;;;;;;;;;;;;1033:77:29;;;:::i;998:99:7:-;;;:::i;:::-;;;;;;;;;;;;;;;;1385:207;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1385:207:7;-1:-1:-1;;;;;;1385:207:7;;:::i;1950:115:29:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1950:115:29;-1:-1:-1;;;;;1950:115:29;;:::i;1100:282:7:-;1173:23;1198:9;;;;1173:23;1300:22;1320:1;1311:10;;;1300:22;:10;:22;:::i;:::-;1232:90;;;-1:-1:-1;1232:90:7;-1:-1:-1;1100:282:7;-1:-1:-1;;;;;1100:282:7:o;1766:170::-;1855:7;1876:56;1914:14;;1898:32;;;;;30:3:-1;22:6;14;1:33;1898:32:7;;45:16:-1;;1898:32:7;;;;;;1876:7;;-1:-1:-1;1898:32:7;-1:-1:-1;;1876:56:7;:14;:56;;-1:-1:-1;1876:56:7:i;:::-;1869:63;1766:170;-1:-1:-1;;;1766:170:7:o;1939:639::-;2001:13;2021:24;2070:1;2053:131;2078:16;:7;:14;:16::i;:::-;2073:1;:21;2053:131;;2128:32;2143:16;:7;2157:1;2143:16;:13;:16;:::i;:::-;2128:7;;:32;:14;:32;:::i;:::-;:39;2170:1;2108:63;;;;;2096:3;2053:131;;;;2188:23;2224:16;2214:27;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;2214:27:7;87:42:-1;143:17;;-1:-1;2214:27:7;-1:-1:-1;2188:53:7;-1:-1:-1;2245:15:7;2285:1;2268:277;2293:16;:7;:14;:16::i;:::-;2288:1;:21;2268:277;;2323:22;2348:32;2363:16;:7;2377:1;2363:16;:13;:16;:::i;2348:32::-;2323:57;-1:-1:-1;2390:9:7;2385:111;2409:9;:16;2405:1;:20;2385:111;;;2463:9;2473:1;2463:12;;;;;;;;;;;;;;;;2441:10;2452:7;2441:19;;;;;;;;;;;:34;-1:-1:-1;;;;;2441:34:7;;;;;;;;-1:-1:-1;2481:9:7;;;;;2427:3;2385:111;;;;2522:4;2500:26;;:10;2511:7;2500:19;;;;;;;;;;;:26;-1:-1:-1;;;;;2500:26:7;;;;;;;;-1:-1:-1;;2531:9:7;;;;;2311:3;2268:277;;;-1:-1:-1;2563:10:7;;-1:-1:-1;;;1939:639:7;:::o;2581:972::-;2668:13;2688:33;2736:16;:7;:14;:16::i;:::-;2724:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2688:65:7;-1:-1:-1;2757:32:7;;2847:1;2830:333;2855:16;:7;:14;:16::i;:::-;2850:1;:21;2830:333;;2886:13;;2923:26;2953:13;:7;2964:1;2953:13;:10;:13;:::i;:::-;2885:81;;;;;;2988:12;-1:-1:-1;;;;;2975:25:7;:9;-1:-1:-1;;;;;2975:25:7;;2971:188;;;3031:13;:20;3054:1;3031:24;3011:44;;;;3108:13;3061:18;3080:24;3061:44;;;;;;;;;;;;;:60;;;;3127:26;;;;;2971:188;2830:333;;;2873:3;;;;;2830:333;;;;3167:23;3203:16;3193:27;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;3193:27:7;87:42:-1;143:17;;-1:-1;3193:27:7;-1:-1:-1;3167:53:7;-1:-1:-1;3224:15:7;;3247:273;3271:24;3267:1;:28;3247:273;;;3309:22;3334:18;3353:1;3334:21;;;;;;;;;;;;;;3309:46;;3365:9;3377:1;3365:13;;3360:111;3384:9;:16;3380:1;:20;3360:111;;;3438:9;3448:1;3438:12;;;;;;;;;;;;;;;;3416:10;3427:7;3416:19;;;;;;;;;;;:34;-1:-1:-1;;;;;3416:34:7;;;;;;;;-1:-1:-1;3456:9:7;;;;;3402:3;3360:111;;;;3497:4;3475:26;;:10;3486:7;3475:19;;;;;;;;;;;:26;-1:-1:-1;;;;;3475:26:7;;;;;;;;-1:-1:-1;;3506:9:7;;;;;3297:3;3247:273;;;-1:-1:-1;3538:10:7;;2581:972;-1:-1:-1;;;;;;2581:972:7:o;1595:168::-;1683:4;1701:58;1741:14;;1725:32;;;;;30:3:-1;22:6;14;1:33;1725:32:7;;45:16:-1;;1725:32:7;;;;;;1701:7;;-1:-1:-1;1725:32:7;-1:-1:-1;;1701:58:7;:16;:58;;-1:-1:-1;1701:58:7:i;1656:145:29:-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1762:1:::1;1746:6:::0;;1725:40:::1;::::0;-1:-1:-1;;;;;1746:6:29;;::::1;::::0;1725:40:::1;::::0;1762:1;;1725:40:::1;1792:1;1775:19:::0;;-1:-1:-1;;;;;;1775:19:29::1;::::0;;1656:145::o;3556:727:7:-;3617:16;3640:32;3689:16;:7;:14;:16::i;:::-;3675:31;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;3675:31:7;-1:-1:-1;3640:66:7;-1:-1:-1;3711:20:7;3756:1;3739:369;3764:16;:7;:14;:16::i;:::-;3759:1;:21;3739:369;;3794:16;3813:32;3828:16;:7;3842:1;3828:16;:13;:16;:::i;:::-;3813:7;;:32;:14;:32;:::i;:::-;3794:51;-1:-1:-1;3850:9:7;;3872:134;3896:12;3892:1;:16;3872:134;;;3940:15;3956:1;3940:18;;;;;;;;;;;;;;-1:-1:-1;;;;;3928:30:7;:8;-1:-1:-1;;;;;3928:30:7;;3924:77;;;3978:4;3971:11;;3989:5;;3924:77;3910:3;;3872:134;;;-1:-1:-1;4014:13:7;4010:94;;4070:8;4038:15;4054:12;4038:29;;;;;;;;;;;;;:40;-1:-1:-1;;;;;4038:40:7;;;-1:-1:-1;;;;;4038:40:7;;;;;4084:14;;;;;4010:94;-1:-1:-1;;3782:3:7;;3739:369;;;;4112:26;4155:12;4141:27;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;4141:27:7;-1:-1:-1;4112:56:7;-1:-1:-1;4177:9:7;4172:88;4196:12;4192:1;:16;4172:88;;;4237:15;4253:1;4237:18;;;;;;;;;;;;;;4222:9;4232:1;4222:12;;;;;;;;-1:-1:-1;;;;;4222:33:7;;;:12;;;;;;;;;;;:33;4210:3;;4172:88;;;-1:-1:-1;4270:9:7;-1:-1:-1;;;3556:727:7;:::o;1033:77:29:-;1071:7;1097:6;-1:-1:-1;;;;;1097:6:29;1033:77;:::o;998:99:7:-;1056:7;1077:16;:7;:14;:16::i;:::-;1070:23;;998:99;:::o;1385:207::-;1455:23;1480:9;;1529:23;:7;1544;1529:23;:14;:23;:::i;:::-;1555:7;1564:23;:7;1555;1564:23;:14;:23;:::i;:::-;1514:74;;;;;;1385:207;;;;;:::o;1950:115:29:-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2030:28:::1;2049:8;2030:18;:28::i;:::-;1950:115:::0;:::o;740:199:31:-;810:6;819:7;829:12;848:11;862:19;868:4;874:6;862:5;:19::i;:::-;848:33;;893:3;898:17;905:4;911:3;898:6;:17::i;:::-;917;924:4;930:3;917:6;:17::i;:::-;885:50;;;;;;;740:199;;;;;:::o;375:116::-;-1:-1:-1;;;;;;469:18:31;447:7;469:18;;;:12;;;;;:18;;;;;;-1:-1:-1;;;;;469:18:31;;375:116::o;269:103::-;327:7;348:20;:4;:18;:20::i;:::-;341:27;269:103;-1:-1:-1;;269:103:31:o;617:120::-;690:6;711:22;:4;726:6;711:22;:14;:22;:::i;494:120::-;-1:-1:-1;;;;;;592:18:31;;;;;;:12;;;:18;;;;;;;;;585:25;;;;;;-1:-1:-1;;585:25:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;566:12;;585:25;;;592:18;585:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;494:120;;;;:::o;1068:122::-;1142:4;1160:26;:4;1181;1160:26;:20;:26;:::i;735:104:28:-;822:10;735:104;:::o;2166:233:29:-;-1:-1:-1;;;;;2247:22:29;;2239:73;;;;-1:-1:-1;;;2239:73:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2348:6;;;2327:38;;-1:-1:-1;;;;;2327:38:29;;;;2348:6;;;2327:38;;;2375:6;:17;;-1:-1:-1;;;;;;2375:17:29;-1:-1:-1;;;;;2375:17:29;;;;;;;;;;2166:233::o;133:101:32:-;212:18;;133:101::o;237:118::-;307:6;328:4;:11;;349:1;340:6;:10;328:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:30;;237:118;;;;:::o;481:124::-;557:4;575:21;583:4;589:6;575:7;:21::i;:::-;:26;;;481:124;-1:-1:-1;;;481:124:32:o;358:120::-;-1:-1:-1;;;;;;454:20:32;433:7;454:20;;;:12;;;;;:20;;;;;;;358:120::o", - "source": "pragma solidity ^0.6.0;\n\nimport \"../ERC1538Module.sol\";\n\n\ninterface ERC1538Query\n{\n\tfunction totalFunctions ( ) external view returns(uint256);\n\tfunction functionByIndex (uint256 _index ) external view returns(string memory, bytes4, address);\n\tfunction functionById (bytes4 _id ) external view returns(string memory, bytes4, address);\n\tfunction functionExists (string calldata _signature) external view returns(bool);\n\tfunction functionSignatures ( ) external view returns(string memory);\n\tfunction delegateFunctionSignatures(address _delegate ) external view returns(string memory);\n\tfunction delegateAddress (string calldata _signature) external view returns(address);\n\tfunction delegateAddresses ( ) external view returns(address[] memory);\n}\n\ncontract ERC1538QueryDelegate is ERC1538Query, ERC1538Module\n{\n\tfunction totalFunctions()\n\texternal override view returns(uint256)\n\t{\n\t\treturn m_funcs.length();\n\t}\n\n\tfunction functionByIndex(uint256 _index)\n\texternal override view returns(string memory signature, bytes4 id, address delegate)\n\t{\n\t\t(bytes4 funcId, address funcDelegate, bytes memory funcSignature) = m_funcs.at(_index + 1);\n\t\treturn (string(funcSignature), funcId, funcDelegate);\n\t}\n\n\tfunction functionById(bytes4 _funcId)\n\texternal override view returns(string memory signature, bytes4 id, address delegate)\n\t{\n\t\treturn (string(m_funcs.value2(_funcId)), _funcId, m_funcs.value1(_funcId));\n\t}\n\n\tfunction functionExists(string calldata _funcSignature)\n\texternal override view returns(bool)\n\t{\n\t\treturn m_funcs.contains(bytes4(keccak256(bytes(_funcSignature))));\n\t}\n\n\tfunction delegateAddress(string calldata _funcSignature)\n\texternal override view returns(address)\n\t{\n\t\treturn m_funcs.value1(bytes4(keccak256(bytes(_funcSignature))));\n\t}\n\n\tfunction functionSignatures()\n\texternal override view returns(string memory)\n\t{\n\t\tuint256 signaturesLength = 0;\n\t\tfor (uint256 i = 1; i <= m_funcs.length(); ++i)\n\t\t{\n\t\t\tsignaturesLength += m_funcs.value2(m_funcs.keyAt(i)).length + 1; // EDIT\n\t\t}\n\n\t\tbytes memory signatures = new bytes(signaturesLength);\n\t\tuint256 charPos = 0;\n\t\tfor (uint256 i = 1; i <= m_funcs.length(); ++i)\n\t\t{\n\t\t\tbytes memory signature = m_funcs.value2(m_funcs.keyAt(i));\n\t\t\tfor (uint256 c = 0; c < signature.length; ++c)\n\t\t\t{\n\t\t\t\tsignatures[charPos] = signature[c];\n\t\t\t\t++charPos;\n\t\t\t}\n\t\t\tsignatures[charPos] = 0x3B;\n\t\t\t++charPos;\n\t\t}\n\n\t\treturn string(signatures);\n\t}\n\n\tfunction delegateFunctionSignatures(address _delegate)\n\texternal override view returns(string memory)\n\t{\n\t\tbytes[] memory delegateSignatures = new bytes[](m_funcs.length());\n\t\tuint256 delegateSignaturesLength = 0;\n\n\t\tuint256 signaturesLength = 0;\n\t\tfor (uint256 i = 1; i <= m_funcs.length(); ++i)\n\t\t{\n\t\t\t(bytes4 funcId, address funcDelegate, bytes memory funcSignature) = m_funcs.at(i);\n\t\t\tif (_delegate == funcDelegate)\n\t\t\t{\n\t\t\t\tsignaturesLength += funcSignature.length + 1;\n\t\t\t\tdelegateSignatures[delegateSignaturesLength] = funcSignature;\n\t\t\t\t++delegateSignaturesLength;\n\t\t\t}\n\t\t}\n\n\t\tbytes memory signatures = new bytes(signaturesLength);\n\t\tuint256 charPos = 0;\n\t\tfor (uint256 i = 0; i < delegateSignaturesLength; ++i)\n\t\t{\n\t\t\tbytes memory signature = delegateSignatures[i];\n\t\t\tfor (uint256 c = 0; c < signature.length; ++c)\n\t\t\t{\n\t\t\t\tsignatures[charPos] = signature[c];\n\t\t\t\t++charPos;\n\t\t\t}\n\t\t\tsignatures[charPos] = 0x3B;\n\t\t\t++charPos;\n\t\t}\n\n\t\treturn string(signatures);\n\t}\n\n\tfunction delegateAddresses()\n\texternal override view returns(address[] memory)\n\t{\n\t\taddress[] memory delegatesBucket = new address[](m_funcs.length());\n\n\t\tuint256 numDelegates = 0;\n\t\tfor (uint256 i = 1; i <= m_funcs.length(); ++i)\n\t\t{\n\t\t\taddress delegate = m_funcs.value1(m_funcs.keyAt(i));\n\t\t\tbool seen = false;\n\t\t\tfor (uint256 j = 0; j < numDelegates; ++j)\n\t\t\t{\n\t\t\t\tif (delegate == delegatesBucket[j])\n\t\t\t\t{\n\t\t\t\t\tseen = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (seen == false)\n\t\t\t{\n\t\t\t\tdelegatesBucket[numDelegates] = delegate;\n\t\t\t\t++numDelegates;\n\t\t\t}\n\t\t}\n\n\t\taddress[] memory delegates = new address[](numDelegates);\n\t\tfor (uint256 i = 0; i < numDelegates; ++i)\n\t\t{\n\t\t\tdelegates[i] = delegatesBucket[i];\n\t\t}\n\t\treturn delegates;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Query.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Query.sol", - "exportedSymbols": { - "ERC1538Query": [ - 437 - ], - "ERC1538QueryDelegate": [ - 936 - ] - }, - "id": 937, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 376, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:7" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "../ERC1538Module.sol", - "id": 377, - "nodeType": "ImportDirective", - "scope": 937, - "sourceUnit": 375, - "src": "25:30:7", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 437, - "linearizedBaseContracts": [ - 437 - ], - "name": "ERC1538Query", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "a08e8b36", - "id": 382, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalFunctions", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 378, - "nodeType": "ParameterList", - "parameters": [], - "src": "119:29:7" - }, - "returnParameters": { - "id": 381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 380, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 382, - "src": "171:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "171:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "170:9:7" - }, - "scope": 437, - "src": "84:96:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0164ee96", - "id": 393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 384, - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "218:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "217:29:7" - }, - "returnParameters": { - "id": 392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 387, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "269:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "269:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 389, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 388, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 391, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "292:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "292:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "268:32:7" - }, - "scope": 437, - "src": "182:119:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a3f01e59", - "id": 404, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionById", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 395, - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "339:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 394, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "339:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "338:29:7" - }, - "returnParameters": { - "id": 403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 398, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "390:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 397, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 400, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "405:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 399, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "405:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 402, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "413:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "413:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "389:32:7" - }, - "scope": 437, - "src": "303:119:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5bfc7f77", - "id": 411, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionExists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 406, - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 411, - "src": "460:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "460:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "459:29:7" - }, - "returnParameters": { - "id": 410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 409, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 411, - "src": "511:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 408, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "511:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "510:6:7" - }, - "scope": 437, - "src": "424:93:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "49d0cd85", - "id": 416, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionSignatures", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 412, - "nodeType": "ParameterList", - "parameters": [], - "src": "554:29:7" - }, - "returnParameters": { - "id": 415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 414, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 416, - "src": "606:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 413, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "606:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "605:15:7" - }, - "scope": 437, - "src": "519:102:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "51fc00ed", - "id": 423, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateFunctionSignatures", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 419, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 418, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 423, - "src": "659:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "659:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "658:29:7" - }, - "returnParameters": { - "id": 422, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 421, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 423, - "src": "710:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "710:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "709:15:7" - }, - "scope": 437, - "src": "623:102:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0f0132b8", - "id": 430, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 425, - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 430, - "src": "763:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 424, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "762:29:7" - }, - "returnParameters": { - "id": 429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 428, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 430, - "src": "814:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "814:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "813:9:7" - }, - "scope": 437, - "src": "727:96:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8006a5d3", - "id": 436, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateAddresses", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 431, - "nodeType": "ParameterList", - "parameters": [], - "src": "860:29:7" - }, - "returnParameters": { - "id": 435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 434, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 436, - "src": "912:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 433, - "length": null, - "nodeType": "ArrayTypeName", - "src": "912:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "911:18:7" - }, - "scope": 437, - "src": "825:105:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 937, - "src": "58:874:7" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 438, - "name": "ERC1538Query", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 437, - "src": "967:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Query_$437", - "typeString": "contract ERC1538Query" - } - }, - "id": 439, - "nodeType": "InheritanceSpecifier", - "src": "967:12:7" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 440, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 374, - "src": "981:13:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$374", - "typeString": "contract ERC1538Module" - } - }, - "id": 441, - "nodeType": "InheritanceSpecifier", - "src": "981:13:7" - } - ], - "contractDependencies": [ - 374, - 437, - 1263, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 936, - "linearizedBaseContracts": [ - 936, - 374, - 1263, - 2608, - 2488, - 437 - ], - "name": "ERC1538QueryDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 382 - ], - "body": { - "id": 451, - "nodeType": "Block", - "src": "1066:31:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 447, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1077:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "1077:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1077:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 446, - "id": 450, - "nodeType": "Return", - "src": "1070:23:7" - } - ] - }, - "documentation": null, - "functionSelector": "a08e8b36", - "id": 452, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalFunctions", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 443, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1034:8:7" - }, - "parameters": { - "id": 442, - "nodeType": "ParameterList", - "parameters": [], - "src": "1021:2:7" - }, - "returnParameters": { - "id": 446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 445, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 452, - "src": "1056:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1056:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1055:9:7" - }, - "scope": 936, - "src": "998:99:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 393 - ], - "body": { - "id": 485, - "nodeType": "Block", - "src": "1228:154:7", - "statements": [ - { - "assignments": [ - 465, - 467, - 469 - ], - "declarations": [ - { - "constant": false, - "id": 465, - "name": "funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1233:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 464, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1233:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 467, - "name": "funcDelegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1248:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1248:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 469, - "name": "funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1270:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 468, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 476, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 472, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "1311:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1320:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1311:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 470, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1300:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 471, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 2781, - "src": "1300:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4,address,bytes memory)" - } - }, - "id": 475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1300:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1232:90:7" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 479, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 469, - "src": "1341:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1334:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 477, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1334:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 481, - "name": "funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 465, - "src": "1357:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "id": 482, - "name": "funcDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 467, - "src": "1365:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 483, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1333:45:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_bytes4_$_t_address_$", - "typeString": "tuple(string memory,bytes4,address)" - } - }, - "functionReturnParameters": 463, - "id": 484, - "nodeType": "Return", - "src": "1326:52:7" - } - ] - }, - "documentation": null, - "functionSelector": "0164ee96", - "id": 486, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 456, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1151:8:7" - }, - "parameters": { - "id": 455, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 454, - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1125:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 453, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1125:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1124:16:7" - }, - "returnParameters": { - "id": 463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 458, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1173:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1173:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 460, - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1198:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 459, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1198:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 462, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1209:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1209:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1172:54:7" - }, - "scope": 936, - "src": "1100:282:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 404 - ], - "body": { - "id": 512, - "nodeType": "Block", - "src": "1510:82:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 502, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1544:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 500, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1529:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 501, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "1529:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1529:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 498, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1522:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1522:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 505, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1555:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 508, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1579:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 506, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1564:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 507, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "1564:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1564:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 510, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1521:67:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_bytes4_$_t_address_$", - "typeString": "tuple(string memory,bytes4,address)" - } - }, - "functionReturnParameters": 497, - "id": 511, - "nodeType": "Return", - "src": "1514:74:7" - } - ] - }, - "documentation": null, - "functionSelector": "a3f01e59", - "id": 513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionById", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 490, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1433:8:7" - }, - "parameters": { - "id": 489, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 488, - "name": "_funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1407:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 487, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1407:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1406:16:7" - }, - "returnParameters": { - "id": 497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 492, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1455:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 491, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1455:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 494, - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1480:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 493, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1480:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 496, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1491:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1454:54:7" - }, - "scope": 936, - "src": "1385:207:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 411 - ], - "body": { - "id": 534, - "nodeType": "Block", - "src": "1690:73:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 528, - "name": "_funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 515, - "src": "1741:14:7", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1735:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 526, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1735:5:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1735:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 525, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1725:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1725:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1718:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 523, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1718:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1718:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 521, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 522, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 2813, - "src": "1701:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bool)" - } - }, - "id": 532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1701:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 520, - "id": 533, - "nodeType": "Return", - "src": "1694:65:7" - } - ] - }, - "documentation": null, - "functionSelector": "5bfc7f77", - "id": 535, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionExists", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 517, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1661:8:7" - }, - "parameters": { - "id": 516, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 515, - "name": "_funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 535, - "src": "1619:30:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 514, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1618:32:7" - }, - "returnParameters": { - "id": 520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 519, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 535, - "src": "1683:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1683:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1682:6:7" - }, - "scope": 936, - "src": "1595:168:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 430 - ], - "body": { - "id": 556, - "nodeType": "Block", - "src": "1865:71:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 550, - "name": "_funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "1914:14:7", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1908:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 548, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1908:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 547, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1898:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1898:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1891:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1891:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 543, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1876:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 544, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "1876:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1876:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 542, - "id": 555, - "nodeType": "Return", - "src": "1869:63:7" - } - ] - }, - "documentation": null, - "functionSelector": "0f0132b8", - "id": 557, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateAddress", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 539, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1833:8:7" - }, - "parameters": { - "id": 538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 537, - "name": "_funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 557, - "src": "1791:30:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1791:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1790:32:7" - }, - "returnParameters": { - "id": 542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 541, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 557, - "src": "1855:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1855:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1854:9:7" - }, - "scope": 936, - "src": "1766:170:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 416 - ], - "body": { - "id": 667, - "nodeType": "Block", - "src": "2017:561:7", - "statements": [ - { - "assignments": [ - 564 - ], - "declarations": [ - { - "constant": false, - "id": 564, - "name": "signaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2021:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 563, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2021:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 566, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2048:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2021:28:7" - }, - { - "body": { - "id": 592, - "nodeType": "Block", - "src": "2103:81:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 579, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 564, - "src": "2108:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 584, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2157:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 582, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2143:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 583, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "2143:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2143:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 580, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2128:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "2128:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2128:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2128:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2170:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2128:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2108:63:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 591, - "nodeType": "ExpressionStatement", - "src": "2108:63:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 571, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2073:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 572, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2078:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2078:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2078:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2073:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 593, - "initializationExpression": { - "assignments": [ - 568 - ], - "declarations": [ - { - "constant": false, - "id": 568, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 593, - "src": "2058:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 567, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2058:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 570, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2070:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2058:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2096:3:7", - "subExpression": { - "argumentTypes": null, - "id": 576, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2098:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 578, - "nodeType": "ExpressionStatement", - "src": "2096:3:7" - }, - "nodeType": "ForStatement", - "src": "2053:131:7" - }, - { - "assignments": [ - 595 - ], - "declarations": [ - { - "constant": false, - "id": 595, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2188:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 594, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 600, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 598, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 564, - "src": "2224:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2214:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 596, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2218:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2214:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2188:53:7" - }, - { - "assignments": [ - 602 - ], - "declarations": [ - { - "constant": false, - "id": 602, - "name": "charPos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2245:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 601, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2245:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 604, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2263:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2245:19:7" - }, - { - "body": { - "id": 660, - "nodeType": "Block", - "src": "2318:227:7", - "statements": [ - { - "assignments": [ - 618 - ], - "declarations": [ - { - "constant": false, - "id": 618, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 660, - "src": "2323:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 617, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2323:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 626, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 623, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2377:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 621, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2363:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "2363:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2363:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 619, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "2348:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2348:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2323:57:7" - }, - { - "body": { - "id": 649, - "nodeType": "Block", - "src": "2435:61:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 638, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2441:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 640, - "indexExpression": { - "argumentTypes": null, - "id": 639, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2452:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2441:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 641, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "2463:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 643, - "indexExpression": { - "argumentTypes": null, - "id": 642, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2473:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2463:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "2441:34:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 645, - "nodeType": "ExpressionStatement", - "src": "2441:34:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2481:9:7", - "subExpression": { - "argumentTypes": null, - "id": 646, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2483:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 648, - "nodeType": "ExpressionStatement", - "src": "2481:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 631, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2405:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 632, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "2409:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2409:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2405:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 650, - "initializationExpression": { - "assignments": [ - 628 - ], - "declarations": [ - { - "constant": false, - "id": 628, - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 650, - "src": "2390:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 627, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 630, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2402:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2390:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2427:3:7", - "subExpression": { - "argumentTypes": null, - "id": 635, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 637, - "nodeType": "ExpressionStatement", - "src": "2427:3:7" - }, - "nodeType": "ForStatement", - "src": "2385:111:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 651, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2500:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 653, - "indexExpression": { - "argumentTypes": null, - "id": 652, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2511:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2500:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2522:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "2500:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 656, - "nodeType": "ExpressionStatement", - "src": "2500:26:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2531:9:7", - "subExpression": { - "argumentTypes": null, - "id": 657, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2533:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 659, - "nodeType": "ExpressionStatement", - "src": "2531:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 609, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 610, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2293:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2293:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2293:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2288:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 661, - "initializationExpression": { - "assignments": [ - 606 - ], - "declarations": [ - { - "constant": false, - "id": 606, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 661, - "src": "2273:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 605, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2273:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 608, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2285:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2273:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2311:3:7", - "subExpression": { - "argumentTypes": null, - "id": 614, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2313:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 616, - "nodeType": "ExpressionStatement", - "src": "2311:3:7" - }, - "nodeType": "ForStatement", - "src": "2268:277:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 664, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2563:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2556:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2556:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2556:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 562, - "id": 666, - "nodeType": "Return", - "src": "2549:25:7" - } - ] - }, - "documentation": null, - "functionSelector": "49d0cd85", - "id": 668, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionSignatures", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 559, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1979:8:7" - }, - "parameters": { - "id": 558, - "nodeType": "ParameterList", - "parameters": [], - "src": "1966:2:7" - }, - "returnParameters": { - "id": 562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 561, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 668, - "src": "2001:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2001:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2000:15:7" - }, - "scope": 936, - "src": "1939:639:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 423 - ], - "body": { - "id": 810, - "nodeType": "Block", - "src": "2684:869:7", - "statements": [ - { - "assignments": [ - 680 - ], - "declarations": [ - { - "constant": false, - "id": 680, - "name": "delegateSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2688:33:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 678, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 679, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2688:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 688, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 684, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2736:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2736:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2736:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2724:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_$dyn_memory_$", - "typeString": "function (uint256) pure returns (bytes memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2728:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 682, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2728:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - } - }, - "id": 687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2724:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory", - "typeString": "bytes memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2688:65:7" - }, - { - "assignments": [ - 690 - ], - "declarations": [ - { - "constant": false, - "id": 690, - "name": "delegateSignaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2757:32:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2757:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 692, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2792:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2757:36:7" - }, - { - "assignments": [ - 694 - ], - "declarations": [ - { - "constant": false, - "id": 694, - "name": "signaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2798:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 693, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2798:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 696, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2798:28:7" - }, - { - "body": { - "id": 741, - "nodeType": "Block", - "src": "2880:283:7", - "statements": [ - { - "assignments": [ - 710, - 712, - 714 - ], - "declarations": [ - { - "constant": false, - "id": 710, - "name": "funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2886:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 709, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2886:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 712, - "name": "funcDelegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2901:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2901:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 714, - "name": "funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2923:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 713, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2923:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 719, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 717, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2964:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 715, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 716, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 2781, - "src": "2953:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4,address,bytes memory)" - } - }, - "id": 718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2953:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2885:81:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 720, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 670, - "src": "2975:9:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 721, - "name": "funcDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 712, - "src": "2988:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2975:25:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 740, - "nodeType": "IfStatement", - "src": "2971:188:7", - "trueBody": { - "id": 739, - "nodeType": "Block", - "src": "3005:154:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 723, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 694, - "src": "3011:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 724, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 714, - "src": "3031:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3031:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3054:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3031:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3011:44:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 729, - "nodeType": "ExpressionStatement", - "src": "3011:44:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 730, - "name": "delegateSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "3061:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 732, - "indexExpression": { - "argumentTypes": null, - "id": 731, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3080:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3061:44:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 733, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 714, - "src": "3108:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "3061:60:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "id": 735, - "nodeType": "ExpressionStatement", - "src": "3061:60:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3127:26:7", - "subExpression": { - "argumentTypes": null, - "id": 736, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3129:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 738, - "nodeType": "ExpressionStatement", - "src": "3127:26:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 701, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2850:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 702, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2855:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2855:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2855:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2850:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 742, - "initializationExpression": { - "assignments": [ - 698 - ], - "declarations": [ - { - "constant": false, - "id": 698, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 742, - "src": "2835:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 700, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2847:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2835:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2873:3:7", - "subExpression": { - "argumentTypes": null, - "id": 706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2875:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 708, - "nodeType": "ExpressionStatement", - "src": "2873:3:7" - }, - "nodeType": "ForStatement", - "src": "2830:333:7" - }, - { - "assignments": [ - 744 - ], - "declarations": [ - { - "constant": false, - "id": 744, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "3167:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 743, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3167:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 749, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 747, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 694, - "src": "3203:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3193:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 745, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3197:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3193:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3167:53:7" - }, - { - "assignments": [ - 751 - ], - "declarations": [ - { - "constant": false, - "id": 751, - "name": "charPos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "3224:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 750, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 753, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3242:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3224:19:7" - }, - { - "body": { - "id": 803, - "nodeType": "Block", - "src": "3304:216:7", - "statements": [ - { - "assignments": [ - 765 - ], - "declarations": [ - { - "constant": false, - "id": 765, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 803, - "src": "3309:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 764, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 769, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 766, - "name": "delegateSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "3334:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 768, - "indexExpression": { - "argumentTypes": null, - "id": 767, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3353:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3334:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3309:46:7" - }, - { - "body": { - "id": 792, - "nodeType": "Block", - "src": "3410:61:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 781, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 783, - "indexExpression": { - "argumentTypes": null, - "id": 782, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3416:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 784, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3438:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 786, - "indexExpression": { - "argumentTypes": null, - "id": 785, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3448:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3438:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "3416:34:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 788, - "nodeType": "ExpressionStatement", - "src": "3416:34:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3456:9:7", - "subExpression": { - "argumentTypes": null, - "id": 789, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3458:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 791, - "nodeType": "ExpressionStatement", - "src": "3456:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 774, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3380:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 775, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3384:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3380:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 793, - "initializationExpression": { - "assignments": [ - 771 - ], - "declarations": [ - { - "constant": false, - "id": 771, - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 793, - "src": "3365:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 770, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3365:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 773, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3377:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3365:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3402:3:7", - "subExpression": { - "argumentTypes": null, - "id": 778, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3404:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 780, - "nodeType": "ExpressionStatement", - "src": "3402:3:7" - }, - "nodeType": "ForStatement", - "src": "3360:111:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 794, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3475:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 796, - "indexExpression": { - "argumentTypes": null, - "id": 795, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3475:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3497:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "3475:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 799, - "nodeType": "ExpressionStatement", - "src": "3475:26:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3506:9:7", - "subExpression": { - "argumentTypes": null, - "id": 800, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3508:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 802, - "nodeType": "ExpressionStatement", - "src": "3506:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3267:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 759, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3271:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3267:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 804, - "initializationExpression": { - "assignments": [ - 755 - ], - "declarations": [ - { - "constant": false, - "id": 755, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 804, - "src": "3252:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 757, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3264:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3252:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3297:3:7", - "subExpression": { - "argumentTypes": null, - "id": 761, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3299:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 763, - "nodeType": "ExpressionStatement", - "src": "3297:3:7" - }, - "nodeType": "ForStatement", - "src": "3247:273:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 807, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3538:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3531:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 805, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3531:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3531:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 675, - "id": 809, - "nodeType": "Return", - "src": "3524:25:7" - } - ] - }, - "documentation": null, - "functionSelector": "51fc00ed", - "id": 811, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateFunctionSignatures", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 672, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2646:8:7" - }, - "parameters": { - "id": 671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 670, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 811, - "src": "2617:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2617:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2616:19:7" - }, - "returnParameters": { - "id": 675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 674, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 811, - "src": "2668:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2667:15:7" - }, - "scope": 936, - "src": "2581:972:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 436 - ], - "body": { - "id": 934, - "nodeType": "Block", - "src": "3636:647:7", - "statements": [ - { - "assignments": [ - 822 - ], - "declarations": [ - { - "constant": false, - "id": 822, - "name": "delegatesBucket", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "3640:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 820, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3640:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 821, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3640:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 830, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 826, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 827, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "3689:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3689:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3675:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3679:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 824, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3679:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3675:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3640:66:7" - }, - { - "assignments": [ - 832 - ], - "declarations": [ - { - "constant": false, - "id": 832, - "name": "numDelegates", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "3711:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 831, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3711:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 834, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3734:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3711:24:7" - }, - { - "body": { - "id": 899, - "nodeType": "Block", - "src": "3789:319:7", - "statements": [ - { - "assignments": [ - 848 - ], - "declarations": [ - { - "constant": false, - "id": 848, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 899, - "src": "3794:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3794:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 856, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 853, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 851, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "3828:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3828:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 849, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3813:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "3813:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3813:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3794:51:7" - }, - { - "assignments": [ - 858 - ], - "declarations": [ - { - "constant": false, - "id": 858, - "name": "seen", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 899, - "src": "3850:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 857, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3850:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 860, - "initialValue": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3862:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3850:17:7" - }, - { - "body": { - "id": 883, - "nodeType": "Block", - "src": "3918:88:7", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 871, - "name": "delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "3928:8:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 872, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "3940:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 874, - "indexExpression": { - "argumentTypes": null, - "id": 873, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3956:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3940:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3928:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 882, - "nodeType": "IfStatement", - "src": "3924:77:7", - "trueBody": { - "id": 881, - "nodeType": "Block", - "src": "3964:37:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 876, - "name": "seen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 858, - "src": "3971:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3978:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "3971:11:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 879, - "nodeType": "ExpressionStatement", - "src": "3971:11:7" - }, - { - "id": 880, - "nodeType": "Break", - "src": "3989:5:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 865, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3892:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 866, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "3896:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3892:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 884, - "initializationExpression": { - "assignments": [ - 862 - ], - "declarations": [ - { - "constant": false, - "id": 862, - "name": "j", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 884, - "src": "3877:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 861, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3877:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 864, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3889:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3877:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3910:3:7", - "subExpression": { - "argumentTypes": null, - "id": 868, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3912:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 870, - "nodeType": "ExpressionStatement", - "src": "3910:3:7" - }, - "nodeType": "ForStatement", - "src": "3872:134:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 885, - "name": "seen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 858, - "src": "4014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4022:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "4014:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 898, - "nodeType": "IfStatement", - "src": "4010:94:7", - "trueBody": { - "id": 897, - "nodeType": "Block", - "src": "4032:72:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 888, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "4038:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 890, - "indexExpression": { - "argumentTypes": null, - "id": 889, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4038:29:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 891, - "name": "delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "4070:8:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4038:40:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 893, - "nodeType": "ExpressionStatement", - "src": "4038:40:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "4084:14:7", - "subExpression": { - "argumentTypes": null, - "id": 894, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4086:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 896, - "nodeType": "ExpressionStatement", - "src": "4084:14:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 839, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3759:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 840, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "3764:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3764:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3759:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 900, - "initializationExpression": { - "assignments": [ - 836 - ], - "declarations": [ - { - "constant": false, - "id": 836, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 900, - "src": "3744:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 835, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3744:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 838, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3756:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3744:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3782:3:7", - "subExpression": { - "argumentTypes": null, - "id": 844, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3784:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 846, - "nodeType": "ExpressionStatement", - "src": "3782:3:7" - }, - "nodeType": "ForStatement", - "src": "3739:369:7" - }, - { - "assignments": [ - 905 - ], - "declarations": [ - { - "constant": false, - "id": 905, - "name": "delegates", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "4112:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4112:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 904, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4112:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 911, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 909, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4155:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4141:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4145:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4145:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4141:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4112:56:7" - }, - { - "body": { - "id": 930, - "nodeType": "Block", - "src": "4217:43:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 922, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 905, - "src": "4222:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 924, - "indexExpression": { - "argumentTypes": null, - "id": 923, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4232:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4222:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 925, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "4237:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 927, - "indexExpression": { - "argumentTypes": null, - "id": 926, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4253:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4237:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4222:33:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 929, - "nodeType": "ExpressionStatement", - "src": "4222:33:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 916, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4192:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 917, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4196:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4192:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 931, - "initializationExpression": { - "assignments": [ - 913 - ], - "declarations": [ - { - "constant": false, - "id": 913, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 931, - "src": "4177:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 912, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 915, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4189:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "4177:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "4210:3:7", - "subExpression": { - "argumentTypes": null, - "id": 919, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4212:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 921, - "nodeType": "ExpressionStatement", - "src": "4210:3:7" - }, - "nodeType": "ForStatement", - "src": "4172:88:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 932, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 905, - "src": "4270:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 817, - "id": 933, - "nodeType": "Return", - "src": "4263:16:7" - } - ] - }, - "documentation": null, - "functionSelector": "8006a5d3", - "id": 935, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateAddresses", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 813, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3595:8:7" - }, - "parameters": { - "id": 812, - "nodeType": "ParameterList", - "parameters": [], - "src": "3582:2:7" - }, - "returnParameters": { - "id": 817, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 816, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 935, - "src": "3617:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 814, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3617:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 815, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3617:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3616:18:7" - }, - "scope": 936, - "src": "3556:727:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 937, - "src": "934:3351:7" - } - ], - "src": "0:4286:7" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Query.sol", - "exportedSymbols": { - "ERC1538Query": [ - 437 - ], - "ERC1538QueryDelegate": [ - 936 - ] - }, - "id": 937, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 376, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:7" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "../ERC1538Module.sol", - "id": 377, - "nodeType": "ImportDirective", - "scope": 937, - "sourceUnit": 375, - "src": "25:30:7", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 437, - "linearizedBaseContracts": [ - 437 - ], - "name": "ERC1538Query", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "a08e8b36", - "id": 382, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalFunctions", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 378, - "nodeType": "ParameterList", - "parameters": [], - "src": "119:29:7" - }, - "returnParameters": { - "id": 381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 380, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 382, - "src": "171:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "171:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "170:9:7" - }, - "scope": 437, - "src": "84:96:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0164ee96", - "id": 393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 384, - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "218:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "217:29:7" - }, - "returnParameters": { - "id": 392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 387, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "269:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "269:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 389, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 388, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 391, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 393, - "src": "292:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "292:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "268:32:7" - }, - "scope": 437, - "src": "182:119:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a3f01e59", - "id": 404, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionById", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 395, - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "339:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 394, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "339:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "338:29:7" - }, - "returnParameters": { - "id": 403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 398, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "390:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 397, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 400, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "405:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 399, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "405:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 402, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 404, - "src": "413:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "413:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "389:32:7" - }, - "scope": 437, - "src": "303:119:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5bfc7f77", - "id": 411, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionExists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 406, - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 411, - "src": "460:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "460:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "459:29:7" - }, - "returnParameters": { - "id": 410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 409, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 411, - "src": "511:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 408, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "511:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "510:6:7" - }, - "scope": 437, - "src": "424:93:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "49d0cd85", - "id": 416, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "functionSignatures", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 412, - "nodeType": "ParameterList", - "parameters": [], - "src": "554:29:7" - }, - "returnParameters": { - "id": 415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 414, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 416, - "src": "606:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 413, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "606:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "605:15:7" - }, - "scope": 437, - "src": "519:102:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "51fc00ed", - "id": 423, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateFunctionSignatures", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 419, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 418, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 423, - "src": "659:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "659:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "658:29:7" - }, - "returnParameters": { - "id": 422, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 421, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 423, - "src": "710:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "710:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "709:15:7" - }, - "scope": 437, - "src": "623:102:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0f0132b8", - "id": 430, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 425, - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 430, - "src": "763:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 424, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "762:29:7" - }, - "returnParameters": { - "id": 429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 428, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 430, - "src": "814:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "814:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "813:9:7" - }, - "scope": 437, - "src": "727:96:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8006a5d3", - "id": 436, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateAddresses", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 431, - "nodeType": "ParameterList", - "parameters": [], - "src": "860:29:7" - }, - "returnParameters": { - "id": 435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 434, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 436, - "src": "912:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 433, - "length": null, - "nodeType": "ArrayTypeName", - "src": "912:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "911:18:7" - }, - "scope": 437, - "src": "825:105:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 937, - "src": "58:874:7" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 438, - "name": "ERC1538Query", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 437, - "src": "967:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Query_$437", - "typeString": "contract ERC1538Query" - } - }, - "id": 439, - "nodeType": "InheritanceSpecifier", - "src": "967:12:7" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 440, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 374, - "src": "981:13:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$374", - "typeString": "contract ERC1538Module" - } - }, - "id": 441, - "nodeType": "InheritanceSpecifier", - "src": "981:13:7" - } - ], - "contractDependencies": [ - 374, - 437, - 1263, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 936, - "linearizedBaseContracts": [ - 936, - 374, - 1263, - 2608, - 2488, - 437 - ], - "name": "ERC1538QueryDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 382 - ], - "body": { - "id": 451, - "nodeType": "Block", - "src": "1066:31:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 447, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1077:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "1077:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1077:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 446, - "id": 450, - "nodeType": "Return", - "src": "1070:23:7" - } - ] - }, - "documentation": null, - "functionSelector": "a08e8b36", - "id": 452, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalFunctions", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 443, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1034:8:7" - }, - "parameters": { - "id": 442, - "nodeType": "ParameterList", - "parameters": [], - "src": "1021:2:7" - }, - "returnParameters": { - "id": 446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 445, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 452, - "src": "1056:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1056:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1055:9:7" - }, - "scope": 936, - "src": "998:99:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 393 - ], - "body": { - "id": 485, - "nodeType": "Block", - "src": "1228:154:7", - "statements": [ - { - "assignments": [ - 465, - 467, - 469 - ], - "declarations": [ - { - "constant": false, - "id": 465, - "name": "funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1233:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 464, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1233:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 467, - "name": "funcDelegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1248:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1248:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 469, - "name": "funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 485, - "src": "1270:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 468, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 476, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 472, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "1311:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1320:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1311:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 470, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1300:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 471, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 2781, - "src": "1300:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4,address,bytes memory)" - } - }, - "id": 475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1300:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1232:90:7" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 479, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 469, - "src": "1341:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1334:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 477, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1334:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 481, - "name": "funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 465, - "src": "1357:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "id": 482, - "name": "funcDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 467, - "src": "1365:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 483, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1333:45:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_bytes4_$_t_address_$", - "typeString": "tuple(string memory,bytes4,address)" - } - }, - "functionReturnParameters": 463, - "id": 484, - "nodeType": "Return", - "src": "1326:52:7" - } - ] - }, - "documentation": null, - "functionSelector": "0164ee96", - "id": 486, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 456, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1151:8:7" - }, - "parameters": { - "id": 455, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 454, - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1125:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 453, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1125:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1124:16:7" - }, - "returnParameters": { - "id": 463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 458, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1173:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1173:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 460, - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1198:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 459, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1198:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 462, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 486, - "src": "1209:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1209:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1172:54:7" - }, - "scope": 936, - "src": "1100:282:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 404 - ], - "body": { - "id": 512, - "nodeType": "Block", - "src": "1510:82:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 502, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1544:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 500, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1529:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 501, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "1529:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1529:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 498, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1522:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1522:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 505, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1555:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 508, - "name": "_funcId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 488, - "src": "1579:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 506, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1564:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 507, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "1564:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1564:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 510, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1521:67:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_bytes4_$_t_address_$", - "typeString": "tuple(string memory,bytes4,address)" - } - }, - "functionReturnParameters": 497, - "id": 511, - "nodeType": "Return", - "src": "1514:74:7" - } - ] - }, - "documentation": null, - "functionSelector": "a3f01e59", - "id": 513, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionById", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 490, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1433:8:7" - }, - "parameters": { - "id": 489, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 488, - "name": "_funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1407:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 487, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1407:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1406:16:7" - }, - "returnParameters": { - "id": 497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 492, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1455:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 491, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1455:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 494, - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1480:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 493, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1480:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 496, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 513, - "src": "1491:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1454:54:7" - }, - "scope": 936, - "src": "1385:207:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 411 - ], - "body": { - "id": 534, - "nodeType": "Block", - "src": "1690:73:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 528, - "name": "_funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 515, - "src": "1741:14:7", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1735:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 526, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1735:5:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1735:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 525, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1725:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1725:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1718:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 523, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1718:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1718:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 521, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 522, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 2813, - "src": "1701:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bool)" - } - }, - "id": 532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1701:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 520, - "id": 533, - "nodeType": "Return", - "src": "1694:65:7" - } - ] - }, - "documentation": null, - "functionSelector": "5bfc7f77", - "id": 535, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionExists", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 517, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1661:8:7" - }, - "parameters": { - "id": 516, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 515, - "name": "_funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 535, - "src": "1619:30:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 514, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1618:32:7" - }, - "returnParameters": { - "id": 520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 519, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 535, - "src": "1683:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1683:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1682:6:7" - }, - "scope": 936, - "src": "1595:168:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 430 - ], - "body": { - "id": 556, - "nodeType": "Block", - "src": "1865:71:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 550, - "name": "_funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "1914:14:7", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1908:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 548, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1908:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 547, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1898:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1898:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1891:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1891:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 543, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "1876:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 544, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "1876:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1876:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 542, - "id": 555, - "nodeType": "Return", - "src": "1869:63:7" - } - ] - }, - "documentation": null, - "functionSelector": "0f0132b8", - "id": 557, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateAddress", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 539, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1833:8:7" - }, - "parameters": { - "id": 538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 537, - "name": "_funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 557, - "src": "1791:30:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1791:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1790:32:7" - }, - "returnParameters": { - "id": 542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 541, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 557, - "src": "1855:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1855:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1854:9:7" - }, - "scope": 936, - "src": "1766:170:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 416 - ], - "body": { - "id": 667, - "nodeType": "Block", - "src": "2017:561:7", - "statements": [ - { - "assignments": [ - 564 - ], - "declarations": [ - { - "constant": false, - "id": 564, - "name": "signaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2021:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 563, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2021:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 566, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2048:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2021:28:7" - }, - { - "body": { - "id": 592, - "nodeType": "Block", - "src": "2103:81:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 579, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 564, - "src": "2108:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 584, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2157:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 582, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2143:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 583, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "2143:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2143:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 580, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2128:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "2128:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2128:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2128:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2170:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2128:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2108:63:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 591, - "nodeType": "ExpressionStatement", - "src": "2108:63:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 571, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2073:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 572, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2078:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2078:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2078:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2073:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 593, - "initializationExpression": { - "assignments": [ - 568 - ], - "declarations": [ - { - "constant": false, - "id": 568, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 593, - "src": "2058:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 567, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2058:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 570, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2070:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2058:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2096:3:7", - "subExpression": { - "argumentTypes": null, - "id": 576, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "2098:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 578, - "nodeType": "ExpressionStatement", - "src": "2096:3:7" - }, - "nodeType": "ForStatement", - "src": "2053:131:7" - }, - { - "assignments": [ - 595 - ], - "declarations": [ - { - "constant": false, - "id": 595, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2188:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 594, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 600, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 598, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 564, - "src": "2224:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2214:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 596, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2218:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2214:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2188:53:7" - }, - { - "assignments": [ - 602 - ], - "declarations": [ - { - "constant": false, - "id": 602, - "name": "charPos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 667, - "src": "2245:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 601, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2245:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 604, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2263:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2245:19:7" - }, - { - "body": { - "id": 660, - "nodeType": "Block", - "src": "2318:227:7", - "statements": [ - { - "assignments": [ - 618 - ], - "declarations": [ - { - "constant": false, - "id": 618, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 660, - "src": "2323:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 617, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2323:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 626, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 623, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2377:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 621, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2363:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "2363:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2363:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 619, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value2", - "nodeType": "MemberAccess", - "referencedDeclaration": 2733, - "src": "2348:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2348:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2323:57:7" - }, - { - "body": { - "id": 649, - "nodeType": "Block", - "src": "2435:61:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 638, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2441:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 640, - "indexExpression": { - "argumentTypes": null, - "id": 639, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2452:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2441:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 641, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "2463:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 643, - "indexExpression": { - "argumentTypes": null, - "id": 642, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2473:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2463:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "2441:34:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 645, - "nodeType": "ExpressionStatement", - "src": "2441:34:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2481:9:7", - "subExpression": { - "argumentTypes": null, - "id": 646, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2483:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 648, - "nodeType": "ExpressionStatement", - "src": "2481:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 631, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2405:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 632, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "2409:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2409:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2405:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 650, - "initializationExpression": { - "assignments": [ - 628 - ], - "declarations": [ - { - "constant": false, - "id": 628, - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 650, - "src": "2390:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 627, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 630, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2402:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2390:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2427:3:7", - "subExpression": { - "argumentTypes": null, - "id": 635, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 628, - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 637, - "nodeType": "ExpressionStatement", - "src": "2427:3:7" - }, - "nodeType": "ForStatement", - "src": "2385:111:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 651, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2500:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 653, - "indexExpression": { - "argumentTypes": null, - "id": 652, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2511:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2500:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2522:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "2500:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 656, - "nodeType": "ExpressionStatement", - "src": "2500:26:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2531:9:7", - "subExpression": { - "argumentTypes": null, - "id": 657, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 602, - "src": "2533:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 659, - "nodeType": "ExpressionStatement", - "src": "2531:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 609, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 610, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2293:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2293:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2293:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2288:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 661, - "initializationExpression": { - "assignments": [ - 606 - ], - "declarations": [ - { - "constant": false, - "id": 606, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 661, - "src": "2273:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 605, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2273:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 608, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2285:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2273:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2311:3:7", - "subExpression": { - "argumentTypes": null, - "id": 614, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "2313:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 616, - "nodeType": "ExpressionStatement", - "src": "2311:3:7" - }, - "nodeType": "ForStatement", - "src": "2268:277:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 664, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "2563:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2556:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2556:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2556:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 562, - "id": 666, - "nodeType": "Return", - "src": "2549:25:7" - } - ] - }, - "documentation": null, - "functionSelector": "49d0cd85", - "id": 668, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "functionSignatures", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 559, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1979:8:7" - }, - "parameters": { - "id": 558, - "nodeType": "ParameterList", - "parameters": [], - "src": "1966:2:7" - }, - "returnParameters": { - "id": 562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 561, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 668, - "src": "2001:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2001:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2000:15:7" - }, - "scope": 936, - "src": "1939:639:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 423 - ], - "body": { - "id": 810, - "nodeType": "Block", - "src": "2684:869:7", - "statements": [ - { - "assignments": [ - 680 - ], - "declarations": [ - { - "constant": false, - "id": 680, - "name": "delegateSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2688:33:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 678, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 679, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2688:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 688, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 684, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2736:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2736:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2736:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2724:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_$dyn_memory_$", - "typeString": "function (uint256) pure returns (bytes memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2728:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 682, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2728:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - } - }, - "id": 687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2724:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory", - "typeString": "bytes memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2688:65:7" - }, - { - "assignments": [ - 690 - ], - "declarations": [ - { - "constant": false, - "id": 690, - "name": "delegateSignaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2757:32:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2757:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 692, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2792:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2757:36:7" - }, - { - "assignments": [ - 694 - ], - "declarations": [ - { - "constant": false, - "id": 694, - "name": "signaturesLength", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "2798:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 693, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2798:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 696, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2798:28:7" - }, - { - "body": { - "id": 741, - "nodeType": "Block", - "src": "2880:283:7", - "statements": [ - { - "assignments": [ - 710, - 712, - 714 - ], - "declarations": [ - { - "constant": false, - "id": 710, - "name": "funcId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2886:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 709, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2886:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 712, - "name": "funcDelegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2901:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2901:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 714, - "name": "funcSignature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 741, - "src": "2923:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 713, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2923:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 719, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 717, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2964:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 715, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 716, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 2781, - "src": "2953:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4,address,bytes memory)" - } - }, - "id": 718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2953:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2885:81:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 720, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 670, - "src": "2975:9:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 721, - "name": "funcDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 712, - "src": "2988:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2975:25:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 740, - "nodeType": "IfStatement", - "src": "2971:188:7", - "trueBody": { - "id": 739, - "nodeType": "Block", - "src": "3005:154:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 723, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 694, - "src": "3011:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 724, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 714, - "src": "3031:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3031:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3054:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3031:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3011:44:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 729, - "nodeType": "ExpressionStatement", - "src": "3011:44:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 730, - "name": "delegateSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "3061:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 732, - "indexExpression": { - "argumentTypes": null, - "id": 731, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3080:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3061:44:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 733, - "name": "funcSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 714, - "src": "3108:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "3061:60:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "id": 735, - "nodeType": "ExpressionStatement", - "src": "3061:60:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3127:26:7", - "subExpression": { - "argumentTypes": null, - "id": 736, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3129:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 738, - "nodeType": "ExpressionStatement", - "src": "3127:26:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 701, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2850:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 702, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "2855:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "2855:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2855:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2850:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 742, - "initializationExpression": { - "assignments": [ - 698 - ], - "declarations": [ - { - "constant": false, - "id": 698, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 742, - "src": "2835:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 700, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2847:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2835:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2873:3:7", - "subExpression": { - "argumentTypes": null, - "id": 706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 698, - "src": "2875:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 708, - "nodeType": "ExpressionStatement", - "src": "2873:3:7" - }, - "nodeType": "ForStatement", - "src": "2830:333:7" - }, - { - "assignments": [ - 744 - ], - "declarations": [ - { - "constant": false, - "id": 744, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "3167:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 743, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3167:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 749, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 747, - "name": "signaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 694, - "src": "3203:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3193:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 745, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3197:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3193:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3167:53:7" - }, - { - "assignments": [ - 751 - ], - "declarations": [ - { - "constant": false, - "id": 751, - "name": "charPos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 810, - "src": "3224:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 750, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 753, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3242:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3224:19:7" - }, - { - "body": { - "id": 803, - "nodeType": "Block", - "src": "3304:216:7", - "statements": [ - { - "assignments": [ - 765 - ], - "declarations": [ - { - "constant": false, - "id": 765, - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 803, - "src": "3309:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 764, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 769, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 766, - "name": "delegateSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "3334:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 768, - "indexExpression": { - "argumentTypes": null, - "id": 767, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3353:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3334:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3309:46:7" - }, - { - "body": { - "id": 792, - "nodeType": "Block", - "src": "3410:61:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 781, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 783, - "indexExpression": { - "argumentTypes": null, - "id": 782, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3416:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 784, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3438:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 786, - "indexExpression": { - "argumentTypes": null, - "id": 785, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3448:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3438:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "3416:34:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 788, - "nodeType": "ExpressionStatement", - "src": "3416:34:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3456:9:7", - "subExpression": { - "argumentTypes": null, - "id": 789, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3458:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 791, - "nodeType": "ExpressionStatement", - "src": "3456:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 774, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3380:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 775, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3384:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3380:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 793, - "initializationExpression": { - "assignments": [ - 771 - ], - "declarations": [ - { - "constant": false, - "id": 771, - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 793, - "src": "3365:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 770, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3365:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 773, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3377:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3365:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3402:3:7", - "subExpression": { - "argumentTypes": null, - "id": 778, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3404:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 780, - "nodeType": "ExpressionStatement", - "src": "3402:3:7" - }, - "nodeType": "ForStatement", - "src": "3360:111:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 794, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3475:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 796, - "indexExpression": { - "argumentTypes": null, - "id": 795, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3475:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3497:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "3475:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 799, - "nodeType": "ExpressionStatement", - "src": "3475:26:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3506:9:7", - "subExpression": { - "argumentTypes": null, - "id": 800, - "name": "charPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 751, - "src": "3508:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 802, - "nodeType": "ExpressionStatement", - "src": "3506:9:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3267:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 759, - "name": "delegateSignaturesLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "3271:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3267:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 804, - "initializationExpression": { - "assignments": [ - 755 - ], - "declarations": [ - { - "constant": false, - "id": 755, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 804, - "src": "3252:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 757, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3264:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3252:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3297:3:7", - "subExpression": { - "argumentTypes": null, - "id": 761, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 755, - "src": "3299:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 763, - "nodeType": "ExpressionStatement", - "src": "3297:3:7" - }, - "nodeType": "ForStatement", - "src": "3247:273:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 807, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 744, - "src": "3538:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3531:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 805, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3531:6:7", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3531:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 675, - "id": 809, - "nodeType": "Return", - "src": "3524:25:7" - } - ] - }, - "documentation": null, - "functionSelector": "51fc00ed", - "id": 811, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateFunctionSignatures", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 672, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2646:8:7" - }, - "parameters": { - "id": 671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 670, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 811, - "src": "2617:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2617:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2616:19:7" - }, - "returnParameters": { - "id": 675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 674, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 811, - "src": "2668:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2667:15:7" - }, - "scope": 936, - "src": "2581:972:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 436 - ], - "body": { - "id": 934, - "nodeType": "Block", - "src": "3636:647:7", - "statements": [ - { - "assignments": [ - 822 - ], - "declarations": [ - { - "constant": false, - "id": 822, - "name": "delegatesBucket", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "3640:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 820, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3640:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 821, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3640:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 830, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 826, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 827, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "3689:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3689:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3675:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3679:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 824, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3679:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3675:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3640:66:7" - }, - { - "assignments": [ - 832 - ], - "declarations": [ - { - "constant": false, - "id": 832, - "name": "numDelegates", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "3711:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 831, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3711:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 834, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3734:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3711:24:7" - }, - { - "body": { - "id": 899, - "nodeType": "Block", - "src": "3789:319:7", - "statements": [ - { - "assignments": [ - 848 - ], - "declarations": [ - { - "constant": false, - "id": 848, - "name": "delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 899, - "src": "3794:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3794:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 856, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 853, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 851, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 2749, - "src": "3828:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3828:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "id": 849, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3813:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value1", - "nodeType": "MemberAccess", - "referencedDeclaration": 2718, - "src": "3813:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$_t_bytes4_$returns$_t_address_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3813:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3794:51:7" - }, - { - "assignments": [ - 858 - ], - "declarations": [ - { - "constant": false, - "id": 858, - "name": "seen", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 899, - "src": "3850:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 857, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3850:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 860, - "initialValue": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3862:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3850:17:7" - }, - { - "body": { - "id": 883, - "nodeType": "Block", - "src": "3918:88:7", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 871, - "name": "delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "3928:8:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 872, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "3940:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 874, - "indexExpression": { - "argumentTypes": null, - "id": 873, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3956:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3940:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3928:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 882, - "nodeType": "IfStatement", - "src": "3924:77:7", - "trueBody": { - "id": 881, - "nodeType": "Block", - "src": "3964:37:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 876, - "name": "seen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 858, - "src": "3971:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3978:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "3971:11:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 879, - "nodeType": "ExpressionStatement", - "src": "3971:11:7" - }, - { - "id": 880, - "nodeType": "Break", - "src": "3989:5:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 865, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3892:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 866, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "3896:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3892:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 884, - "initializationExpression": { - "assignments": [ - 862 - ], - "declarations": [ - { - "constant": false, - "id": 862, - "name": "j", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 884, - "src": "3877:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 861, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3877:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 864, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3889:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3877:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3910:3:7", - "subExpression": { - "argumentTypes": null, - "id": 868, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "3912:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 870, - "nodeType": "ExpressionStatement", - "src": "3910:3:7" - }, - "nodeType": "ForStatement", - "src": "3872:134:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 885, - "name": "seen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 858, - "src": "4014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4022:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "4014:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 898, - "nodeType": "IfStatement", - "src": "4010:94:7", - "trueBody": { - "id": 897, - "nodeType": "Block", - "src": "4032:72:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 888, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "4038:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 890, - "indexExpression": { - "argumentTypes": null, - "id": 889, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4038:29:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 891, - "name": "delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "4070:8:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4038:40:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 893, - "nodeType": "ExpressionStatement", - "src": "4038:40:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "4084:14:7", - "subExpression": { - "argumentTypes": null, - "id": 894, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4086:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 896, - "nodeType": "ExpressionStatement", - "src": "4084:14:7" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 839, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3759:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 840, - "name": "m_funcs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1262, - "src": "3764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$2690_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage ref" - } - }, - "id": 841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 2703, - "src": "3764:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$2690_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_map_$2690_storage_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer) view returns (uint256)" - } - }, - "id": 842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3764:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3759:21:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 900, - "initializationExpression": { - "assignments": [ - 836 - ], - "declarations": [ - { - "constant": false, - "id": 836, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 900, - "src": "3744:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 835, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3744:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 838, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3756:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3744:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3782:3:7", - "subExpression": { - "argumentTypes": null, - "id": 844, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 836, - "src": "3784:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 846, - "nodeType": "ExpressionStatement", - "src": "3782:3:7" - }, - "nodeType": "ForStatement", - "src": "3739:369:7" - }, - { - "assignments": [ - 905 - ], - "declarations": [ - { - "constant": false, - "id": 905, - "name": "delegates", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 934, - "src": "4112:26:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4112:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 904, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4112:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 911, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 909, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4155:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4141:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4145:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4145:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4141:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4112:56:7" - }, - { - "body": { - "id": 930, - "nodeType": "Block", - "src": "4217:43:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 922, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 905, - "src": "4222:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 924, - "indexExpression": { - "argumentTypes": null, - "id": 923, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4232:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4222:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 925, - "name": "delegatesBucket", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 822, - "src": "4237:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 927, - "indexExpression": { - "argumentTypes": null, - "id": 926, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4253:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4237:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4222:33:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 929, - "nodeType": "ExpressionStatement", - "src": "4222:33:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 916, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4192:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 917, - "name": "numDelegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "4196:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4192:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 931, - "initializationExpression": { - "assignments": [ - 913 - ], - "declarations": [ - { - "constant": false, - "id": 913, - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 931, - "src": "4177:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 912, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 915, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4189:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "4177:13:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "4210:3:7", - "subExpression": { - "argumentTypes": null, - "id": 919, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4212:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 921, - "nodeType": "ExpressionStatement", - "src": "4210:3:7" - }, - "nodeType": "ForStatement", - "src": "4172:88:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 932, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 905, - "src": "4270:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 817, - "id": 933, - "nodeType": "Return", - "src": "4263:16:7" - } - ] - }, - "documentation": null, - "functionSelector": "8006a5d3", - "id": 935, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateAddresses", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 813, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3595:8:7" - }, - "parameters": { - "id": 812, - "nodeType": "ParameterList", - "parameters": [], - "src": "3582:2:7" - }, - "returnParameters": { - "id": 817, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 816, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 935, - "src": "3617:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 814, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3617:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 815, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3617:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3616:18:7" - }, - "scope": 936, - "src": "3556:727:7", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 937, - "src": "934:3351:7" - } - ], - "src": "0:4286:7" - }, - "compiler": { - "name": "solc", - "version": "0.6.4+commit.1dca32f3.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:34.357Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - } - }, - "userdoc": { - "methods": {} - } -} diff --git a/build/contracts/ERC1538Store.json b/build/contracts/ERC1538Store.json deleted file mode 100644 index 9eac34851..000000000 --- a/build/contracts/ERC1538Store.json +++ /dev/null @@ -1,388 +0,0 @@ -{ - "contractName": "ERC1538Store", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":\"ERC1538Store\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6102c78061007d6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b14610074575b600080fd5b61004e61009a565b005b61005861014e565b604080516001600160a01b039092168252519081900360200190f35b61004e6004803603602081101561008a57600080fd5b50356001600160a01b031661015d565b6100a2610267565b6000546001600160a01b03908116911614610104576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610165610267565b6000546001600160a01b039081169116146101c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661020c5760405162461bcd60e51b815260040180806020018281038252602681526020018061026c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220cc96ec6a9279714721e84c6e3f7c4fba0e9d6f778ea148b6194b50b13de8d94564736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b14610074575b600080fd5b61004e61009a565b005b61005861014e565b604080516001600160a01b039092168252519081900360200190f35b61004e6004803603602081101561008a57600080fd5b50356001600160a01b031661015d565b6100a2610267565b6000546001600160a01b03908116911614610104576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610165610267565b6000546001600160a01b039081169116146101c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661020c5760405162461bcd60e51b815260040180806020018281038252602681526020018061026c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220cc96ec6a9279714721e84c6e3f7c4fba0e9d6f778ea148b6194b50b13de8d94564736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "147:163:73:-:0;;;;;;;;;;;;-1:-1:-1;865:17:82;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;940:43;;907:6;;940:43;831:159;147:163:73;;590:104:80;677:10;590:104;:::o;147:163:73:-;;;;;;;", - "deployedSourceMap": "147:163:73:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1689:145:82;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;-1:-1:-1;;;;;1066:77:82;;;;;;;;;;;;;;1983:240;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;1689:145::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:82;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:80:-;677:10;590:104;:::o", - "source": "pragma solidity ^0.6.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\";\n\ncontract ERC1538Store is Ownable\n{\n\tusing LibMap2_bytes4_address_bytes for LibMap2_bytes4_address_bytes.map;\n\n\tLibMap2_bytes4_address_bytes.map internal m_funcs;\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "exportedSymbols": { - "ERC1538Store": [ - 13112 - ] - }, - "id": 13113, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13102, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:73" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 13103, - "nodeType": "ImportDirective", - "scope": 13113, - "sourceUnit": 14072, - "src": "25:52:73", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "file": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "id": 13104, - "nodeType": "ImportDirective", - "scope": 13113, - "sourceUnit": 18509, - "src": "78:67:73", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13105, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "172:7:73", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 13106, - "nodeType": "InheritanceSpecifier", - "src": "172:7:73" - } - ], - "contractDependencies": [ - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13112, - "linearizedBaseContracts": [ - 13112, - 14071, - 13679 - ], - "name": "ERC1538Store", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 13109, - "libraryName": { - "contractScope": null, - "id": 13107, - "name": "LibMap2_bytes4_address_bytes", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18508, - "src": "189:28:73", - "typeDescriptions": { - "typeIdentifier": "t_contract$_LibMap2_bytes4_address_bytes_$18508", - "typeString": "library LibMap2_bytes4_address_bytes" - } - }, - "nodeType": "UsingForDirective", - "src": "183:72:73", - "typeName": { - "contractScope": null, - "id": 13108, - "name": "LibMap2_bytes4_address_bytes.map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "222:32:73", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - } - }, - { - "constant": false, - "id": 13111, - "mutability": "mutable", - "name": "m_funcs", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13112, - "src": "258:49:73", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 13110, - "name": "LibMap2_bytes4_address_bytes.map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "258:32:73", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "scope": 13113, - "src": "147:163:73" - } - ], - "src": "0:311:73" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "exportedSymbols": { - "ERC1538Store": [ - 13112 - ] - }, - "id": 13113, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13102, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:73" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 13103, - "nodeType": "ImportDirective", - "scope": 13113, - "sourceUnit": 14072, - "src": "25:52:73", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "file": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "id": 13104, - "nodeType": "ImportDirective", - "scope": 13113, - "sourceUnit": 18509, - "src": "78:67:73", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13105, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "172:7:73", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 13106, - "nodeType": "InheritanceSpecifier", - "src": "172:7:73" - } - ], - "contractDependencies": [ - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 13112, - "linearizedBaseContracts": [ - 13112, - 14071, - 13679 - ], - "name": "ERC1538Store", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 13109, - "libraryName": { - "contractScope": null, - "id": 13107, - "name": "LibMap2_bytes4_address_bytes", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18508, - "src": "189:28:73", - "typeDescriptions": { - "typeIdentifier": "t_contract$_LibMap2_bytes4_address_bytes_$18508", - "typeString": "library LibMap2_bytes4_address_bytes" - } - }, - "nodeType": "UsingForDirective", - "src": "183:72:73", - "typeName": { - "contractScope": null, - "id": 13108, - "name": "LibMap2_bytes4_address_bytes.map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "222:32:73", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - } - }, - { - "constant": false, - "id": 13111, - "mutability": "mutable", - "name": "m_funcs", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13112, - "src": "258:49:73", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 13110, - "name": "LibMap2_bytes4_address_bytes.map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "258:32:73", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "scope": 13113, - "src": "147:163:73" - } - ], - "src": "0:311:73" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.893Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ERC1538UpdateDelegate.json b/build/contracts/ERC1538UpdateDelegate.json deleted file mode 100644 index aa51f9f32..000000000 --- a/build/contracts/ERC1538UpdateDelegate.json +++ /dev/null @@ -1,3848 +0,0 @@ -{ - "contractName": "ERC1538UpdateDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "CommitMessage", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes4", - "name": "functionId", - "type": "bytes4" - }, - { - "indexed": true, - "internalType": "address", - "name": "oldDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newDelegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "functionSignature", - "type": "string" - } - ], - "name": "FunctionUpdate", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_delegate", - "type": "address" - }, - { - "internalType": "string", - "name": "_functionSignatures", - "type": "string" - }, - { - "internalType": "string", - "name": "_commitMessage", - "type": "string" - } - ], - "name": "updateContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.4+commit.1dca32f3\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"CommitMessage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"functionId\",\"type\":\"bytes4\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDelegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"functionSignature\",\"type\":\"string\"}],\"name\":\"FunctionUpdate\",\"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\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegate\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_functionSignatures\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_commitMessage\",\"type\":\"string\"}],\"name\":\"updateContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Update.sol\":\"ERC1538UpdateDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol\":{\"keccak256\":\"0xd64a96f64947644f1f74ff2a929f908efbd947096094a746ff6c48a8c13bae7a\",\"urls\":[\"bzz-raw://ad46a3ce0d629acc78122a5abe5ad043a4cf8076410c799fb19950f2e83aab29\",\"dweb:/ipfs/QmPV7nwnwWr4GshhnTrhthoqEsrKyDdCPfKkNQbptExcrS\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Update.sol\":{\"keccak256\":\"0x2f3f7b297f1bb1fe74039043a4853d054e55bc9112e4b3866b154bceebb01fc0\",\"urls\":[\"bzz-raw://8b30a9743a08257f2d3cef87af9c7a87983a93df96129c6b92cb3f113b9a30df\",\"dweb:/ipfs/QmbaaTq4dfxCiUseKjPUXeVXoMvKnY8NeJRZsRhkV5HqXX\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/IERC1538.sol\":{\"keccak256\":\"0x8cff03c7a2520c3312650990cd3defb9168022790c93030e577ffbfea378b906\",\"urls\":[\"bzz-raw://36cb2e3c66e04aee1681a662bd3db7713c0edfd6053cc75c95b4bc2fd48d0455\",\"dweb:/ipfs/Qmb3upBWiTaM3kfKG2riufsroxSoA5hJSxxsdZjBPzYbA3\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0x0de74dfa6b37943c1b834cbd8fb7a8d052e5ff80c7adb33692102dd6cd2985e9\",\"urls\":[\"bzz-raw://9d2d827fcf4a838f5821732c0acd6a40d21c2a5a2cfe2563feec91465f47bb60\",\"dweb:/ipfs/Qmex3wMKf5Sghbfvr288RUg1kP2uAyTMf11w83WbMbpQQc\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x13846e13b9a53dec12db1afd1e6ef8fb6b3a34577c59bab7b84db5c0fe227c6e\",\"urls\":[\"bzz-raw://ed869339a2fa5d4dda5f917d5b7970d845d1cdc1c02c7edb0f84ef1cda4d7646\",\"dweb:/ipfs/QmVYwkKDyxs9vT9S3HUHaQZ798NF3gYZ1QMg69CGedssgd\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405260006100176001600160e01b0361006516565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610c09833981519152908290a3506100606001600160e01b0361006916565b610114565b3390565b61007a6001600160e01b0361006516565b6000546001600160a01b039081169116146100dc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020610c09833981519152908390a3600080546001600160a01b0319169055565b610ae6806101236000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80636145556714610051578063715018a6146101255780638da5cb5b1461012d578063f2fde38b14610151575b600080fd5b6101236004803603606081101561006757600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561009257600080fd5b8201836020820111156100a457600080fd5b803590602001918460018302840111640100000000831117156100c657600080fd5b9193909290916020810190356401000000008111156100e457600080fd5b8201836020820111156100f657600080fd5b8035906020019184600183028401116401000000008311171561011857600080fd5b509092509050610177565b005b61012361032a565b6101356103de565b604080516001600160a01b039092168252519081900360200190f35b6101236004803603602081101561016757600080fd5b50356001600160a01b03166103ee565b61017f610464565b6000546001600160a01b039081169116146101e1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939450839250829150506001600160a01b0389161561026d5750873b8061026d5760405162461bcd60e51b8152600401808060200182810382526043815260200180610a6e6043913960600191505060405180910390fd5b60208401925083518301915060008390505b828110156102be57805160001a603b8114156102b5578482038087526102a5878d610468565b6001810187019650826001019550505b5060010161027f565b507faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de868660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a1505050505050505050565b610332610464565b6000546001600160a01b03908116911614610394576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6103f6610464565b6000546001600160a01b03908116911614610458576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610461816105df565b50565b3390565b815160208301206001600160e01b0319811663690bfe6360e11b141561048c575060005b6001600160e01b0319811663b32cdf4d60e01b14156104b057506001600160e01b03195b60006104c360018363ffffffff61067f16565b9050806001600160a01b0316836001600160a01b031614156104e65750506105db565b6001600160a01b03831661050b5761050560018363ffffffff6106ab16565b50610520565b61051e600183858763ffffffff61070516565b505b826001600160a01b0316816001600160a01b0316836001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353876040518080602001828103825283818151815260200191508051906020019080838360005b8381101561059e578181015183820152602001610586565b50505050905090810190601f1680156105cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390a450505b5050565b6001600160a01b0381166106245760405162461bcd60e51b8152600401808060200182810382526026815260200180610a486026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811660009081526002830160205260409020546001600160a01b03165b92915050565b60006106bd838363ffffffff61077216565b506001600160e01b031982166000908152600284016020908152604080832080546001600160a01b03191690556003860190915281206106fc9161096b565b50600192915050565b6000610717858563ffffffff6108b916565b506001600160e01b031984166000908152600286016020908152604080832080546001600160a01b0319166001600160a01b0388161790556003880182529091208351610766928501906109af565b50600195945050505050565b600061077e8383610932565b61078a575060006106a5565b60006107968484610947565b905060006107a385610967565b90508082146108585760008560000160018303815481106107c057fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b9050808660000160018503815481106107f857fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555082866001016000836001600160e01b0319166001600160e01b031916815260200190815260200160002081905550505b6001600160e01b031984166000908152600186016020526040812055845485908061087f57fe5b600082815260209020600860001990920191820401805463ffffffff600460078516026101000a0219169055905550600191505092915050565b60006108c58383610932565b156108d2575060006106a5565b50815460018082018455600084815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293810190915260409092205590565b600061093e8383610947565b15159392505050565b6001600160e01b0319166000908152600191909101602052604090205490565b5490565b50805460018160011615610100020316600290046000825580601f106109915750610461565b601f0160209004906000526020600020908101906104619190610a2d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109f057805160ff1916838001178555610a1d565b82800160010185558215610a1d579182015b82811115610a1d578251825591602001919060010190610a02565b50610a29929150610a2d565b5090565b6103eb91905b80821115610a295760008155600101610a3356fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735b455243313533385d205f64656c65676174652061646472657373206973206e6f74206120636f6e747261637420616e64206973206e6f742061646472657373283029a2646970667358221220ad7328f46f719b895046b880aef2dd7e0af9f6c04510d21a00e3c8bd9941103564736f6c634300060400338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80636145556714610051578063715018a6146101255780638da5cb5b1461012d578063f2fde38b14610151575b600080fd5b6101236004803603606081101561006757600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561009257600080fd5b8201836020820111156100a457600080fd5b803590602001918460018302840111640100000000831117156100c657600080fd5b9193909290916020810190356401000000008111156100e457600080fd5b8201836020820111156100f657600080fd5b8035906020019184600183028401116401000000008311171561011857600080fd5b509092509050610177565b005b61012361032a565b6101356103de565b604080516001600160a01b039092168252519081900360200190f35b6101236004803603602081101561016757600080fd5b50356001600160a01b03166103ee565b61017f610464565b6000546001600160a01b039081169116146101e1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939450839250829150506001600160a01b0389161561026d5750873b8061026d5760405162461bcd60e51b8152600401808060200182810382526043815260200180610a6e6043913960600191505060405180910390fd5b60208401925083518301915060008390505b828110156102be57805160001a603b8114156102b5578482038087526102a5878d610468565b6001810187019650826001019550505b5060010161027f565b507faa1c0a0a78cec2470f9652e5d29540752e7a64d70f926933cebf13afaeda45de868660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a1505050505050505050565b610332610464565b6000546001600160a01b03908116911614610394576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6103f6610464565b6000546001600160a01b03908116911614610458576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610461816105df565b50565b3390565b815160208301206001600160e01b0319811663690bfe6360e11b141561048c575060005b6001600160e01b0319811663b32cdf4d60e01b14156104b057506001600160e01b03195b60006104c360018363ffffffff61067f16565b9050806001600160a01b0316836001600160a01b031614156104e65750506105db565b6001600160a01b03831661050b5761050560018363ffffffff6106ab16565b50610520565b61051e600183858763ffffffff61070516565b505b826001600160a01b0316816001600160a01b0316836001600160e01b0319167f3234040ce3bd4564874e44810f198910133a1b24c4e84aac87edbf6b458f5353876040518080602001828103825283818151815260200191508051906020019080838360005b8381101561059e578181015183820152602001610586565b50505050905090810190601f1680156105cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390a450505b5050565b6001600160a01b0381166106245760405162461bcd60e51b8152600401808060200182810382526026815260200180610a486026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811660009081526002830160205260409020546001600160a01b03165b92915050565b60006106bd838363ffffffff61077216565b506001600160e01b031982166000908152600284016020908152604080832080546001600160a01b03191690556003860190915281206106fc9161096b565b50600192915050565b6000610717858563ffffffff6108b916565b506001600160e01b031984166000908152600286016020908152604080832080546001600160a01b0319166001600160a01b0388161790556003880182529091208351610766928501906109af565b50600195945050505050565b600061077e8383610932565b61078a575060006106a5565b60006107968484610947565b905060006107a385610967565b90508082146108585760008560000160018303815481106107c057fe5b90600052602060002090600891828204019190066004029054906101000a900460e01b9050808660000160018503815481106107f857fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555082866001016000836001600160e01b0319166001600160e01b031916815260200190815260200160002081905550505b6001600160e01b031984166000908152600186016020526040812055845485908061087f57fe5b600082815260209020600860001990920191820401805463ffffffff600460078516026101000a0219169055905550600191505092915050565b60006108c58383610932565b156108d2575060006106a5565b50815460018082018455600084815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293810190915260409092205590565b600061093e8383610947565b15159392505050565b6001600160e01b0319166000908152600191909101602052604090205490565b5490565b50805460018160011615610100020316600290046000825580601f106109915750610461565b601f0160209004906000526020600020908101906104619190610a2d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109f057805160ff1916838001178555610a1d565b82800160010185558215610a1d579182015b82811115610a1d578251825591602001919060010190610a02565b50610a29929150610a2d565b5090565b6103eb91905b80821115610a295760008155600101610a3356fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735b455243313533385d205f64656c65676174652061646472657373206973206e6f74206120636f6e747261637420616e64206973206e6f742061646472657373283029a2646970667358221220ad7328f46f719b895046b880aef2dd7e0af9f6c04510d21a00e3c8bd9941103564736f6c63430006040033", - "sourceMap": "238:1028:8:-:0;;;832:17:29;852:12;-1:-1:-1;;;;;852:10:29;:12;:::i;:::-;874:6;:18;;-1:-1:-1;;;;;;874:18:29;-1:-1:-1;;;;;874:18:29;;;;;;;907:43;;874:18;;-1:-1:-1;874:18:29;-1:-1:-1;;;;;;;;;;;907:43:29;874:6;;907:43;-1:-1:-1;124:19:6;-1:-1:-1;;;;;124:17:6;:19;:::i;:::-;238:1028:8;;735:104:28;822:10;735:104;:::o;1656:145:29:-;1247:12;-1:-1:-1;;;;;1247:10:29;:12;:::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1762:1:::1;1746:6:::0;;1725:40:::1;::::0;-1:-1:-1;;;;;1746:6:29;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1725:40:29;1762:1;;1725:40:::1;1792:1;1775:19:::0;;-1:-1:-1;;;;;;1775:19:29::1;::::0;;1656:145::o;238:1028:8:-;;;;;;;", - "deployedSourceMap": "238:1028:8:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;238:1028:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;317:947:8;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;317:947:8;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;317:947:8;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;317:947:8;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;317:947:8;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;317:947:8;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;317:947:8;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;317:947:8;;-1:-1:-1;317:947:8;-1:-1:-1;317:947:8;:::i;:::-;;1656:145:29;;;:::i;1033:77::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1033:77:29;;;;;;;;;;;;;;1950:115;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1950:115:29;-1:-1:-1;;;;;1950:115:29;;:::i;317:947:8:-;1247:12:29;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;480:23:8::1;512:19;;480:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;-1:-1;480:52:8;;-1:-1:-1;99:1;;-1:-1;99:1;;-1:-1;;;;;;;589:23:8;::::1;::::0;585:176:::1;;-1:-1:-1::0;640:22:8;::::1;676:8:::0;668:88:::1;;;;-1:-1:-1::0;;;668:88:8::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;805:2;793:10;789:19;780:28;;838:10;832:17;825:5;821:29;812:38;;862:11;876:5;862:19;;857:366;889:3;883;:9;857:366;;;952:10:::0;;908:12:::1;944:19;981:4;973:12:::0;::::1;969:250;;;1028:11:::0;;::::1;1057:26:::0;;;1091:39:::1;1064:10:::0;1120:9;1091:8:::1;:39::i;:::-;1190:1;1182:6;1178:14;1166:10;1162:31;1148:45;;1208:3;1212:1;1208:5;1200:13;;969:250;;-1:-1:-1::0;894:5:8::1;;857:366;;;;1231:29;1245:14;;1231:29;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;;::::1;74:27:::0;1231:29:8::1;::::0;137:4:-1::1;117:14:::0;;::::1;-1:-1:::0;;113:30:::1;157:16:::0;;::::1;1231:29:8::0;;::::1;::::0;-1:-1:-1;1231:29:8;;-1:-1:-1;;;;1231:29:8::1;1306:1:29;;;;317:947:8::0;;;;;:::o;1656:145:29:-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1762:1:::1;1746:6:::0;;1725:40:::1;::::0;-1:-1:-1;;;;;1746:6:29;;::::1;::::0;1725:40:::1;::::0;1762:1;;1725:40:::1;1792:1;1775:19:::0;;-1:-1:-1;;;;;;1775:19:29::1;::::0;;1656:145::o;1033:77::-;1071:7;1097:6;-1:-1:-1;;;;;1097:6:29;1033:77;;:::o;1950:115::-;1247:12;:10;:12::i;:::-;1237:6;;-1:-1:-1;;;;;1237:6:29;;;:22;;;1229:67;;;;;-1:-1:-1;;;1229:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2030:28:::1;2049:8;2030:18;:28::i;:::-;1950:115:::0;:::o;735:104:28:-;822:10;735:104;:::o;469:633:5:-;576:31;;;;;;-1:-1:-1;;;;;;616:17:5;;-1:-1:-1;;;616:17:5;612:56;;;-1:-1:-1;654:10:5;612:56;-1:-1:-1;;;;;;675:18:5;;-1:-1:-1;;;675:18:5;671:56;;;-1:-1:-1;;;;;;;671:56:5;731:19;753:22;:7;768:6;753:22;:14;:22;:::i;:::-;731:44;;800:11;-1:-1:-1;;;;;784:27:5;:12;-1:-1:-1;;;;;784:27:5;;780:245;;;842:7;;;;780:245;-1:-1:-1;;;;;865:26:5;;861:164;;910:19;:7;922:6;910:19;:11;:19;:::i;:::-;;861:164;;;965:55;:7;977:6;985:12;1005:13;965:55;:11;:55;:::i;:::-;;861:164;1070:12;-1:-1:-1;;;;;1034:64:5;1057:11;-1:-1:-1;;;;;1034:64:5;1049:6;-1:-1:-1;;;;;1034:64:5;;;1084:13;1034:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1034:64:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;469:633;;;;;:::o;2166:233:29:-;-1:-1:-1;;;;;2247:22:29;;2239:73;;;;-1:-1:-1;;;2239:73:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2348:6;;;2327:38;;-1:-1:-1;;;;;2327:38:29;;;;2348:6;;;2327:38;;;2375:6;:17;;-1:-1:-1;;;;;;2375:17:29;-1:-1:-1;;;;;2375:17:29;;;;;;;;;;2166:233::o;375:116:31:-;-1:-1:-1;;;;;;469:18:31;;447:7;469:18;;;:12;;;:18;;;;;;-1:-1:-1;;;;;469:18:31;375:116;;;;;:::o;1537:176::-;1601:4;1612:24;:4;1631;1612:24;:18;:24;:::i;:::-;-1:-1:-1;;;;;;;1647:18:31;;;;;;:12;;;:18;;;;;;;;1640:25;;-1:-1:-1;;;;;;1640:25:31;;;1676:12;;;:18;;;;;1669:25;;;:::i;:::-;-1:-1:-1;1705:4:31;1537:176;;;;:::o;1306:228::-;1419:4;1430:21;:4;1446;1430:21;:15;:21;:::i;:::-;-1:-1:-1;;;;;;;1455:18:31;;;;;;:12;;;:18;;;;;;;;:28;;-1:-1:-1;;;;;;1455:28:31;-1:-1:-1;;;;;1455:28:31;;;;;1487:12;;;:18;;;;;:28;;;;;;;;:::i;:::-;-1:-1:-1;1526:4:31;;1306:228;-1:-1:-1;;;;;1306:228:31:o;937:416:32:-;1006:4;1022:22;1031:4;1037:6;1022:8;:22::i;:::-;1017:53;;-1:-1:-1;1060:5:32;1053:12;;1017:53;1074:9;1089:21;1097:4;1103:6;1089:7;:21::i;:::-;1074:36;;1114:12;1129;1136:4;1129:6;:12::i;:::-;1114:27;;1155:4;1150:1;:9;1146:135;;1168:17;1188:4;:11;;1207:1;1200:4;:8;1188:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1168:41;;1235:9;1214:4;:11;;1230:1;1226;:5;1214:18;;;;;;;;;;;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;1275:1;1249:4;:12;;:23;1262:9;-1:-1:-1;;;;;1249:23:32;;-1:-1:-1;;;;;1249:23:32;;;;;;;;;;;;;:27;;;;1146:135;;-1:-1:-1;;;;;;1292:20:32;;;;;;:12;;;:20;;;;;1285:27;1316:17;;1292:4;;1316:17;;;;;;;;;;;;;-1:-1:-1;;1316:17:32;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1316:17:32;;-1:-1:-1;;937:416:32;;;;:::o;714:220::-;780:4;795:22;804:4;810:6;795:8;:22::i;:::-;791:52;;;-1:-1:-1;833:5:32;826:12;;791:52;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;846:24:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;897:18;;-1:-1:-1;;;;;;874:20:32;;;;;:12;;;:20;;;;;;;:41;39:1:-1;714:220:32:o;481:124::-;557:4;575:21;583:4;589:6;575:7;:21::i;:::-;:26;;;481:124;-1:-1:-1;;;481:124:32:o;358:120::-;-1:-1:-1;;;;;;454:20:32;433:7;454:20;;;:12;;;;;:20;;;;;;;358:120::o;133:101::-;212:18;;133:101::o;238:1028:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;238:1028:8;;;-1:-1:-1;238:1028:8;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.6.0;\n\nimport \"../ERC1538Core.sol\";\nimport \"../ERC1538Module.sol\";\n\n\ninterface ERC1538Update\n{\n\tfunction updateContract(address _delegate, string calldata _functionSignatures, string calldata commitMessage) external;\n}\n\ncontract ERC1538UpdateDelegate is ERC1538Update, ERC1538Core, ERC1538Module\n{\n\tfunction updateContract(\n\t\taddress _delegate,\n\t\tstring calldata _functionSignatures,\n\t\tstring calldata _commitMessage\n\t)\n\texternal override onlyOwner\n\t{\n\t\tbytes memory signatures = bytes(_functionSignatures);\n\t\tuint256 start;\n\t\tuint256 end;\n\t\tuint256 size;\n\n\t\tif (_delegate != address(0))\n\t\t{\n\t\t\tassembly { size := extcodesize(_delegate) }\n\t\t\trequire(size > 0, \"[ERC1538] _delegate address is not a contract and is not address(0)\");\n\t\t}\n\t\tassembly\n\t\t{\n\t\t\tstart := add(signatures, 32)\n\t\t\tend := add(start, mload(signatures))\n\t\t}\n\t\tfor (uint256 pos = start; pos < end; ++pos)\n\t\t{\n\t\t\tuint256 char;\n\t\t\tassembly { char := byte(0, mload(pos)) }\n\t\t\tif (char == 0x3B) // 0x3B = ';'\n\t\t\t{\n\t\t\t\tuint256 length = (pos - start);\n\t\t\t\tassembly { mstore(signatures, length) }\n\n\t\t\t\t_setFunc(string(signatures), _delegate);\n\n\t\t\t\tassembly { signatures := add(signatures, add(length, 1)) }\n\t\t\t\tstart = pos+1;\n\t\t\t}\n\t\t}\n\t\temit CommitMessage(_commitMessage);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Update.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Update.sol", - "exportedSymbols": { - "ERC1538Update": [ - 950 - ], - "ERC1538UpdateDelegate": [ - 1051 - ] - }, - "id": 1052, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 938, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:8" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol", - "file": "../ERC1538Core.sol", - "id": 939, - "nodeType": "ImportDirective", - "scope": 1052, - "sourceUnit": 362, - "src": "25:28:8", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "../ERC1538Module.sol", - "id": 940, - "nodeType": "ImportDirective", - "scope": 1052, - "sourceUnit": 375, - "src": "54:30:8", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 950, - "linearizedBaseContracts": [ - 950 - ], - "name": "ERC1538Update", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "61455567", - "id": 949, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "updateContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 942, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "138:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "138:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 944, - "name": "_functionSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "157:35:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 943, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "157:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 946, - "name": "commitMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "194:29:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 945, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "194:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "137:87:8" - }, - "returnParameters": { - "id": 948, - "nodeType": "ParameterList", - "parameters": [], - "src": "233:0:8" - }, - "scope": 950, - "src": "114:120:8", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1052, - "src": "87:149:8" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 951, - "name": "ERC1538Update", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 950, - "src": "272:13:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Update_$950", - "typeString": "contract ERC1538Update" - } - }, - "id": 952, - "nodeType": "InheritanceSpecifier", - "src": "272:13:8" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 953, - "name": "ERC1538Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 361, - "src": "287:11:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Core_$361", - "typeString": "contract ERC1538Core" - } - }, - "id": 954, - "nodeType": "InheritanceSpecifier", - "src": "287:11:8" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 955, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 374, - "src": "300:13:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$374", - "typeString": "contract ERC1538Module" - } - }, - "id": 956, - "nodeType": "InheritanceSpecifier", - "src": "300:13:8" - } - ], - "contractDependencies": [ - 361, - 374, - 950, - 1263, - 1280, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1051, - "linearizedBaseContracts": [ - 1051, - 374, - 361, - 1263, - 2608, - 2488, - 1280, - 950 - ], - "name": "ERC1538UpdateDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 949 - ], - "body": { - "id": 1049, - "nodeType": "Block", - "src": "476:788:8", - "statements": [ - { - "assignments": [ - 969 - ], - "declarations": [ - { - "constant": false, - "id": 969, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "480:23:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 968, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "480:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 974, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 972, - "name": "_functionSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "512:19:8", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "506:5:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 970, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "506:5:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "506:26:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "480:52:8" - }, - { - "assignments": [ - 976 - ], - "declarations": [ - { - "constant": false, - "id": 976, - "name": "start", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "536:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 975, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "536:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 977, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "536:13:8" - }, - { - "assignments": [ - 979 - ], - "declarations": [ - { - "constant": false, - "id": 979, - "name": "end", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "553:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 978, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "553:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 980, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "553:11:8" - }, - { - "assignments": [ - 982 - ], - "declarations": [ - { - "constant": false, - "id": 982, - "name": "size", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "568:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 981, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "568:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 983, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "568:12:8" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 984, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 958, - "src": "589:9:8", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "610:1:8", - "subdenomination": null, - "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": 986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "602:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "602:7:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "602:10:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "589:23:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 999, - "nodeType": "IfStatement", - "src": "585:176:8", - "trueBody": { - "id": 998, - "nodeType": "Block", - "src": "616:145:8", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "630:34:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "632:30:8", - "value": { - "arguments": [ - { - "name": "_delegate", - "nodeType": "YulIdentifier", - "src": "652:9:8" - } - ], - "functionName": { - "name": "extcodesize", - "nodeType": "YulIdentifier", - "src": "640:11:8" - }, - "nodeType": "YulFunctionCall", - "src": "640:22:8" - }, - "variableNames": [ - { - "name": "size", - "nodeType": "YulIdentifier", - "src": "632:4:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 958, - "isOffset": false, - "isSlot": false, - "src": "652:9:8", - "valueSize": 1 - }, - { - "declaration": 982, - "isOffset": false, - "isSlot": false, - "src": "632:4:8", - "valueSize": 1 - } - ], - "id": 990, - "nodeType": "InlineAssembly", - "src": "621:43:8" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 992, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 982, - "src": "676:4:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "683:1:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "676:8:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "5b455243313533385d205f64656c65676174652061646472657373206973206e6f74206120636f6e747261637420616e64206973206e6f742061646472657373283029", - "id": 995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "686:69:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e72105ab490448f720b4937b7f251b3f4f1ba070a47701e25d92baef4fdd3cab", - "typeString": "literal_string \"[ERC1538] _delegate address is not a contract and is not address(0)\"" - }, - "value": "[ERC1538] _delegate address is not a contract and is not address(0)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e72105ab490448f720b4937b7f251b3f4f1ba070a47701e25d92baef4fdd3cab", - "typeString": "literal_string \"[ERC1538] _delegate address is not a contract and is not address(0)\"" - } - ], - "id": 991, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "668:7:8", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "668:88:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 997, - "nodeType": "ExpressionStatement", - "src": "668:88:8" - } - ] - } - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "775:79:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "780:28:8", - "value": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "793:10:8" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "805:2:8", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "789:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "789:19:8" - }, - "variableNames": [ - { - "name": "start", - "nodeType": "YulIdentifier", - "src": "780:5:8" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "812:38:8", - "value": { - "arguments": [ - { - "name": "start", - "nodeType": "YulIdentifier", - "src": "825:5:8" - }, - { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "838:10:8" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "832:5:8" - }, - "nodeType": "YulFunctionCall", - "src": "832:17:8" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "821:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "821:29:8" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "812:3:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 979, - "isOffset": false, - "isSlot": false, - "src": "812:3:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "793:10:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "838:10:8", - "valueSize": 1 - }, - { - "declaration": 976, - "isOffset": false, - "isSlot": false, - "src": "780:5:8", - "valueSize": 1 - }, - { - "declaration": 976, - "isOffset": false, - "isSlot": false, - "src": "825:5:8", - "valueSize": 1 - } - ], - "id": 1000, - "nodeType": "InlineAssembly", - "src": "764:90:8" - }, - { - "body": { - "id": 1043, - "nodeType": "Block", - "src": "903:320:8", - "statements": [ - { - "assignments": [ - 1012 - ], - "declarations": [ - { - "constant": false, - "id": 1012, - "name": "char", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1043, - "src": "908:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "908:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1013, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "908:12:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "934:31:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "936:27:8", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "949:1:8", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "958:3:8" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "952:5:8" - }, - "nodeType": "YulFunctionCall", - "src": "952:10:8" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "944:4:8" - }, - "nodeType": "YulFunctionCall", - "src": "944:19:8" - }, - "variableNames": [ - { - "name": "char", - "nodeType": "YulIdentifier", - "src": "936:4:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1012, - "isOffset": false, - "isSlot": false, - "src": "936:4:8", - "valueSize": 1 - }, - { - "declaration": 1002, - "isOffset": false, - "isSlot": false, - "src": "958:3:8", - "valueSize": 1 - } - ], - "id": 1014, - "nodeType": "InlineAssembly", - "src": "925:40:8" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1015, - "name": "char", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "973:4:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 1016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "981:4:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "973:12:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 1042, - "nodeType": "IfStatement", - "src": "969:250:8", - "trueBody": { - "id": 1041, - "nodeType": "Block", - "src": "1004:215:8", - "statements": [ - { - "assignments": [ - 1019 - ], - "declarations": [ - { - "constant": false, - "id": 1019, - "name": "length", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1041, - "src": "1010:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1010:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1024, - "initialValue": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1020, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "1028:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 1021, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "1034:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1028:11:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1023, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1027:13:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1010:30:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1055:30:8", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1064:10:8" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1076:6:8" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1057:6:8" - }, - "nodeType": "YulFunctionCall", - "src": "1057:26:8" - }, - "nodeType": "YulExpressionStatement", - "src": "1057:26:8" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1019, - "isOffset": false, - "isSlot": false, - "src": "1076:6:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1064:10:8", - "valueSize": 1 - } - ], - "id": 1025, - "nodeType": "InlineAssembly", - "src": "1046:39:8" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1029, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 969, - "src": "1107:10:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1100:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 1027, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1100:6:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1100:18:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 1031, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 958, - "src": "1120:9:8", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1026, - "name": "_setFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 360, - "src": "1091:8:8", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1091:39:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1033, - "nodeType": "ExpressionStatement", - "src": "1091:39:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1146:49:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1148:45:8", - "value": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1166:10:8" - }, - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1182:6:8" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1190:1:8", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1178:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "1178:14:8" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1162:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "1162:31:8" - }, - "variableNames": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1148:10:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1019, - "isOffset": false, - "isSlot": false, - "src": "1182:6:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1148:10:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1166:10:8", - "valueSize": 1 - } - ], - "id": 1034, - "nodeType": "InlineAssembly", - "src": "1137:58:8" - }, - { - "expression": { - "argumentTypes": null, - "id": 1039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1035, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "1200:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1036, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "1208:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 1037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1212:1:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1208:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1200:13:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 1040, - "nodeType": "ExpressionStatement", - "src": "1200:13:8" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1005, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "883:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 1006, - "name": "end", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 979, - "src": "889:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "883:9:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1044, - "initializationExpression": { - "assignments": [ - 1002 - ], - "declarations": [ - { - "constant": false, - "id": 1002, - "name": "pos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1044, - "src": "862:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1001, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "862:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1004, - "initialValue": { - "argumentTypes": null, - "id": 1003, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "876:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "862:19:8" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 1009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "894:5:8", - "subExpression": { - "argumentTypes": null, - "id": 1008, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "896:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 1010, - "nodeType": "ExpressionStatement", - "src": "894:5:8" - }, - "nodeType": "ForStatement", - "src": "857:366:8" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1046, - "name": "_commitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "1245:14:8", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 1045, - "name": "CommitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 260 - ], - "referencedDeclaration": 260, - "src": "1231:13:8", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1231:29:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1048, - "nodeType": "EmitStatement", - "src": "1226:34:8" - } - ] - }, - "documentation": null, - "functionSelector": "61455567", - "id": 1050, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 966, - "modifierName": { - "argumentTypes": null, - "id": 965, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2546, - "src": "465:9:8", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "465:9:8" - } - ], - "name": "updateContract", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 964, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "456:8:8" - }, - "parameters": { - "id": 963, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 958, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "344:25:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 957, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "344:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 960, - "name": "_functionSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "373:35:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 959, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "373:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 962, - "name": "_commitMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "412:30:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 961, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "412:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "340:105:8" - }, - "returnParameters": { - "id": 967, - "nodeType": "ParameterList", - "parameters": [], - "src": "476:0:8" - }, - "scope": 1051, - "src": "317:947:8", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1052, - "src": "238:1028:8" - } - ], - "src": "0:1267:8" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Modules/ERC1538Update.sol", - "exportedSymbols": { - "ERC1538Update": [ - 950 - ], - "ERC1538UpdateDelegate": [ - 1051 - ] - }, - "id": 1052, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 938, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:8" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Core.sol", - "file": "../ERC1538Core.sol", - "id": 939, - "nodeType": "ImportDirective", - "scope": 1052, - "sourceUnit": 362, - "src": "25:28:8", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/ERC1538/ERC1538Module.sol", - "file": "../ERC1538Module.sol", - "id": 940, - "nodeType": "ImportDirective", - "scope": 1052, - "sourceUnit": 375, - "src": "54:30:8", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 950, - "linearizedBaseContracts": [ - 950 - ], - "name": "ERC1538Update", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "61455567", - "id": 949, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "updateContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 942, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "138:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "138:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 944, - "name": "_functionSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "157:35:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 943, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "157:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 946, - "name": "commitMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 949, - "src": "194:29:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 945, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "194:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "137:87:8" - }, - "returnParameters": { - "id": 948, - "nodeType": "ParameterList", - "parameters": [], - "src": "233:0:8" - }, - "scope": 950, - "src": "114:120:8", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1052, - "src": "87:149:8" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 951, - "name": "ERC1538Update", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 950, - "src": "272:13:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Update_$950", - "typeString": "contract ERC1538Update" - } - }, - "id": 952, - "nodeType": "InheritanceSpecifier", - "src": "272:13:8" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 953, - "name": "ERC1538Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 361, - "src": "287:11:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Core_$361", - "typeString": "contract ERC1538Core" - } - }, - "id": 954, - "nodeType": "InheritanceSpecifier", - "src": "287:11:8" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 955, - "name": "ERC1538Module", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 374, - "src": "300:13:8", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Module_$374", - "typeString": "contract ERC1538Module" - } - }, - "id": 956, - "nodeType": "InheritanceSpecifier", - "src": "300:13:8" - } - ], - "contractDependencies": [ - 361, - 374, - 950, - 1263, - 1280, - 2488, - 2608 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1051, - "linearizedBaseContracts": [ - 1051, - 374, - 361, - 1263, - 2608, - 2488, - 1280, - 950 - ], - "name": "ERC1538UpdateDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 949 - ], - "body": { - "id": 1049, - "nodeType": "Block", - "src": "476:788:8", - "statements": [ - { - "assignments": [ - 969 - ], - "declarations": [ - { - "constant": false, - "id": 969, - "name": "signatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "480:23:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 968, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "480:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 974, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 972, - "name": "_functionSignatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "512:19:8", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "506:5:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 970, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "506:5:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "506:26:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "480:52:8" - }, - { - "assignments": [ - 976 - ], - "declarations": [ - { - "constant": false, - "id": 976, - "name": "start", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "536:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 975, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "536:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 977, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "536:13:8" - }, - { - "assignments": [ - 979 - ], - "declarations": [ - { - "constant": false, - "id": 979, - "name": "end", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "553:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 978, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "553:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 980, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "553:11:8" - }, - { - "assignments": [ - 982 - ], - "declarations": [ - { - "constant": false, - "id": 982, - "name": "size", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1049, - "src": "568:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 981, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "568:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 983, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "568:12:8" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 984, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 958, - "src": "589:9:8", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "610:1:8", - "subdenomination": null, - "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": 986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "602:7:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "602:7:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "602:10:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "589:23:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 999, - "nodeType": "IfStatement", - "src": "585:176:8", - "trueBody": { - "id": 998, - "nodeType": "Block", - "src": "616:145:8", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "630:34:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "632:30:8", - "value": { - "arguments": [ - { - "name": "_delegate", - "nodeType": "YulIdentifier", - "src": "652:9:8" - } - ], - "functionName": { - "name": "extcodesize", - "nodeType": "YulIdentifier", - "src": "640:11:8" - }, - "nodeType": "YulFunctionCall", - "src": "640:22:8" - }, - "variableNames": [ - { - "name": "size", - "nodeType": "YulIdentifier", - "src": "632:4:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 958, - "isOffset": false, - "isSlot": false, - "src": "652:9:8", - "valueSize": 1 - }, - { - "declaration": 982, - "isOffset": false, - "isSlot": false, - "src": "632:4:8", - "valueSize": 1 - } - ], - "id": 990, - "nodeType": "InlineAssembly", - "src": "621:43:8" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 992, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 982, - "src": "676:4:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "683:1:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "676:8:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "5b455243313533385d205f64656c65676174652061646472657373206973206e6f74206120636f6e747261637420616e64206973206e6f742061646472657373283029", - "id": 995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "686:69:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e72105ab490448f720b4937b7f251b3f4f1ba070a47701e25d92baef4fdd3cab", - "typeString": "literal_string \"[ERC1538] _delegate address is not a contract and is not address(0)\"" - }, - "value": "[ERC1538] _delegate address is not a contract and is not address(0)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e72105ab490448f720b4937b7f251b3f4f1ba070a47701e25d92baef4fdd3cab", - "typeString": "literal_string \"[ERC1538] _delegate address is not a contract and is not address(0)\"" - } - ], - "id": 991, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "668:7:8", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "668:88:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 997, - "nodeType": "ExpressionStatement", - "src": "668:88:8" - } - ] - } - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "775:79:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "780:28:8", - "value": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "793:10:8" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "805:2:8", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "789:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "789:19:8" - }, - "variableNames": [ - { - "name": "start", - "nodeType": "YulIdentifier", - "src": "780:5:8" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "812:38:8", - "value": { - "arguments": [ - { - "name": "start", - "nodeType": "YulIdentifier", - "src": "825:5:8" - }, - { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "838:10:8" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "832:5:8" - }, - "nodeType": "YulFunctionCall", - "src": "832:17:8" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "821:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "821:29:8" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "812:3:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 979, - "isOffset": false, - "isSlot": false, - "src": "812:3:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "793:10:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "838:10:8", - "valueSize": 1 - }, - { - "declaration": 976, - "isOffset": false, - "isSlot": false, - "src": "780:5:8", - "valueSize": 1 - }, - { - "declaration": 976, - "isOffset": false, - "isSlot": false, - "src": "825:5:8", - "valueSize": 1 - } - ], - "id": 1000, - "nodeType": "InlineAssembly", - "src": "764:90:8" - }, - { - "body": { - "id": 1043, - "nodeType": "Block", - "src": "903:320:8", - "statements": [ - { - "assignments": [ - 1012 - ], - "declarations": [ - { - "constant": false, - "id": 1012, - "name": "char", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1043, - "src": "908:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "908:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1013, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "908:12:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "934:31:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "936:27:8", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "949:1:8", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "958:3:8" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "952:5:8" - }, - "nodeType": "YulFunctionCall", - "src": "952:10:8" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "944:4:8" - }, - "nodeType": "YulFunctionCall", - "src": "944:19:8" - }, - "variableNames": [ - { - "name": "char", - "nodeType": "YulIdentifier", - "src": "936:4:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1012, - "isOffset": false, - "isSlot": false, - "src": "936:4:8", - "valueSize": 1 - }, - { - "declaration": 1002, - "isOffset": false, - "isSlot": false, - "src": "958:3:8", - "valueSize": 1 - } - ], - "id": 1014, - "nodeType": "InlineAssembly", - "src": "925:40:8" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1015, - "name": "char", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "973:4:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783342", - "id": 1016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "981:4:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_59_by_1", - "typeString": "int_const 59" - }, - "value": "0x3B" - }, - "src": "973:12:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 1042, - "nodeType": "IfStatement", - "src": "969:250:8", - "trueBody": { - "id": 1041, - "nodeType": "Block", - "src": "1004:215:8", - "statements": [ - { - "assignments": [ - 1019 - ], - "declarations": [ - { - "constant": false, - "id": 1019, - "name": "length", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1041, - "src": "1010:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1010:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1024, - "initialValue": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1020, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "1028:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 1021, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "1034:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1028:11:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1023, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1027:13:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1010:30:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1055:30:8", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1064:10:8" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1076:6:8" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1057:6:8" - }, - "nodeType": "YulFunctionCall", - "src": "1057:26:8" - }, - "nodeType": "YulExpressionStatement", - "src": "1057:26:8" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1019, - "isOffset": false, - "isSlot": false, - "src": "1076:6:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1064:10:8", - "valueSize": 1 - } - ], - "id": 1025, - "nodeType": "InlineAssembly", - "src": "1046:39:8" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1029, - "name": "signatures", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 969, - "src": "1107:10:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1100:6:8", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 1027, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1100:6:8", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1100:18:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 1031, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 958, - "src": "1120:9:8", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1026, - "name": "_setFunc", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 360, - "src": "1091:8:8", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 1032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1091:39:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1033, - "nodeType": "ExpressionStatement", - "src": "1091:39:8" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "1146:49:8", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1148:45:8", - "value": { - "arguments": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1166:10:8" - }, - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1182:6:8" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1190:1:8", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1178:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "1178:14:8" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1162:3:8" - }, - "nodeType": "YulFunctionCall", - "src": "1162:31:8" - }, - "variableNames": [ - { - "name": "signatures", - "nodeType": "YulIdentifier", - "src": "1148:10:8" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 1019, - "isOffset": false, - "isSlot": false, - "src": "1182:6:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1148:10:8", - "valueSize": 1 - }, - { - "declaration": 969, - "isOffset": false, - "isSlot": false, - "src": "1166:10:8", - "valueSize": 1 - } - ], - "id": 1034, - "nodeType": "InlineAssembly", - "src": "1137:58:8" - }, - { - "expression": { - "argumentTypes": null, - "id": 1039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1035, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "1200:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1036, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "1208:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 1037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1212:1:8", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1208:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1200:13:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 1040, - "nodeType": "ExpressionStatement", - "src": "1200:13:8" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 1005, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "883:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 1006, - "name": "end", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 979, - "src": "889:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "883:9:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1044, - "initializationExpression": { - "assignments": [ - 1002 - ], - "declarations": [ - { - "constant": false, - "id": 1002, - "name": "pos", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1044, - "src": "862:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1001, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "862:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1004, - "initialValue": { - "argumentTypes": null, - "id": 1003, - "name": "start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 976, - "src": "876:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "862:19:8" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 1009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "894:5:8", - "subExpression": { - "argumentTypes": null, - "id": 1008, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "896:3:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 1010, - "nodeType": "ExpressionStatement", - "src": "894:5:8" - }, - "nodeType": "ForStatement", - "src": "857:366:8" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1046, - "name": "_commitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "1245:14:8", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 1045, - "name": "CommitMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 260 - ], - "referencedDeclaration": 260, - "src": "1231:13:8", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1231:29:8", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1048, - "nodeType": "EmitStatement", - "src": "1226:34:8" - } - ] - }, - "documentation": null, - "functionSelector": "61455567", - "id": 1050, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 966, - "modifierName": { - "argumentTypes": null, - "id": 965, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2546, - "src": "465:9:8", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "465:9:8" - } - ], - "name": "updateContract", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 964, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "456:8:8" - }, - "parameters": { - "id": 963, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 958, - "name": "_delegate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "344:25:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 957, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "344:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 960, - "name": "_functionSignatures", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "373:35:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 959, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "373:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 962, - "name": "_commitMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1050, - "src": "412:30:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 961, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "412:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "340:105:8" - }, - "returnParameters": { - "id": 967, - "nodeType": "ParameterList", - "parameters": [], - "src": "476:0:8" - }, - "scope": 1051, - "src": "317:947:8", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1052, - "src": "238:1028:8" - } - ], - "src": "0:1267:8" - }, - "compiler": { - "name": "solc", - "version": "0.6.4+commit.1dca32f3.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:28.776Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - } - }, - "userdoc": { - "methods": {} - } -} diff --git a/build/contracts/ERC165.json b/build/contracts/ERC165.json deleted file mode 100644 index c93ff7a42..000000000 --- a/build/contracts/ERC165.json +++ /dev/null @@ -1,1425 +0,0 @@ -{ - "contractName": "ERC165", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts may inherit from this and call {_registerInterface} to declare their support of an interface.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"}},\"stateVariables\":{\"_supportedInterfaces\":{\"details\":\"Mapping of interface ids to whether or not it's supported.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\nimport \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\ncontract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () internal {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/introspection/ERC165.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/introspection/ERC165.sol", - "exportedSymbols": { - "ERC165": [ - 14128 - ] - }, - "id": 14129, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14073, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:83" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "file": "./IERC165.sol", - "id": 14074, - "nodeType": "ImportDirective", - "scope": 14129, - "sourceUnit": 14141, - "src": "58:23:83", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 14076, - "name": "IERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14140, - "src": "274:7:83", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$14140", - "typeString": "contract IERC165" - } - }, - "id": 14077, - "nodeType": "InheritanceSpecifier", - "src": "274:7:83" - } - ], - "contractDependencies": [ - 14140 - ], - "contractKind": "contract", - "documentation": { - "id": 14075, - "nodeType": "StructuredDocumentation", - "src": "83:171:83", - "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." - }, - "fullyImplemented": true, - "id": 14128, - "linearizedBaseContracts": [ - 14128, - 14140 - ], - "name": "ERC165", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 14080, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC165", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14128, - "src": "371:57:83", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14078, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "371:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783031666663396137", - "id": 14079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "418:10:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33540519_by_1", - "typeString": "int_const 33540519" - }, - "value": "0x01ffc9a7" - }, - "visibility": "private" - }, - { - "constant": false, - "documentation": { - "id": 14081, - "nodeType": "StructuredDocumentation", - "src": "435:82:83", - "text": " @dev Mapping of interface ids to whether or not it's supported." - }, - "id": 14085, - "mutability": "mutable", - "name": "_supportedInterfaces", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14128, - "src": "522:52:83", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "typeName": { - "id": 14084, - "keyType": { - "id": 14082, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "530:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "522:23:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "valueType": { - "id": 14083, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "540:4:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "body": { - "id": 14092, - "nodeType": "Block", - "src": "605:193:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14089, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14080, - "src": "770:20:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 14088, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "751:18:83", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 14090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "751:40:83", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14091, - "nodeType": "ExpressionStatement", - "src": "751:40:83" - } - ] - }, - "documentation": null, - "id": 14093, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14086, - "nodeType": "ParameterList", - "parameters": [], - "src": "593:2:83" - }, - "returnParameters": { - "id": 14087, - "nodeType": "ParameterList", - "parameters": [], - "src": "605:0:83" - }, - "scope": 14128, - "src": "581:217:83", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 14139 - ], - "body": { - "id": 14106, - "nodeType": "Block", - "src": "1031:57:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 14102, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14085, - "src": "1048:20:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 14104, - "indexExpression": { - "argumentTypes": null, - "id": 14103, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14096, - "src": "1069:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1048:33:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 14101, - "id": 14105, - "nodeType": "Return", - "src": "1041:40:83" - } - ] - }, - "documentation": { - "id": 14094, - "nodeType": "StructuredDocumentation", - "src": "804:139:83", - "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "functionSelector": "01ffc9a7", - "id": 14107, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 14098, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1007:8:83" - }, - "parameters": { - "id": 14097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14096, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14107, - "src": "975:18:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14095, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "975:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "974:20:83" - }, - "returnParameters": { - "id": 14101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14100, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14107, - "src": "1025:4:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1025:4:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1024:6:83" - }, - "scope": 14128, - "src": "948:140:83", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 14126, - "nodeType": "Block", - "src": "1547:133:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 14116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14114, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14110, - "src": "1565:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30786666666666666666", - "id": 14115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1580:10:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - }, - "value": "0xffffffff" - }, - "src": "1565:25:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 14117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1592:30:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", - "typeString": "literal_string \"ERC165: invalid interface id\"" - }, - "value": "ERC165: invalid interface id" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", - "typeString": "literal_string \"ERC165: invalid interface id\"" - } - ], - "id": 14113, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1557:7:83", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1557:66:83", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14119, - "nodeType": "ExpressionStatement", - "src": "1557:66:83" - }, - { - "expression": { - "argumentTypes": null, - "id": 14124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 14120, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14085, - "src": "1633:20:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 14122, - "indexExpression": { - "argumentTypes": null, - "id": 14121, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14110, - "src": "1654:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1633:33:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 14123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1669:4:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "1633:40:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 14125, - "nodeType": "ExpressionStatement", - "src": "1633:40:83" - } - ] - }, - "documentation": { - "id": 14108, - "nodeType": "StructuredDocumentation", - "src": "1094:383:83", - "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." - }, - "id": 14127, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_registerInterface", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14110, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14127, - "src": "1510:18:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14109, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1510:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1509:20:83" - }, - "returnParameters": { - "id": 14112, - "nodeType": "ParameterList", - "parameters": [], - "src": "1547:0:83" - }, - "scope": 14128, - "src": "1482:198:83", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 14129, - "src": "255:1427:83" - } - ], - "src": "33:1650:83" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/introspection/ERC165.sol", - "exportedSymbols": { - "ERC165": [ - 14128 - ] - }, - "id": 14129, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14073, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:83" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "file": "./IERC165.sol", - "id": 14074, - "nodeType": "ImportDirective", - "scope": 14129, - "sourceUnit": 14141, - "src": "58:23:83", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 14076, - "name": "IERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14140, - "src": "274:7:83", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$14140", - "typeString": "contract IERC165" - } - }, - "id": 14077, - "nodeType": "InheritanceSpecifier", - "src": "274:7:83" - } - ], - "contractDependencies": [ - 14140 - ], - "contractKind": "contract", - "documentation": { - "id": 14075, - "nodeType": "StructuredDocumentation", - "src": "83:171:83", - "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." - }, - "fullyImplemented": true, - "id": 14128, - "linearizedBaseContracts": [ - 14128, - 14140 - ], - "name": "ERC165", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 14080, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC165", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14128, - "src": "371:57:83", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14078, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "371:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783031666663396137", - "id": 14079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "418:10:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33540519_by_1", - "typeString": "int_const 33540519" - }, - "value": "0x01ffc9a7" - }, - "visibility": "private" - }, - { - "constant": false, - "documentation": { - "id": 14081, - "nodeType": "StructuredDocumentation", - "src": "435:82:83", - "text": " @dev Mapping of interface ids to whether or not it's supported." - }, - "id": 14085, - "mutability": "mutable", - "name": "_supportedInterfaces", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14128, - "src": "522:52:83", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "typeName": { - "id": 14084, - "keyType": { - "id": 14082, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "530:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "522:23:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "valueType": { - "id": 14083, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "540:4:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "body": { - "id": 14092, - "nodeType": "Block", - "src": "605:193:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14089, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14080, - "src": "770:20:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 14088, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "751:18:83", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 14090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "751:40:83", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14091, - "nodeType": "ExpressionStatement", - "src": "751:40:83" - } - ] - }, - "documentation": null, - "id": 14093, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14086, - "nodeType": "ParameterList", - "parameters": [], - "src": "593:2:83" - }, - "returnParameters": { - "id": 14087, - "nodeType": "ParameterList", - "parameters": [], - "src": "605:0:83" - }, - "scope": 14128, - "src": "581:217:83", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 14139 - ], - "body": { - "id": 14106, - "nodeType": "Block", - "src": "1031:57:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 14102, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14085, - "src": "1048:20:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 14104, - "indexExpression": { - "argumentTypes": null, - "id": 14103, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14096, - "src": "1069:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1048:33:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 14101, - "id": 14105, - "nodeType": "Return", - "src": "1041:40:83" - } - ] - }, - "documentation": { - "id": 14094, - "nodeType": "StructuredDocumentation", - "src": "804:139:83", - "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "functionSelector": "01ffc9a7", - "id": 14107, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 14098, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1007:8:83" - }, - "parameters": { - "id": 14097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14096, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14107, - "src": "975:18:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14095, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "975:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "974:20:83" - }, - "returnParameters": { - "id": 14101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14100, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14107, - "src": "1025:4:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1025:4:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1024:6:83" - }, - "scope": 14128, - "src": "948:140:83", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 14126, - "nodeType": "Block", - "src": "1547:133:83", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 14116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14114, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14110, - "src": "1565:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30786666666666666666", - "id": 14115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1580:10:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - }, - "value": "0xffffffff" - }, - "src": "1565:25:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 14117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1592:30:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", - "typeString": "literal_string \"ERC165: invalid interface id\"" - }, - "value": "ERC165: invalid interface id" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", - "typeString": "literal_string \"ERC165: invalid interface id\"" - } - ], - "id": 14113, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1557:7:83", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1557:66:83", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14119, - "nodeType": "ExpressionStatement", - "src": "1557:66:83" - }, - { - "expression": { - "argumentTypes": null, - "id": 14124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 14120, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14085, - "src": "1633:20:83", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 14122, - "indexExpression": { - "argumentTypes": null, - "id": 14121, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14110, - "src": "1654:11:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1633:33:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 14123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1669:4:83", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "1633:40:83", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 14125, - "nodeType": "ExpressionStatement", - "src": "1633:40:83" - } - ] - }, - "documentation": { - "id": 14108, - "nodeType": "StructuredDocumentation", - "src": "1094:383:83", - "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." - }, - "id": 14127, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_registerInterface", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14110, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14127, - "src": "1510:18:83", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14109, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1510:6:83", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1509:20:83" - }, - "returnParameters": { - "id": 14112, - "nodeType": "ParameterList", - "parameters": [], - "src": "1547:0:83" - }, - "scope": 14128, - "src": "1482:198:83", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 14129, - "src": "255:1427:83" - } - ], - "src": "33:1650:83" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.899Z", - "devdoc": { - "details": "Implementation of the {IERC165} interface. Contracts may inherit from this and call {_registerInterface} to declare their support of an interface.", - "kind": "dev", - "methods": { - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - } - }, - "stateVariables": { - "_supportedInterfaces": { - "details": "Mapping of interface ids to whether or not it's supported." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ERC721.json b/build/contracts/ERC721.json deleted file mode 100644 index 7a88be4dd..000000000 --- a/build/contracts/ERC721.json +++ /dev/null @@ -1,25402 +0,0 @@ -{ - "contractName": "ERC721", - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"see https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"constructor\":{\"details\":\"Initializes the contract by setting a `name` and a `symbol` to the token collection.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"title\":\"ERC721 Non-Fungible Token Standard basic implementation\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060405162001d2338038062001d23833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405250620001b391506301ffc9a760e01b90506200021d565b8151620001c8906006906020850190620002a2565b508051620001de906007906020840190620002a2565b50620001f16380ac58cd60e01b6200021d565b62000203635b5e139f60e01b6200021d565b6200021563780e9d6360e01b6200021d565b50506200033e565b6001600160e01b031980821614156200027d576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002e557805160ff191683800117855562000315565b8280016001018555821562000315579182015b8281111562000315578251825591602001919060010190620002f8565b506200032392915062000327565b5090565b5b8082111562000323576000815560010162000328565b6119d5806200034e6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b4114610349578063a22cb46514610351578063b88d4fde1461037f578063c87b56dd14610445578063e985e9c5146104625761010b565b80634f6ccce7146102e15780636352211e146102fe5780636c0360eb1461031b57806370a08231146103235761010b565b806318160ddd116100de57806318160ddd1461022f57806323b872dd146102495780632f745c591461027f57806342842e0e146102ab5761010b565b806301ffc9a71461011057806306fdde031461014b578063081812fc146101c8578063095ea7b314610201575b600080fd5b6101376004803603602081101561012657600080fd5b50356001600160e01b031916610490565b604080519115158252519081900360200190f35b6101536104b3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018d578181015183820152602001610175565b50505050905090810190601f1680156101ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101e5600480360360208110156101de57600080fd5b5035610549565b604080516001600160a01b039092168252519081900360200190f35b61022d6004803603604081101561021757600080fd5b506001600160a01b0381351690602001356105ab565b005b610237610686565b60408051918252519081900360200190f35b61022d6004803603606081101561025f57600080fd5b506001600160a01b03813581169160208101359091169060400135610697565b6102376004803603604081101561029557600080fd5b506001600160a01b0381351690602001356106ee565b61022d600480360360608110156102c157600080fd5b506001600160a01b03813581169160208101359091169060400135610719565b610237600480360360208110156102f757600080fd5b5035610734565b6101e56004803603602081101561031457600080fd5b503561074a565b610153610772565b6102376004803603602081101561033957600080fd5b50356001600160a01b03166107d3565b61015361083b565b61022d6004803603604081101561036757600080fd5b506001600160a01b038135169060200135151561089c565b61022d6004803603608081101561039557600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156103d057600080fd5b8201836020820111156103e257600080fd5b8035906020019184600183028401116401000000008311171561040457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506109a1945050505050565b6101536004803603602081101561045b57600080fd5b50356109ff565b6101376004803603604081101561047857600080fd5b506001600160a01b0381358116916020013516610ca6565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b820191906000526020600020905b81548152906001019060200180831161052257829003601f168201915b5050505050905090565b600061055482610cd4565b61058f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806118ca602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b68261074a565b9050806001600160a01b0316836001600160a01b031614156106095760405162461bcd60e51b815260040180806020018281038252602181526020018061194e6021913960400191505060405180910390fd5b806001600160a01b031661061b610ce1565b6001600160a01b0316148061063c575061063c81610637610ce1565b610ca6565b6106775760405162461bcd60e51b815260040180806020018281038252603881526020018061181d6038913960400191505060405180910390fd5b6106818383610ce5565b505050565b60006106926002610d53565b905090565b6106a86106a2610ce1565b82610d5e565b6106e35760405162461bcd60e51b815260040180806020018281038252603181526020018061196f6031913960400191505060405180910390fd5b610681838383610e02565b6001600160a01b03821660009081526001602052604081206107109083610f4e565b90505b92915050565b610681838383604051806020016040528060008152506109a1565b600080610742600284610f5a565b509392505050565b60006107138260405180606001604052806029815260200161187f6029913960029190610f76565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b60006001600160a01b03821661081a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611855602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061071390610d53565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b6108a4610ce1565b6001600160a01b0316826001600160a01b0316141561090a576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000610917610ce1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561095b610ce1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6109b26109ac610ce1565b83610d5e565b6109ed5760405162461bcd60e51b815260040180806020018281038252603181526020018061196f6031913960400191505060405180910390fd5b6109f984848484610f8d565b50505050565b6060610a0a82610cd4565b610a455760405162461bcd60e51b815260040180806020018281038252602f81526020018061191f602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505060095493945050505060026000196101006001841615020190911604610b035790506104ae565b805115610bd4576009816040516020018083805460018160011615610100020316600290048015610b6b5780601f10610b49576101008083540402835291820191610b6b565b820191906000526020600020905b815481529060010190602001808311610b57575b5050825160208401908083835b60208310610b975780518252601f199092019160209182019101610b78565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506104ae565b6009610bdf84610fdf565b6040516020018083805460018160011615610100020316600290048015610c3d5780601f10610c1b576101008083540402835291820191610c3d565b820191906000526020600020905b815481529060010190602001808311610c29575b5050825160208401908083835b60208310610c695780518252601f199092019160209182019101610c4a565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006107136002836110ba565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d1a8261074a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610713826110c6565b6000610d6982610cd4565b610da45760405162461bcd60e51b815260040180806020018281038252602c8152602001806117f1602c913960400191505060405180910390fd5b6000610daf8361074a565b9050806001600160a01b0316846001600160a01b03161480610dea5750836001600160a01b0316610ddf84610549565b6001600160a01b0316145b80610dfa5750610dfa8185610ca6565b949350505050565b826001600160a01b0316610e158261074a565b6001600160a01b031614610e5a5760405162461bcd60e51b81526004018080602001828103825260298152602001806118f66029913960400191505060405180910390fd5b6001600160a01b038216610e9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806117cd6024913960400191505060405180910390fd5b610eaa838383610681565b610eb5600082610ce5565b6001600160a01b0383166000908152600160205260409020610ed790826110ca565b506001600160a01b0382166000908152600160205260409020610efa90826110d6565b50610f07600282846110e2565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061071083836110f8565b6000808080610f69868661115c565b9097909650945050505050565b6000610f838484846111d7565b90505b9392505050565b610f98848484610e02565b610fa4848484846112a1565b6109f95760405162461bcd60e51b815260040180806020018281038252603281526020018061179b6032913960400191505060405180910390fd5b60608161100457506040805180820190915260018152600360fc1b60208201526104ae565b8160005b811561101c57600101600a82049150611008565b60608167ffffffffffffffff8111801561103557600080fd5b506040519080825280601f01601f191660200182016040528015611060576020820181803683370190505b50859350905060001982015b83156110b157600a840660300160f81b8282806001900393508151811061108f57fe5b60200101906001600160f81b031916908160001a905350600a8404935061106c565b50949350505050565b60006107108383611409565b5490565b60006107108383611421565b600061071083836114e7565b6000610f8384846001600160a01b038516611531565b8154600090821061113a5760405162461bcd60e51b81526004018080602001828103825260228152602001806117796022913960400191505060405180910390fd5b82600001828154811061114957fe5b9060005260206000200154905092915050565b8154600090819083106111a05760405162461bcd60e51b81526004018080602001828103825260228152602001806118a86022913960400191505060405180910390fd5b60008460000184815481106111b157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816112725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561123757818101518382015260200161121f565b50505050905090810190601f1680156112645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061128557fe5b9060005260206000209060020201600101549150509392505050565b60006112b5846001600160a01b03166115c8565b6112c157506001610dfa565b60606113cf630a85bd0160e11b6112d6610ce1565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561133d578181015183820152602001611325565b50505050905090810190601f16801561136a5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161179b603291396001600160a01b0388169190611601565b905060008180602001905160208110156113e857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156114dd578354600019808301919081019060009087908390811061145457fe5b906000526020600020015490508087600001848154811061147157fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806114a157fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610713565b6000915050610713565b60006114f38383611409565b61152957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610713565b506000610713565b600082815260018401602052604081205480611596575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f86565b828560000160018303815481106115a957fe5b9060005260206000209060020201600101819055506000915050610f86565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610dfa575050151592915050565b6060610f8384846000856060611616856115c8565b611667576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116a65780518252601f199092019160209182019101611687565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611708576040519150601f19603f3d011682016040523d82523d6000602084013e61170d565b606091505b50915091508115611721579150610dfa9050565b8051156117315780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561123757818101518382015260200161121f56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a264697066735822122092bfb86cdccfb7af00753c3efee2d0d891f6092ac6eaa7d2f3a7314fdcf2d79864736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b4114610349578063a22cb46514610351578063b88d4fde1461037f578063c87b56dd14610445578063e985e9c5146104625761010b565b80634f6ccce7146102e15780636352211e146102fe5780636c0360eb1461031b57806370a08231146103235761010b565b806318160ddd116100de57806318160ddd1461022f57806323b872dd146102495780632f745c591461027f57806342842e0e146102ab5761010b565b806301ffc9a71461011057806306fdde031461014b578063081812fc146101c8578063095ea7b314610201575b600080fd5b6101376004803603602081101561012657600080fd5b50356001600160e01b031916610490565b604080519115158252519081900360200190f35b6101536104b3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018d578181015183820152602001610175565b50505050905090810190601f1680156101ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101e5600480360360208110156101de57600080fd5b5035610549565b604080516001600160a01b039092168252519081900360200190f35b61022d6004803603604081101561021757600080fd5b506001600160a01b0381351690602001356105ab565b005b610237610686565b60408051918252519081900360200190f35b61022d6004803603606081101561025f57600080fd5b506001600160a01b03813581169160208101359091169060400135610697565b6102376004803603604081101561029557600080fd5b506001600160a01b0381351690602001356106ee565b61022d600480360360608110156102c157600080fd5b506001600160a01b03813581169160208101359091169060400135610719565b610237600480360360208110156102f757600080fd5b5035610734565b6101e56004803603602081101561031457600080fd5b503561074a565b610153610772565b6102376004803603602081101561033957600080fd5b50356001600160a01b03166107d3565b61015361083b565b61022d6004803603604081101561036757600080fd5b506001600160a01b038135169060200135151561089c565b61022d6004803603608081101561039557600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156103d057600080fd5b8201836020820111156103e257600080fd5b8035906020019184600183028401116401000000008311171561040457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506109a1945050505050565b6101536004803603602081101561045b57600080fd5b50356109ff565b6101376004803603604081101561047857600080fd5b506001600160a01b0381358116916020013516610ca6565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b820191906000526020600020905b81548152906001019060200180831161052257829003601f168201915b5050505050905090565b600061055482610cd4565b61058f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806118ca602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b68261074a565b9050806001600160a01b0316836001600160a01b031614156106095760405162461bcd60e51b815260040180806020018281038252602181526020018061194e6021913960400191505060405180910390fd5b806001600160a01b031661061b610ce1565b6001600160a01b0316148061063c575061063c81610637610ce1565b610ca6565b6106775760405162461bcd60e51b815260040180806020018281038252603881526020018061181d6038913960400191505060405180910390fd5b6106818383610ce5565b505050565b60006106926002610d53565b905090565b6106a86106a2610ce1565b82610d5e565b6106e35760405162461bcd60e51b815260040180806020018281038252603181526020018061196f6031913960400191505060405180910390fd5b610681838383610e02565b6001600160a01b03821660009081526001602052604081206107109083610f4e565b90505b92915050565b610681838383604051806020016040528060008152506109a1565b600080610742600284610f5a565b509392505050565b60006107138260405180606001604052806029815260200161187f6029913960029190610f76565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b60006001600160a01b03821661081a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611855602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061071390610d53565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561053f5780601f106105145761010080835404028352916020019161053f565b6108a4610ce1565b6001600160a01b0316826001600160a01b0316141561090a576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000610917610ce1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561095b610ce1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6109b26109ac610ce1565b83610d5e565b6109ed5760405162461bcd60e51b815260040180806020018281038252603181526020018061196f6031913960400191505060405180910390fd5b6109f984848484610f8d565b50505050565b6060610a0a82610cd4565b610a455760405162461bcd60e51b815260040180806020018281038252602f81526020018061191f602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505060095493945050505060026000196101006001841615020190911604610b035790506104ae565b805115610bd4576009816040516020018083805460018160011615610100020316600290048015610b6b5780601f10610b49576101008083540402835291820191610b6b565b820191906000526020600020905b815481529060010190602001808311610b57575b5050825160208401908083835b60208310610b975780518252601f199092019160209182019101610b78565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506104ae565b6009610bdf84610fdf565b6040516020018083805460018160011615610100020316600290048015610c3d5780601f10610c1b576101008083540402835291820191610c3d565b820191906000526020600020905b815481529060010190602001808311610c29575b5050825160208401908083835b60208310610c695780518252601f199092019160209182019101610c4a565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006107136002836110ba565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d1a8261074a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610713826110c6565b6000610d6982610cd4565b610da45760405162461bcd60e51b815260040180806020018281038252602c8152602001806117f1602c913960400191505060405180910390fd5b6000610daf8361074a565b9050806001600160a01b0316846001600160a01b03161480610dea5750836001600160a01b0316610ddf84610549565b6001600160a01b0316145b80610dfa5750610dfa8185610ca6565b949350505050565b826001600160a01b0316610e158261074a565b6001600160a01b031614610e5a5760405162461bcd60e51b81526004018080602001828103825260298152602001806118f66029913960400191505060405180910390fd5b6001600160a01b038216610e9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806117cd6024913960400191505060405180910390fd5b610eaa838383610681565b610eb5600082610ce5565b6001600160a01b0383166000908152600160205260409020610ed790826110ca565b506001600160a01b0382166000908152600160205260409020610efa90826110d6565b50610f07600282846110e2565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061071083836110f8565b6000808080610f69868661115c565b9097909650945050505050565b6000610f838484846111d7565b90505b9392505050565b610f98848484610e02565b610fa4848484846112a1565b6109f95760405162461bcd60e51b815260040180806020018281038252603281526020018061179b6032913960400191505060405180910390fd5b60608161100457506040805180820190915260018152600360fc1b60208201526104ae565b8160005b811561101c57600101600a82049150611008565b60608167ffffffffffffffff8111801561103557600080fd5b506040519080825280601f01601f191660200182016040528015611060576020820181803683370190505b50859350905060001982015b83156110b157600a840660300160f81b8282806001900393508151811061108f57fe5b60200101906001600160f81b031916908160001a905350600a8404935061106c565b50949350505050565b60006107108383611409565b5490565b60006107108383611421565b600061071083836114e7565b6000610f8384846001600160a01b038516611531565b8154600090821061113a5760405162461bcd60e51b81526004018080602001828103825260228152602001806117796022913960400191505060405180910390fd5b82600001828154811061114957fe5b9060005260206000200154905092915050565b8154600090819083106111a05760405162461bcd60e51b81526004018080602001828103825260228152602001806118a86022913960400191505060405180910390fd5b60008460000184815481106111b157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816112725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561123757818101518382015260200161121f565b50505050905090810190601f1680156112645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061128557fe5b9060005260206000209060020201600101549150509392505050565b60006112b5846001600160a01b03166115c8565b6112c157506001610dfa565b60606113cf630a85bd0160e11b6112d6610ce1565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561133d578181015183820152602001611325565b50505050905090810190601f16801561136a5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161179b603291396001600160a01b0388169190611601565b905060008180602001905160208110156113e857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156114dd578354600019808301919081019060009087908390811061145457fe5b906000526020600020015490508087600001848154811061147157fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806114a157fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610713565b6000915050610713565b60006114f38383611409565b61152957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610713565b506000610713565b600082815260018401602052604081205480611596575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f86565b828560000160018303815481106115a957fe5b9060005260206000209060020201600101819055506000915050610f86565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610dfa575050151592915050565b6060610f8384846000856060611616856115c8565b611667576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116a65780518252601f199092019160209182019101611687565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611708576040519150601f19603f3d011682016040523d82523d6000602084013e61170d565b606091505b50915091508115611721579150610dfa9050565b8051156117315780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561123757818101518382015260200161121f56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a264697066735822122092bfb86cdccfb7af00753c3efee2d0d891f6092ac6eaa7d2f3a7314fdcf2d79864736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "561:16178:90:-:0;;;3565:365;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3565:365:90;;;;;;;;;;-1:-1:-1;3565:365:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3565:365:90;;;;;;;;;;-1:-1:-1;3565:365:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3565:365:90;;-1:-1:-1;751:40:83;;-1:-1:-1;;;;770:20:83;-1:-1:-1;751:18:83;:40::i;:::-;3637:12:90;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;3659:16:90;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;3763:40:90;-1:-1:-1;;;3763:18:90;:40::i;:::-;3813:49;-1:-1:-1;;;3813:18:90;:49::i;:::-;3872:51;-1:-1:-1;;;3872:18:90;:51::i;:::-;3565:365;;561:16178;;1482:198:83;-1:-1:-1;;;;;;1565:25:83;;;;;1557:66;;;;;-1:-1:-1;;;1557:66:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1633:33:83;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1633:40:83;1669:4;1633:40;;;1482:198::o;561:16178:90:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;561:16178:90;;;-1:-1:-1;561:16178:90;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "561:16178:90:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;948:140:83;;;;;;;;;;;;;;;;-1:-1:-1;948:140:83;-1:-1:-1;;;;;;948:140:83;;:::i;:::-;;;;;;;;;;;;;;;;;;4486:90:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7093:209;;;;;;;;;;;;;;;;-1:-1:-1;7093:209:90;;:::i;:::-;;;;-1:-1:-1;;;;;7093:209:90;;;;;;;;;;;;;;6651:381;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6651:381:90;;;;;;;;:::i;:::-;;6161:200;;;:::i;:::-;;;;;;;;;;;;;;;;7941:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7941:300:90;;;;;;;;;;;;;;;;;:::i;5938:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5938:152:90;;;;;;;;:::i;8307:149::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8307:149:90;;;;;;;;;;;;;;;;;:::i;6433:161::-;;;;;;;;;;;;;;;;-1:-1:-1;6433:161:90;;:::i;4257:167::-;;;;;;;;;;;;;;;;-1:-1:-1;4257:167:90;;:::i;5772:87::-;;;:::i;3989:211::-;;;;;;;;;;;;;;;;-1:-1:-1;3989:211:90;-1:-1:-1;;;;;3989:211:90;;:::i;4640:94::-;;;:::i;7369:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7369:290:90;;;;;;;;;;:::i;8522:282::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8522:282:90;;-1:-1:-1;8522:282:90;;-1:-1:-1;;;;;8522:282:90:i;4800:740::-;;;;;;;;;;;;;;;;-1:-1:-1;4800:740:90;;:::i;7725:154::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7725:154:90;;;;;;;;;;:::i;948:140:83:-;-1:-1:-1;;;;;;1048:33:83;;1025:4;1048:33;;;;;;;;;;;;;948:140;;;;:::o;4486:90:90:-;4564:5;4557:12;;;;;;;;-1:-1:-1;;4557:12:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4532:13;;4557:12;;4564:5;;4557:12;;4564:5;4557:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4486:90;:::o;7093:209::-;7161:7;7188:16;7196:7;7188;:16::i;:::-;7180:73;;;;-1:-1:-1;;;7180:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7271:24:90;;;;:15;:24;;;;;;-1:-1:-1;;;;;7271:24:90;;7093:209::o;6651:381::-;6731:13;6747:16;6755:7;6747;:16::i;:::-;6731:32;;6787:5;-1:-1:-1;;;;;6781:11:90;:2;-1:-1:-1;;;;;6781:11:90;;;6773:57;;;;-1:-1:-1;;;6773:57:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6865:5;-1:-1:-1;;;;;6849:21:90;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6849:21:90;;:62;;;;6874:37;6891:5;6898:12;:10;:12::i;:::-;6874:16;:37::i;:::-;6841:152;;;;-1:-1:-1;;;6841:152:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7004:21;7013:2;7017:7;7004:8;:21::i;:::-;6651:381;;;:::o;6161:200::-;6214:7;6333:21;:12;:19;:21::i;:::-;6326:28;;6161:200;:::o;7941:300::-;8100:41;8119:12;:10;:12::i;:::-;8133:7;8100:18;:41::i;:::-;8092:103;;;;-1:-1:-1;;;8092:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8206:28;8216:4;8222:2;8226:7;8206:9;:28::i;5938:152::-;-1:-1:-1;;;;;6053:20:90;;6027:7;6053:20;;;:13;:20;;;;;:30;;6077:5;6053:23;:30::i;:::-;6046:37;;5938:152;;;;;:::o;8307:149::-;8410:39;8427:4;8433:2;8437:7;8410:39;;;;;;;;;;;;:16;:39::i;6433:161::-;6500:7;;6541:22;:12;6557:5;6541:15;:22::i;:::-;-1:-1:-1;6519:44:90;6433:161;-1:-1:-1;;;6433:161:90:o;4257:167::-;4321:7;4347:70;4364:7;4347:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;5772:87::-;5844:8;5837:15;;;;;;;;-1:-1:-1;;5837:15:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5812:13;;5837:15;;5844:8;;5837:15;;5844:8;5837:15;;;;;;;;;;;;;;;;;;;;;;;;3989:211;4053:7;-1:-1:-1;;;;;4080:19:90;;4072:74;;;;-1:-1:-1;;;4072:74:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4164:20:90;;;;;;:13;:20;;;;;:29;;:27;:29::i;4640:94::-;4720:7;4713:14;;;;;;;;-1:-1:-1;;4713:14:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4688:13;;4713:14;;4720:7;;4713:14;;4720:7;4713:14;;;;;;;;;;;;;;;;;;;;;;;;7369:290;7483:12;:10;:12::i;:::-;-1:-1:-1;;;;;7471:24:90;:8;-1:-1:-1;;;;;7471:24:90;;;7463:62;;;;;-1:-1:-1;;;7463:62:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;7581:8;7536:18;:32;7555:12;:10;:12::i;:::-;-1:-1:-1;;;;;7536:32:90;;;;;;;;;;;;;;;;;-1:-1:-1;7536:32:90;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7536:53:90;;;;;;;;;;;7619:12;:10;:12::i;:::-;-1:-1:-1;;;;;7604:48:90;;7643:8;7604:48;;;;;;;;;;;;;;;;;;;;7369:290;;:::o;8522:282::-;8653:41;8672:12;:10;:12::i;:::-;8686:7;8653:18;:41::i;:::-;8645:103;;;;-1:-1:-1;;;8645:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:39;8772:4;8778:2;8782:7;8791:5;8758:13;:39::i;:::-;8522:282;;;;:::o;4800:740::-;4865:13;4898:16;4906:7;4898;:16::i;:::-;4890:76;;;;-1:-1:-1;;;4890:76:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:19;;;;:10;:19;;;;;;;;;4977:45;;;;;;-1:-1:-1;;4977:45:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5003:19;4977:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5101:8:90;5095:22;4977:45;;-1:-1:-1;;;;5095:22:90;-1:-1:-1;;5095:22:90;;;;;;;;;;;5091:74;;5145:9;-1:-1:-1;5138:16:90;;5091:74;5267:23;;:27;5263:110;;5341:8;5351:9;5324:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5310:52;;;;;5263:110;5503:8;5513:18;:7;:16;:18::i;:::-;5486:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5472:61;;;4800:740;;;:::o;7725:154::-;-1:-1:-1;;;;;7837:25:90;;;7814:4;7837:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7725:154::o;10237:117::-;10294:4;10317:30;:12;10339:7;10317:21;:30::i;590:104:80:-;677:10;590:104;:::o;15893:155:90:-;15958:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15958:29:90;-1:-1:-1;;;;;15958:29:90;;;;;;;;:24;;16011:16;15958:24;16011:7;:16::i;:::-;-1:-1:-1;;;;;16002:39:90;;;;;;;;;;;15893:155;;:::o;7023:121:99:-;7092:7;7118:19;7126:3;7118:7;:19::i;10512:329:90:-;10597:4;10621:16;10629:7;10621;:16::i;:::-;10613:73;;;;-1:-1:-1;;;10613:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10696:13;10712:16;10720:7;10712;:16::i;:::-;10696:32;;10757:5;-1:-1:-1;;;;;10746:16:90;:7;-1:-1:-1;;;;;10746:16:90;;:51;;;;10790:7;-1:-1:-1;;;;;10766:31:90;:20;10778:7;10766:11;:20::i;:::-;-1:-1:-1;;;;;10766:31:90;;10746:51;:87;;;;10801:32;10818:5;10825:7;10801:16;:32::i;:::-;10738:96;10512:329;-1:-1:-1;;;;10512:329:90:o;13506:559::-;13623:4;-1:-1:-1;;;;;13603:24:90;:16;13611:7;13603;:16::i;:::-;-1:-1:-1;;;;;13603:24:90;;13595:78;;;;-1:-1:-1;;;13595:78:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13691:16:90;;13683:65;;;;-1:-1:-1;;;13683:65:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13759:39;13780:4;13786:2;13790:7;13759:20;:39::i;:::-;13860:29;13877:1;13881:7;13860:8;:29::i;:::-;-1:-1:-1;;;;;13900:19:90;;;;;;:13;:19;;;;;:35;;13927:7;13900:26;:35::i;:::-;-1:-1:-1;;;;;;13945:17:90;;;;;;:13;:17;;;;;:30;;13967:7;13945:21;:30::i;:::-;-1:-1:-1;13986:29:90;:12;14003:7;14012:2;13986:16;:29::i;:::-;;14050:7;14046:2;-1:-1:-1;;;;;14031:27:90;14040:4;-1:-1:-1;;;;;14031:27:90;;;;;;;;;;;13506:559;;;:::o;7649:135:100:-;7720:7;7754:22;7758:3;7770:5;7754:3;:22::i;7472:224:99:-;7552:7;;;;7611:22;7615:3;7627:5;7611:3;:22::i;:::-;7580:53;;;;-1:-1:-1;7472:224:99;-1:-1:-1;;;;;7472:224:99:o;8115:202::-;8222:7;8264:44;8269:3;8289;8295:12;8264:4;:44::i;:::-;8256:53;-1:-1:-1;8115:202:99;;;;;;:::o;9665:269:90:-;9778:28;9788:4;9794:2;9798:7;9778:9;:28::i;:::-;9824:48;9847:4;9853:2;9857:7;9866:5;9824:22;:48::i;:::-;9816:111;;;;-1:-1:-1;;;9816:111:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202:723:101;258:13;475:10;471:51;;-1:-1:-1;501:10:101;;;;;;;;;;;;-1:-1:-1;;;501:10:101;;;;;;471:51;546:5;531:12;585:75;592:9;;585:75;;617:8;;647:2;639:10;;;;585:75;;;669:19;701:6;691:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;691:17:101;-1:-1:-1;761:5:101;;-1:-1:-1;669:39:101;-1:-1:-1;;;734:10:101;;776:112;783:9;;776:112;;849:2;842:4;:9;837:2;:14;826:27;;808:6;815:7;;;;;;;808:15;;;;;;;;;;;:45;-1:-1:-1;;;;;808:45:101;;;;;;;;-1:-1:-1;875:2:101;867:10;;;;776:112;;;-1:-1:-1;911:6:101;202:723;-1:-1:-1;;;;202:723:101:o;6791:149:99:-;6875:4;6898:35;6908:3;6928;6898:9;:35::i;4483:108::-;4565:19;;4483:108::o;6764:135:100:-;6834:4;6857:35;6865:3;6885:5;6857:7;:35::i;6467:129::-;6534:4;6557:32;6562:3;6582:5;6557:4;:32::i;6239:174:99:-;6328:4;6351:55;6356:3;6376;-1:-1:-1;;;;;6390:14:99;;6351:4;:55::i;4423:201:100:-;4517:18;;4490:7;;4517:26;-1:-1:-1;4509:73:100;;;;-1:-1:-1;;;4509:73:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:3;:11;;4611:5;4599:18;;;;;;;;;;;;;;;;4592:25;;4423:201;;;;:::o;4934:274:99:-;5037:19;;5001:7;;;;5037:27;-1:-1:-1;5029:74:99;;;;-1:-1:-1;;;5029:74:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:22;5139:3;:12;;5152:5;5139:19;;;;;;;;;;;;;;;;;;5114:44;;5176:5;:10;;;5188:5;:12;;;5168:33;;;;;4934:274;;;;;:::o;5615:315::-;5709:7;5747:17;;;:12;;;:17;;;;;;5797:12;5782:13;5774:36;;;;-1:-1:-1;;;5774:36:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5863:3;:12;;5887:1;5876:8;:12;5863:26;;;;;;;;;;;;;;;;;;:33;;;5856:40;;;5615:315;;;;;:::o;15298:589:90:-;15418:4;15443:15;:2;-1:-1:-1;;;;;15443:13:90;;:15::i;:::-;15438:58;;-1:-1:-1;15481:4:90;15474:11;;15438:58;15505:23;15531:246;-1:-1:-1;;;15642:12:90;:10;:12::i;:::-;15668:4;15686:7;15707:5;15547:175;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;15531:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15531:15:90;;;:246;:15;:246::i;:::-;15505:272;;15787:13;15814:10;15803:32;;;;;;;;;;;;;;;-1:-1:-1;15803:32:90;-1:-1:-1;;;;;;15853:26:90;-1:-1:-1;;;15853:26:90;;-1:-1:-1;;;15298:589:90;;;;;;:::o;4270:123:99:-;4341:4;4364:17;;;:12;;;;;:17;;;;;;:22;;;4270:123::o;2183:1512:100:-;2249:4;2386:19;;;:12;;;:19;;;;;;2420:15;;2416:1273;;2849:18;;-1:-1:-1;;2801:14:100;;;;2849:22;;;;2777:21;;2849:3;;:22;;3131;;;;;;;;;;;;;;3111:42;;3274:9;3245:3;:11;;3257:13;3245:26;;;;;;;;;;;;;;;;;;;:38;;;;3349:23;;;3391:1;3349:12;;;:23;;;;;;3375:17;;;3349:43;;3498:17;;3349:3;;3498:17;;;;;;;;;;;;;;;;;;;;;;3590:3;:12;;:19;3603:5;3590:19;;;;;;;;;;;3583:26;;;3631:4;3624:11;;;;;;;;2416:1273;3673:5;3666:12;;;;;1611:404;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;1828:678:99;1904:4;2037:17;;;:12;;;:17;;;;;;2069:13;2065:435;;-1:-1:-1;;2153:38:99;;;;;;;;;;;;;;;;;;2135:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2347:19;;2327:17;;;:12;;;:17;;;;;;;:39;2380:11;;2065:435;2458:5;2422:3;:12;;2446:1;2435:8;:12;2422:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2484:5;2477:12;;;;;718:610:95;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:95;;;1270:51;-1:-1:-1;;718:610:95:o;3770:194::-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;5247;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:95;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5443:36:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:95;;-1:-1:-1;5516:17:95;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:95;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\nimport \"../../GSN/Context.sol\";\nimport \"./IERC721.sol\";\nimport \"./IERC721Metadata.sol\";\nimport \"./IERC721Enumerable.sol\";\nimport \"./IERC721Receiver.sol\";\nimport \"../../introspection/ERC165.sol\";\nimport \"../../math/SafeMath.sol\";\nimport \"../../utils/Address.sol\";\nimport \"../../utils/EnumerableSet.sol\";\nimport \"../../utils/EnumerableMap.sol\";\nimport \"../../utils/Strings.sol\";\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping(uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name, string memory symbol) public {\n _name = name;\n _symbol = symbol;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n\n // If there is no base URI, return the token URI.\n if (bytes(_baseURI).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(_baseURI, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(_baseURI, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mecanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ownerOf(tokenId);\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\");\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n function _approve(address to, uint256 tokenId) private {\n _tokenApprovals[tokenId] = to;\n emit Approval(ownerOf(tokenId), to, tokenId);\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "exportedSymbols": { - "ERC721": [ - 16258 - ] - }, - "id": 16259, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 15329, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:90" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../../GSN/Context.sol", - "id": 15330, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 13680, - "src": "58:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 15331, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16375, - "src": "90:23:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol", - "file": "./IERC721Metadata.sol", - "id": 15332, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16433, - "src": "114:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "file": "./IERC721Enumerable.sol", - "id": 15333, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16406, - "src": "146:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "file": "./IERC721Receiver.sol", - "id": 15334, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16451, - "src": "180:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/ERC165.sol", - "file": "../../introspection/ERC165.sol", - "id": 15335, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 14129, - "src": "212:40:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "file": "../../math/SafeMath.sol", - "id": 15336, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 14410, - "src": "253:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "../../utils/Address.sol", - "id": 15337, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16655, - "src": "287:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "file": "../../utils/EnumerableSet.sol", - "id": 15338, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17748, - "src": "321:39:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableMap.sol", - "file": "../../utils/EnumerableMap.sol", - "id": 15339, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17353, - "src": "361:39:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", - "file": "../../utils/Strings.sol", - "id": 15340, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17835, - "src": "401:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15342, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "580:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 15343, - "nodeType": "InheritanceSpecifier", - "src": "580:7:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15344, - "name": "ERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14128, - "src": "589:6:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$14128", - "typeString": "contract ERC165" - } - }, - "id": 15345, - "nodeType": "InheritanceSpecifier", - "src": "589:6:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15346, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "597:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 15347, - "nodeType": "InheritanceSpecifier", - "src": "597:7:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15348, - "name": "IERC721Metadata", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16432, - "src": "606:15:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$16432", - "typeString": "contract IERC721Metadata" - } - }, - "id": 15349, - "nodeType": "InheritanceSpecifier", - "src": "606:15:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15350, - "name": "IERC721Enumerable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16405, - "src": "623:17:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$16405", - "typeString": "contract IERC721Enumerable" - } - }, - "id": 15351, - "nodeType": "InheritanceSpecifier", - "src": "623:17:90" - } - ], - "contractDependencies": [ - 13679, - 14128, - 14140, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": { - "id": 15341, - "nodeType": "StructuredDocumentation", - "src": "436:124:90", - "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": true, - "id": 16258, - "linearizedBaseContracts": [ - 16258, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "ERC721", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 15354, - "libraryName": { - "contractScope": null, - "id": 15352, - "name": "SafeMath", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14409, - "src": "653:8:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$14409", - "typeString": "library SafeMath" - } - }, - "nodeType": "UsingForDirective", - "src": "647:27:90", - "typeName": { - "id": 15353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "666:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 15357, - "libraryName": { - "contractScope": null, - "id": 15355, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16654, - "src": "685:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "679:26:90", - "typeName": { - "id": 15356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "697:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "id": 15360, - "libraryName": { - "contractScope": null, - "id": 15358, - "name": "EnumerableSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17747, - "src": "716:13:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$17747", - "typeString": "library EnumerableSet" - } - }, - "nodeType": "UsingForDirective", - "src": "710:46:90", - "typeName": { - "contractScope": null, - "id": 15359, - "name": "EnumerableSet.UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "734:21:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - } - }, - { - "id": 15363, - "libraryName": { - "contractScope": null, - "id": 15361, - "name": "EnumerableMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17352, - "src": "767:13:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$17352", - "typeString": "library EnumerableMap" - } - }, - "nodeType": "UsingForDirective", - "src": "761:55:90", - "typeName": { - "contractScope": null, - "id": 15362, - "name": "EnumerableMap.UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "785:30:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - } - }, - { - "id": 15366, - "libraryName": { - "contractScope": null, - "id": 15364, - "name": "Strings", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17834, - "src": "827:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$17834", - "typeString": "library Strings" - } - }, - "nodeType": "UsingForDirective", - "src": "821:26:90", - "typeName": { - "id": 15365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "839:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "constant": true, - "id": 15369, - "mutability": "constant", - "name": "_ERC721_RECEIVED", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1025:53:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15367, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1025:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783135306237613032", - "id": 15368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1068:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_353073666_by_1", - "typeString": "int_const 353073666" - }, - "value": "0x150b7a02" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 15373, - "mutability": "mutable", - "name": "_holderTokens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1162:64:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet)" - }, - "typeName": { - "id": 15372, - "keyType": { - "id": 15370, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1171:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1162:42:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet)" - }, - "valueType": { - "contractScope": null, - "id": 15371, - "name": "EnumerableSet.UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "1182:21:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15375, - "mutability": "mutable", - "name": "_tokenOwners", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1290:51:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 15374, - "name": "EnumerableMap.UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "1290:30:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15379, - "mutability": "mutable", - "name": "_tokenApprovals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1397:52:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 15378, - "keyType": { - "id": 15376, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1397:28:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 15377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1417:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15385, - "mutability": "mutable", - "name": "_operatorApprovals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1504:73:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 15384, - "keyType": { - "id": 15380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1513:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1504:46:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 15383, - "keyType": { - "id": 15381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1533:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1524:25:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 15382, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1544:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15387, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1602:20:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1602:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15389, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1649:22:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1649:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15393, - "mutability": "mutable", - "name": "_tokenURIs", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1717:45:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string)" - }, - "typeName": { - "id": 15392, - "keyType": { - "id": 15390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1725:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1717:26:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string)" - }, - "valueType": { - "id": 15391, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1736:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15395, - "mutability": "mutable", - "name": "_baseURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1785:23:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15394, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1785:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "id": 15398, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "2683:57:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15396, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2683:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783830616335386364", - "id": 15397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2730:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2158778573_by_1", - "typeString": "int_const 2158778573" - }, - "value": "0x80ac58cd" - }, - "visibility": "private" - }, - { - "constant": true, - "id": 15401, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721_METADATA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "3006:66:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15399, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3006:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783562356531333966", - "id": 15400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3062:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1532892063_by_1", - "typeString": "int_const 1532892063" - }, - "value": "0x5b5e139f" - }, - "visibility": "private" - }, - { - "constant": true, - "id": 15404, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "3377:68:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15402, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3377:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783738306539643633", - "id": 15403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3435:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2014223715_by_1", - "typeString": "int_const 2014223715" - }, - "value": "0x780e9d63" - }, - "visibility": "private" - }, - { - "body": { - "id": 15432, - "nodeType": "Block", - "src": "3627:303:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 15412, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15387, - "src": "3637:5:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15413, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15407, - "src": "3645:4:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "3637:12:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 15415, - "nodeType": "ExpressionStatement", - "src": "3637:12:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 15416, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15389, - "src": "3659:7:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15417, - "name": "symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15409, - "src": "3669:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "3659:16:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 15419, - "nodeType": "ExpressionStatement", - "src": "3659:16:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15421, - "name": "_INTERFACE_ID_ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15398, - "src": "3782:20:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15420, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3763:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3763:40:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15423, - "nodeType": "ExpressionStatement", - "src": "3763:40:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15425, - "name": "_INTERFACE_ID_ERC721_METADATA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15401, - "src": "3832:29:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15424, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3813:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3813:49:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15427, - "nodeType": "ExpressionStatement", - "src": "3813:49:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15429, - "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15404, - "src": "3891:31:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15428, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3872:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3872:51:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15431, - "nodeType": "ExpressionStatement", - "src": "3872:51:90" - } - ] - }, - "documentation": { - "id": 15405, - "nodeType": "StructuredDocumentation", - "src": "3452:108:90", - "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." - }, - "id": 15433, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15407, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15433, - "src": "3578:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15406, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3578:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15409, - "mutability": "mutable", - "name": "symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15433, - "src": "3598:20:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15408, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3598:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3577:42:90" - }, - "returnParameters": { - "id": 15411, - "nodeType": "ParameterList", - "parameters": [], - "src": "3627:0:90" - }, - "scope": 16258, - "src": "3565:365:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16299 - ], - "body": { - "id": 15458, - "nodeType": "Block", - "src": "4062:138:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15443, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15436, - "src": "4080:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4097:1:90", - "subdenomination": null, - "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": 15445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4089:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4089:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4089:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4080:19:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 15449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4101:44:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - }, - "value": "ERC721: balance query for the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - } - ], - "id": 15442, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4072:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4072:74:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15451, - "nodeType": "ExpressionStatement", - "src": "4072:74:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15452, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "4164:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15454, - "indexExpression": { - "argumentTypes": null, - "id": 15453, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15436, - "src": "4178:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4164:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15455, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17726, - "src": "4164:27:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$17652_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" - } - }, - "id": 15456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4164:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15441, - "id": 15457, - "nodeType": "Return", - "src": "4157:36:90" - } - ] - }, - "documentation": { - "id": 15434, - "nodeType": "StructuredDocumentation", - "src": "3936:48:90", - "text": " @dev See {IERC721-balanceOf}." - }, - "functionSelector": "70a08231", - "id": 15459, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15438, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4035:8:90" - }, - "parameters": { - "id": 15437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15436, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15459, - "src": "4008:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15435, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4008:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4007:15:90" - }, - "returnParameters": { - "id": 15441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15440, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15459, - "src": "4053:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15439, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4053:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4052:9:90" - }, - "scope": 16258, - "src": "3989:211:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16307 - ], - "body": { - "id": 15474, - "nodeType": "Block", - "src": "4330:94:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15470, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15462, - "src": "4364:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4373:43:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - }, - "value": "ERC721: owner query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - } - ], - "expression": { - "argumentTypes": null, - "id": 15468, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "4347:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "get", - "nodeType": "MemberAccess", - "referencedDeclaration": 17351, - "src": "4347:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" - } - }, - "id": 15472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4347:70:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 15467, - "id": 15473, - "nodeType": "Return", - "src": "4340:77:90" - } - ] - }, - "documentation": { - "id": 15460, - "nodeType": "StructuredDocumentation", - "src": "4206:46:90", - "text": " @dev See {IERC721-ownerOf}." - }, - "functionSelector": "6352211e", - "id": 15475, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15464, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4303:8:90" - }, - "parameters": { - "id": 15463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15462, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15475, - "src": "4274:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15461, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4274:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4273:17:90" - }, - "returnParameters": { - "id": 15467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15475, - "src": "4321:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4321:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4320:9:90" - }, - "scope": 16258, - "src": "4257:167:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16417 - ], - "body": { - "id": 15484, - "nodeType": "Block", - "src": "4547:29:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15482, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15387, - "src": "4564:5:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15481, - "id": 15483, - "nodeType": "Return", - "src": "4557:12:90" - } - ] - }, - "documentation": { - "id": 15476, - "nodeType": "StructuredDocumentation", - "src": "4430:51:90", - "text": " @dev See {IERC721Metadata-name}." - }, - "functionSelector": "06fdde03", - "id": 15485, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15478, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4514:8:90" - }, - "parameters": { - "id": 15477, - "nodeType": "ParameterList", - "parameters": [], - "src": "4499:2:90" - }, - "returnParameters": { - "id": 15481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15480, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15485, - "src": "4532:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4532:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4531:15:90" - }, - "scope": 16258, - "src": "4486:90:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16423 - ], - "body": { - "id": 15494, - "nodeType": "Block", - "src": "4703:31:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15492, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15389, - "src": "4720:7:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15491, - "id": 15493, - "nodeType": "Return", - "src": "4713:14:90" - } - ] - }, - "documentation": { - "id": 15486, - "nodeType": "StructuredDocumentation", - "src": "4582:53:90", - "text": " @dev See {IERC721Metadata-symbol}." - }, - "functionSelector": "95d89b41", - "id": 15495, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15488, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4670:8:90" - }, - "parameters": { - "id": 15487, - "nodeType": "ParameterList", - "parameters": [], - "src": "4655:2:90" - }, - "returnParameters": { - "id": 15491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15495, - "src": "4688:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4688:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4687:15:90" - }, - "scope": 16258, - "src": "4640:94:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16431 - ], - "body": { - "id": 15557, - "nodeType": "Block", - "src": "4880:660:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15506, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "4906:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15505, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "4898:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4898:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4916:49:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - }, - "value": "ERC721Metadata: URI query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - } - ], - "id": 15504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4890:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4890:76:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15510, - "nodeType": "ExpressionStatement", - "src": "4890:76:90" - }, - { - "assignments": [ - 15512 - ], - "declarations": [ - { - "constant": false, - "id": 15512, - "mutability": "mutable", - "name": "_tokenURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15557, - "src": "4977:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15511, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4977:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15516, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15513, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "5003:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 15515, - "indexExpression": { - "argumentTypes": null, - "id": 15514, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "5014:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5003:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4977:45:90" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 15523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15519, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5101:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - ], - "id": 15518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5095:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 15517, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5095:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5095:15:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "id": 15521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5095:22:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 15522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5121:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5095:27:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 15527, - "nodeType": "IfStatement", - "src": "5091:74:90", - "trueBody": { - "id": 15526, - "nodeType": "Block", - "src": "5124:41:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15524, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5145:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15525, - "nodeType": "Return", - "src": "5138:16:90" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 15534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15530, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5273:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 15529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5267:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 15528, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5267:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5267:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 15532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5267:23:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 15533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5293:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5267:27:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 15545, - "nodeType": "IfStatement", - "src": "5263:110:90", - "trueBody": { - "id": 15544, - "nodeType": "Block", - "src": "5296:77:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15539, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5341:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "argumentTypes": null, - "id": 15540, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5351:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 15537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5324:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5324:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 15541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5324:37:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5317:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 15535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5317:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5317:45:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15543, - "nodeType": "Return", - "src": "5310:52:90" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15550, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5503:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 15551, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "5513:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 15552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 17833, - "src": "5513:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 15553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5513:18:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 15548, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5486:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5486:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 15554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5486:46:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5479:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 15546, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5479:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5479:54:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15556, - "nodeType": "Return", - "src": "5472:61:90" - } - ] - }, - "documentation": { - "id": 15496, - "nodeType": "StructuredDocumentation", - "src": "4740:55:90", - "text": " @dev See {IERC721Metadata-tokenURI}." - }, - "functionSelector": "c87b56dd", - "id": 15558, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15500, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4847:8:90" - }, - "parameters": { - "id": 15499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15498, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15558, - "src": "4818:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15497, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4818:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4817:17:90" - }, - "returnParameters": { - "id": 15503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15502, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15558, - "src": "4865:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15501, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4865:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4864:15:90" - }, - "scope": 16258, - "src": "4800:740:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 15566, - "nodeType": "Block", - "src": "5827:32:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15564, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5844:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15563, - "id": 15565, - "nodeType": "Return", - "src": "5837:15:90" - } - ] - }, - "documentation": { - "id": 15559, - "nodeType": "StructuredDocumentation", - "src": "5546:221:90", - "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." - }, - "functionSelector": "6c0360eb", - "id": 15567, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "baseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15560, - "nodeType": "ParameterList", - "parameters": [], - "src": "5788:2:90" - }, - "returnParameters": { - "id": 15563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15562, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15567, - "src": "5812:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5812:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5811:15:90" - }, - "scope": 16258, - "src": "5772:87:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16396 - ], - "body": { - "id": 15585, - "nodeType": "Block", - "src": "6036:54:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15582, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15572, - "src": "6077:5:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15578, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "6053:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15580, - "indexExpression": { - "argumentTypes": null, - "id": 15579, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15570, - "src": "6067:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6053:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17746, - "src": "6053:23:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" - } - }, - "id": 15583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6053:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15577, - "id": 15584, - "nodeType": "Return", - "src": "6046:37:90" - } - ] - }, - "documentation": { - "id": 15568, - "nodeType": "StructuredDocumentation", - "src": "5865:68:90", - "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "functionSelector": "2f745c59", - "id": 15586, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15574, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6009:8:90" - }, - "parameters": { - "id": 15573, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15570, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "5967:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5967:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15572, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "5982:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5982:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5966:30:90" - }, - "returnParameters": { - "id": 15577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15576, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "6027:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6027:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6026:9:90" - }, - "scope": 16258, - "src": "5938:152:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16386 - ], - "body": { - "id": 15597, - "nodeType": "Block", - "src": "6223:138:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 15593, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "6333:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15594, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17260, - "src": "6333:19:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" - } - }, - "id": 15595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6333:21:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15592, - "id": 15596, - "nodeType": "Return", - "src": "6326:28:90" - } - ] - }, - "documentation": { - "id": 15587, - "nodeType": "StructuredDocumentation", - "src": "6096:60:90", - "text": " @dev See {IERC721Enumerable-totalSupply}." - }, - "functionSelector": "18160ddd", - "id": 15598, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15589, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6196:8:90" - }, - "parameters": { - "id": 15588, - "nodeType": "ParameterList", - "parameters": [], - "src": "6181:2:90" - }, - "returnParameters": { - "id": 15592, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15591, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15598, - "src": "6214:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15590, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6214:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6213:9:90" - }, - "scope": 16258, - "src": "6161:200:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16404 - ], - "body": { - "id": 15616, - "nodeType": "Block", - "src": "6509:85:90", - "statements": [ - { - "assignments": [ - 15608, - null - ], - "declarations": [ - { - "constant": false, - "id": 15608, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15616, - "src": "6520:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6520:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 15613, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15611, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15601, - "src": "6557:5:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 15609, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "6541:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15610, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17296, - "src": "6541:15:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" - } - }, - "id": 15612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6541:22:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", - "typeString": "tuple(uint256,address)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6519:44:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15614, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15608, - "src": "6580:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15606, - "id": 15615, - "nodeType": "Return", - "src": "6573:14:90" - } - ] - }, - "documentation": { - "id": 15599, - "nodeType": "StructuredDocumentation", - "src": "6367:61:90", - "text": " @dev See {IERC721Enumerable-tokenByIndex}." - }, - "functionSelector": "4f6ccce7", - "id": 15617, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15603, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6482:8:90" - }, - "parameters": { - "id": 15602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15601, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15617, - "src": "6455:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6455:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6454:15:90" - }, - "returnParameters": { - "id": 15606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15605, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15617, - "src": "6500:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15604, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6500:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6499:9:90" - }, - "scope": 16258, - "src": "6433:161:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16335 - ], - "body": { - "id": 15658, - "nodeType": "Block", - "src": "6721:311:90", - "statements": [ - { - "assignments": [ - 15627 - ], - "declarations": [ - { - "constant": false, - "id": 15627, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15658, - "src": "6731:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6731:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15631, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15629, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15622, - "src": "6755:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15628, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "6747:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6747:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6731:32:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15633, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15620, - "src": "6781:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 15634, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6787:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6781:11:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 15636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6794:35:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - }, - "value": "ERC721: approval to current owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - } - ], - "id": 15632, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6773:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6773:57:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15638, - "nodeType": "ExpressionStatement", - "src": "6773:57:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15640, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "6849:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6849:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15642, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6865:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6849:21:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15645, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6891:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15646, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "6898:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6898:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 15644, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15732, - "src": "6874:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 15648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6874:37:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6849:62:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 15650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6925:58:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - }, - "value": "ERC721: approve caller is not owner nor approved for all" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - } - ], - "id": 15639, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6841:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6841:152:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15652, - "nodeType": "ExpressionStatement", - "src": "6841:152:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15654, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15620, - "src": "7013:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15655, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15622, - "src": "7017:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15653, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "7004:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 15656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7004:21:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15657, - "nodeType": "ExpressionStatement", - "src": "7004:21:90" - } - ] - }, - "documentation": { - "id": 15618, - "nodeType": "StructuredDocumentation", - "src": "6600:46:90", - "text": " @dev See {IERC721-approve}." - }, - "functionSelector": "095ea7b3", - "id": 15659, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15624, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6712:8:90" - }, - "parameters": { - "id": 15623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15620, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15659, - "src": "6668:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15619, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6668:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15622, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15659, - "src": "6680:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15621, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6680:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6667:29:90" - }, - "returnParameters": { - "id": 15625, - "nodeType": "ParameterList", - "parameters": [], - "src": "6721:0:90" - }, - "scope": 16258, - "src": "6651:381:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16343 - ], - "body": { - "id": 15679, - "nodeType": "Block", - "src": "7170:132:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15670, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15662, - "src": "7196:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15669, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "7188:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7188:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7206:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - }, - "value": "ERC721: approved query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - } - ], - "id": 15668, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7180:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7180:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15674, - "nodeType": "ExpressionStatement", - "src": "7180:73:90" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15675, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15379, - "src": "7271:15:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 15677, - "indexExpression": { - "argumentTypes": null, - "id": 15676, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15662, - "src": "7287:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7271:24:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 15667, - "id": 15678, - "nodeType": "Return", - "src": "7264:31:90" - } - ] - }, - "documentation": { - "id": 15660, - "nodeType": "StructuredDocumentation", - "src": "7038:50:90", - "text": " @dev See {IERC721-getApproved}." - }, - "functionSelector": "081812fc", - "id": 15680, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15664, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7143:8:90" - }, - "parameters": { - "id": 15663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15662, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15680, - "src": "7114:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15661, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7114:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7113:17:90" - }, - "returnParameters": { - "id": 15667, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15666, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15680, - "src": "7161:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7161:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7160:9:90" - }, - "scope": 16258, - "src": "7093:209:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16351 - ], - "body": { - "id": 15713, - "nodeType": "Block", - "src": "7453:206:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15690, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7471:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15691, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7483:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7483:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7471:24:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 15694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7497:27:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - }, - "value": "ERC721: approve to caller" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - } - ], - "id": 15689, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7463:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7463:62:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15696, - "nodeType": "ExpressionStatement", - "src": "7463:62:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15697, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15385, - "src": "7536:18:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 15701, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15698, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7555:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7555:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7536:32:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 15702, - "indexExpression": { - "argumentTypes": null, - "id": 15700, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7569:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7536:42:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15703, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15685, - "src": "7581:8:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7536:53:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15705, - "nodeType": "ExpressionStatement", - "src": "7536:53:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15707, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7619:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7619:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15709, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7633:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15710, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15685, - "src": "7643:8:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 15706, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16291, - "src": "7604:14:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 15711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7604:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15712, - "nodeType": "EmitStatement", - "src": "7599:53:90" - } - ] - }, - "documentation": { - "id": 15681, - "nodeType": "StructuredDocumentation", - "src": "7308:56:90", - "text": " @dev See {IERC721-setApprovalForAll}." - }, - "functionSelector": "a22cb465", - "id": 15714, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15687, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7444:8:90" - }, - "parameters": { - "id": 15686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15683, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15714, - "src": "7396:16:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15682, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7396:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15685, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15714, - "src": "7414:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15684, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7414:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7395:33:90" - }, - "returnParameters": { - "id": 15688, - "nodeType": "ParameterList", - "parameters": [], - "src": "7453:0:90" - }, - "scope": 16258, - "src": "7369:290:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16361 - ], - "body": { - "id": 15731, - "nodeType": "Block", - "src": "7820:59:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15725, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15385, - "src": "7837:18:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 15727, - "indexExpression": { - "argumentTypes": null, - "id": 15726, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15717, - "src": "7856:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7837:25:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 15729, - "indexExpression": { - "argumentTypes": null, - "id": 15728, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15719, - "src": "7863:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7837:35:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15724, - "id": 15730, - "nodeType": "Return", - "src": "7830:42:90" - } - ] - }, - "documentation": { - "id": 15715, - "nodeType": "StructuredDocumentation", - "src": "7665:55:90", - "text": " @dev See {IERC721-isApprovedForAll}." - }, - "functionSelector": "e985e9c5", - "id": 15732, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15721, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7796:8:90" - }, - "parameters": { - "id": 15720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15717, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7751:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7751:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15719, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7766:16:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7766:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7750:33:90" - }, - "returnParameters": { - "id": 15724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7814:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7814:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7813:6:90" - }, - "scope": 16258, - "src": "7725:154:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16327 - ], - "body": { - "id": 15758, - "nodeType": "Block", - "src": "8030:211:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15745, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "8119:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8119:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15747, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15739, - "src": "8133:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15744, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15891, - "src": "8100:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 15748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8100:41:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 15749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8143:51:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 15743, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8092:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8092:103:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15751, - "nodeType": "ExpressionStatement", - "src": "8092:103:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15753, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15735, - "src": "8216:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15754, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15737, - "src": "8222:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15755, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15739, - "src": "8226:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15752, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16133, - "src": "8206:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8206:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15757, - "nodeType": "ExpressionStatement", - "src": "8206:28:90" - } - ] - }, - "documentation": { - "id": 15733, - "nodeType": "StructuredDocumentation", - "src": "7885:51:90", - "text": " @dev See {IERC721-transferFrom}." - }, - "functionSelector": "23b872dd", - "id": 15759, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15741, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8021:8:90" - }, - "parameters": { - "id": 15740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15735, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7963:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15734, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7963:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15737, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7977:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7977:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15739, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7989:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7989:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7962:43:90" - }, - "returnParameters": { - "id": 15742, - "nodeType": "ParameterList", - "parameters": [], - "src": "8030:0:90" - }, - "scope": 16258, - "src": "7941:300:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16317 - ], - "body": { - "id": 15777, - "nodeType": "Block", - "src": "8400:56:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15771, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15762, - "src": "8427:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15772, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15764, - "src": "8433:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15773, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15766, - "src": "8437:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 15774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8446:2:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 15770, - "name": "safeTransferFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 15778, - 15808 - ], - "referencedDeclaration": 15808, - "src": "8410:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 15775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8410:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15776, - "nodeType": "ExpressionStatement", - "src": "8410:39:90" - } - ] - }, - "documentation": { - "id": 15760, - "nodeType": "StructuredDocumentation", - "src": "8247:55:90", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "42842e0e", - "id": 15778, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15768, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8391:8:90" - }, - "parameters": { - "id": 15767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15762, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8333:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15761, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8333:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15764, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8347:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8347:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15766, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8359:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8359:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8332:43:90" - }, - "returnParameters": { - "id": 15769, - "nodeType": "ParameterList", - "parameters": [], - "src": "8400:0:90" - }, - "scope": 16258, - "src": "8307:149:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16373 - ], - "body": { - "id": 15807, - "nodeType": "Block", - "src": "8635:169:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15793, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "8672:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8672:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15795, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15785, - "src": "8686:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15792, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15891, - "src": "8653:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 15796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8653:41:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 15797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8696:51:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 15791, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8645:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8645:103:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15799, - "nodeType": "ExpressionStatement", - "src": "8645:103:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15801, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15781, - "src": "8772:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15802, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15783, - "src": "8778:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15803, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15785, - "src": "8782:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15804, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15787, - "src": "8791:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15800, - "name": "_safeTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15837, - "src": "8758:13:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 15805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8758:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15806, - "nodeType": "ExpressionStatement", - "src": "8758:39:90" - } - ] - }, - "documentation": { - "id": 15779, - "nodeType": "StructuredDocumentation", - "src": "8462:55:90", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "b88d4fde", - "id": 15808, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15789, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8626:8:90" - }, - "parameters": { - "id": 15788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15781, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8548:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8548:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15783, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8562:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8562:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15785, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8574:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15784, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8574:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15787, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8591:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15786, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8591:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8547:63:90" - }, - "returnParameters": { - "id": 15790, - "nodeType": "ParameterList", - "parameters": [], - "src": "8635:0:90" - }, - "scope": 16258, - "src": "8522:282:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 15836, - "nodeType": "Block", - "src": "9768:166:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15821, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15811, - "src": "9788:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15822, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15813, - "src": "9794:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15823, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15815, - "src": "9798:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15820, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16133, - "src": "9778:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9778:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15825, - "nodeType": "ExpressionStatement", - "src": "9778:28:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15828, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15811, - "src": "9847:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15829, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15813, - "src": "9853:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15830, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15815, - "src": "9857:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15831, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15817, - "src": "9866:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15827, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16224, - "src": "9824:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 15832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9824:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 15833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9874:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 15826, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9816:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9816:111:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15835, - "nodeType": "ExpressionStatement", - "src": "9816:111:90" - } - ] - }, - "documentation": { - "id": 15809, - "nodeType": "StructuredDocumentation", - "src": "8810:850:90", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mecanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "id": 15837, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15811, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9688:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9688:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15813, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9702:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9702:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15815, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9714:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9714:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15817, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9731:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15816, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9731:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9687:63:90" - }, - "returnParameters": { - "id": 15819, - "nodeType": "ParameterList", - "parameters": [], - "src": "9768:0:90" - }, - "scope": 16258, - "src": "9665:269:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15850, - "nodeType": "Block", - "src": "10300:54:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15847, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15840, - "src": "10339:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 15845, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "10317:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15846, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 17246, - "src": "10317:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" - } - }, - "id": 15848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10317:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15844, - "id": 15849, - "nodeType": "Return", - "src": "10310:37:90" - } - ] - }, - "documentation": { - "id": 15838, - "nodeType": "StructuredDocumentation", - "src": "9940:292:90", - "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." - }, - "id": 15851, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_exists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15840, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15851, - "src": "10254:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15839, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10254:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10253:17:90" - }, - "returnParameters": { - "id": 15844, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15843, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15851, - "src": "10294:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15842, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10294:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10293:6:90" - }, - "scope": 16258, - "src": "10237:117:90", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 15890, - "nodeType": "Block", - "src": "10603:238:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15863, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10629:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15862, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "10621:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10621:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10639:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - }, - "value": "ERC721: operator query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - } - ], - "id": 15861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10613:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10613:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15867, - "nodeType": "ExpressionStatement", - "src": "10613:73:90" - }, - { - "assignments": [ - 15869 - ], - "declarations": [ - { - "constant": false, - "id": 15869, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15890, - "src": "10696:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15868, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10696:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15873, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15871, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10720:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15870, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "10712:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10712:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10696:32:90" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15874, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10746:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15875, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15869, - "src": "10757:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10746:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15878, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10778:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15877, - "name": "getApproved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15680, - "src": "10766:11:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10766:20:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15880, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10790:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10766:31:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10746:51:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15884, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15869, - "src": "10818:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15885, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10825:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 15883, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15732, - "src": "10801:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 15886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10801:32:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10746:87:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 15888, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10745:89:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15860, - "id": 15889, - "nodeType": "Return", - "src": "10738:96:90" - } - ] - }, - "documentation": { - "id": 15852, - "nodeType": "StructuredDocumentation", - "src": "10360:147:90", - "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "id": 15891, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isApprovedOrOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15854, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10540:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10540:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15856, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10557:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15855, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10557:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10539:34:90" - }, - "returnParameters": { - "id": 15860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10597:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10597:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10596:6:90" - }, - "scope": 16258, - "src": "10512:329:90", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 15905, - "nodeType": "Block", - "src": "11237:43:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15900, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15894, - "src": "11257:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15901, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15896, - "src": "11261:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 15902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11270:2:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 15899, - "name": "_safeMint", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 15906, - 15935 - ], - "referencedDeclaration": 15935, - "src": "11247:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,bytes memory)" - } - }, - "id": 15903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11247:26:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15904, - "nodeType": "ExpressionStatement", - "src": "11247:26:90" - } - ] - }, - "documentation": { - "id": 15892, - "nodeType": "StructuredDocumentation", - "src": "10847:320:90", - "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "id": 15906, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15894, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15906, - "src": "11191:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15893, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11191:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15896, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15906, - "src": "11203:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15895, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11203:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11190:29:90" - }, - "returnParameters": { - "id": 15898, - "nodeType": "ParameterList", - "parameters": [], - "src": "11237:0:90" - }, - "scope": 16258, - "src": "11172:108:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15934, - "nodeType": "Block", - "src": "11586:162:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15917, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15909, - "src": "11602:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15918, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15911, - "src": "11606:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15916, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15994, - "src": "11596:5:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 15919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11596:18:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15920, - "nodeType": "ExpressionStatement", - "src": "11596:18:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11663:1:90", - "subdenomination": null, - "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": 15924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11655:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11655:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11655:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15927, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15909, - "src": "11667:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15928, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15911, - "src": "11671:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15929, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15913, - "src": "11680:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15922, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16224, - "src": "11632:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 15930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11632:54:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 15931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11688:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 15921, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11624:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11624:117:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15933, - "nodeType": "ExpressionStatement", - "src": "11624:117:90" - } - ] - }, - "documentation": { - "id": 15907, - "nodeType": "StructuredDocumentation", - "src": "11286:210:90", - "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." - }, - "id": 15935, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15909, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11520:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11520:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15911, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11532:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11532:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15913, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11549:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11549:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11519:49:90" - }, - "returnParameters": { - "id": 15915, - "nodeType": "ParameterList", - "parameters": [], - "src": "11586:0:90" - }, - "scope": 16258, - "src": "11501:247:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15993, - "nodeType": "Block", - "src": "12131:332:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15944, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12149:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12163:1:90", - "subdenomination": null, - "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": 15946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12155:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15945, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12155:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12155:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "12149:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 15950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12167:34:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - }, - "value": "ERC721: mint to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - } - ], - "id": 15943, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12141:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12141:61:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15952, - "nodeType": "ExpressionStatement", - "src": "12141:61:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "12220:17:90", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15955, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12229:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15954, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "12221:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12221:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 15958, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12239:30:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - }, - "value": "ERC721: token already minted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - } - ], - "id": 15953, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12212:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12212:58:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15960, - "nodeType": "ExpressionStatement", - "src": "12212:58:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12310:1:90", - "subdenomination": null, - "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": 15963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12302:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12302:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12302:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15966, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12314:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15967, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12318:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15961, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "12281:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12281:45:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15969, - "nodeType": "ExpressionStatement", - "src": "12281:45:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15974, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12359:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15970, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "12337:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15972, - "indexExpression": { - "argumentTypes": null, - "id": 15971, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12351:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12337:17:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15973, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17672, - "src": "12337:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 15975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12337:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15976, - "nodeType": "ExpressionStatement", - "src": "12337:30:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15980, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12395:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15981, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12404:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 15977, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "12378:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15979, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "set", - "nodeType": "MemberAccess", - "referencedDeclaration": 17206, - "src": "12378:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" - } - }, - "id": 15982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12378:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15983, - "nodeType": "ExpressionStatement", - "src": "12378:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12440:1:90", - "subdenomination": null, - "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": 15986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12432:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12432:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12432:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15989, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12444:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15990, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12448:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15984, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "12423:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12423:33:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15992, - "nodeType": "EmitStatement", - "src": "12418:38:90" - } - ] - }, - "documentation": { - "id": 15936, - "nodeType": "StructuredDocumentation", - "src": "11754:311:90", - "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." - }, - "id": 15994, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15938, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15994, - "src": "12085:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15937, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12085:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15940, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15994, - "src": "12097:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12097:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12084:29:90" - }, - "returnParameters": { - "id": 15942, - "nodeType": "ParameterList", - "parameters": [], - "src": "12131:0:90" - }, - "scope": 16258, - "src": "12070:393:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16061, - "nodeType": "Block", - "src": "12729:453:90", - "statements": [ - { - "assignments": [ - 16001 - ], - "declarations": [ - { - "constant": false, - "id": 16001, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16061, - "src": "12739:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12739:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16005, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16003, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12763:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16002, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "12755:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12755:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12739:32:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16007, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "12803:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12818:1:90", - "subdenomination": null, - "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": 16009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12810:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12810:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12810:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16012, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12822:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16006, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "12782:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12782:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16014, - "nodeType": "ExpressionStatement", - "src": "12782:48:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12885:1:90", - "subdenomination": null, - "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": 16017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12877:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16016, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12877:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12877:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16020, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12889:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16015, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "12868:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 16021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12868:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16022, - "nodeType": "ExpressionStatement", - "src": "12868:29:90" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16025, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "12953:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16027, - "indexExpression": { - "argumentTypes": null, - "id": 16026, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12964:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12953:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - ], - "id": 16024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12947:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 16023, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12947:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12947:26:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "id": 16029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12947:33:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12984:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12947:38:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 16038, - "nodeType": "IfStatement", - "src": "12943:95:90", - "trueBody": { - "id": 16037, - "nodeType": "Block", - "src": "12987:51:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "13001:26:90", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16032, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "13008:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16034, - "indexExpression": { - "argumentTypes": null, - "id": 16033, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13019:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "13008:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16036, - "nodeType": "ExpressionStatement", - "src": "13001:26:90" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16043, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13076:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16039, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13048:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16041, - "indexExpression": { - "argumentTypes": null, - "id": 16040, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "13062:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13048:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17692, - "src": "13048:27:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13048:36:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16045, - "nodeType": "ExpressionStatement", - "src": "13048:36:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16049, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13115:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 16046, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "13095:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 16048, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17226, - "src": "13095:19:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" - } - }, - "id": 16050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13095:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16051, - "nodeType": "ExpressionStatement", - "src": "13095:28:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16053, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "13148:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13163:1:90", - "subdenomination": null, - "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": 16055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13155:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13155:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13155:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16058, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13167:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16052, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "13139:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13139:36:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16060, - "nodeType": "EmitStatement", - "src": "13134:41:90" - } - ] - }, - "documentation": { - "id": 15995, - "nodeType": "StructuredDocumentation", - "src": "12469:206:90", - "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." - }, - "id": 16062, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15998, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15997, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16062, - "src": "12695:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15996, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12695:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12694:17:90" - }, - "returnParameters": { - "id": 15999, - "nodeType": "ParameterList", - "parameters": [], - "src": "12729:0:90" - }, - "scope": 16258, - "src": "12680:502:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16132, - "nodeType": "Block", - "src": "13585:480:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16074, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13611:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16073, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "13603:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13603:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 16076, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13623:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "13603:24:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 16078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13629:43:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", - "typeString": "literal_string \"ERC721: transfer of token that is not own\"" - }, - "value": "ERC721: transfer of token that is not own" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", - "typeString": "literal_string \"ERC721: transfer of token that is not own\"" - } - ], - "id": 16072, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13595:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13595:78:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16080, - "nodeType": "ExpressionStatement", - "src": "13595:78:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16082, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13691:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13705:1:90", - "subdenomination": null, - "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": 16084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13697:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13697:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13697:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "13691:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 16088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13709:38:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - }, - "value": "ERC721: transfer to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - } - ], - "id": 16081, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13683:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13683:65:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16090, - "nodeType": "ExpressionStatement", - "src": "13683:65:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16092, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13780:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16093, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13786:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16094, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13790:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16091, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "13759:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13759:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16096, - "nodeType": "ExpressionStatement", - "src": "13759:39:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13877:1:90", - "subdenomination": null, - "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": 16099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13869:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13869:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13869:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16102, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13881:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16097, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "13860:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 16103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13860:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16104, - "nodeType": "ExpressionStatement", - "src": "13860:29:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16109, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13927:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16105, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13900:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16107, - "indexExpression": { - "argumentTypes": null, - "id": 16106, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13914:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13900:19:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17692, - "src": "13900:26:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13900:35:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16111, - "nodeType": "ExpressionStatement", - "src": "13900:35:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16116, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13967:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16112, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13945:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16114, - "indexExpression": { - "argumentTypes": null, - "id": 16113, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13959:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13945:17:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17672, - "src": "13945:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13945:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16118, - "nodeType": "ExpressionStatement", - "src": "13945:30:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16122, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "14003:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16123, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "14012:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 16119, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "13986:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 16121, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "set", - "nodeType": "MemberAccess", - "referencedDeclaration": 17206, - "src": "13986:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" - } - }, - "id": 16124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13986:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16125, - "nodeType": "ExpressionStatement", - "src": "13986:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16127, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "14040:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16128, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "14046:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16129, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "14050:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16126, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "14031:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14031:27:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16131, - "nodeType": "EmitStatement", - "src": "14026:32:90" - } - ] - }, - "documentation": { - "id": 16063, - "nodeType": "StructuredDocumentation", - "src": "13188:313:90", - "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." - }, - "id": 16133, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16065, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13525:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16064, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13525:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16067, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13539:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13539:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16069, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13551:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16068, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13551:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13524:43:90" - }, - "returnParameters": { - "id": 16071, - "nodeType": "ParameterList", - "parameters": [], - "src": "13585:0:90" - }, - "scope": 16258, - "src": "13506:559:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16154, - "nodeType": "Block", - "src": "14293:131:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16143, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16136, - "src": "14319:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16142, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "14311:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 16144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14311:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 16145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14329:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", - "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" - }, - "value": "ERC721Metadata: URI set of nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", - "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" - } - ], - "id": 16141, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14303:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14303:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16147, - "nodeType": "ExpressionStatement", - "src": "14303:73:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 16152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16148, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "14386:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16150, - "indexExpression": { - "argumentTypes": null, - "id": 16149, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16136, - "src": "14397:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "14386:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16151, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16138, - "src": "14408:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "14386:31:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 16153, - "nodeType": "ExpressionStatement", - "src": "14386:31:90" - } - ] - }, - "documentation": { - "id": 16134, - "nodeType": "StructuredDocumentation", - "src": "14071:136:90", - "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "id": 16155, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setTokenURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16136, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16155, - "src": "14234:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16135, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14234:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16138, - "mutability": "mutable", - "name": "_tokenURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16155, - "src": "14251:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16137, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14251:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14233:42:90" - }, - "returnParameters": { - "id": 16140, - "nodeType": "ParameterList", - "parameters": [], - "src": "14293:0:90" - }, - "scope": 16258, - "src": "14212:212:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16165, - "nodeType": "Block", - "src": "14709:36:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 16161, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "14719:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16162, - "name": "baseURI_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16158, - "src": "14730:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "14719:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 16164, - "nodeType": "ExpressionStatement", - "src": "14719:19:90" - } - ] - }, - "documentation": { - "id": 16156, - "nodeType": "StructuredDocumentation", - "src": "14430:212:90", - "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." - }, - "id": 16166, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setBaseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16158, - "mutability": "mutable", - "name": "baseURI_", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16166, - "src": "14668:22:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16157, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14668:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14667:24:90" - }, - "returnParameters": { - "id": 16160, - "nodeType": "ParameterList", - "parameters": [], - "src": "14709:0:90" - }, - "scope": 16258, - "src": "14647:98:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16223, - "nodeType": "Block", - "src": "15428:459:90", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 16183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "15442:16:90", - "subExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 16180, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15443:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 16479, - "src": "15443:13:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 16182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15443:15:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 16187, - "nodeType": "IfStatement", - "src": "15438:58:90", - "trueBody": { - "id": 16186, - "nodeType": "Block", - "src": "15460:36:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 16184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15481:4:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16179, - "id": 16185, - "nodeType": "Return", - "src": "15474:11:90" - } - ] - } - }, - { - "assignments": [ - 16189 - ], - "declarations": [ - { - "constant": false, - "id": 16189, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16223, - "src": "15505:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16188, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15505:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16207, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16195, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15599:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16194, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16450, - "src": "15583:15:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$16450_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 16196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15583:19:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$16450", - "typeString": "contract IERC721Receiver" - } - }, - "id": 16197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 16449, - "src": "15583:36:90", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" - } - }, - "id": 16198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15583:45:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 16199, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "15642:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 16200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15642:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16201, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16169, - "src": "15668:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16202, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16173, - "src": "15686:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16203, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16175, - "src": "15707:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 16192, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15547:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15547:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 16204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15547:175:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 16205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15724:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "expression": { - "argumentTypes": null, - "id": 16190, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15531:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "functionCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 16550, - "src": "15531:15:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", - "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" - } - }, - "id": 16206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15531:246:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15505:272:90" - }, - { - "assignments": [ - 16209 - ], - "declarations": [ - { - "constant": false, - "id": 16209, - "mutability": "mutable", - "name": "retval", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16223, - "src": "15787:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 16208, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15787:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16217, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16212, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16189, - "src": "15814:10:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 16214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15827:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 16213, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15827:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - } - ], - "id": 16215, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "15826:8:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - } - ], - "expression": { - "argumentTypes": null, - "id": 16210, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15803:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "decode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15803:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 16216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15803:32:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15787:48:90" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 16220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16218, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16209, - "src": "15853:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 16219, - "name": "_ERC721_RECEIVED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15369, - "src": "15863:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "15853:26:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 16221, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "15852:28:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 16179, - "id": 16222, - "nodeType": "Return", - "src": "15845:35:90" - } - ] - }, - "documentation": { - "id": 16167, - "nodeType": "StructuredDocumentation", - "src": "14751:542:90", - "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" - }, - "id": 16224, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkOnERC721Received", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16169, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15330:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15330:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16171, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15344:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16170, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15344:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16173, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15356:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15356:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16175, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15373:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16174, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15373:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15329:63:90" - }, - "returnParameters": { - "id": 16179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16178, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15418:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15418:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15417:6:90" - }, - "scope": 16258, - "src": "15298:589:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 16245, - "nodeType": "Block", - "src": "15948:100:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16231, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15379, - "src": "15958:15:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 16233, - "indexExpression": { - "argumentTypes": null, - "id": 16232, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "15974:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "15958:24:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16234, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16226, - "src": "15985:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "15958:29:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16236, - "nodeType": "ExpressionStatement", - "src": "15958:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16239, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "16019:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16238, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "16011:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16011:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16241, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16226, - "src": "16029:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16242, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "16033:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16237, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16282, - "src": "16002:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16002:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16244, - "nodeType": "EmitStatement", - "src": "15997:44:90" - } - ] - }, - "documentation": null, - "id": 16246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16226, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16246, - "src": "15911:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16225, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15911:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16228, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16246, - "src": "15923:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15923:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15910:29:90" - }, - "returnParameters": { - "id": 16230, - "nodeType": "ParameterList", - "parameters": [], - "src": "15948:0:90" - }, - "scope": 16258, - "src": "15893:155:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 16256, - "nodeType": "Block", - "src": "16734:3:90", - "statements": [] - }, - "documentation": { - "id": 16247, - "nodeType": "StructuredDocumentation", - "src": "16054:585:90", - "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." - }, - "id": 16257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeTokenTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16249, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16674:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16248, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16674:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16251, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16688:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16250, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16688:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16253, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16700:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16700:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16673:43:90" - }, - "returnParameters": { - "id": 16255, - "nodeType": "ParameterList", - "parameters": [], - "src": "16734:0:90" - }, - "scope": 16258, - "src": "16644:93:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 16259, - "src": "561:16178:90" - } - ], - "src": "33:16707:90" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "exportedSymbols": { - "ERC721": [ - 16258 - ] - }, - "id": 16259, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 15329, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:90" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../../GSN/Context.sol", - "id": 15330, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 13680, - "src": "58:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 15331, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16375, - "src": "90:23:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol", - "file": "./IERC721Metadata.sol", - "id": 15332, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16433, - "src": "114:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "file": "./IERC721Enumerable.sol", - "id": 15333, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16406, - "src": "146:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "file": "./IERC721Receiver.sol", - "id": 15334, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16451, - "src": "180:31:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/ERC165.sol", - "file": "../../introspection/ERC165.sol", - "id": 15335, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 14129, - "src": "212:40:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "file": "../../math/SafeMath.sol", - "id": 15336, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 14410, - "src": "253:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Address.sol", - "file": "../../utils/Address.sol", - "id": 15337, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 16655, - "src": "287:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "file": "../../utils/EnumerableSet.sol", - "id": 15338, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17748, - "src": "321:39:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableMap.sol", - "file": "../../utils/EnumerableMap.sol", - "id": 15339, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17353, - "src": "361:39:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", - "file": "../../utils/Strings.sol", - "id": 15340, - "nodeType": "ImportDirective", - "scope": 16259, - "sourceUnit": 17835, - "src": "401:33:90", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15342, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "580:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 15343, - "nodeType": "InheritanceSpecifier", - "src": "580:7:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15344, - "name": "ERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14128, - "src": "589:6:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$14128", - "typeString": "contract ERC165" - } - }, - "id": 15345, - "nodeType": "InheritanceSpecifier", - "src": "589:6:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15346, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "597:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 15347, - "nodeType": "InheritanceSpecifier", - "src": "597:7:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15348, - "name": "IERC721Metadata", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16432, - "src": "606:15:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$16432", - "typeString": "contract IERC721Metadata" - } - }, - "id": 15349, - "nodeType": "InheritanceSpecifier", - "src": "606:15:90" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15350, - "name": "IERC721Enumerable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16405, - "src": "623:17:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$16405", - "typeString": "contract IERC721Enumerable" - } - }, - "id": 15351, - "nodeType": "InheritanceSpecifier", - "src": "623:17:90" - } - ], - "contractDependencies": [ - 13679, - 14128, - 14140, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": { - "id": 15341, - "nodeType": "StructuredDocumentation", - "src": "436:124:90", - "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": true, - "id": 16258, - "linearizedBaseContracts": [ - 16258, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "ERC721", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 15354, - "libraryName": { - "contractScope": null, - "id": 15352, - "name": "SafeMath", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14409, - "src": "653:8:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$14409", - "typeString": "library SafeMath" - } - }, - "nodeType": "UsingForDirective", - "src": "647:27:90", - "typeName": { - "id": 15353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "666:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 15357, - "libraryName": { - "contractScope": null, - "id": 15355, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16654, - "src": "685:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$16654", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "679:26:90", - "typeName": { - "id": 15356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "697:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "id": 15360, - "libraryName": { - "contractScope": null, - "id": 15358, - "name": "EnumerableSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17747, - "src": "716:13:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$17747", - "typeString": "library EnumerableSet" - } - }, - "nodeType": "UsingForDirective", - "src": "710:46:90", - "typeName": { - "contractScope": null, - "id": 15359, - "name": "EnumerableSet.UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "734:21:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - } - }, - { - "id": 15363, - "libraryName": { - "contractScope": null, - "id": 15361, - "name": "EnumerableMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17352, - "src": "767:13:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$17352", - "typeString": "library EnumerableMap" - } - }, - "nodeType": "UsingForDirective", - "src": "761:55:90", - "typeName": { - "contractScope": null, - "id": 15362, - "name": "EnumerableMap.UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "785:30:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - } - }, - { - "id": 15366, - "libraryName": { - "contractScope": null, - "id": 15364, - "name": "Strings", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17834, - "src": "827:7:90", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$17834", - "typeString": "library Strings" - } - }, - "nodeType": "UsingForDirective", - "src": "821:26:90", - "typeName": { - "id": 15365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "839:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "constant": true, - "id": 15369, - "mutability": "constant", - "name": "_ERC721_RECEIVED", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1025:53:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15367, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1025:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783135306237613032", - "id": 15368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1068:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_353073666_by_1", - "typeString": "int_const 353073666" - }, - "value": "0x150b7a02" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 15373, - "mutability": "mutable", - "name": "_holderTokens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1162:64:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet)" - }, - "typeName": { - "id": 15372, - "keyType": { - "id": 15370, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1171:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1162:42:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet)" - }, - "valueType": { - "contractScope": null, - "id": 15371, - "name": "EnumerableSet.UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "1182:21:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15375, - "mutability": "mutable", - "name": "_tokenOwners", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1290:51:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 15374, - "name": "EnumerableMap.UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "1290:30:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15379, - "mutability": "mutable", - "name": "_tokenApprovals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1397:52:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 15378, - "keyType": { - "id": 15376, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1397:28:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 15377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1417:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15385, - "mutability": "mutable", - "name": "_operatorApprovals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1504:73:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 15384, - "keyType": { - "id": 15380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1513:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1504:46:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 15383, - "keyType": { - "id": 15381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1533:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1524:25:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 15382, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1544:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15387, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1602:20:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1602:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15389, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1649:22:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1649:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15393, - "mutability": "mutable", - "name": "_tokenURIs", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1717:45:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string)" - }, - "typeName": { - "id": 15392, - "keyType": { - "id": 15390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1725:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1717:26:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string)" - }, - "valueType": { - "id": 15391, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1736:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 15395, - "mutability": "mutable", - "name": "_baseURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "1785:23:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 15394, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1785:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "id": 15398, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "2683:57:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15396, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2683:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783830616335386364", - "id": 15397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2730:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2158778573_by_1", - "typeString": "int_const 2158778573" - }, - "value": "0x80ac58cd" - }, - "visibility": "private" - }, - { - "constant": true, - "id": 15401, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721_METADATA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "3006:66:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15399, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3006:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783562356531333966", - "id": 15400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3062:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1532892063_by_1", - "typeString": "int_const 1532892063" - }, - "value": "0x5b5e139f" - }, - "visibility": "private" - }, - { - "constant": true, - "id": 15404, - "mutability": "constant", - "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16258, - "src": "3377:68:90", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15402, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3377:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783738306539643633", - "id": 15403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3435:10:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2014223715_by_1", - "typeString": "int_const 2014223715" - }, - "value": "0x780e9d63" - }, - "visibility": "private" - }, - { - "body": { - "id": 15432, - "nodeType": "Block", - "src": "3627:303:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 15412, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15387, - "src": "3637:5:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15413, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15407, - "src": "3645:4:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "3637:12:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 15415, - "nodeType": "ExpressionStatement", - "src": "3637:12:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 15416, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15389, - "src": "3659:7:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15417, - "name": "symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15409, - "src": "3669:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "3659:16:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 15419, - "nodeType": "ExpressionStatement", - "src": "3659:16:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15421, - "name": "_INTERFACE_ID_ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15398, - "src": "3782:20:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15420, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3763:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3763:40:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15423, - "nodeType": "ExpressionStatement", - "src": "3763:40:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15425, - "name": "_INTERFACE_ID_ERC721_METADATA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15401, - "src": "3832:29:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15424, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3813:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3813:49:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15427, - "nodeType": "ExpressionStatement", - "src": "3813:49:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15429, - "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15404, - "src": "3891:31:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 15428, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14127, - "src": "3872:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 15430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3872:51:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15431, - "nodeType": "ExpressionStatement", - "src": "3872:51:90" - } - ] - }, - "documentation": { - "id": 15405, - "nodeType": "StructuredDocumentation", - "src": "3452:108:90", - "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." - }, - "id": 15433, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15407, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15433, - "src": "3578:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15406, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3578:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15409, - "mutability": "mutable", - "name": "symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15433, - "src": "3598:20:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15408, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3598:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3577:42:90" - }, - "returnParameters": { - "id": 15411, - "nodeType": "ParameterList", - "parameters": [], - "src": "3627:0:90" - }, - "scope": 16258, - "src": "3565:365:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16299 - ], - "body": { - "id": 15458, - "nodeType": "Block", - "src": "4062:138:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15443, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15436, - "src": "4080:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4097:1:90", - "subdenomination": null, - "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": 15445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4089:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4089:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4089:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4080:19:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 15449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4101:44:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - }, - "value": "ERC721: balance query for the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - } - ], - "id": 15442, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4072:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4072:74:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15451, - "nodeType": "ExpressionStatement", - "src": "4072:74:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15452, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "4164:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15454, - "indexExpression": { - "argumentTypes": null, - "id": 15453, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15436, - "src": "4178:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4164:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15455, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17726, - "src": "4164:27:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$17652_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" - } - }, - "id": 15456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4164:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15441, - "id": 15457, - "nodeType": "Return", - "src": "4157:36:90" - } - ] - }, - "documentation": { - "id": 15434, - "nodeType": "StructuredDocumentation", - "src": "3936:48:90", - "text": " @dev See {IERC721-balanceOf}." - }, - "functionSelector": "70a08231", - "id": 15459, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15438, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4035:8:90" - }, - "parameters": { - "id": 15437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15436, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15459, - "src": "4008:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15435, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4008:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4007:15:90" - }, - "returnParameters": { - "id": 15441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15440, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15459, - "src": "4053:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15439, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4053:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4052:9:90" - }, - "scope": 16258, - "src": "3989:211:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16307 - ], - "body": { - "id": 15474, - "nodeType": "Block", - "src": "4330:94:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15470, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15462, - "src": "4364:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4373:43:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - }, - "value": "ERC721: owner query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - } - ], - "expression": { - "argumentTypes": null, - "id": 15468, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "4347:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15469, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "get", - "nodeType": "MemberAccess", - "referencedDeclaration": 17351, - "src": "4347:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" - } - }, - "id": 15472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4347:70:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 15467, - "id": 15473, - "nodeType": "Return", - "src": "4340:77:90" - } - ] - }, - "documentation": { - "id": 15460, - "nodeType": "StructuredDocumentation", - "src": "4206:46:90", - "text": " @dev See {IERC721-ownerOf}." - }, - "functionSelector": "6352211e", - "id": 15475, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15464, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4303:8:90" - }, - "parameters": { - "id": 15463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15462, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15475, - "src": "4274:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15461, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4274:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4273:17:90" - }, - "returnParameters": { - "id": 15467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15475, - "src": "4321:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4321:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4320:9:90" - }, - "scope": 16258, - "src": "4257:167:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16417 - ], - "body": { - "id": 15484, - "nodeType": "Block", - "src": "4547:29:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15482, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15387, - "src": "4564:5:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15481, - "id": 15483, - "nodeType": "Return", - "src": "4557:12:90" - } - ] - }, - "documentation": { - "id": 15476, - "nodeType": "StructuredDocumentation", - "src": "4430:51:90", - "text": " @dev See {IERC721Metadata-name}." - }, - "functionSelector": "06fdde03", - "id": 15485, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15478, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4514:8:90" - }, - "parameters": { - "id": 15477, - "nodeType": "ParameterList", - "parameters": [], - "src": "4499:2:90" - }, - "returnParameters": { - "id": 15481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15480, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15485, - "src": "4532:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15479, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4532:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4531:15:90" - }, - "scope": 16258, - "src": "4486:90:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16423 - ], - "body": { - "id": 15494, - "nodeType": "Block", - "src": "4703:31:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15492, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15389, - "src": "4720:7:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15491, - "id": 15493, - "nodeType": "Return", - "src": "4713:14:90" - } - ] - }, - "documentation": { - "id": 15486, - "nodeType": "StructuredDocumentation", - "src": "4582:53:90", - "text": " @dev See {IERC721Metadata-symbol}." - }, - "functionSelector": "95d89b41", - "id": 15495, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15488, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4670:8:90" - }, - "parameters": { - "id": 15487, - "nodeType": "ParameterList", - "parameters": [], - "src": "4655:2:90" - }, - "returnParameters": { - "id": 15491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15495, - "src": "4688:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4688:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4687:15:90" - }, - "scope": 16258, - "src": "4640:94:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16431 - ], - "body": { - "id": 15557, - "nodeType": "Block", - "src": "4880:660:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15506, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "4906:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15505, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "4898:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4898:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4916:49:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - }, - "value": "ERC721Metadata: URI query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - } - ], - "id": 15504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4890:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4890:76:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15510, - "nodeType": "ExpressionStatement", - "src": "4890:76:90" - }, - { - "assignments": [ - 15512 - ], - "declarations": [ - { - "constant": false, - "id": 15512, - "mutability": "mutable", - "name": "_tokenURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15557, - "src": "4977:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15511, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4977:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15516, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15513, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "5003:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 15515, - "indexExpression": { - "argumentTypes": null, - "id": 15514, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "5014:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5003:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4977:45:90" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 15523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15519, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5101:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - ], - "id": 15518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5095:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 15517, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5095:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5095:15:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "id": 15521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5095:22:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 15522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5121:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5095:27:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 15527, - "nodeType": "IfStatement", - "src": "5091:74:90", - "trueBody": { - "id": 15526, - "nodeType": "Block", - "src": "5124:41:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15524, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5145:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15525, - "nodeType": "Return", - "src": "5138:16:90" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 15534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15530, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5273:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 15529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5267:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 15528, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5267:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5267:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 15532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5267:23:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 15533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5293:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5267:27:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 15545, - "nodeType": "IfStatement", - "src": "5263:110:90", - "trueBody": { - "id": 15544, - "nodeType": "Block", - "src": "5296:77:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15539, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5341:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "argumentTypes": null, - "id": 15540, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "5351:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 15537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5324:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5324:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 15541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5324:37:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5317:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 15535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5317:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5317:45:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15543, - "nodeType": "Return", - "src": "5310:52:90" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15550, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5503:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 15551, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15498, - "src": "5513:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 15552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 17833, - "src": "5513:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 15553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5513:18:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 15548, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5486:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5486:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 15554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5486:46:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5479:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 15546, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5479:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5479:54:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 15503, - "id": 15556, - "nodeType": "Return", - "src": "5472:61:90" - } - ] - }, - "documentation": { - "id": 15496, - "nodeType": "StructuredDocumentation", - "src": "4740:55:90", - "text": " @dev See {IERC721Metadata-tokenURI}." - }, - "functionSelector": "c87b56dd", - "id": 15558, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15500, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4847:8:90" - }, - "parameters": { - "id": 15499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15498, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15558, - "src": "4818:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15497, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4818:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4817:17:90" - }, - "returnParameters": { - "id": 15503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15502, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15558, - "src": "4865:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15501, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4865:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4864:15:90" - }, - "scope": 16258, - "src": "4800:740:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 15566, - "nodeType": "Block", - "src": "5827:32:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 15564, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "5844:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 15563, - "id": 15565, - "nodeType": "Return", - "src": "5837:15:90" - } - ] - }, - "documentation": { - "id": 15559, - "nodeType": "StructuredDocumentation", - "src": "5546:221:90", - "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." - }, - "functionSelector": "6c0360eb", - "id": 15567, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "baseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15560, - "nodeType": "ParameterList", - "parameters": [], - "src": "5788:2:90" - }, - "returnParameters": { - "id": 15563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15562, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15567, - "src": "5812:13:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5812:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5811:15:90" - }, - "scope": 16258, - "src": "5772:87:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16396 - ], - "body": { - "id": 15585, - "nodeType": "Block", - "src": "6036:54:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15582, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15572, - "src": "6077:5:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15578, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "6053:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15580, - "indexExpression": { - "argumentTypes": null, - "id": 15579, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15570, - "src": "6067:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6053:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17746, - "src": "6053:23:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" - } - }, - "id": 15583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6053:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15577, - "id": 15584, - "nodeType": "Return", - "src": "6046:37:90" - } - ] - }, - "documentation": { - "id": 15568, - "nodeType": "StructuredDocumentation", - "src": "5865:68:90", - "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "functionSelector": "2f745c59", - "id": 15586, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15574, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6009:8:90" - }, - "parameters": { - "id": 15573, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15570, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "5967:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5967:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15572, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "5982:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5982:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5966:30:90" - }, - "returnParameters": { - "id": 15577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15576, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15586, - "src": "6027:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6027:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6026:9:90" - }, - "scope": 16258, - "src": "5938:152:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16386 - ], - "body": { - "id": 15597, - "nodeType": "Block", - "src": "6223:138:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 15593, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "6333:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15594, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 17260, - "src": "6333:19:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" - } - }, - "id": 15595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6333:21:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15592, - "id": 15596, - "nodeType": "Return", - "src": "6326:28:90" - } - ] - }, - "documentation": { - "id": 15587, - "nodeType": "StructuredDocumentation", - "src": "6096:60:90", - "text": " @dev See {IERC721Enumerable-totalSupply}." - }, - "functionSelector": "18160ddd", - "id": 15598, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15589, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6196:8:90" - }, - "parameters": { - "id": 15588, - "nodeType": "ParameterList", - "parameters": [], - "src": "6181:2:90" - }, - "returnParameters": { - "id": 15592, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15591, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15598, - "src": "6214:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15590, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6214:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6213:9:90" - }, - "scope": 16258, - "src": "6161:200:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16404 - ], - "body": { - "id": 15616, - "nodeType": "Block", - "src": "6509:85:90", - "statements": [ - { - "assignments": [ - 15608, - null - ], - "declarations": [ - { - "constant": false, - "id": 15608, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15616, - "src": "6520:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6520:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 15613, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15611, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15601, - "src": "6557:5:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 15609, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "6541:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15610, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 17296, - "src": "6541:15:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" - } - }, - "id": 15612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6541:22:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", - "typeString": "tuple(uint256,address)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6519:44:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15614, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15608, - "src": "6580:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 15606, - "id": 15615, - "nodeType": "Return", - "src": "6573:14:90" - } - ] - }, - "documentation": { - "id": 15599, - "nodeType": "StructuredDocumentation", - "src": "6367:61:90", - "text": " @dev See {IERC721Enumerable-tokenByIndex}." - }, - "functionSelector": "4f6ccce7", - "id": 15617, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenByIndex", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15603, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6482:8:90" - }, - "parameters": { - "id": 15602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15601, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15617, - "src": "6455:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6455:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6454:15:90" - }, - "returnParameters": { - "id": 15606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15605, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15617, - "src": "6500:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15604, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6500:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6499:9:90" - }, - "scope": 16258, - "src": "6433:161:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16335 - ], - "body": { - "id": 15658, - "nodeType": "Block", - "src": "6721:311:90", - "statements": [ - { - "assignments": [ - 15627 - ], - "declarations": [ - { - "constant": false, - "id": 15627, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15658, - "src": "6731:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6731:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15631, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15629, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15622, - "src": "6755:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15628, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "6747:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6747:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6731:32:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15633, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15620, - "src": "6781:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 15634, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6787:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6781:11:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 15636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6794:35:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - }, - "value": "ERC721: approval to current owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", - "typeString": "literal_string \"ERC721: approval to current owner\"" - } - ], - "id": 15632, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6773:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6773:57:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15638, - "nodeType": "ExpressionStatement", - "src": "6773:57:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15640, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "6849:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6849:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15642, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6865:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6849:21:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15645, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15627, - "src": "6891:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15646, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "6898:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6898:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 15644, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15732, - "src": "6874:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 15648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6874:37:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6849:62:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 15650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6925:58:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - }, - "value": "ERC721: approve caller is not owner nor approved for all" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - } - ], - "id": 15639, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6841:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6841:152:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15652, - "nodeType": "ExpressionStatement", - "src": "6841:152:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15654, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15620, - "src": "7013:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15655, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15622, - "src": "7017:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15653, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "7004:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 15656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7004:21:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15657, - "nodeType": "ExpressionStatement", - "src": "7004:21:90" - } - ] - }, - "documentation": { - "id": 15618, - "nodeType": "StructuredDocumentation", - "src": "6600:46:90", - "text": " @dev See {IERC721-approve}." - }, - "functionSelector": "095ea7b3", - "id": 15659, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15624, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6712:8:90" - }, - "parameters": { - "id": 15623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15620, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15659, - "src": "6668:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15619, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6668:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15622, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15659, - "src": "6680:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15621, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6680:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6667:29:90" - }, - "returnParameters": { - "id": 15625, - "nodeType": "ParameterList", - "parameters": [], - "src": "6721:0:90" - }, - "scope": 16258, - "src": "6651:381:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16343 - ], - "body": { - "id": 15679, - "nodeType": "Block", - "src": "7170:132:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15670, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15662, - "src": "7196:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15669, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "7188:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7188:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7206:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - }, - "value": "ERC721: approved query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - } - ], - "id": 15668, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7180:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7180:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15674, - "nodeType": "ExpressionStatement", - "src": "7180:73:90" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15675, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15379, - "src": "7271:15:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 15677, - "indexExpression": { - "argumentTypes": null, - "id": 15676, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15662, - "src": "7287:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7271:24:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 15667, - "id": 15678, - "nodeType": "Return", - "src": "7264:31:90" - } - ] - }, - "documentation": { - "id": 15660, - "nodeType": "StructuredDocumentation", - "src": "7038:50:90", - "text": " @dev See {IERC721-getApproved}." - }, - "functionSelector": "081812fc", - "id": 15680, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15664, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7143:8:90" - }, - "parameters": { - "id": 15663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15662, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15680, - "src": "7114:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15661, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7114:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7113:17:90" - }, - "returnParameters": { - "id": 15667, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15666, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15680, - "src": "7161:7:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7161:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7160:9:90" - }, - "scope": 16258, - "src": "7093:209:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16351 - ], - "body": { - "id": 15713, - "nodeType": "Block", - "src": "7453:206:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15690, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7471:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15691, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7483:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7483:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7471:24:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 15694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7497:27:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - }, - "value": "ERC721: approve to caller" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", - "typeString": "literal_string \"ERC721: approve to caller\"" - } - ], - "id": 15689, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7463:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7463:62:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15696, - "nodeType": "ExpressionStatement", - "src": "7463:62:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 15704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15697, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15385, - "src": "7536:18:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 15701, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15698, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7555:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7555:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7536:32:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 15702, - "indexExpression": { - "argumentTypes": null, - "id": 15700, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7569:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7536:42:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 15703, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15685, - "src": "7581:8:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7536:53:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15705, - "nodeType": "ExpressionStatement", - "src": "7536:53:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15707, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "7619:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7619:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15709, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15683, - "src": "7633:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15710, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15685, - "src": "7643:8:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 15706, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16291, - "src": "7604:14:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 15711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7604:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15712, - "nodeType": "EmitStatement", - "src": "7599:53:90" - } - ] - }, - "documentation": { - "id": 15681, - "nodeType": "StructuredDocumentation", - "src": "7308:56:90", - "text": " @dev See {IERC721-setApprovalForAll}." - }, - "functionSelector": "a22cb465", - "id": 15714, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15687, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7444:8:90" - }, - "parameters": { - "id": 15686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15683, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15714, - "src": "7396:16:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15682, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7396:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15685, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15714, - "src": "7414:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15684, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7414:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7395:33:90" - }, - "returnParameters": { - "id": 15688, - "nodeType": "ParameterList", - "parameters": [], - "src": "7453:0:90" - }, - "scope": 16258, - "src": "7369:290:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16361 - ], - "body": { - "id": 15731, - "nodeType": "Block", - "src": "7820:59:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15725, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15385, - "src": "7837:18:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 15727, - "indexExpression": { - "argumentTypes": null, - "id": 15726, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15717, - "src": "7856:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7837:25:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 15729, - "indexExpression": { - "argumentTypes": null, - "id": 15728, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15719, - "src": "7863:8:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7837:35:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15724, - "id": 15730, - "nodeType": "Return", - "src": "7830:42:90" - } - ] - }, - "documentation": { - "id": 15715, - "nodeType": "StructuredDocumentation", - "src": "7665:55:90", - "text": " @dev See {IERC721-isApprovedForAll}." - }, - "functionSelector": "e985e9c5", - "id": 15732, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15721, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7796:8:90" - }, - "parameters": { - "id": 15720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15717, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7751:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7751:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15719, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7766:16:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7766:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7750:33:90" - }, - "returnParameters": { - "id": 15724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15732, - "src": "7814:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7814:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7813:6:90" - }, - "scope": 16258, - "src": "7725:154:90", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 16327 - ], - "body": { - "id": 15758, - "nodeType": "Block", - "src": "8030:211:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15745, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "8119:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8119:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15747, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15739, - "src": "8133:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15744, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15891, - "src": "8100:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 15748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8100:41:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 15749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8143:51:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 15743, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8092:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8092:103:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15751, - "nodeType": "ExpressionStatement", - "src": "8092:103:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15753, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15735, - "src": "8216:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15754, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15737, - "src": "8222:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15755, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15739, - "src": "8226:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15752, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16133, - "src": "8206:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8206:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15757, - "nodeType": "ExpressionStatement", - "src": "8206:28:90" - } - ] - }, - "documentation": { - "id": 15733, - "nodeType": "StructuredDocumentation", - "src": "7885:51:90", - "text": " @dev See {IERC721-transferFrom}." - }, - "functionSelector": "23b872dd", - "id": 15759, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15741, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8021:8:90" - }, - "parameters": { - "id": 15740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15735, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7963:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15734, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7963:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15737, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7977:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7977:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15739, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15759, - "src": "7989:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7989:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7962:43:90" - }, - "returnParameters": { - "id": 15742, - "nodeType": "ParameterList", - "parameters": [], - "src": "8030:0:90" - }, - "scope": 16258, - "src": "7941:300:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16317 - ], - "body": { - "id": 15777, - "nodeType": "Block", - "src": "8400:56:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15771, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15762, - "src": "8427:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15772, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15764, - "src": "8433:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15773, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15766, - "src": "8437:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 15774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8446:2:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 15770, - "name": "safeTransferFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 15778, - 15808 - ], - "referencedDeclaration": 15808, - "src": "8410:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 15775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8410:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15776, - "nodeType": "ExpressionStatement", - "src": "8410:39:90" - } - ] - }, - "documentation": { - "id": 15760, - "nodeType": "StructuredDocumentation", - "src": "8247:55:90", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "42842e0e", - "id": 15778, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15768, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8391:8:90" - }, - "parameters": { - "id": 15767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15762, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8333:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15761, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8333:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15764, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8347:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8347:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15766, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15778, - "src": "8359:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8359:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8332:43:90" - }, - "returnParameters": { - "id": 15769, - "nodeType": "ParameterList", - "parameters": [], - "src": "8400:0:90" - }, - "scope": 16258, - "src": "8307:149:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "baseFunctions": [ - 16373 - ], - "body": { - "id": 15807, - "nodeType": "Block", - "src": "8635:169:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 15793, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "8672:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 15794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8672:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15795, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15785, - "src": "8686:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15792, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15891, - "src": "8653:18:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 15796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8653:41:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 15797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8696:51:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 15791, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8645:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8645:103:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15799, - "nodeType": "ExpressionStatement", - "src": "8645:103:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15801, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15781, - "src": "8772:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15802, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15783, - "src": "8778:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15803, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15785, - "src": "8782:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15804, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15787, - "src": "8791:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15800, - "name": "_safeTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15837, - "src": "8758:13:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,address,uint256,bytes memory)" - } - }, - "id": 15805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8758:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15806, - "nodeType": "ExpressionStatement", - "src": "8758:39:90" - } - ] - }, - "documentation": { - "id": 15779, - "nodeType": "StructuredDocumentation", - "src": "8462:55:90", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "b88d4fde", - "id": 15808, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 15789, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8626:8:90" - }, - "parameters": { - "id": 15788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15781, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8548:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8548:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15783, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8562:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8562:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15785, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8574:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15784, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8574:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15787, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15808, - "src": "8591:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15786, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8591:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8547:63:90" - }, - "returnParameters": { - "id": 15790, - "nodeType": "ParameterList", - "parameters": [], - "src": "8635:0:90" - }, - "scope": 16258, - "src": "8522:282:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 15836, - "nodeType": "Block", - "src": "9768:166:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15821, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15811, - "src": "9788:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15822, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15813, - "src": "9794:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15823, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15815, - "src": "9798:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15820, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16133, - "src": "9778:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9778:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15825, - "nodeType": "ExpressionStatement", - "src": "9778:28:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15828, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15811, - "src": "9847:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15829, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15813, - "src": "9853:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15830, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15815, - "src": "9857:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15831, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15817, - "src": "9866:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15827, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16224, - "src": "9824:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 15832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9824:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 15833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9874:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 15826, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9816:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9816:111:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15835, - "nodeType": "ExpressionStatement", - "src": "9816:111:90" - } - ] - }, - "documentation": { - "id": 15809, - "nodeType": "StructuredDocumentation", - "src": "8810:850:90", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mecanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "id": 15837, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15811, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9688:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9688:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15813, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9702:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9702:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15815, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9714:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9714:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15817, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15837, - "src": "9731:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15816, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9731:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9687:63:90" - }, - "returnParameters": { - "id": 15819, - "nodeType": "ParameterList", - "parameters": [], - "src": "9768:0:90" - }, - "scope": 16258, - "src": "9665:269:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15850, - "nodeType": "Block", - "src": "10300:54:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15847, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15840, - "src": "10339:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 15845, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "10317:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15846, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 17246, - "src": "10317:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" - } - }, - "id": 15848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10317:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15844, - "id": 15849, - "nodeType": "Return", - "src": "10310:37:90" - } - ] - }, - "documentation": { - "id": 15838, - "nodeType": "StructuredDocumentation", - "src": "9940:292:90", - "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." - }, - "id": 15851, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_exists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15840, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15851, - "src": "10254:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15839, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10254:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10253:17:90" - }, - "returnParameters": { - "id": 15844, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15843, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15851, - "src": "10294:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15842, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10294:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10293:6:90" - }, - "scope": 16258, - "src": "10237:117:90", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 15890, - "nodeType": "Block", - "src": "10603:238:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15863, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10629:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15862, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "10621:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10621:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 15865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10639:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - }, - "value": "ERC721: operator query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - } - ], - "id": 15861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10613:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10613:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15867, - "nodeType": "ExpressionStatement", - "src": "10613:73:90" - }, - { - "assignments": [ - 15869 - ], - "declarations": [ - { - "constant": false, - "id": 15869, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15890, - "src": "10696:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15868, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10696:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 15873, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15871, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10720:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15870, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "10712:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10712:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10696:32:90" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 15882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15874, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10746:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15875, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15869, - "src": "10757:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10746:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15878, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15856, - "src": "10778:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15877, - "name": "getApproved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15680, - "src": "10766:11:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 15879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10766:20:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 15880, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10790:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10766:31:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10746:51:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15884, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15869, - "src": "10818:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15885, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15854, - "src": "10825:7:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 15883, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15732, - "src": "10801:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 15886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10801:32:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "10746:87:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 15888, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10745:89:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 15860, - "id": 15889, - "nodeType": "Return", - "src": "10738:96:90" - } - ] - }, - "documentation": { - "id": 15852, - "nodeType": "StructuredDocumentation", - "src": "10360:147:90", - "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "id": 15891, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isApprovedOrOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15854, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10540:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10540:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15856, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10557:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15855, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10557:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10539:34:90" - }, - "returnParameters": { - "id": 15860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15891, - "src": "10597:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10597:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10596:6:90" - }, - "scope": 16258, - "src": "10512:329:90", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 15905, - "nodeType": "Block", - "src": "11237:43:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15900, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15894, - "src": "11257:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15901, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15896, - "src": "11261:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 15902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11270:2:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 15899, - "name": "_safeMint", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 15906, - 15935 - ], - "referencedDeclaration": 15935, - "src": "11247:9:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,bytes memory)" - } - }, - "id": 15903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11247:26:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15904, - "nodeType": "ExpressionStatement", - "src": "11247:26:90" - } - ] - }, - "documentation": { - "id": 15892, - "nodeType": "StructuredDocumentation", - "src": "10847:320:90", - "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "id": 15906, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15894, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15906, - "src": "11191:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15893, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11191:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15896, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15906, - "src": "11203:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15895, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11203:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11190:29:90" - }, - "returnParameters": { - "id": 15898, - "nodeType": "ParameterList", - "parameters": [], - "src": "11237:0:90" - }, - "scope": 16258, - "src": "11172:108:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15934, - "nodeType": "Block", - "src": "11586:162:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15917, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15909, - "src": "11602:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15918, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15911, - "src": "11606:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15916, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15994, - "src": "11596:5:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 15919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11596:18:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15920, - "nodeType": "ExpressionStatement", - "src": "11596:18:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11663:1:90", - "subdenomination": null, - "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": 15924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11655:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11655:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11655:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15927, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15909, - "src": "11667:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15928, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15911, - "src": "11671:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15929, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15913, - "src": "11680:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15922, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16224, - "src": "11632:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,bytes memory) returns (bool)" - } - }, - "id": 15930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11632:54:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 15931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11688:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "id": 15921, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11624:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11624:117:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15933, - "nodeType": "ExpressionStatement", - "src": "11624:117:90" - } - ] - }, - "documentation": { - "id": 15907, - "nodeType": "StructuredDocumentation", - "src": "11286:210:90", - "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." - }, - "id": 15935, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_safeMint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15909, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11520:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11520:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15911, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11532:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11532:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15913, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15935, - "src": "11549:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11549:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11519:49:90" - }, - "returnParameters": { - "id": 15915, - "nodeType": "ParameterList", - "parameters": [], - "src": "11586:0:90" - }, - "scope": 16258, - "src": "11501:247:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 15993, - "nodeType": "Block", - "src": "12131:332:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 15949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 15944, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12149:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12163:1:90", - "subdenomination": null, - "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": 15946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12155:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15945, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12155:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12155:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "12149:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 15950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12167:34:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - }, - "value": "ERC721: mint to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", - "typeString": "literal_string \"ERC721: mint to the zero address\"" - } - ], - "id": 15943, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12141:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12141:61:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15952, - "nodeType": "ExpressionStatement", - "src": "12141:61:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "12220:17:90", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15955, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12229:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15954, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "12221:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 15956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12221:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 15958, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12239:30:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - }, - "value": "ERC721: token already minted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", - "typeString": "literal_string \"ERC721: token already minted\"" - } - ], - "id": 15953, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12212:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 15959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12212:58:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15960, - "nodeType": "ExpressionStatement", - "src": "12212:58:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12310:1:90", - "subdenomination": null, - "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": 15963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12302:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12302:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12302:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15966, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12314:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15967, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12318:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15961, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "12281:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12281:45:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15969, - "nodeType": "ExpressionStatement", - "src": "12281:45:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15974, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12359:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 15970, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "12337:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 15972, - "indexExpression": { - "argumentTypes": null, - "id": 15971, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12351:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12337:17:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 15973, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17672, - "src": "12337:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 15975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12337:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15976, - "nodeType": "ExpressionStatement", - "src": "12337:30:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 15980, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12395:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 15981, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12404:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 15977, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "12378:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 15979, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "set", - "nodeType": "MemberAccess", - "referencedDeclaration": 17206, - "src": "12378:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" - } - }, - "id": 15982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12378:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 15983, - "nodeType": "ExpressionStatement", - "src": "12378:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 15987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12440:1:90", - "subdenomination": null, - "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": 15986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12432:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12432:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 15988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12432:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 15989, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15938, - "src": "12444:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 15990, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15940, - "src": "12448:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 15984, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "12423:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 15991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12423:33:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15992, - "nodeType": "EmitStatement", - "src": "12418:38:90" - } - ] - }, - "documentation": { - "id": 15936, - "nodeType": "StructuredDocumentation", - "src": "11754:311:90", - "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." - }, - "id": 15994, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15938, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15994, - "src": "12085:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15937, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12085:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15940, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15994, - "src": "12097:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12097:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12084:29:90" - }, - "returnParameters": { - "id": 15942, - "nodeType": "ParameterList", - "parameters": [], - "src": "12131:0:90" - }, - "scope": 16258, - "src": "12070:393:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16061, - "nodeType": "Block", - "src": "12729:453:90", - "statements": [ - { - "assignments": [ - 16001 - ], - "declarations": [ - { - "constant": false, - "id": 16001, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16061, - "src": "12739:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12739:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16005, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16003, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12763:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16002, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "12755:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12755:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12739:32:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16007, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "12803:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12818:1:90", - "subdenomination": null, - "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": 16009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12810:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12810:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12810:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16012, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12822:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16006, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "12782:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12782:48:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16014, - "nodeType": "ExpressionStatement", - "src": "12782:48:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12885:1:90", - "subdenomination": null, - "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": 16017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12877:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16016, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12877:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12877:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16020, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12889:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16015, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "12868:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 16021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12868:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16022, - "nodeType": "ExpressionStatement", - "src": "12868:29:90" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16025, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "12953:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16027, - "indexExpression": { - "argumentTypes": null, - "id": 16026, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "12964:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12953:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - ], - "id": 16024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12947:5:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 16023, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12947:5:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12947:26:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "id": 16029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12947:33:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12984:1:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12947:38:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 16038, - "nodeType": "IfStatement", - "src": "12943:95:90", - "trueBody": { - "id": 16037, - "nodeType": "Block", - "src": "12987:51:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "13001:26:90", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16032, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "13008:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16034, - "indexExpression": { - "argumentTypes": null, - "id": 16033, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13019:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "13008:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16036, - "nodeType": "ExpressionStatement", - "src": "13001:26:90" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16043, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13076:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16039, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13048:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16041, - "indexExpression": { - "argumentTypes": null, - "id": 16040, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "13062:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13048:20:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17692, - "src": "13048:27:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13048:36:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16045, - "nodeType": "ExpressionStatement", - "src": "13048:36:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16049, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13115:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 16046, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "13095:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 16048, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17226, - "src": "13095:19:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" - } - }, - "id": 16050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13095:28:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16051, - "nodeType": "ExpressionStatement", - "src": "13095:28:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16053, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16001, - "src": "13148:5:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13163:1:90", - "subdenomination": null, - "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": 16055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13155:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13155:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13155:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16058, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15997, - "src": "13167:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16052, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "13139:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13139:36:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16060, - "nodeType": "EmitStatement", - "src": "13134:41:90" - } - ] - }, - "documentation": { - "id": 15995, - "nodeType": "StructuredDocumentation", - "src": "12469:206:90", - "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." - }, - "id": 16062, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15998, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15997, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16062, - "src": "12695:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15996, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12695:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12694:17:90" - }, - "returnParameters": { - "id": 15999, - "nodeType": "ParameterList", - "parameters": [], - "src": "12729:0:90" - }, - "scope": 16258, - "src": "12680:502:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16132, - "nodeType": "Block", - "src": "13585:480:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16074, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13611:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16073, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "13603:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13603:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 16076, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13623:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "13603:24:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 16078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13629:43:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", - "typeString": "literal_string \"ERC721: transfer of token that is not own\"" - }, - "value": "ERC721: transfer of token that is not own" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", - "typeString": "literal_string \"ERC721: transfer of token that is not own\"" - } - ], - "id": 16072, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13595:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13595:78:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16080, - "nodeType": "ExpressionStatement", - "src": "13595:78:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 16087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16082, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13691:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13705:1:90", - "subdenomination": null, - "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": 16084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13697:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13697:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13697:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "13691:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 16088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13709:38:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - }, - "value": "ERC721: transfer to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", - "typeString": "literal_string \"ERC721: transfer to the zero address\"" - } - ], - "id": 16081, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13683:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13683:65:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16090, - "nodeType": "ExpressionStatement", - "src": "13683:65:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16092, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13780:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16093, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13786:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16094, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13790:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16091, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16257, - "src": "13759:20:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13759:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16096, - "nodeType": "ExpressionStatement", - "src": "13759:39:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 16100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13877:1:90", - "subdenomination": null, - "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": 16099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13869:7:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 16098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13869:7:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 16101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13869:10:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16102, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13881:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16097, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16246, - "src": "13860:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 16103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13860:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16104, - "nodeType": "ExpressionStatement", - "src": "13860:29:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16109, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13927:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16105, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13900:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16107, - "indexExpression": { - "argumentTypes": null, - "id": 16106, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "13914:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13900:19:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 17692, - "src": "13900:26:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13900:35:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16111, - "nodeType": "ExpressionStatement", - "src": "13900:35:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16116, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "13967:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16112, - "name": "_holderTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15373, - "src": "13945:13:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$17652_storage_$", - "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" - } - }, - "id": 16114, - "indexExpression": { - "argumentTypes": null, - "id": 16113, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "13959:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13945:17:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage", - "typeString": "struct EnumerableSet.UintSet storage ref" - } - }, - "id": 16115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 17672, - "src": "13945:21:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$17652_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$17652_storage_ptr_$", - "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" - } - }, - "id": 16117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13945:30:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16118, - "nodeType": "ExpressionStatement", - "src": "13945:30:90" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16122, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "14003:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16123, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "14012:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 16119, - "name": "_tokenOwners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15375, - "src": "13986:12:90", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage", - "typeString": "struct EnumerableMap.UintToAddressMap storage ref" - } - }, - "id": 16121, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "set", - "nodeType": "MemberAccess", - "referencedDeclaration": 17206, - "src": "13986:16:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$17177_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$17177_storage_ptr_$", - "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" - } - }, - "id": 16124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13986:29:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 16125, - "nodeType": "ExpressionStatement", - "src": "13986:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16127, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "14040:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16128, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16067, - "src": "14046:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16129, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16069, - "src": "14050:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16126, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16273, - "src": "14031:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14031:27:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16131, - "nodeType": "EmitStatement", - "src": "14026:32:90" - } - ] - }, - "documentation": { - "id": 16063, - "nodeType": "StructuredDocumentation", - "src": "13188:313:90", - "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." - }, - "id": 16133, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16065, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13525:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16064, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13525:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16067, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13539:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13539:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16069, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16133, - "src": "13551:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16068, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13551:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13524:43:90" - }, - "returnParameters": { - "id": 16071, - "nodeType": "ParameterList", - "parameters": [], - "src": "13585:0:90" - }, - "scope": 16258, - "src": "13506:559:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16154, - "nodeType": "Block", - "src": "14293:131:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16143, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16136, - "src": "14319:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16142, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "14311:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 16144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14311:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 16145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14329:46:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", - "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" - }, - "value": "ERC721Metadata: URI set of nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", - "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" - } - ], - "id": 16141, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14303:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 16146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14303:73:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16147, - "nodeType": "ExpressionStatement", - "src": "14303:73:90" - }, - { - "expression": { - "argumentTypes": null, - "id": 16152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16148, - "name": "_tokenURIs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "14386:10:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 16150, - "indexExpression": { - "argumentTypes": null, - "id": 16149, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16136, - "src": "14397:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "14386:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16151, - "name": "_tokenURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16138, - "src": "14408:9:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "14386:31:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 16153, - "nodeType": "ExpressionStatement", - "src": "14386:31:90" - } - ] - }, - "documentation": { - "id": 16134, - "nodeType": "StructuredDocumentation", - "src": "14071:136:90", - "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "id": 16155, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setTokenURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16139, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16136, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16155, - "src": "14234:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16135, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14234:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16138, - "mutability": "mutable", - "name": "_tokenURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16155, - "src": "14251:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16137, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14251:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14233:42:90" - }, - "returnParameters": { - "id": 16140, - "nodeType": "ParameterList", - "parameters": [], - "src": "14293:0:90" - }, - "scope": 16258, - "src": "14212:212:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16165, - "nodeType": "Block", - "src": "14709:36:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 16161, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "14719:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16162, - "name": "baseURI_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16158, - "src": "14730:8:90", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "14719:19:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 16164, - "nodeType": "ExpressionStatement", - "src": "14719:19:90" - } - ] - }, - "documentation": { - "id": 16156, - "nodeType": "StructuredDocumentation", - "src": "14430:212:90", - "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." - }, - "id": 16166, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setBaseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16158, - "mutability": "mutable", - "name": "baseURI_", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16166, - "src": "14668:22:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16157, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14668:6:90", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14667:24:90" - }, - "returnParameters": { - "id": 16160, - "nodeType": "ParameterList", - "parameters": [], - "src": "14709:0:90" - }, - "scope": 16258, - "src": "14647:98:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 16223, - "nodeType": "Block", - "src": "15428:459:90", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 16183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "15442:16:90", - "subExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 16180, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15443:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 16479, - "src": "15443:13:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 16182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15443:15:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 16187, - "nodeType": "IfStatement", - "src": "15438:58:90", - "trueBody": { - "id": 16186, - "nodeType": "Block", - "src": "15460:36:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 16184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15481:4:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16179, - "id": 16185, - "nodeType": "Return", - "src": "15474:11:90" - } - ] - } - }, - { - "assignments": [ - 16189 - ], - "declarations": [ - { - "constant": false, - "id": 16189, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16223, - "src": "15505:23:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16188, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15505:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16207, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16195, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15599:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 16194, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16450, - "src": "15583:15:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$16450_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 16196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15583:19:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$16450", - "typeString": "contract IERC721Receiver" - } - }, - "id": 16197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 16449, - "src": "15583:36:90", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" - } - }, - "id": 16198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15583:45:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 16199, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "15642:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 16200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15642:12:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 16201, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16169, - "src": "15668:4:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16202, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16173, - "src": "15686:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 16203, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16175, - "src": "15707:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 16192, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15547:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15547:22:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 16204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15547:175:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 16205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15724:52:90", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - }, - "value": "ERC721: transfer to non ERC721Receiver implementer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", - "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" - } - ], - "expression": { - "argumentTypes": null, - "id": 16190, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16171, - "src": "15531:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "functionCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 16550, - "src": "15531:15:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", - "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" - } - }, - "id": 16206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15531:246:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15505:272:90" - }, - { - "assignments": [ - 16209 - ], - "declarations": [ - { - "constant": false, - "id": 16209, - "mutability": "mutable", - "name": "retval", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16223, - "src": "15787:13:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 16208, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15787:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16217, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16212, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16189, - "src": "15814:10:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 16214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15827:6:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 16213, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15827:6:90", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - } - ], - "id": 16215, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "15826:8:90", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - } - ], - "expression": { - "argumentTypes": null, - "id": 16210, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15803:3:90", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "decode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15803:10:90", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 16216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15803:32:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15787:48:90" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 16220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16218, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16209, - "src": "15853:6:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 16219, - "name": "_ERC721_RECEIVED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15369, - "src": "15863:16:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "15853:26:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 16221, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "15852:28:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 16179, - "id": 16222, - "nodeType": "Return", - "src": "15845:35:90" - } - ] - }, - "documentation": { - "id": 16167, - "nodeType": "StructuredDocumentation", - "src": "14751:542:90", - "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" - }, - "id": 16224, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkOnERC721Received", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16169, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15330:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15330:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16171, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15344:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16170, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15344:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16173, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15356:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15356:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16175, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15373:18:90", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16174, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15373:5:90", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15329:63:90" - }, - "returnParameters": { - "id": 16179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16178, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16224, - "src": "15418:4:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15418:4:90", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15417:6:90" - }, - "scope": 16258, - "src": "15298:589:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 16245, - "nodeType": "Block", - "src": "15948:100:90", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 16231, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15379, - "src": "15958:15:90", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 16233, - "indexExpression": { - "argumentTypes": null, - "id": 16232, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "15974:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "15958:24:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16234, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16226, - "src": "15985:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "15958:29:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 16236, - "nodeType": "ExpressionStatement", - "src": "15958:29:90" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16239, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "16019:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16238, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15475, - "src": "16011:7:90", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 16240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16011:16:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16241, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16226, - "src": "16029:2:90", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 16242, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16228, - "src": "16033:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 16237, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16282, - "src": "16002:8:90", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 16243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16002:39:90", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16244, - "nodeType": "EmitStatement", - "src": "15997:44:90" - } - ] - }, - "documentation": null, - "id": 16246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16226, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16246, - "src": "15911:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16225, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15911:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16228, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16246, - "src": "15923:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15923:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15910:29:90" - }, - "returnParameters": { - "id": 16230, - "nodeType": "ParameterList", - "parameters": [], - "src": "15948:0:90" - }, - "scope": 16258, - "src": "15893:155:90", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 16256, - "nodeType": "Block", - "src": "16734:3:90", - "statements": [] - }, - "documentation": { - "id": 16247, - "nodeType": "StructuredDocumentation", - "src": "16054:585:90", - "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." - }, - "id": 16257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeTokenTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16249, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16674:12:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16248, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16674:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16251, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16688:10:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16250, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16688:7:90", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16253, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16257, - "src": "16700:15:90", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16700:7:90", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16673:43:90" - }, - "returnParameters": { - "id": 16255, - "nodeType": "ParameterList", - "parameters": [], - "src": "16734:0:90" - }, - "scope": 16258, - "src": "16644:93:90", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "scope": 16259, - "src": "561:16178:90" - } - ], - "src": "33:16707:90" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.905Z", - "devdoc": { - "details": "see https://eips.ethereum.org/EIPS/eip-721", - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "baseURI()": { - "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." - }, - "constructor": { - "details": "Initializes the contract by setting a `name` and a `symbol` to the token collection." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenByIndex(uint256)": { - "details": "See {IERC721Enumerable-tokenByIndex}." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "totalSupply()": { - "details": "See {IERC721Enumerable-totalSupply}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - } - }, - "title": "ERC721 Non-Fungible Token Standard basic implementation", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/EnumerableMap.json b/build/contracts/EnumerableMap.json deleted file mode 100644 index 1aaedad90..000000000 --- a/build/contracts/EnumerableMap.json +++ /dev/null @@ -1,11980 +0,0 @@ -{ - "contractName": "EnumerableMap", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing an enumerable variant of Solidity's https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] type. Maps have the following properties: - Entries are added, removed, and checked for existence in constant time (O(1)). - Entries are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableMap for EnumerableMap.UintToAddressMap; // Declare a set state variable EnumerableMap.UintToAddressMap private myMap; } ``` As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/EnumerableMap.sol\":\"EnumerableMap\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ed4ab8fe63acbaacb9d3b75bf06ed4f92071455bdb97c879699caa4e6f9c983c64736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ed4ab8fe63acbaacb9d3b75bf06ed4f92071455bdb97c879699caa4e6f9c983c64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "764:7555:99:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "764:7555:99:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n return _get(map, key, \"EnumerableMap: nonexistent key\");\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(value)));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint256(value)));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint256(_get(map._inner, bytes32(key))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint256(_get(map._inner, bytes32(key), errorMessage)));\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/utils/EnumerableMap.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableMap.sol", - "exportedSymbols": { - "EnumerableMap": [ - 17352 - ] - }, - "id": 17353, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16899, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:99" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16900, - "nodeType": "StructuredDocumentation", - "src": "58:705:99", - "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." - }, - "fullyImplemented": true, - "id": 17352, - "linearizedBaseContracts": [ - 17352 - ], - "name": "EnumerableMap", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "EnumerableMap.MapEntry", - "id": 16905, - "members": [ - { - "constant": false, - "id": 16902, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16905, - "src": "1276:12:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16901, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1276:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16904, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16905, - "src": "1298:14:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1298:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "MapEntry", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "1250:69:99", - "visibility": "public" - }, - { - "canonicalName": "EnumerableMap.Map", - "id": 16913, - "members": [ - { - "constant": false, - "id": 16908, - "mutability": "mutable", - "name": "_entries", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16913, - "src": "1388:19:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 16906, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "1388:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "id": 16907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1388:10:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16912, - "mutability": "mutable", - "name": "_indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16913, - "src": "1557:37:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 16911, - "keyType": { - "id": 16909, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1566:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1557:28:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 16910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1577:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Map", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "1325:276:99", - "visibility": "public" - }, - { - "body": { - "id": 16974, - "nodeType": "Block", - "src": "1910:596:99", - "statements": [ - { - "assignments": [ - 16926 - ], - "declarations": [ - { - "constant": false, - "id": 16926, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16974, - "src": "2018:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2018:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16931, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16927, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2037:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2037:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16930, - "indexExpression": { - "argumentTypes": null, - "id": 16929, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2050:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2037:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2018:36:99" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16932, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16926, - "src": "2069:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2081:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2069:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16972, - "nodeType": "Block", - "src": "2408:92:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16959, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2422:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16964, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2422:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16965, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16961, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16926, - "src": "2435:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 16962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2446:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2435:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2422:26:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 16966, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "2422:33:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16967, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16920, - "src": "2458:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2422:41:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 16969, - "nodeType": "ExpressionStatement", - "src": "2422:41:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 16970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:5:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 16924, - "id": 16971, - "nodeType": "Return", - "src": "2477:12:99" - } - ] - }, - "id": 16973, - "nodeType": "IfStatement", - "src": "2065:435:99", - "trueBody": { - "id": 16958, - "nodeType": "Block", - "src": "2084:318:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16941, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2170:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16942, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16920, - "src": "2183:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 16940, - "name": "MapEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16905, - "src": "2153:8:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$16905_storage_ptr_$", - "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" - } - }, - "id": 16943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [ - "_key", - "_value" - ], - "nodeType": "FunctionCall", - "src": "2153:38:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_memory_ptr", - "typeString": "struct EnumerableMap.MapEntry memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_MapEntry_$16905_memory_ptr", - "typeString": "struct EnumerableMap.MapEntry memory" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16935, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2135:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16938, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2135:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2135:17:99", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$16905_storage_$returns$__$", - "typeString": "function (struct EnumerableMap.MapEntry storage ref)" - } - }, - "id": 16944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2135:57:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16945, - "nodeType": "ExpressionStatement", - "src": "2135:57:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 16954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16946, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2327:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2327:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16950, - "indexExpression": { - "argumentTypes": null, - "id": 16948, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2340:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2327:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16951, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2347:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2347:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2347:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2327:39:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 16955, - "nodeType": "ExpressionStatement", - "src": "2327:39:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 16956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2387:4:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16924, - "id": 16957, - "nodeType": "Return", - "src": "2380:11:99" - } - ] - } - } - ] - }, - "documentation": { - "id": 16914, - "nodeType": "StructuredDocumentation", - "src": "1607:216:99", - "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." - }, - "id": 16975, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16921, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16916, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1842:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 16915, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "1842:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16918, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1859:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16917, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1859:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16920, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1872:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16919, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1872:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1841:45:99" - }, - "returnParameters": { - "id": 16924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1904:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16922, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1904:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1903:6:99" - }, - "scope": 17352, - "src": "1828:678:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17055, - "nodeType": "Block", - "src": "2744:1447:99", - "statements": [ - { - "assignments": [ - 16986 - ], - "declarations": [ - { - "constant": false, - "id": 16986, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17055, - "src": "2852:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2852:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16991, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16987, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "2871:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16988, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2871:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16990, - "indexExpression": { - "argumentTypes": null, - "id": 16989, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16980, - "src": "2884:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2871:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2852:36:99" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16992, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16986, - "src": "2903:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2915:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2903:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17053, - "nodeType": "Block", - "src": "4148:37:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4169:5:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 16984, - "id": 17052, - "nodeType": "Return", - "src": "4162:12:99" - } - ] - }, - "id": 17054, - "nodeType": "IfStatement", - "src": "2899:1286:99", - "trueBody": { - "id": 17050, - "nodeType": "Block", - "src": "2918:1224:99", - "statements": [ - { - "assignments": [ - 16996 - ], - "declarations": [ - { - "constant": false, - "id": 16996, - "mutability": "mutable", - "name": "toDeleteIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3259:21:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16995, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3259:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17000, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16997, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16986, - "src": "3283:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 16998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3294:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3283:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3259:36:99" - }, - { - "assignments": [ - 17002 - ], - "declarations": [ - { - "constant": false, - "id": 17002, - "mutability": "mutable", - "name": "lastIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3309:17:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17001, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3309:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17008, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17003, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3329:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17004, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3329:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3329:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3351:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3329:23:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3309:43:99" - }, - { - "assignments": [ - 17010 - ], - "declarations": [ - { - "constant": false, - "id": 17010, - "mutability": "mutable", - "name": "lastEntry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3592:26:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - }, - "typeName": { - "contractScope": null, - "id": 17009, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "3592:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17015, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17011, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3621:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17012, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3621:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17014, - "indexExpression": { - "argumentTypes": null, - "id": 17013, - "name": "lastIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17002, - "src": "3634:9:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3621:23:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3592:52:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17016, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3736:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17019, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3736:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17020, - "indexExpression": { - "argumentTypes": null, - "id": 17018, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16996, - "src": "3749:13:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3736:27:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17021, - "name": "lastEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17010, - "src": "3766:9:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "src": "3736:39:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 17023, - "nodeType": "ExpressionStatement", - "src": "3736:39:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17024, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3841:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17028, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "3841:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17029, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17026, - "name": "lastEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17010, - "src": "3854:9:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17027, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 16902, - "src": "3854:14:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3841:28:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17030, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16996, - "src": "3872:13:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3888:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3872:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3841:48:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17034, - "nodeType": "ExpressionStatement", - "src": "3841:48:99" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17035, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3995:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3995:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3995:16:99", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 17040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3995:18:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17041, - "nodeType": "ExpressionStatement", - "src": "3995:18:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4081:24:99", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17042, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "4088:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17043, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "4088:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17045, - "indexExpression": { - "argumentTypes": null, - "id": 17044, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16980, - "src": "4101:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4088:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17047, - "nodeType": "ExpressionStatement", - "src": "4081:24:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4127:4:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16984, - "id": 17049, - "nodeType": "Return", - "src": "4120:11:99" - } - ] - } - } - ] - }, - "documentation": { - "id": 16976, - "nodeType": "StructuredDocumentation", - "src": "2512:157:99", - "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." - }, - "id": 17056, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16978, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2691:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 16977, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "2691:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16980, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2708:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16979, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2708:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2690:30:99" - }, - "returnParameters": { - "id": 16984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16983, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2738:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16982, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2738:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2737:6:99" - }, - "scope": 17352, - "src": "2674:1517:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17073, - "nodeType": "Block", - "src": "4347:46:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17066, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17059, - "src": "4364:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17067, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "4364:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17069, - "indexExpression": { - "argumentTypes": null, - "id": 17068, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17061, - "src": "4377:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4364:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4385:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4364:22:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17065, - "id": 17072, - "nodeType": "Return", - "src": "4357:29:99" - } - ] - }, - "documentation": { - "id": 17057, - "nodeType": "StructuredDocumentation", - "src": "4197:68:99", - "text": " @dev Returns true if the key is in the map. O(1)." - }, - "id": 17074, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17059, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4289:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17058, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4289:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17061, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4306:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4306:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4288:30:99" - }, - "returnParameters": { - "id": 17065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17064, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4341:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17063, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4341:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4340:6:99" - }, - "scope": 17352, - "src": "4270:123:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17086, - "nodeType": "Block", - "src": "4548:43:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17082, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17077, - "src": "4565:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17083, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "4565:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4565:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17081, - "id": 17085, - "nodeType": "Return", - "src": "4558:26:99" - } - ] - }, - "documentation": { - "id": 17075, - "nodeType": "StructuredDocumentation", - "src": "4399:79:99", - "text": " @dev Returns the number of key-value pairs in the map. O(1)." - }, - "id": 17087, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17077, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17087, - "src": "4500:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17076, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4500:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4499:17:99" - }, - "returnParameters": { - "id": 17081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17087, - "src": "4539:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4539:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4538:9:99" - }, - "scope": 17352, - "src": "4483:108:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17121, - "nodeType": "Block", - "src": "5019:189:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17100, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17090, - "src": "5037:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17101, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5037:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5037:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 17103, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17092, - "src": "5059:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5037:27:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 17105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5066:36:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", - "typeString": "literal_string \"EnumerableMap: index out of bounds\"" - }, - "value": "EnumerableMap: index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", - "typeString": "literal_string \"EnumerableMap: index out of bounds\"" - } - ], - "id": 17099, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5029:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5029:74:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17107, - "nodeType": "ExpressionStatement", - "src": "5029:74:99" - }, - { - "assignments": [ - 17109 - ], - "declarations": [ - { - "constant": false, - "id": 17109, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17121, - "src": "5114:22:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - }, - "typeName": { - "contractScope": null, - "id": 17108, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "5114:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17114, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17110, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17090, - "src": "5139:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17111, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5139:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17113, - "indexExpression": { - "argumentTypes": null, - "id": 17112, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17092, - "src": "5152:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5139:19:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5114:44:99" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17115, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17109, - "src": "5176:5:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 16902, - "src": "5176:10:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17117, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17109, - "src": "5188:5:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "5188:12:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 17119, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5175:26:99", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes32,bytes32)" - } - }, - "functionReturnParameters": 17098, - "id": 17120, - "nodeType": "Return", - "src": "5168:33:99" - } - ] - }, - "documentation": { - "id": 17088, - "nodeType": "StructuredDocumentation", - "src": "4596:333:99", - "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17122, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17093, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17090, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "4947:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17089, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4947:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17092, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "4964:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17091, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4964:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4946:32:99" - }, - "returnParameters": { - "id": 17098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17095, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "5001:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17094, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5001:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17097, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "5010:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17096, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5010:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5000:18:99" - }, - "scope": 17352, - "src": "4934:274:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17138, - "nodeType": "Block", - "src": "5435:72:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17133, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17125, - "src": "5457:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 17134, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17127, - "src": "5462:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 17135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5467:32:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", - "typeString": "literal_string \"EnumerableMap: nonexistent key\"" - }, - "value": "EnumerableMap: nonexistent key" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", - "typeString": "literal_string \"EnumerableMap: nonexistent key\"" - } - ], - "id": 17132, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17174, - "src": "5452:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" - } - }, - "id": 17136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5452:48:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17131, - "id": 17137, - "nodeType": "Return", - "src": "5445:55:99" - } - ] - }, - "documentation": { - "id": 17123, - "nodeType": "StructuredDocumentation", - "src": "5214:141:99", - "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." - }, - "id": 17139, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17125, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5374:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17124, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5374:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17127, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5391:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17126, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5391:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5373:30:99" - }, - "returnParameters": { - "id": 17131, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17130, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5426:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17129, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5426:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5425:9:99" - }, - "scope": 17352, - "src": "5360:147:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17173, - "nodeType": "Block", - "src": "5718:212:99", - "statements": [ - { - "assignments": [ - 17152 - ], - "declarations": [ - { - "constant": false, - "id": 17152, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17173, - "src": "5728:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17151, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5728:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17157, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17153, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17142, - "src": "5747:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "5747:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17156, - "indexExpression": { - "argumentTypes": null, - "id": 17155, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17144, - "src": "5760:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5747:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5728:36:99" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17159, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17152, - "src": "5782:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5794:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5782:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 17162, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17146, - "src": "5797:12:99", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 17158, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5774:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5774:36:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17164, - "nodeType": "ExpressionStatement", - "src": "5774:36:99" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17165, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17142, - "src": "5863:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5863:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17170, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17167, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17152, - "src": "5876:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5887:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "5876:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5863:26:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 17171, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "5863:33:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17150, - "id": 17172, - "nodeType": "Return", - "src": "5856:40:99" - } - ] - }, - "documentation": { - "id": 17140, - "nodeType": "StructuredDocumentation", - "src": "5513:97:99", - "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map." - }, - "id": 17174, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17142, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5629:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17141, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5629:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17144, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5646:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5646:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17146, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5659:26:99", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17145, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5659:6:99", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5628:58:99" - }, - "returnParameters": { - "id": 17150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17149, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5709:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17148, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5709:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5708:9:99" - }, - "scope": 17352, - "src": "5615:315:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 17177, - "members": [ - { - "constant": false, - "id": 17176, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17177, - "src": "5995:10:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17175, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5995:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "UintToAddressMap", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "5961:51:99", - "visibility": "public" - }, - { - "body": { - "id": 17205, - "nodeType": "Block", - "src": "6334:79:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17190, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17180, - "src": "6356:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17191, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6356:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17194, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17182, - "src": "6376:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6368:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17192, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6368:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6368:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17200, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17184, - "src": "6398:5:99", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6390:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17198, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6390:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6390:14:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6382:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17196, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6382:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6382:23:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17189, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16975, - "src": "6351:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" - } - }, - "id": 17203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6351:55:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17188, - "id": 17204, - "nodeType": "Return", - "src": "6344:62:99" - } - ] - }, - "documentation": { - "id": 17178, - "nodeType": "StructuredDocumentation", - "src": "6018:216:99", - "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." - }, - "id": 17206, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17180, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6252:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17179, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6252:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17182, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6282:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6282:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17184, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6295:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6295:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6251:58:99" - }, - "returnParameters": { - "id": 17188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17187, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6328:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17186, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6328:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6327:6:99" - }, - "scope": 17352, - "src": "6239:174:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17225, - "nodeType": "Block", - "src": "6655:57:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17217, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17209, - "src": "6680:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6680:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17221, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17211, - "src": "6700:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6692:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17219, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6692:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6692:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17216, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17056, - "src": "6672:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" - } - }, - "id": 17223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6672:33:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17215, - "id": 17224, - "nodeType": "Return", - "src": "6665:40:99" - } - ] - }, - "documentation": { - "id": 17207, - "nodeType": "StructuredDocumentation", - "src": "6419:148:99", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." - }, - "id": 17226, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17209, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6588:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17208, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6588:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17211, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6618:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17210, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6618:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6587:43:99" - }, - "returnParameters": { - "id": 17215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17214, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6649:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17213, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6649:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6648:6:99" - }, - "scope": 17352, - "src": "6572:140:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17245, - "nodeType": "Block", - "src": "6881:59:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17237, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17229, - "src": "6908:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17238, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6908:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17241, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17231, - "src": "6928:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6920:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17239, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6920:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6920:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17236, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17074, - "src": "6898:9:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6898:35:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17235, - "id": 17244, - "nodeType": "Return", - "src": "6891:42:99" - } - ] - }, - "documentation": { - "id": 17227, - "nodeType": "StructuredDocumentation", - "src": "6718:68:99", - "text": " @dev Returns true if the key is in the map. O(1)." - }, - "id": 17246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17229, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6809:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17228, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6809:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17231, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6839:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6839:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6808:43:99" - }, - "returnParameters": { - "id": 17235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17234, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6875:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17233, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6875:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6874:6:99" - }, - "scope": 17352, - "src": "6791:149:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17259, - "nodeType": "Block", - "src": "7101:43:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17255, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17249, - "src": "7126:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17256, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7126:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - ], - "id": 17254, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17087, - "src": "7118:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" - } - }, - "id": 17257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7118:19:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17253, - "id": 17258, - "nodeType": "Return", - "src": "7111:26:99" - } - ] - }, - "documentation": { - "id": 17247, - "nodeType": "StructuredDocumentation", - "src": "6946:72:99", - "text": " @dev Returns the number of elements in the map. O(1)." - }, - "id": 17260, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17249, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17260, - "src": "7039:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17248, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7039:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7038:30:99" - }, - "returnParameters": { - "id": 17253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17260, - "src": "7092:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7092:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7091:9:99" - }, - "scope": 17352, - "src": "7023:121:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17295, - "nodeType": "Block", - "src": "7570:126:99", - "statements": [ - { - "assignments": [ - 17273, - 17275 - ], - "declarations": [ - { - "constant": false, - "id": 17273, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17295, - "src": "7581:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17272, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7581:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17275, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17295, - "src": "7594:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17274, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7594:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17281, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17277, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17263, - "src": "7615:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17278, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7615:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "id": 17279, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17265, - "src": "7627:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17276, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17122, - "src": "7611:3:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" - } - }, - "id": 17280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7611:22:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes32,bytes32)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:53:99" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17284, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17273, - "src": "7659:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7651:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17282, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7651:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7651:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17290, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17275, - "src": "7681:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7673:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7673:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7673:14:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7665:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7665:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7665:23:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "id": 17293, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7650:39:99", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", - "typeString": "tuple(uint256,address payable)" - } - }, - "functionReturnParameters": 17271, - "id": 17294, - "nodeType": "Return", - "src": "7643:46:99" - } - ] - }, - "documentation": { - "id": 17261, - "nodeType": "StructuredDocumentation", - "src": "7149:318:99", - "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17296, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17263, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7484:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17262, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7484:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17265, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7514:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7514:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7483:45:99" - }, - "returnParameters": { - "id": 17271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17268, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7552:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17267, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7552:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17270, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7561:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17269, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7561:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7551:18:99" - }, - "scope": 17352, - "src": "7472:224:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17321, - "nodeType": "Block", - "src": "7936:72:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17311, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17299, - "src": "7974:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7974:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17315, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17301, - "src": "7994:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7986:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17313, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7986:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7986:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17310, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17139, - "src": "7969:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" - } - }, - "id": 17317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7969:30:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7961:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7961:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7961:39:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7953:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17306, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7953:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7953:48:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17305, - "id": 17320, - "nodeType": "Return", - "src": "7946:55:99" - } - ] - }, - "documentation": { - "id": 17297, - "nodeType": "StructuredDocumentation", - "src": "7702:141:99", - "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." - }, - "id": 17322, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17299, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7861:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17298, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7861:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17301, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7891:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7891:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7860:43:99" - }, - "returnParameters": { - "id": 17305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7927:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17303, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7927:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7926:9:99" - }, - "scope": 17352, - "src": "7848:160:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17350, - "nodeType": "Block", - "src": "8231:86:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17339, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17325, - "src": "8269:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17340, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "8269:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17343, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17327, - "src": "8289:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8281:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17341, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8281:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8281:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 17345, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17329, - "src": "8295:12:99", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 17338, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17174, - "src": "8264:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" - } - }, - "id": 17346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8264:44:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8256:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8256:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8256:53:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8248:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8248:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8248:62:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17333, - "id": 17349, - "nodeType": "Return", - "src": "8241:69:99" - } - ] - }, - "documentation": { - "id": 17323, - "nodeType": "StructuredDocumentation", - "src": "8014:96:99", - "text": " @dev Same as {get}, with a custom error message when `key` is not in the map." - }, - "id": 17351, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17325, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8128:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17324, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "8128:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17327, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8158:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8158:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17329, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8171:26:99", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17328, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8171:6:99", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8127:71:99" - }, - "returnParameters": { - "id": 17333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17332, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8222:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8222:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8221:9:99" - }, - "scope": 17352, - "src": "8115:202:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17353, - "src": "764:7555:99" - } - ], - "src": "33:8287:99" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableMap.sol", - "exportedSymbols": { - "EnumerableMap": [ - 17352 - ] - }, - "id": 17353, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16899, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:99" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 16900, - "nodeType": "StructuredDocumentation", - "src": "58:705:99", - "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." - }, - "fullyImplemented": true, - "id": 17352, - "linearizedBaseContracts": [ - 17352 - ], - "name": "EnumerableMap", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "EnumerableMap.MapEntry", - "id": 16905, - "members": [ - { - "constant": false, - "id": 16902, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16905, - "src": "1276:12:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16901, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1276:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16904, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16905, - "src": "1298:14:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1298:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "MapEntry", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "1250:69:99", - "visibility": "public" - }, - { - "canonicalName": "EnumerableMap.Map", - "id": 16913, - "members": [ - { - "constant": false, - "id": 16908, - "mutability": "mutable", - "name": "_entries", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16913, - "src": "1388:19:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 16906, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "1388:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "id": 16907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1388:10:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16912, - "mutability": "mutable", - "name": "_indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16913, - "src": "1557:37:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 16911, - "keyType": { - "id": 16909, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1566:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1557:28:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 16910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1577:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Map", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "1325:276:99", - "visibility": "public" - }, - { - "body": { - "id": 16974, - "nodeType": "Block", - "src": "1910:596:99", - "statements": [ - { - "assignments": [ - 16926 - ], - "declarations": [ - { - "constant": false, - "id": 16926, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16974, - "src": "2018:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2018:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16931, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16927, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2037:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2037:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16930, - "indexExpression": { - "argumentTypes": null, - "id": 16929, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2050:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2037:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2018:36:99" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16932, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16926, - "src": "2069:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2081:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2069:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 16972, - "nodeType": "Block", - "src": "2408:92:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 16968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16959, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2422:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16964, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2422:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16965, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16961, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16926, - "src": "2435:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 16962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2446:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2435:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2422:26:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 16966, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "2422:33:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 16967, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16920, - "src": "2458:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2422:41:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 16969, - "nodeType": "ExpressionStatement", - "src": "2422:41:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 16970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:5:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 16924, - "id": 16971, - "nodeType": "Return", - "src": "2477:12:99" - } - ] - }, - "id": 16973, - "nodeType": "IfStatement", - "src": "2065:435:99", - "trueBody": { - "id": 16958, - "nodeType": "Block", - "src": "2084:318:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 16941, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2170:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 16942, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16920, - "src": "2183:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 16940, - "name": "MapEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16905, - "src": "2153:8:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$16905_storage_ptr_$", - "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" - } - }, - "id": 16943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [ - "_key", - "_value" - ], - "nodeType": "FunctionCall", - "src": "2153:38:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_memory_ptr", - "typeString": "struct EnumerableMap.MapEntry memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_MapEntry_$16905_memory_ptr", - "typeString": "struct EnumerableMap.MapEntry memory" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16935, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2135:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16938, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2135:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2135:17:99", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$16905_storage_$returns$__$", - "typeString": "function (struct EnumerableMap.MapEntry storage ref)" - } - }, - "id": 16944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2135:57:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16945, - "nodeType": "ExpressionStatement", - "src": "2135:57:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 16954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16946, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2327:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2327:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16950, - "indexExpression": { - "argumentTypes": null, - "id": 16948, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16918, - "src": "2340:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2327:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16951, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16916, - "src": "2347:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "2347:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 16953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2347:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2327:39:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 16955, - "nodeType": "ExpressionStatement", - "src": "2327:39:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 16956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2387:4:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16924, - "id": 16957, - "nodeType": "Return", - "src": "2380:11:99" - } - ] - } - } - ] - }, - "documentation": { - "id": 16914, - "nodeType": "StructuredDocumentation", - "src": "1607:216:99", - "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." - }, - "id": 16975, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16921, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16916, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1842:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 16915, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "1842:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16918, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1859:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16917, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1859:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16920, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1872:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16919, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1872:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1841:45:99" - }, - "returnParameters": { - "id": 16924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16975, - "src": "1904:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16922, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1904:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1903:6:99" - }, - "scope": 17352, - "src": "1828:678:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17055, - "nodeType": "Block", - "src": "2744:1447:99", - "statements": [ - { - "assignments": [ - 16986 - ], - "declarations": [ - { - "constant": false, - "id": 16986, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17055, - "src": "2852:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2852:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 16991, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 16987, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "2871:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 16988, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "2871:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 16990, - "indexExpression": { - "argumentTypes": null, - "id": 16989, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16980, - "src": "2884:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2871:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2852:36:99" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16992, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16986, - "src": "2903:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 16993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2915:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2903:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17053, - "nodeType": "Block", - "src": "4148:37:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4169:5:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 16984, - "id": 17052, - "nodeType": "Return", - "src": "4162:12:99" - } - ] - }, - "id": 17054, - "nodeType": "IfStatement", - "src": "2899:1286:99", - "trueBody": { - "id": 17050, - "nodeType": "Block", - "src": "2918:1224:99", - "statements": [ - { - "assignments": [ - 16996 - ], - "declarations": [ - { - "constant": false, - "id": 16996, - "mutability": "mutable", - "name": "toDeleteIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3259:21:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16995, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3259:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17000, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 16999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 16997, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16986, - "src": "3283:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 16998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3294:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3283:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3259:36:99" - }, - { - "assignments": [ - 17002 - ], - "declarations": [ - { - "constant": false, - "id": 17002, - "mutability": "mutable", - "name": "lastIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3309:17:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17001, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3309:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17008, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17003, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3329:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17004, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3329:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3329:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3351:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3329:23:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3309:43:99" - }, - { - "assignments": [ - 17010 - ], - "declarations": [ - { - "constant": false, - "id": 17010, - "mutability": "mutable", - "name": "lastEntry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17050, - "src": "3592:26:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - }, - "typeName": { - "contractScope": null, - "id": 17009, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "3592:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17015, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17011, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3621:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17012, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3621:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17014, - "indexExpression": { - "argumentTypes": null, - "id": 17013, - "name": "lastIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17002, - "src": "3634:9:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3621:23:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3592:52:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17016, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3736:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17019, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3736:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17020, - "indexExpression": { - "argumentTypes": null, - "id": 17018, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16996, - "src": "3749:13:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3736:27:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17021, - "name": "lastEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17010, - "src": "3766:9:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "src": "3736:39:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 17023, - "nodeType": "ExpressionStatement", - "src": "3736:39:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17024, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3841:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17028, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "3841:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17029, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17026, - "name": "lastEntry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17010, - "src": "3854:9:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17027, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 16902, - "src": "3854:14:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3841:28:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17030, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16996, - "src": "3872:13:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3888:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3872:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3841:48:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17034, - "nodeType": "ExpressionStatement", - "src": "3841:48:99" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17035, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "3995:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "3995:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3995:16:99", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 17040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3995:18:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17041, - "nodeType": "ExpressionStatement", - "src": "3995:18:99" - }, - { - "expression": { - "argumentTypes": null, - "id": 17046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "4081:24:99", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17042, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16978, - "src": "4088:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17043, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "4088:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17045, - "indexExpression": { - "argumentTypes": null, - "id": 17044, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16980, - "src": "4101:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4088:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17047, - "nodeType": "ExpressionStatement", - "src": "4081:24:99" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4127:4:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 16984, - "id": 17049, - "nodeType": "Return", - "src": "4120:11:99" - } - ] - } - } - ] - }, - "documentation": { - "id": 16976, - "nodeType": "StructuredDocumentation", - "src": "2512:157:99", - "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." - }, - "id": 17056, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16978, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2691:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 16977, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "2691:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16980, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2708:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16979, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2708:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2690:30:99" - }, - "returnParameters": { - "id": 16984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16983, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17056, - "src": "2738:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16982, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2738:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2737:6:99" - }, - "scope": 17352, - "src": "2674:1517:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17073, - "nodeType": "Block", - "src": "4347:46:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17066, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17059, - "src": "4364:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17067, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "4364:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17069, - "indexExpression": { - "argumentTypes": null, - "id": 17068, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17061, - "src": "4377:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4364:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4385:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4364:22:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17065, - "id": 17072, - "nodeType": "Return", - "src": "4357:29:99" - } - ] - }, - "documentation": { - "id": 17057, - "nodeType": "StructuredDocumentation", - "src": "4197:68:99", - "text": " @dev Returns true if the key is in the map. O(1)." - }, - "id": 17074, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17059, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4289:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17058, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4289:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17061, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4306:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4306:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4288:30:99" - }, - "returnParameters": { - "id": 17065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17064, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17074, - "src": "4341:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17063, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4341:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4340:6:99" - }, - "scope": 17352, - "src": "4270:123:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17086, - "nodeType": "Block", - "src": "4548:43:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17082, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17077, - "src": "4565:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17083, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "4565:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4565:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17081, - "id": 17085, - "nodeType": "Return", - "src": "4558:26:99" - } - ] - }, - "documentation": { - "id": 17075, - "nodeType": "StructuredDocumentation", - "src": "4399:79:99", - "text": " @dev Returns the number of key-value pairs in the map. O(1)." - }, - "id": 17087, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17077, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17087, - "src": "4500:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17076, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4500:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4499:17:99" - }, - "returnParameters": { - "id": 17081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17087, - "src": "4539:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4539:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4538:9:99" - }, - "scope": 17352, - "src": "4483:108:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17121, - "nodeType": "Block", - "src": "5019:189:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17100, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17090, - "src": "5037:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17101, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5037:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5037:19:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 17103, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17092, - "src": "5059:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5037:27:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 17105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5066:36:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", - "typeString": "literal_string \"EnumerableMap: index out of bounds\"" - }, - "value": "EnumerableMap: index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", - "typeString": "literal_string \"EnumerableMap: index out of bounds\"" - } - ], - "id": 17099, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5029:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5029:74:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17107, - "nodeType": "ExpressionStatement", - "src": "5029:74:99" - }, - { - "assignments": [ - 17109 - ], - "declarations": [ - { - "constant": false, - "id": 17109, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17121, - "src": "5114:22:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - }, - "typeName": { - "contractScope": null, - "id": 17108, - "name": "MapEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16905, - "src": "5114:8:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17114, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17110, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17090, - "src": "5139:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17111, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5139:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17113, - "indexExpression": { - "argumentTypes": null, - "id": 17112, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17092, - "src": "5152:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5139:19:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5114:44:99" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17115, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17109, - "src": "5176:5:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 16902, - "src": "5176:10:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17117, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17109, - "src": "5188:5:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage_ptr", - "typeString": "struct EnumerableMap.MapEntry storage pointer" - } - }, - "id": 17118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "5188:12:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 17119, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5175:26:99", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes32,bytes32)" - } - }, - "functionReturnParameters": 17098, - "id": 17120, - "nodeType": "Return", - "src": "5168:33:99" - } - ] - }, - "documentation": { - "id": 17088, - "nodeType": "StructuredDocumentation", - "src": "4596:333:99", - "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17122, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17093, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17090, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "4947:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17089, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "4947:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17092, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "4964:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17091, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4964:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4946:32:99" - }, - "returnParameters": { - "id": 17098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17095, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "5001:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17094, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5001:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17097, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17122, - "src": "5010:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17096, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5010:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5000:18:99" - }, - "scope": 17352, - "src": "4934:274:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17138, - "nodeType": "Block", - "src": "5435:72:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17133, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17125, - "src": "5457:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 17134, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17127, - "src": "5462:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 17135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5467:32:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", - "typeString": "literal_string \"EnumerableMap: nonexistent key\"" - }, - "value": "EnumerableMap: nonexistent key" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", - "typeString": "literal_string \"EnumerableMap: nonexistent key\"" - } - ], - "id": 17132, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17174, - "src": "5452:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" - } - }, - "id": 17136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5452:48:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17131, - "id": 17137, - "nodeType": "Return", - "src": "5445:55:99" - } - ] - }, - "documentation": { - "id": 17123, - "nodeType": "StructuredDocumentation", - "src": "5214:141:99", - "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." - }, - "id": 17139, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17125, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5374:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17124, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5374:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17127, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5391:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17126, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5391:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5373:30:99" - }, - "returnParameters": { - "id": 17131, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17130, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17139, - "src": "5426:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17129, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5426:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5425:9:99" - }, - "scope": 17352, - "src": "5360:147:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17173, - "nodeType": "Block", - "src": "5718:212:99", - "statements": [ - { - "assignments": [ - 17152 - ], - "declarations": [ - { - "constant": false, - "id": 17152, - "mutability": "mutable", - "name": "keyIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17173, - "src": "5728:16:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17151, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5728:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17157, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17153, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17142, - "src": "5747:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 16912, - "src": "5747:12:99", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17156, - "indexExpression": { - "argumentTypes": null, - "id": 17155, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17144, - "src": "5760:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5747:17:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5728:36:99" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17159, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17152, - "src": "5782:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5794:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5782:13:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 17162, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17146, - "src": "5797:12:99", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 17158, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5774:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5774:36:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17164, - "nodeType": "ExpressionStatement", - "src": "5774:36:99" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17165, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17142, - "src": "5863:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map storage pointer" - } - }, - "id": 17166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_entries", - "nodeType": "MemberAccess", - "referencedDeclaration": 16908, - "src": "5863:12:99", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$16905_storage_$dyn_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" - } - }, - "id": 17170, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17167, - "name": "keyIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17152, - "src": "5876:8:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5887:1:99", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "5876:12:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5863:26:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$16905_storage", - "typeString": "struct EnumerableMap.MapEntry storage ref" - } - }, - "id": 17171, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 16904, - "src": "5863:33:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17150, - "id": 17172, - "nodeType": "Return", - "src": "5856:40:99" - } - ] - }, - "documentation": { - "id": 17140, - "nodeType": "StructuredDocumentation", - "src": "5513:97:99", - "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map." - }, - "id": 17174, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17142, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5629:15:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17141, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5629:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17144, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5646:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5646:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17146, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5659:26:99", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17145, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5659:6:99", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5628:58:99" - }, - "returnParameters": { - "id": 17150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17149, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17174, - "src": "5709:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17148, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5709:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5708:9:99" - }, - "scope": 17352, - "src": "5615:315:99", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 17177, - "members": [ - { - "constant": false, - "id": 17176, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17177, - "src": "5995:10:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - }, - "typeName": { - "contractScope": null, - "id": 17175, - "name": "Map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16913, - "src": "5995:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage_ptr", - "typeString": "struct EnumerableMap.Map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "UintToAddressMap", - "nodeType": "StructDefinition", - "scope": 17352, - "src": "5961:51:99", - "visibility": "public" - }, - { - "body": { - "id": 17205, - "nodeType": "Block", - "src": "6334:79:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17190, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17180, - "src": "6356:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17191, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6356:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17194, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17182, - "src": "6376:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6368:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17192, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6368:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6368:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17200, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17184, - "src": "6398:5:99", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6390:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17198, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6390:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6390:14:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6382:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17196, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6382:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6382:23:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17189, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16975, - "src": "6351:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" - } - }, - "id": 17203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6351:55:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17188, - "id": 17204, - "nodeType": "Return", - "src": "6344:62:99" - } - ] - }, - "documentation": { - "id": 17178, - "nodeType": "StructuredDocumentation", - "src": "6018:216:99", - "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." - }, - "id": 17206, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17180, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6252:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17179, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6252:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17182, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6282:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6282:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17184, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6295:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6295:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6251:58:99" - }, - "returnParameters": { - "id": 17188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17187, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17206, - "src": "6328:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17186, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6328:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6327:6:99" - }, - "scope": 17352, - "src": "6239:174:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17225, - "nodeType": "Block", - "src": "6655:57:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17217, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17209, - "src": "6680:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6680:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17221, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17211, - "src": "6700:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6692:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17219, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6692:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6692:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17216, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17056, - "src": "6672:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" - } - }, - "id": 17223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6672:33:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17215, - "id": 17224, - "nodeType": "Return", - "src": "6665:40:99" - } - ] - }, - "documentation": { - "id": 17207, - "nodeType": "StructuredDocumentation", - "src": "6419:148:99", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." - }, - "id": 17226, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17209, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6588:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17208, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6588:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17211, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6618:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17210, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6618:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6587:43:99" - }, - "returnParameters": { - "id": 17215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17214, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17226, - "src": "6649:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17213, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6649:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6648:6:99" - }, - "scope": 17352, - "src": "6572:140:99", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17245, - "nodeType": "Block", - "src": "6881:59:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17237, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17229, - "src": "6908:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17238, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "6908:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17241, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17231, - "src": "6928:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6920:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17239, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6920:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6920:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17236, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17074, - "src": "6898:9:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6898:35:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17235, - "id": 17244, - "nodeType": "Return", - "src": "6891:42:99" - } - ] - }, - "documentation": { - "id": 17227, - "nodeType": "StructuredDocumentation", - "src": "6718:68:99", - "text": " @dev Returns true if the key is in the map. O(1)." - }, - "id": 17246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17229, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6809:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17228, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "6809:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17231, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6839:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6839:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6808:43:99" - }, - "returnParameters": { - "id": 17235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17234, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17246, - "src": "6875:4:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17233, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6875:4:99", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6874:6:99" - }, - "scope": 17352, - "src": "6791:149:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17259, - "nodeType": "Block", - "src": "7101:43:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17255, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17249, - "src": "7126:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17256, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7126:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - ], - "id": 17254, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17087, - "src": "7118:7:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" - } - }, - "id": 17257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7118:19:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17253, - "id": 17258, - "nodeType": "Return", - "src": "7111:26:99" - } - ] - }, - "documentation": { - "id": 17247, - "nodeType": "StructuredDocumentation", - "src": "6946:72:99", - "text": " @dev Returns the number of elements in the map. O(1)." - }, - "id": 17260, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17249, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17260, - "src": "7039:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17248, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7039:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7038:30:99" - }, - "returnParameters": { - "id": 17253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17260, - "src": "7092:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7092:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7091:9:99" - }, - "scope": 17352, - "src": "7023:121:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17295, - "nodeType": "Block", - "src": "7570:126:99", - "statements": [ - { - "assignments": [ - 17273, - 17275 - ], - "declarations": [ - { - "constant": false, - "id": 17273, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17295, - "src": "7581:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17272, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7581:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17275, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17295, - "src": "7594:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17274, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7594:7:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17281, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17277, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17263, - "src": "7615:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17278, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7615:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "id": 17279, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17265, - "src": "7627:5:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17276, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17122, - "src": "7611:3:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" - } - }, - "id": 17280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7611:22:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes32,bytes32)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:53:99" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17284, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17273, - "src": "7659:3:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7651:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17282, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7651:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7651:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17290, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17275, - "src": "7681:5:99", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7673:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7673:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7673:14:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7665:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7665:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7665:23:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "id": 17293, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7650:39:99", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", - "typeString": "tuple(uint256,address payable)" - } - }, - "functionReturnParameters": 17271, - "id": 17294, - "nodeType": "Return", - "src": "7643:46:99" - } - ] - }, - "documentation": { - "id": 17261, - "nodeType": "StructuredDocumentation", - "src": "7149:318:99", - "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17296, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17263, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7484:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17262, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7484:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17265, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7514:13:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7514:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7483:45:99" - }, - "returnParameters": { - "id": 17271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17268, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7552:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17267, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7552:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17270, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17296, - "src": "7561:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17269, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7561:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7551:18:99" - }, - "scope": 17352, - "src": "7472:224:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17321, - "nodeType": "Block", - "src": "7936:72:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17311, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17299, - "src": "7974:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "7974:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17315, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17301, - "src": "7994:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7986:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17313, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7986:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7986:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17310, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17139, - "src": "7969:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" - } - }, - "id": 17317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7969:30:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7961:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7961:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7961:39:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7953:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17306, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7953:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7953:48:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17305, - "id": 17320, - "nodeType": "Return", - "src": "7946:55:99" - } - ] - }, - "documentation": { - "id": 17297, - "nodeType": "StructuredDocumentation", - "src": "7702:141:99", - "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." - }, - "id": 17322, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17299, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7861:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17298, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "7861:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17301, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7891:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7891:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7860:43:99" - }, - "returnParameters": { - "id": 17305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17322, - "src": "7927:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17303, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7927:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7926:9:99" - }, - "scope": 17352, - "src": "7848:160:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17350, - "nodeType": "Block", - "src": "8231:86:99", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17339, - "name": "map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17325, - "src": "8269:3:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" - } - }, - "id": 17340, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17176, - "src": "8269:10:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17343, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17327, - "src": "8289:3:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8281:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17341, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8281:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8281:12:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 17345, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17329, - "src": "8295:12:99", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Map_$16913_storage", - "typeString": "struct EnumerableMap.Map storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 17338, - "name": "_get", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 17139, - 17174 - ], - "referencedDeclaration": 17174, - "src": "8264:4:99", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$16913_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" - } - }, - "id": 17346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8264:44:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8256:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8256:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8256:53:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8248:7:99", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8248:7:99", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8248:62:99", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17333, - "id": 17349, - "nodeType": "Return", - "src": "8241:69:99" - } - ] - }, - "documentation": { - "id": 17323, - "nodeType": "StructuredDocumentation", - "src": "8014:96:99", - "text": " @dev Same as {get}, with a custom error message when `key` is not in the map." - }, - "id": 17351, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17325, - "mutability": "mutable", - "name": "map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8128:28:99", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - }, - "typeName": { - "contractScope": null, - "id": 17324, - "name": "UintToAddressMap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17177, - "src": "8128:16:99", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$17177_storage_ptr", - "typeString": "struct EnumerableMap.UintToAddressMap" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17327, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8158:11:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8158:7:99", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17329, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8171:26:99", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17328, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8171:6:99", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8127:71:99" - }, - "returnParameters": { - "id": 17333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17332, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17351, - "src": "8222:7:99", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8222:7:99", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8221:9:99" - }, - "scope": 17352, - "src": "8115:202:99", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17353, - "src": "764:7555:99" - } - ], - "src": "33:8287:99" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.915Z", - "devdoc": { - "details": "Library for managing an enumerable variant of Solidity's https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] type. Maps have the following properties: - Entries are added, removed, and checked for existence in constant time (O(1)). - Entries are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableMap for EnumerableMap.UintToAddressMap; // Declare a set state variable EnumerableMap.UintToAddressMap private myMap; } ``` As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are supported.", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/EnumerableSet.json b/build/contracts/EnumerableSet.json deleted file mode 100644 index 82ccb8b1f..000000000 --- a/build/contracts/EnumerableSet.json +++ /dev/null @@ -1,10170 +0,0 @@ -{ - "contractName": "EnumerableSet", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/EnumerableSet.sol\":\"EnumerableSet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122024d916dc4c465deaa8f603624ec37ed2ca70b24234aaaba8d1d81201a642d24364736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122024d916dc4c465deaa8f603624ec37ed2ca70b24234aaaba8d1d81201a642d24364736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "724:7062:100:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "724:7062:100:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`\n * (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(value)));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(value)));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(value)));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint256(_at(set._inner, index)));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "exportedSymbols": { - "EnumerableSet": [ - 17747 - ] - }, - "id": 17748, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17354, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:100" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 17355, - "nodeType": "StructuredDocumentation", - "src": "58:665:100", - "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`\n (`UintSet`) are supported." - }, - "fullyImplemented": true, - "id": 17747, - "linearizedBaseContracts": [ - 17747 - ], - "name": "EnumerableSet", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "EnumerableSet.Set", - "id": 17363, - "members": [ - { - "constant": false, - "id": 17358, - "mutability": "mutable", - "name": "_values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17363, - "src": "1246:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 17356, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1246:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 17357, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1246:9:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17362, - "mutability": "mutable", - "name": "_indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17363, - "src": "1397:37:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 17361, - "keyType": { - "id": 17359, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1406:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1397:28:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 17360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1417:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Set", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "1192:249:100", - "visibility": "public" - }, - { - "body": { - "id": 17403, - "nodeType": "Block", - "src": "1680:335:100", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 17377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "1694:22:100", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17374, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1705:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 17375, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1710:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17373, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "1695:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1695:21:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17401, - "nodeType": "Block", - "src": "1972:37:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1993:5:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 17372, - "id": 17400, - "nodeType": "Return", - "src": "1986:12:100" - } - ] - }, - "id": 17402, - "nodeType": "IfStatement", - "src": "1690:319:100", - "trueBody": { - "id": 17398, - "nodeType": "Block", - "src": "1718:248:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17383, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1749:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17378, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1732:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "1732:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1732:16:100", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 17384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1732:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17385, - "nodeType": "ExpressionStatement", - "src": "1732:23:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17386, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1890:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17389, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "1890:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17390, - "indexExpression": { - "argumentTypes": null, - "id": 17388, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1903:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1890:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17391, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1912:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17392, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "1912:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1912:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1890:40:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17395, - "nodeType": "ExpressionStatement", - "src": "1890:40:100" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1951:4:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 17372, - "id": 17397, - "nodeType": "Return", - "src": "1944:11:100" - } - ] - } - } - ] - }, - "documentation": { - "id": 17364, - "nodeType": "StructuredDocumentation", - "src": "1447:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17404, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17366, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1625:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17365, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "1625:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17368, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1642:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17367, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1642:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1624:32:100" - }, - "returnParameters": { - "id": 17372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17371, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1674:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1674:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:6:100" - }, - "scope": 17747, - "src": "1611:404:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17483, - "nodeType": "Block", - "src": "2255:1440:100", - "statements": [ - { - "assignments": [ - 17415 - ], - "declarations": [ - { - "constant": false, - "id": 17415, - "mutability": "mutable", - "name": "valueIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17483, - "src": "2365:18:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17414, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2365:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17420, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17416, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "2386:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "2386:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17419, - "indexExpression": { - "argumentTypes": null, - "id": 17418, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17409, - "src": "2399:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2386:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2365:40:100" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17421, - "name": "valueIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17415, - "src": "2420:10:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2420:15:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17481, - "nodeType": "Block", - "src": "3652:37:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3673:5:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 17413, - "id": 17480, - "nodeType": "Return", - "src": "3666:12:100" - } - ] - }, - "id": 17482, - "nodeType": "IfStatement", - "src": "2416:1273:100", - "trueBody": { - "id": 17478, - "nodeType": "Block", - "src": "2437:1209:100", - "statements": [ - { - "assignments": [ - 17425 - ], - "declarations": [ - { - "constant": false, - "id": 17425, - "mutability": "mutable", - "name": "toDeleteIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "2777:21:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17424, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2777:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17429, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17426, - "name": "valueIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17415, - "src": "2801:10:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2814:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2801:14:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2777:38:100" - }, - { - "assignments": [ - 17431 - ], - "declarations": [ - { - "constant": false, - "id": 17431, - "mutability": "mutable", - "name": "lastIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "2829:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17430, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2829:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17437, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17432, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "2849:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17433, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "2849:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2849:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2870:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2849:22:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2829:42:100" - }, - { - "assignments": [ - 17439 - ], - "declarations": [ - { - "constant": false, - "id": 17439, - "mutability": "mutable", - "name": "lastvalue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "3111:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17438, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3111:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17444, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17440, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3131:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3131:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17443, - "indexExpression": { - "argumentTypes": null, - "id": 17442, - "name": "lastIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17431, - "src": "3143:9:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3131:22:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3111:42:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17445, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3245:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3245:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17449, - "indexExpression": { - "argumentTypes": null, - "id": 17447, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17425, - "src": "3257:13:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3245:26:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17450, - "name": "lastvalue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17439, - "src": "3274:9:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3245:38:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 17452, - "nodeType": "ExpressionStatement", - "src": "3245:38:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17453, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3349:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3349:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17457, - "indexExpression": { - "argumentTypes": null, - "id": 17455, - "name": "lastvalue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17439, - "src": "3362:9:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3349:23:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17458, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17425, - "src": "3375:13:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3391:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3375:17:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3349:43:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17462, - "nodeType": "ExpressionStatement", - "src": "3349:43:100" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17463, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3498:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3498:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3498:15:100", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 17468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3498:17:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17469, - "nodeType": "ExpressionStatement", - "src": "3498:17:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "3583:26:100", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17470, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3590:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17471, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3590:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17473, - "indexExpression": { - "argumentTypes": null, - "id": 17472, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17409, - "src": "3603:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3590:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17475, - "nodeType": "ExpressionStatement", - "src": "3583:26:100" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3631:4:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 17413, - "id": 17477, - "nodeType": "Return", - "src": "3624:11:100" - } - ] - } - } - ] - }, - "documentation": { - "id": 17405, - "nodeType": "StructuredDocumentation", - "src": "2021:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17484, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17407, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2200:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17406, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "2200:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17409, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2217:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17408, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2217:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2199:32:100" - }, - "returnParameters": { - "id": 17413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17412, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2249:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17411, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2249:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2248:6:100" - }, - "scope": 17747, - "src": "2183:1512:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17501, - "nodeType": "Block", - "src": "3855:48:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17494, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17487, - "src": "3872:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17495, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3872:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17497, - "indexExpression": { - "argumentTypes": null, - "id": 17496, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17489, - "src": "3885:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3872:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3895:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3872:24:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17493, - "id": 17500, - "nodeType": "Return", - "src": "3865:31:100" - } - ] - }, - "documentation": { - "id": 17485, - "nodeType": "StructuredDocumentation", - "src": "3701:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17502, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17487, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3795:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17486, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "3795:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17489, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3812:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17488, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3812:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3794:32:100" - }, - "returnParameters": { - "id": 17493, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17492, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3849:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17491, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3849:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3848:6:100" - }, - "scope": 17747, - "src": "3776:127:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17514, - "nodeType": "Block", - "src": "4049:42:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17510, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17505, - "src": "4066:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17511, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4066:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4066:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17509, - "id": 17513, - "nodeType": "Return", - "src": "4059:25:100" - } - ] - }, - "documentation": { - "id": 17503, - "nodeType": "StructuredDocumentation", - "src": "3909:70:100", - "text": " @dev Returns the number of values on the set. O(1)." - }, - "id": 17515, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17505, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17515, - "src": "4001:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17504, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4001:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4000:17:100" - }, - "returnParameters": { - "id": 17509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17508, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17515, - "src": "4040:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17507, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4040:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4039:9:100" - }, - "scope": 17747, - "src": "3984:107:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17539, - "nodeType": "Block", - "src": "4499:125:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17526, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17518, - "src": "4517:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17527, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4517:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4517:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 17529, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17520, - "src": "4538:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4517:26:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 17531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4545:36:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", - "typeString": "literal_string \"EnumerableSet: index out of bounds\"" - }, - "value": "EnumerableSet: index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", - "typeString": "literal_string \"EnumerableSet: index out of bounds\"" - } - ], - "id": 17525, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4509:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4509:73:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17533, - "nodeType": "ExpressionStatement", - "src": "4509:73:100" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17534, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17518, - "src": "4599:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17535, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4599:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17537, - "indexExpression": { - "argumentTypes": null, - "id": 17536, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17520, - "src": "4611:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4599:18:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17524, - "id": 17538, - "nodeType": "Return", - "src": "4592:25:100" - } - ] - }, - "documentation": { - "id": 17516, - "nodeType": "StructuredDocumentation", - "src": "4096:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17540, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17518, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4436:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17517, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4436:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17520, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4453:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17519, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4453:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4435:32:100" - }, - "returnParameters": { - "id": 17524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17523, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4490:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17522, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4490:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4489:9:100" - }, - "scope": 17747, - "src": "4423:201:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "canonicalName": "EnumerableSet.AddressSet", - "id": 17543, - "members": [ - { - "constant": false, - "id": 17542, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17543, - "src": "4677:10:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17541, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4677:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AddressSet", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "4649:45:100", - "visibility": "public" - }, - { - "body": { - "id": 17565, - "nodeType": "Block", - "src": "4940:65:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17554, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17546, - "src": "4962:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17555, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "4962:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17560, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17548, - "src": "4990:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4982:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17558, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4982:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4982:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4974:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17556, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4974:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4974:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17553, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17404, - "src": "4957:4:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:41:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17552, - "id": 17564, - "nodeType": "Return", - "src": "4950:48:100" - } - ] - }, - "documentation": { - "id": 17544, - "nodeType": "StructuredDocumentation", - "src": "4700:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17566, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17546, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4877:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17545, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "4877:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17548, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4901:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17547, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4901:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4876:39:100" - }, - "returnParameters": { - "id": 17552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17551, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4934:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17550, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4934:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4933:6:100" - }, - "scope": 17747, - "src": "4864:141:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17588, - "nodeType": "Block", - "src": "5252:68:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17577, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17569, - "src": "5277:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17578, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5277:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17583, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17571, - "src": "5305:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5297:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17581, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5297:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5297:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17580, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5289:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17579, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5289:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5289:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17576, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17484, - "src": "5269:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5269:44:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17575, - "id": 17587, - "nodeType": "Return", - "src": "5262:51:100" - } - ] - }, - "documentation": { - "id": 17567, - "nodeType": "StructuredDocumentation", - "src": "5011:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17589, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17569, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5189:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17568, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5189:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17571, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5213:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5213:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5188:39:100" - }, - "returnParameters": { - "id": 17575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17574, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5246:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17573, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5246:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5245:6:100" - }, - "scope": 17747, - "src": "5173:147:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17611, - "nodeType": "Block", - "src": "5487:70:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17600, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17592, - "src": "5514:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5514:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17606, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17594, - "src": "5542:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5534:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17604, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5534:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5534:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5526:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17602, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5526:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5526:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17599, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "5504:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5504:46:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17598, - "id": 17610, - "nodeType": "Return", - "src": "5497:53:100" - } - ] - }, - "documentation": { - "id": 17590, - "nodeType": "StructuredDocumentation", - "src": "5326:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17612, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17592, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5419:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17591, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5419:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17594, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5443:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17593, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5443:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5418:39:100" - }, - "returnParameters": { - "id": 17598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17597, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5481:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5481:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5480:6:100" - }, - "scope": 17747, - "src": "5401:156:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17625, - "nodeType": "Block", - "src": "5710:43:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17621, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17615, - "src": "5735:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5735:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - ], - "id": 17620, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17515, - "src": "5727:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" - } - }, - "id": 17623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5727:19:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17619, - "id": 17624, - "nodeType": "Return", - "src": "5720:26:100" - } - ] - }, - "documentation": { - "id": 17613, - "nodeType": "StructuredDocumentation", - "src": "5563:70:100", - "text": " @dev Returns the number of values in the set. O(1)." - }, - "id": 17626, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17615, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17626, - "src": "5654:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17614, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5654:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5653:24:100" - }, - "returnParameters": { - "id": 17619, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17618, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17626, - "src": "5701:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17617, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5701:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5700:9:100" - }, - "scope": 17747, - "src": "5638:115:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17648, - "nodeType": "Block", - "src": "6168:64:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17641, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17629, - "src": "6205:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "6205:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "id": 17643, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17631, - "src": "6217:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17640, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17540, - "src": "6201:3:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" - } - }, - "id": 17644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6201:22:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6193:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6193:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6193:31:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6185:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17636, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6185:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6185:40:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17635, - "id": 17647, - "nodeType": "Return", - "src": "6178:47:100" - } - ] - }, - "documentation": { - "id": 17627, - "nodeType": "StructuredDocumentation", - "src": "5758:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17649, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17632, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17629, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6097:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17628, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "6097:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17631, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6121:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17630, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6121:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6096:39:100" - }, - "returnParameters": { - "id": 17635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17634, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6159:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17633, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6159:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6158:9:100" - }, - "scope": 17747, - "src": "6085:147:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "canonicalName": "EnumerableSet.UintSet", - "id": 17652, - "members": [ - { - "constant": false, - "id": 17651, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17652, - "src": "6280:10:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17650, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "6280:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "UintSet", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "6255:42:100", - "visibility": "public" - }, - { - "body": { - "id": 17671, - "nodeType": "Block", - "src": "6540:56:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17663, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17655, - "src": "6562:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17664, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "6562:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17667, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17657, - "src": "6582:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6574:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17665, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6574:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6574:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17662, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17404, - "src": "6557:4:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6557:32:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17661, - "id": 17670, - "nodeType": "Return", - "src": "6550:39:100" - } - ] - }, - "documentation": { - "id": 17653, - "nodeType": "StructuredDocumentation", - "src": "6303:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17672, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17655, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6480:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17654, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6480:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17657, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6501:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6501:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6479:36:100" - }, - "returnParameters": { - "id": 17661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17660, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6534:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17659, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6534:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6533:6:100" - }, - "scope": 17747, - "src": "6467:129:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17691, - "nodeType": "Block", - "src": "6840:59:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17683, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17675, - "src": "6865:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "6865:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17687, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17677, - "src": "6885:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6877:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17685, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6877:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6877:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17682, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17484, - "src": "6857:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6857:35:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17681, - "id": 17690, - "nodeType": "Return", - "src": "6850:42:100" - } - ] - }, - "documentation": { - "id": 17673, - "nodeType": "StructuredDocumentation", - "src": "6602:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17692, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17678, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17675, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6780:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17674, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6780:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17677, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6801:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17676, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6801:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6779:36:100" - }, - "returnParameters": { - "id": 17681, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17680, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6834:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17679, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6834:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6833:6:100" - }, - "scope": 17747, - "src": "6764:135:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17711, - "nodeType": "Block", - "src": "7063:61:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17703, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17695, - "src": "7090:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17704, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7090:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17707, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17697, - "src": "7110:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7102:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17705, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7102:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7102:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17702, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "7080:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7080:37:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17701, - "id": 17710, - "nodeType": "Return", - "src": "7073:44:100" - } - ] - }, - "documentation": { - "id": 17693, - "nodeType": "StructuredDocumentation", - "src": "6905:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17712, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17695, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "6998:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17694, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6998:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17697, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "7019:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17696, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7019:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6997:36:100" - }, - "returnParameters": { - "id": 17701, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17700, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "7057:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17699, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7057:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7056:6:100" - }, - "scope": 17747, - "src": "6980:144:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17725, - "nodeType": "Block", - "src": "7274:43:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17721, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17715, - "src": "7299:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17722, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7299:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - ], - "id": 17720, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17515, - "src": "7291:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" - } - }, - "id": 17723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7291:19:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17719, - "id": 17724, - "nodeType": "Return", - "src": "7284:26:100" - } - ] - }, - "documentation": { - "id": 17713, - "nodeType": "StructuredDocumentation", - "src": "7130:70:100", - "text": " @dev Returns the number of values on the set. O(1)." - }, - "id": 17726, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17715, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17726, - "src": "7221:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17714, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "7221:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7220:21:100" - }, - "returnParameters": { - "id": 17719, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17718, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17726, - "src": "7265:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17717, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7265:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7264:9:100" - }, - "scope": 17747, - "src": "7205:112:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17745, - "nodeType": "Block", - "src": "7729:55:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17739, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17729, - "src": "7758:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7758:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "id": 17741, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17731, - "src": "7770:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17738, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17540, - "src": "7754:3:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" - } - }, - "id": 17742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7754:22:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7746:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7746:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7746:31:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17735, - "id": 17744, - "nodeType": "Return", - "src": "7739:38:100" - } - ] - }, - "documentation": { - "id": 17727, - "nodeType": "StructuredDocumentation", - "src": "7322:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17746, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17729, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7661:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17728, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "7661:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17731, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7682:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7682:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7660:36:100" - }, - "returnParameters": { - "id": 17735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17734, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7720:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17733, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7720:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7719:9:100" - }, - "scope": 17747, - "src": "7649:135:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17748, - "src": "724:7062:100" - } - ], - "src": "33:7754:100" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/utils/EnumerableSet.sol", - "exportedSymbols": { - "EnumerableSet": [ - 17747 - ] - }, - "id": 17748, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17354, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:100" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 17355, - "nodeType": "StructuredDocumentation", - "src": "58:665:100", - "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`\n (`UintSet`) are supported." - }, - "fullyImplemented": true, - "id": 17747, - "linearizedBaseContracts": [ - 17747 - ], - "name": "EnumerableSet", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "EnumerableSet.Set", - "id": 17363, - "members": [ - { - "constant": false, - "id": 17358, - "mutability": "mutable", - "name": "_values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17363, - "src": "1246:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 17356, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1246:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 17357, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1246:9:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17362, - "mutability": "mutable", - "name": "_indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17363, - "src": "1397:37:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 17361, - "keyType": { - "id": 17359, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1406:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1397:28:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 17360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1417:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Set", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "1192:249:100", - "visibility": "public" - }, - { - "body": { - "id": 17403, - "nodeType": "Block", - "src": "1680:335:100", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 17377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "1694:22:100", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17374, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1705:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 17375, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1710:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17373, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "1695:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1695:21:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17401, - "nodeType": "Block", - "src": "1972:37:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1993:5:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 17372, - "id": 17400, - "nodeType": "Return", - "src": "1986:12:100" - } - ] - }, - "id": 17402, - "nodeType": "IfStatement", - "src": "1690:319:100", - "trueBody": { - "id": 17398, - "nodeType": "Block", - "src": "1718:248:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17383, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1749:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17378, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1732:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "1732:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1732:16:100", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 17384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1732:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17385, - "nodeType": "ExpressionStatement", - "src": "1732:23:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17386, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1890:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17389, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "1890:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17390, - "indexExpression": { - "argumentTypes": null, - "id": 17388, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17368, - "src": "1903:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1890:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17391, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17366, - "src": "1912:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17392, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "1912:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1912:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1890:40:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17395, - "nodeType": "ExpressionStatement", - "src": "1890:40:100" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1951:4:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 17372, - "id": 17397, - "nodeType": "Return", - "src": "1944:11:100" - } - ] - } - } - ] - }, - "documentation": { - "id": 17364, - "nodeType": "StructuredDocumentation", - "src": "1447:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17404, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17366, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1625:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17365, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "1625:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17368, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1642:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17367, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1642:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1624:32:100" - }, - "returnParameters": { - "id": 17372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17371, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17404, - "src": "1674:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1674:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:6:100" - }, - "scope": 17747, - "src": "1611:404:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17483, - "nodeType": "Block", - "src": "2255:1440:100", - "statements": [ - { - "assignments": [ - 17415 - ], - "declarations": [ - { - "constant": false, - "id": 17415, - "mutability": "mutable", - "name": "valueIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17483, - "src": "2365:18:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17414, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2365:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17420, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17416, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "2386:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "2386:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17419, - "indexExpression": { - "argumentTypes": null, - "id": 17418, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17409, - "src": "2399:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2386:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2365:40:100" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17421, - "name": "valueIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17415, - "src": "2420:10:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2420:15:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 17481, - "nodeType": "Block", - "src": "3652:37:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 17479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3673:5:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 17413, - "id": 17480, - "nodeType": "Return", - "src": "3666:12:100" - } - ] - }, - "id": 17482, - "nodeType": "IfStatement", - "src": "2416:1273:100", - "trueBody": { - "id": 17478, - "nodeType": "Block", - "src": "2437:1209:100", - "statements": [ - { - "assignments": [ - 17425 - ], - "declarations": [ - { - "constant": false, - "id": 17425, - "mutability": "mutable", - "name": "toDeleteIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "2777:21:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17424, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2777:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17429, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17426, - "name": "valueIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17415, - "src": "2801:10:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2814:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2801:14:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2777:38:100" - }, - { - "assignments": [ - 17431 - ], - "declarations": [ - { - "constant": false, - "id": 17431, - "mutability": "mutable", - "name": "lastIndex", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "2829:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17430, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2829:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17437, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17432, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "2849:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17433, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "2849:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2849:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2870:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2849:22:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2829:42:100" - }, - { - "assignments": [ - 17439 - ], - "declarations": [ - { - "constant": false, - "id": 17439, - "mutability": "mutable", - "name": "lastvalue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17478, - "src": "3111:17:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17438, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3111:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17444, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17440, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3131:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3131:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17443, - "indexExpression": { - "argumentTypes": null, - "id": 17442, - "name": "lastIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17431, - "src": "3143:9:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3131:22:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3111:42:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17445, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3245:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3245:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17449, - "indexExpression": { - "argumentTypes": null, - "id": 17447, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17425, - "src": "3257:13:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3245:26:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17450, - "name": "lastvalue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17439, - "src": "3274:9:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3245:38:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 17452, - "nodeType": "ExpressionStatement", - "src": "3245:38:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17453, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3349:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3349:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17457, - "indexExpression": { - "argumentTypes": null, - "id": 17455, - "name": "lastvalue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17439, - "src": "3362:9:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3349:23:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17458, - "name": "toDeleteIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17425, - "src": "3375:13:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3391:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3375:17:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3349:43:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17462, - "nodeType": "ExpressionStatement", - "src": "3349:43:100" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17463, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3498:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "3498:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3498:15:100", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 17468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3498:17:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17469, - "nodeType": "ExpressionStatement", - "src": "3498:17:100" - }, - { - "expression": { - "argumentTypes": null, - "id": 17474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "3583:26:100", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17470, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17407, - "src": "3590:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17471, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3590:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17473, - "indexExpression": { - "argumentTypes": null, - "id": 17472, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17409, - "src": "3603:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3590:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17475, - "nodeType": "ExpressionStatement", - "src": "3583:26:100" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 17476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3631:4:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 17413, - "id": 17477, - "nodeType": "Return", - "src": "3624:11:100" - } - ] - } - } - ] - }, - "documentation": { - "id": 17405, - "nodeType": "StructuredDocumentation", - "src": "2021:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17484, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17407, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2200:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17406, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "2200:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17409, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2217:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17408, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2217:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2199:32:100" - }, - "returnParameters": { - "id": 17413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17412, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17484, - "src": "2249:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17411, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2249:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2248:6:100" - }, - "scope": 17747, - "src": "2183:1512:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17501, - "nodeType": "Block", - "src": "3855:48:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17494, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17487, - "src": "3872:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17495, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 17362, - "src": "3872:12:100", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 17497, - "indexExpression": { - "argumentTypes": null, - "id": 17496, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17489, - "src": "3885:5:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3872:19:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3895:1:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3872:24:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17493, - "id": 17500, - "nodeType": "Return", - "src": "3865:31:100" - } - ] - }, - "documentation": { - "id": 17485, - "nodeType": "StructuredDocumentation", - "src": "3701:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17502, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17487, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3795:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17486, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "3795:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17489, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3812:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17488, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3812:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3794:32:100" - }, - "returnParameters": { - "id": 17493, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17492, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17502, - "src": "3849:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17491, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3849:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3848:6:100" - }, - "scope": 17747, - "src": "3776:127:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17514, - "nodeType": "Block", - "src": "4049:42:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17510, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17505, - "src": "4066:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17511, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4066:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4066:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17509, - "id": 17513, - "nodeType": "Return", - "src": "4059:25:100" - } - ] - }, - "documentation": { - "id": 17503, - "nodeType": "StructuredDocumentation", - "src": "3909:70:100", - "text": " @dev Returns the number of values on the set. O(1)." - }, - "id": 17515, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17505, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17515, - "src": "4001:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17504, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4001:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4000:17:100" - }, - "returnParameters": { - "id": 17509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17508, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17515, - "src": "4040:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17507, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4040:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4039:9:100" - }, - "scope": 17747, - "src": "3984:107:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 17539, - "nodeType": "Block", - "src": "4499:125:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17526, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17518, - "src": "4517:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17527, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4517:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4517:18:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 17529, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17520, - "src": "4538:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4517:26:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 17531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4545:36:100", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", - "typeString": "literal_string \"EnumerableSet: index out of bounds\"" - }, - "value": "EnumerableSet: index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", - "typeString": "literal_string \"EnumerableSet: index out of bounds\"" - } - ], - "id": 17525, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4509:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 17532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4509:73:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17533, - "nodeType": "ExpressionStatement", - "src": "4509:73:100" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17534, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17518, - "src": "4599:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set storage pointer" - } - }, - "id": 17535, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_values", - "nodeType": "MemberAccess", - "referencedDeclaration": 17358, - "src": "4599:11:100", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 17537, - "indexExpression": { - "argumentTypes": null, - "id": 17536, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17520, - "src": "4611:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4599:18:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 17524, - "id": 17538, - "nodeType": "Return", - "src": "4592:25:100" - } - ] - }, - "documentation": { - "id": 17516, - "nodeType": "StructuredDocumentation", - "src": "4096:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17540, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17518, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4436:15:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17517, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4436:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17520, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4453:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17519, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4453:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4435:32:100" - }, - "returnParameters": { - "id": 17524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17523, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17540, - "src": "4490:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17522, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4490:7:100", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4489:9:100" - }, - "scope": 17747, - "src": "4423:201:100", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "canonicalName": "EnumerableSet.AddressSet", - "id": 17543, - "members": [ - { - "constant": false, - "id": 17542, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17543, - "src": "4677:10:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17541, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "4677:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AddressSet", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "4649:45:100", - "visibility": "public" - }, - { - "body": { - "id": 17565, - "nodeType": "Block", - "src": "4940:65:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17554, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17546, - "src": "4962:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17555, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "4962:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17560, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17548, - "src": "4990:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4982:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17558, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4982:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4982:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4974:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17556, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4974:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4974:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17553, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17404, - "src": "4957:4:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:41:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17552, - "id": 17564, - "nodeType": "Return", - "src": "4950:48:100" - } - ] - }, - "documentation": { - "id": 17544, - "nodeType": "StructuredDocumentation", - "src": "4700:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17566, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17546, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4877:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17545, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "4877:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17548, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4901:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17547, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4901:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4876:39:100" - }, - "returnParameters": { - "id": 17552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17551, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17566, - "src": "4934:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17550, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4934:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4933:6:100" - }, - "scope": 17747, - "src": "4864:141:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17588, - "nodeType": "Block", - "src": "5252:68:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17577, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17569, - "src": "5277:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17578, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5277:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17583, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17571, - "src": "5305:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5297:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17581, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5297:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5297:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17580, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5289:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17579, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5289:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5289:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17576, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17484, - "src": "5269:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5269:44:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17575, - "id": 17587, - "nodeType": "Return", - "src": "5262:51:100" - } - ] - }, - "documentation": { - "id": 17567, - "nodeType": "StructuredDocumentation", - "src": "5011:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17589, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17569, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5189:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17568, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5189:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17571, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5213:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5213:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5188:39:100" - }, - "returnParameters": { - "id": 17575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17574, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17589, - "src": "5246:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17573, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5246:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5245:6:100" - }, - "scope": 17747, - "src": "5173:147:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17611, - "nodeType": "Block", - "src": "5487:70:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17600, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17592, - "src": "5514:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5514:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17606, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17594, - "src": "5542:5:100", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 17605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5534:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17604, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5534:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5534:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5526:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17602, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5526:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5526:23:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17599, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "5504:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5504:46:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17598, - "id": 17610, - "nodeType": "Return", - "src": "5497:53:100" - } - ] - }, - "documentation": { - "id": 17590, - "nodeType": "StructuredDocumentation", - "src": "5326:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17612, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17592, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5419:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17591, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5419:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17594, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5443:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17593, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5443:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5418:39:100" - }, - "returnParameters": { - "id": 17598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17597, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17612, - "src": "5481:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5481:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5480:6:100" - }, - "scope": 17747, - "src": "5401:156:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17625, - "nodeType": "Block", - "src": "5710:43:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17621, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17615, - "src": "5735:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "5735:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - ], - "id": 17620, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17515, - "src": "5727:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" - } - }, - "id": 17623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5727:19:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17619, - "id": 17624, - "nodeType": "Return", - "src": "5720:26:100" - } - ] - }, - "documentation": { - "id": 17613, - "nodeType": "StructuredDocumentation", - "src": "5563:70:100", - "text": " @dev Returns the number of values in the set. O(1)." - }, - "id": 17626, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17615, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17626, - "src": "5654:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17614, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "5654:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5653:24:100" - }, - "returnParameters": { - "id": 17619, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17618, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17626, - "src": "5701:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17617, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5701:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5700:9:100" - }, - "scope": 17747, - "src": "5638:115:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17648, - "nodeType": "Block", - "src": "6168:64:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17641, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17629, - "src": "6205:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet storage pointer" - } - }, - "id": 17642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17542, - "src": "6205:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "id": 17643, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17631, - "src": "6217:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17640, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17540, - "src": "6201:3:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" - } - }, - "id": 17644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6201:22:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6193:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6193:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6193:31:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6185:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 17636, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6185:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6185:40:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 17635, - "id": 17647, - "nodeType": "Return", - "src": "6178:47:100" - } - ] - }, - "documentation": { - "id": 17627, - "nodeType": "StructuredDocumentation", - "src": "5758:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17649, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17632, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17629, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6097:22:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - }, - "typeName": { - "contractScope": null, - "id": 17628, - "name": "AddressSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17543, - "src": "6097:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$17543_storage_ptr", - "typeString": "struct EnumerableSet.AddressSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17631, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6121:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17630, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6121:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6096:39:100" - }, - "returnParameters": { - "id": 17635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17634, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17649, - "src": "6159:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17633, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6159:7:100", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6158:9:100" - }, - "scope": 17747, - "src": "6085:147:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "canonicalName": "EnumerableSet.UintSet", - "id": 17652, - "members": [ - { - "constant": false, - "id": 17651, - "mutability": "mutable", - "name": "_inner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17652, - "src": "6280:10:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - }, - "typeName": { - "contractScope": null, - "id": 17650, - "name": "Set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17363, - "src": "6280:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage_ptr", - "typeString": "struct EnumerableSet.Set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "UintSet", - "nodeType": "StructDefinition", - "scope": 17747, - "src": "6255:42:100", - "visibility": "public" - }, - { - "body": { - "id": 17671, - "nodeType": "Block", - "src": "6540:56:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17663, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17655, - "src": "6562:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17664, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "6562:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17667, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17657, - "src": "6582:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6574:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17665, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6574:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6574:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17662, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17404, - "src": "6557:4:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6557:32:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17661, - "id": 17670, - "nodeType": "Return", - "src": "6550:39:100" - } - ] - }, - "documentation": { - "id": 17653, - "nodeType": "StructuredDocumentation", - "src": "6303:159:100", - "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." - }, - "id": 17672, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17655, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6480:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17654, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6480:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17657, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6501:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6501:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6479:36:100" - }, - "returnParameters": { - "id": 17661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17660, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17672, - "src": "6534:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17659, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6534:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6533:6:100" - }, - "scope": 17747, - "src": "6467:129:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17691, - "nodeType": "Block", - "src": "6840:59:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17683, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17675, - "src": "6865:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "6865:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17687, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17677, - "src": "6885:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6877:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17685, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6877:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6877:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17682, - "name": "_remove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17484, - "src": "6857:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" - } - }, - "id": 17689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6857:35:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17681, - "id": 17690, - "nodeType": "Return", - "src": "6850:42:100" - } - ] - }, - "documentation": { - "id": 17673, - "nodeType": "StructuredDocumentation", - "src": "6602:157:100", - "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." - }, - "id": 17692, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17678, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17675, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6780:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17674, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6780:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17677, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6801:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17676, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6801:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6779:36:100" - }, - "returnParameters": { - "id": 17681, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17680, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17692, - "src": "6834:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17679, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6834:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6833:6:100" - }, - "scope": 17747, - "src": "6764:135:100", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17711, - "nodeType": "Block", - "src": "7063:61:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17703, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17695, - "src": "7090:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17704, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7090:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17707, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17697, - "src": "7110:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7102:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 17705, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7102:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7102:14:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17702, - "name": "_contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17502, - "src": "7080:9:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" - } - }, - "id": 17709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7080:37:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 17701, - "id": 17710, - "nodeType": "Return", - "src": "7073:44:100" - } - ] - }, - "documentation": { - "id": 17693, - "nodeType": "StructuredDocumentation", - "src": "6905:70:100", - "text": " @dev Returns true if the value is in the set. O(1)." - }, - "id": 17712, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17695, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "6998:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17694, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "6998:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17697, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "7019:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17696, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7019:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6997:36:100" - }, - "returnParameters": { - "id": 17701, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17700, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17712, - "src": "7057:4:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17699, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7057:4:100", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7056:6:100" - }, - "scope": 17747, - "src": "6980:144:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17725, - "nodeType": "Block", - "src": "7274:43:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17721, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17715, - "src": "7299:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17722, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7299:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - ], - "id": 17720, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17515, - "src": "7291:7:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" - } - }, - "id": 17723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7291:19:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17719, - "id": 17724, - "nodeType": "Return", - "src": "7284:26:100" - } - ] - }, - "documentation": { - "id": 17713, - "nodeType": "StructuredDocumentation", - "src": "7130:70:100", - "text": " @dev Returns the number of values on the set. O(1)." - }, - "id": 17726, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17715, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17726, - "src": "7221:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17714, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "7221:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7220:21:100" - }, - "returnParameters": { - "id": 17719, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17718, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17726, - "src": "7265:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17717, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7265:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7264:9:100" - }, - "scope": 17747, - "src": "7205:112:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 17745, - "nodeType": "Block", - "src": "7729:55:100", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 17739, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17729, - "src": "7758:3:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet storage pointer" - } - }, - "id": 17740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "_inner", - "nodeType": "MemberAccess", - "referencedDeclaration": 17651, - "src": "7758:10:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - } - }, - { - "argumentTypes": null, - "id": 17741, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17731, - "src": "7770:5:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Set_$17363_storage", - "typeString": "struct EnumerableSet.Set storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17738, - "name": "_at", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17540, - "src": "7754:3:100", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$17363_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" - } - }, - "id": 17742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7754:22:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 17737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7746:7:100", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 17736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7746:7:100", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7746:31:100", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 17735, - "id": 17744, - "nodeType": "Return", - "src": "7739:38:100" - } - ] - }, - "documentation": { - "id": 17727, - "nodeType": "StructuredDocumentation", - "src": "7322:322:100", - "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." - }, - "id": 17746, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17729, - "mutability": "mutable", - "name": "set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7661:19:100", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - }, - "typeName": { - "contractScope": null, - "id": 17728, - "name": "UintSet", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 17652, - "src": "7661:7:100", - "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$17652_storage_ptr", - "typeString": "struct EnumerableSet.UintSet" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17731, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7682:13:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7682:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7660:36:100" - }, - "returnParameters": { - "id": 17735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17734, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17746, - "src": "7720:7:100", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17733, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7720:7:100", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7719:9:100" - }, - "scope": 17747, - "src": "7649:135:100", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17748, - "src": "724:7062:100" - } - ], - "src": "33:7754:100" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.917Z", - "devdoc": { - "details": "Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/FIFSRegistrar.json b/build/contracts/FIFSRegistrar.json deleted file mode 100644 index f969fb7d6..000000000 --- a/build/contracts/FIFSRegistrar.json +++ /dev/null @@ -1,2048 +0,0 @@ -{ - "contractName": "FIFSRegistrar", - "abi": [ - { - "inputs": [ - { - "internalType": "contract ENS", - "name": "ensAddr", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "register", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ENS\",\"name\":\"ensAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"register\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"constructor\":{\"params\":{\"ensAddr\":\"The address of the ENS registry.\",\"node\":\"The node that this registrar administers.\"}},\"register(bytes32,address)\":{\"params\":{\"label\":\"The hash of the label to register.\",\"owner\":\"The address of the new owner.\"}}}},\"userdoc\":{\"methods\":{\"constructor\":\"Constructor.\",\"register(bytes32,address)\":{\"notice\":\"Register a name, or change the owner of an existing registration.\"}},\"notice\":\"A registrar that allocates subdomains to the first person to claim them.\"}},\"settings\":{\"compilationTarget\":{\"/Users/makoto/work/ens/ens/contracts/FIFSRegistrar.sol\":\"FIFSRegistrar\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/makoto/work/ens/ens/contracts/ENS.sol\":{\"keccak256\":\"0x10b88673d8c180cd62523be4fec7607c65594eb4f0c561fa0fbc0784422b4871\",\"urls\":[\"bzz-raw://b3de1882a4a1a1b13c27ee6dc04cc58c34ac392c80cad507de2cdfa8c02712fe\",\"dweb:/ipfs/QmeKcaBF8QdJjXiqFrPJkAtK3et5kUL8XJrnHjwhAThRMT\"]},\"/Users/makoto/work/ens/ens/contracts/FIFSRegistrar.sol\":{\"keccak256\":\"0xee608fdeeea6d7c0e6cb5d69b27a0e6c0658fad024c31ab56d52ccd8c7c0fcd5\",\"urls\":[\"bzz-raw://b81fc1330b804af1f0a0cc0cbe00b6c95fffe113c656c2db353893b0e448be9a\",\"dweb:/ipfs/QmcXnnD4uLw3wxceFhWahicL36kG15t9rnpBhMfem93Uhs\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b5060405161039e38038061039e8339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060018190555050506102f8806100a66000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d22057a914610030575b600080fd5b61007c6004803603604081101561004657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061007e565b005b8160008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600154846040516020018083815260200182815260200192505050604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561012357600080fd5b505afa158015610137573d6000803e3d6000fd5b505050506040513d602081101561014d57600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806101c657503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6101cf57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab592360015486866040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561028157600080fd5b505af1158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b8101908080519060200190929190505050505050505056fea265627a7a7231582050432f41eedb6faece2877c201027aebc0a97c9c56d47ce9f58a80157f4b797164736f6c63430005100032", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d22057a914610030575b600080fd5b61007c6004803603604081101561004657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061007e565b005b8160008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600154846040516020018083815260200182815260200192505050604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561012357600080fd5b505afa158015610137573d6000803e3d6000fd5b505050506040513d602081101561014d57600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806101c657503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6101cf57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab592360015486866040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561028157600080fd5b505af1158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b8101908080519060200190929190505050505050505056fea265627a7a7231582050432f41eedb6faece2877c201027aebc0a97c9c56d47ce9f58a80157f4b797164736f6c63430005100032", - "sourceMap": "130:877:5:-;;;571:101;8:9:-1;5:2;;;30:1;27;20:12;5:2;571:101:5;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;571:101:5;;;;;;;;;;;;;;;;;;;;;;;;;633:7;627:3;;:13;;;;;;;;;;;;;;;;;;661:4;650:8;:15;;;;571:101;;130:877;;;;;;", - "deployedSourceMap": "130:877:5:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;130:877:5;;;;;;;;;;;;;;;;;;;872:133;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;872:133:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;938:5;240:20;263:3;;;;;;;;;;;:9;;;300:8;;310:5;283:33;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;283:33:5;;;273:44;;;;;;263:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;263:55:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;263:55:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;263:55:5;;;;;;;;;;;;;;;;240:78;;360:3;336:28;;:12;:28;;;:58;;;;384:10;368:26;;:12;:26;;;336:58;328:67;;;;;;955:3;;;;;;;;;;;:19;;;975:8;;985:5;992;955:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;955:43:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;955:43:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;955:43:5;;;;;;;;;;;;;;;;;872:133;;;;:::o", - "source": "pragma solidity ^0.5.0;\n\nimport \"./ENS.sol\";\n\n/**\n * A registrar that allocates subdomains to the first person to claim them.\n */\ncontract FIFSRegistrar {\n ENS ens;\n bytes32 rootNode;\n\n modifier only_owner(bytes32 label) {\n address currentOwner = ens.owner(keccak256(abi.encodePacked(rootNode, label)));\n require(currentOwner == address(0x0) || currentOwner == msg.sender);\n _;\n }\n\n /**\n * Constructor.\n * @param ensAddr The address of the ENS registry.\n * @param node The node that this registrar administers.\n */\n constructor(ENS ensAddr, bytes32 node) public {\n ens = ensAddr;\n rootNode = node;\n }\n\n /**\n * Register a name, or change the owner of an existing registration.\n * @param label The hash of the label to register.\n * @param owner The address of the new owner.\n */\n function register(bytes32 label, address owner) public only_owner(label) {\n ens.setSubnodeOwner(rootNode, label, owner);\n }\n}\n", - "sourcePath": "/Users/makoto/work/ens/ens/contracts/FIFSRegistrar.sol", - "ast": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/FIFSRegistrar.sol", - "exportedSymbols": { - "FIFSRegistrar": [ - 1030 - ] - }, - "id": 1031, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 957, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:5" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 958, - "nodeType": "ImportDirective", - "scope": 1031, - "sourceUnit": 437, - "src": "25:19:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": "A registrar that allocates subdomains to the first person to claim them.", - "fullyImplemented": true, - "id": 1030, - "linearizedBaseContracts": [ - 1030 - ], - "name": "FIFSRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 960, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 1030, - "src": "159:7:5", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 959, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "159:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 962, - "name": "rootNode", - "nodeType": "VariableDeclaration", - "scope": 1030, - "src": "172:16:5", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 961, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "172:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "body": { - "id": 993, - "nodeType": "Block", - "src": "230:183:5", - "statements": [ - { - "assignments": [ - 967 - ], - "declarations": [ - { - "constant": false, - "id": 967, - "name": "currentOwner", - "nodeType": "VariableDeclaration", - "scope": 993, - "src": "240:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 966, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "240:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 978, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 973, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "300:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 974, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 964, - "src": "310:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "283:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "283:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "283:33:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 970, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "273:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "273:44:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 968, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "263:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "263:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "263:55:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "240:78:5" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 980, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "336:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "360:3:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 981, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "352:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "352:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "336:28:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 985, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "368:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 986, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "384:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "384:10:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "368:26:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "336:58:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 979, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3035, - 3036 - ], - "referencedDeclaration": 3035, - "src": "328:7:5", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "328:67:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 991, - "nodeType": "ExpressionStatement", - "src": "328:67:5" - }, - { - "id": 992, - "nodeType": "PlaceholderStatement", - "src": "405:1:5" - } - ] - }, - "documentation": null, - "id": 994, - "name": "only_owner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 964, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 994, - "src": "215:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "215:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "214:15:5" - }, - "src": "195:218:5", - "visibility": "internal" - }, - { - "body": { - "id": 1009, - "nodeType": "Block", - "src": "617:55:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 1003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1001, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "627:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 1002, - "name": "ensAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 996, - "src": "633:7:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "src": "627:13:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 1004, - "nodeType": "ExpressionStatement", - "src": "627:13:5" - }, - { - "expression": { - "argumentTypes": null, - "id": 1007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1005, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "650:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 1006, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "661:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "650:15:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 1008, - "nodeType": "ExpressionStatement", - "src": "650:15:5" - } - ] - }, - "documentation": "Constructor.\n@param ensAddr The address of the ENS registry.\n@param node The node that this registrar administers.", - "id": 1010, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 999, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 996, - "name": "ensAddr", - "nodeType": "VariableDeclaration", - "scope": 1010, - "src": "583:11:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 995, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "583:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 998, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 1010, - "src": "596:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 997, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "596:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "582:27:5" - }, - "returnParameters": { - "id": 1000, - "nodeType": "ParameterList", - "parameters": [], - "src": "617:0:5" - }, - "scope": 1030, - "src": "571:101:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 1028, - "nodeType": "Block", - "src": "945:60:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1023, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "975:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1024, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "985:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1025, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1014, - "src": "992:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 1020, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "955:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 1022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "955:19:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 1026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "955:43:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 1027, - "nodeType": "ExpressionStatement", - "src": "955:43:5" - } - ] - }, - "documentation": "Register a name, or change the owner of an existing registration.\n@param label The hash of the label to register.\n@param owner The address of the new owner.", - "id": 1029, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 1017, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "938:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 1018, - "modifierName": { - "argumentTypes": null, - "id": 1016, - "name": "only_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 994, - "src": "927:10:5", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "927:17:5" - } - ], - "name": "register", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1015, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1012, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 1029, - "src": "890:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1011, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "890:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1014, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 1029, - "src": "905:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "905:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "889:30:5" - }, - "returnParameters": { - "id": 1019, - "nodeType": "ParameterList", - "parameters": [], - "src": "945:0:5" - }, - "scope": 1030, - "src": "872:133:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 1031, - "src": "130:877:5" - } - ], - "src": "0:1008:5" - }, - "legacyAST": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/FIFSRegistrar.sol", - "exportedSymbols": { - "FIFSRegistrar": [ - 1030 - ] - }, - "id": 1031, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 957, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:5" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 958, - "nodeType": "ImportDirective", - "scope": 1031, - "sourceUnit": 437, - "src": "25:19:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": "A registrar that allocates subdomains to the first person to claim them.", - "fullyImplemented": true, - "id": 1030, - "linearizedBaseContracts": [ - 1030 - ], - "name": "FIFSRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 960, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 1030, - "src": "159:7:5", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 959, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "159:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 962, - "name": "rootNode", - "nodeType": "VariableDeclaration", - "scope": 1030, - "src": "172:16:5", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 961, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "172:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "body": { - "id": 993, - "nodeType": "Block", - "src": "230:183:5", - "statements": [ - { - "assignments": [ - 967 - ], - "declarations": [ - { - "constant": false, - "id": 967, - "name": "currentOwner", - "nodeType": "VariableDeclaration", - "scope": 993, - "src": "240:20:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 966, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "240:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 978, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 973, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "300:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 974, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 964, - "src": "310:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "283:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "283:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "283:33:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 970, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "273:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "273:44:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 968, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "263:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "263:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "263:55:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "240:78:5" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 980, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "336:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "360:3:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 981, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "352:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "352:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "336:28:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 985, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "368:12:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 986, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "384:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "384:10:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "368:26:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "336:58:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 979, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3035, - 3036 - ], - "referencedDeclaration": 3035, - "src": "328:7:5", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "328:67:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 991, - "nodeType": "ExpressionStatement", - "src": "328:67:5" - }, - { - "id": 992, - "nodeType": "PlaceholderStatement", - "src": "405:1:5" - } - ] - }, - "documentation": null, - "id": 994, - "name": "only_owner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 964, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 994, - "src": "215:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "215:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "214:15:5" - }, - "src": "195:218:5", - "visibility": "internal" - }, - { - "body": { - "id": 1009, - "nodeType": "Block", - "src": "617:55:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 1003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1001, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "627:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 1002, - "name": "ensAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 996, - "src": "633:7:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "src": "627:13:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 1004, - "nodeType": "ExpressionStatement", - "src": "627:13:5" - }, - { - "expression": { - "argumentTypes": null, - "id": 1007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 1005, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "650:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 1006, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "661:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "650:15:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 1008, - "nodeType": "ExpressionStatement", - "src": "650:15:5" - } - ] - }, - "documentation": "Constructor.\n@param ensAddr The address of the ENS registry.\n@param node The node that this registrar administers.", - "id": 1010, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 999, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 996, - "name": "ensAddr", - "nodeType": "VariableDeclaration", - "scope": 1010, - "src": "583:11:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 995, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "583:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 998, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 1010, - "src": "596:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 997, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "596:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "582:27:5" - }, - "returnParameters": { - "id": 1000, - "nodeType": "ParameterList", - "parameters": [], - "src": "617:0:5" - }, - "scope": 1030, - "src": "571:101:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 1028, - "nodeType": "Block", - "src": "945:60:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1023, - "name": "rootNode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "975:8:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1024, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "985:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1025, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1014, - "src": "992:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 1020, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 960, - "src": "955:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 1022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "955:19:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 1026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "955:43:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 1027, - "nodeType": "ExpressionStatement", - "src": "955:43:5" - } - ] - }, - "documentation": "Register a name, or change the owner of an existing registration.\n@param label The hash of the label to register.\n@param owner The address of the new owner.", - "id": 1029, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 1017, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1012, - "src": "938:5:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 1018, - "modifierName": { - "argumentTypes": null, - "id": 1016, - "name": "only_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 994, - "src": "927:10:5", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "927:17:5" - } - ], - "name": "register", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1015, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1012, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 1029, - "src": "890:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1011, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "890:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1014, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 1029, - "src": "905:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "905:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "889:30:5" - }, - "returnParameters": { - "id": 1019, - "nodeType": "ParameterList", - "parameters": [], - "src": "945:0:5" - }, - "scope": 1030, - "src": "872:133:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 1031, - "src": "130:877:5" - } - ], - "src": "0:1008:5" - }, - "compiler": { - "name": "solc", - "version": "0.5.16+commit.9c3226ce.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.928Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "constructor": { - "params": { - "ensAddr": "The address of the ENS registry.", - "node": "The node that this registrar administers." - } - }, - "register(bytes32,address)": { - "params": { - "label": "The hash of the label to register.", - "owner": "The address of the new owner." - } - } - } - }, - "userdoc": { - "methods": { - "constructor": "Constructor.", - "register(bytes32,address)": { - "notice": "Register a name, or change the owner of an existing registration." - } - }, - "notice": "A registrar that allocates subdomains to the first person to claim them." - } -} \ No newline at end of file diff --git a/build/contracts/GenericFactory.json b/build/contracts/GenericFactory.json deleted file mode 100644 index c58d8be5b..000000000 --- a/build/contracts/GenericFactory.json +++ /dev/null @@ -1,3615 +0,0 @@ -{ - "contractName": "GenericFactory", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "NewContract", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - } - ], - "name": "predictAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - } - ], - "name": "createContract", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_call", - "type": "bytes" - } - ], - "name": "predictAddressWithCall", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_code", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "_salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_call", - "type": "bytes" - } - ], - "name": "createContractAndCall", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.4+commit.1dca32f3\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"NewContract\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_code\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"createContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_code\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_call\",\"type\":\"bytes\"}],\"name\":\"createContractAndCall\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_code\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"predictAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_code\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_call\",\"type\":\"bytes\"}],\"name\":\"predictAddressWithCall\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/GenericFactory.sol\":\"GenericFactory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/CounterfactualFactory.sol\":{\"keccak256\":\"0x52f978387daf2012c5f6324c85e86df54b61df85dee7ee1778d5ce4074c88d2d\",\"urls\":[\"bzz-raw://8d8be4d3ef8688a4ef99bc14e9479d6f2b341a38c65f62702601fe3e081ac846\",\"dweb:/ipfs/QmaFouEFwtyvogyz3JMKtUAjnHuAVXwbKoLwuwN7wMkix5\"]},\"/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/GenericFactory.sol\":{\"keccak256\":\"0xdca3c3329d07b7df8d5f22f27de9d08f3848b926b7d8f7ad794e97bffeb76a55\",\"urls\":[\"bzz-raw://05a1d5dc55bd42262542e0673f6c36d30a1fccb529a5edf974e78bd31760f09d\",\"dweb:/ipfs/QmTJiTKZ726eJX3DPWttpr7YdhKdQkFJWWtfniVwyV2XDV\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610794806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80631dcce26514610051578063482f20241461019e5780638563a8f614610244578063bbdd8aeb146102ea575b600080fd5b6101826004803603606081101561006757600080fd5b810190602081018135600160201b81111561008157600080fd5b82018360208201111561009357600080fd5b803590602001918460018302840111600160201b831117156100b457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561010e57600080fd5b82018360208201111561012057600080fd5b803590602001918460018302840111600160201b8311171561014157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061041b945050505050565b604080516001600160a01b039092168252519081900360200190f35b610182600480360360408110156101b457600080fd5b810190602081018135600160201b8111156101ce57600080fd5b8201836020820111156101e057600080fd5b803590602001918460018302840111600160201b8311171561020157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506104a4915050565b6101826004803603604081101561025a57600080fd5b810190602081018135600160201b81111561027457600080fd5b82018360208201111561028657600080fd5b803590602001918460018302840111600160201b831117156102a757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506104c7915050565b6101826004803603606081101561030057600080fd5b810190602081018135600160201b81111561031a57600080fd5b82018360208201111561032c57600080fd5b803590602001918460018302840111600160201b8311171561034d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103a757600080fd5b8201836020820111156103b957600080fd5b803590602001918460018302840111600160201b831117156103da57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104df945050505050565b600061049c8484846040516020018083815260200182805190602001908083835b6020831061045b5780518252601f19909201916020918201910161043c565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001206106df565b949350505050565b60006104c083836040518060200160405280600081525061041b565b9392505050565b60006104c08383604051806020016040528060008152505b6000806105618585856040516020018083815260200182805190602001908083835b602083106105205780518252601f199092019160209182019101610501565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610735565b6040519091506001600160a01b038216907f387ea218537e939551af33bbc2dd6c53b1fee55d377a0dce288258f972cb3a9c90600090a282511561049c5760006060826001600160a01b0316856040518082805190602001908083835b602083106105dd5780518252601f1990920191602091820191016105be565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461063f576040519150601f19603f3d011682016040523d82523d6000602084013e610644565b606091505b50915091508181906106d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610699578181015183820152602001610681565b50505050905090810190601f1680156106c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050949350505050565b8151602092830120604080516001600160f81b0319818601523060601b6021820152603581019390935260558084019290925280518084039092018252607590920190915280519101206001600160a01b031690565b815160009083908390839082906020850183f59050803b61075557600080fd5b9594505050505056fea2646970667358221220d30d7bad226f3b603fe6d87b4642d706cee02daab1e811fe1e12f76f2718be2564736f6c63430006040033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80631dcce26514610051578063482f20241461019e5780638563a8f614610244578063bbdd8aeb146102ea575b600080fd5b6101826004803603606081101561006757600080fd5b810190602081018135600160201b81111561008157600080fd5b82018360208201111561009357600080fd5b803590602001918460018302840111600160201b831117156100b457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561010e57600080fd5b82018360208201111561012057600080fd5b803590602001918460018302840111600160201b8311171561014157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061041b945050505050565b604080516001600160a01b039092168252519081900360200190f35b610182600480360360408110156101b457600080fd5b810190602081018135600160201b8111156101ce57600080fd5b8201836020820111156101e057600080fd5b803590602001918460018302840111600160201b8311171561020157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506104a4915050565b6101826004803603604081101561025a57600080fd5b810190602081018135600160201b81111561027457600080fd5b82018360208201111561028657600080fd5b803590602001918460018302840111600160201b831117156102a757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506104c7915050565b6101826004803603606081101561030057600080fd5b810190602081018135600160201b81111561031a57600080fd5b82018360208201111561032c57600080fd5b803590602001918460018302840111600160201b8311171561034d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103a757600080fd5b8201836020820111156103b957600080fd5b803590602001918460018302840111600160201b831117156103da57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104df945050505050565b600061049c8484846040516020018083815260200182805190602001908083835b6020831061045b5780518252601f19909201916020918201910161043c565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001206106df565b949350505050565b60006104c083836040518060200160405280600081525061041b565b9392505050565b60006104c08383604051806020016040528060008152505b6000806105618585856040516020018083815260200182805190602001908083835b602083106105205780518252601f199092019160209182019101610501565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610735565b6040519091506001600160a01b038216907f387ea218537e939551af33bbc2dd6c53b1fee55d377a0dce288258f972cb3a9c90600090a282511561049c5760006060826001600160a01b0316856040518082805190602001908083835b602083106105dd5780518252601f1990920191602091820191016105be565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461063f576040519150601f19603f3d011682016040523d82523d6000602084013e610644565b606091505b50915091508181906106d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610699578181015183820152602001610681565b50505050905090810190601f1680156106c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050949350505050565b8151602092830120604080516001600160f81b0319818601523060601b6021820152603581019390935260558084019290925280518084039092018252607590920190915280519101206001600160a01b031690565b815160009083908390839082906020850183f59050803b61075557600080fd5b9594505050505056fea2646970667358221220d30d7bad226f3b603fe6d87b4642d706cee02daab1e811fe1e12f76f2718be2564736f6c63430006040033", - "sourceMap": "65:1024:19:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;65:1024:19;;;;;;;", - "deployedSourceMap": "65:1024:19:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;65:1024:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;464:198:19;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;464:198:19;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;464:198:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;464:198:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;464:198:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;464:198:19;;;;;;;;;-1:-1:-1;464:198:19;;;;-1:-1:-1;464:198:19;;;;-1:-1:-1;;;;11:28;;8:2;;;52:1;49;42:12;8:2;464:198:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;464:198:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;464:198:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;464:198:19;;-1:-1:-1;464:198:19;;-1:-1:-1;;;;;464:198:19:i;:::-;;;;-1:-1:-1;;;;;464:198:19;;;;;;;;;;;;;;160:152;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;160:152:19;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;160:152:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;160:152:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;160:152:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;160:152:19;;-1:-1:-1;;160:152:19;;;-1:-1:-1;160:152:19;;-1:-1:-1;;160:152:19:i;315:146::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;315:146:19;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;315:146:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;315:146:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;315:146:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;315:146:19;;-1:-1:-1;;315:146:19;;;-1:-1:-1;315:146:19;;-1:-1:-1;;315:146:19:i;665:421::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;665:421:19;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;665:421:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;665:421:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;665:421:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;665:421:19;;;;;;;;;-1:-1:-1;665:421:19;;;;-1:-1:-1;665:421:19;;;;-1:-1:-1;;;;11:28;;8:2;;;52:1;49;42:12;8:2;665:421:19;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;665:421:19;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;665:421:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;665:421:19;;-1:-1:-1;665:421:19;;-1:-1:-1;;;;;665:421:19:i;464:198::-;572:7;593:65;609:5;643;650;626:30;;;;;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;626:30:19;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;626:30:19;;;616:41;;;;;;593:15;:65::i;:::-;586:72;464:198;-1:-1:-1;;;;464:198:19:o;160:152::-;240:7;261:47;284:5;291;298:9;;;;;;;;;;;;261:22;:47::i;:::-;254:54;160:152;-1:-1:-1;;;160:152:19:o;315:146::-;390:7;411:46;433:5;440;447:9;;;;;;;;;;;;665:421;767:7;781:12;796:58;805:5;839;846;822:30;;;;;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;822:30:19;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;822:30:19;;;812:41;;;;;;796:8;:58::i;:::-;863:17;;781:73;;-1:-1:-1;;;;;;863:17:19;;;;;;;;888:12;;:16;884:184;;973:12;987:19;1010:4;-1:-1:-1;;;;;1010:9:19;1020:5;1010:16;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1010:16:19;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;972:54:19;;;;1039:7;1055:6;1031:32;;;;;-1:-1:-1;;;1031:32:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1031:32:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;884:184;;1078:4;665:421;-1:-1:-1;;;;665:421:19:o;426:232:18:-;623:16;;;;;;;557:86;;;-1:-1:-1;;;;;;557:86:18;;;;603:4;648;557:86;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;557:86:18;;;;;;;547:97;;;;;-1:-1:-1;;;;;531:123:18;;426:232::o;60:363::-;334:11;;131:7;;165:5;;194;;131:7;;194:5;;327:4;317:15;;131:7;306:46;298:54;;378:4;366:17;356:2;;397:1;394;387:12;356:2;415:4;60:363;-1:-1:-1;;;;;60:363:18:o", - "source": "pragma solidity ^0.6.0;\n\nimport \"./CounterfactualFactory.sol\";\n\n\ncontract GenericFactory is CounterfactualFactory\n{\n\tevent NewContract(address indexed addr);\n\n\tfunction predictAddress(bytes memory _code, bytes32 _salt)\n\tpublic view returns(address)\n\t{\n\t\treturn predictAddressWithCall(_code, _salt, bytes(\"\"));\n\t}\n\n\tfunction createContract(bytes memory _code, bytes32 _salt)\n\tpublic returns(address)\n\t{\n\t\treturn createContractAndCall(_code, _salt, bytes(\"\"));\n\t}\n\n\tfunction predictAddressWithCall(bytes memory _code, bytes32 _salt, bytes memory _call)\n\tpublic view returns(address)\n\t{\n\t\treturn _predictAddress(_code, keccak256(abi.encodePacked(_salt, _call)));\n\t}\n\n\tfunction createContractAndCall(bytes memory _code, bytes32 _salt, bytes memory _call)\n\tpublic returns(address)\n\t{\n\t\taddress addr = _create2(_code, keccak256(abi.encodePacked(_salt, _call)));\n\t\temit NewContract(addr);\n\t\tif (_call.length > 0)\n\t\t{\n\t\t\t// solium-disable-next-line security/no-low-level-calls\n\t\t\t(bool success, bytes memory reason) = addr.call(_call);\n\t\t\trequire(success, string(reason));\n\t\t}\n\t\treturn addr;\n\t}\n\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/GenericFactory.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/GenericFactory.sol", - "exportedSymbols": { - "GenericFactory": [ - 1674 - ] - }, - "id": 1675, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1551, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:19" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/CounterfactualFactory.sol", - "file": "./CounterfactualFactory.sol", - "id": 1552, - "nodeType": "ImportDirective", - "scope": 1675, - "sourceUnit": 1550, - "src": "25:37:19", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1553, - "name": "CounterfactualFactory", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1549, - "src": "92:21:19", - "typeDescriptions": { - "typeIdentifier": "t_contract$_CounterfactualFactory_$1549", - "typeString": "contract CounterfactualFactory" - } - }, - "id": 1554, - "nodeType": "InheritanceSpecifier", - "src": "92:21:19" - } - ], - "contractDependencies": [ - 1549 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1674, - "linearizedBaseContracts": [ - 1674, - 1549 - ], - "name": "GenericFactory", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 1558, - "name": "NewContract", - "nodeType": "EventDefinition", - "parameters": { - "id": 1557, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1556, - "indexed": true, - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1558, - "src": "135:20:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "135:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "134:22:19" - }, - "src": "117:40:19" - }, - { - "body": { - "id": 1576, - "nodeType": "Block", - "src": "250:62:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1568, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1560, - "src": "284:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 1569, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1562, - "src": "291:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 1572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "304:2:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 1571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "298:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1570, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "298:5:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "298:9:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1567, - "name": "predictAddressWithCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1619, - "src": "261:22:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32,bytes memory) view returns (address)" - } - }, - "id": 1574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "261:47:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1566, - "id": 1575, - "nodeType": "Return", - "src": "254:54:19" - } - ] - }, - "documentation": null, - "functionSelector": "482f2024", - "id": 1577, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1560, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "184:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "184:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1562, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "204:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "204:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "183:35:19" - }, - "returnParameters": { - "id": 1566, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1565, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "240:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "240:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "239:9:19" - }, - "scope": 1674, - "src": "160:152:19", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1595, - "nodeType": "Block", - "src": "400:61:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1587, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "433:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 1588, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1581, - "src": "440:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 1591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "453:2:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 1590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "447:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "447:5:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "447:9:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1586, - "name": "createContractAndCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1673, - "src": "411:21:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32,bytes memory) returns (address)" - } - }, - "id": 1593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "411:46:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1585, - "id": 1594, - "nodeType": "Return", - "src": "404:53:19" - } - ] - }, - "documentation": null, - "functionSelector": "8563a8f6", - "id": 1596, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1579, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "339:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1578, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "339:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1581, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "359:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1580, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "359:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "338:35:19" - }, - "returnParameters": { - "id": 1585, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1584, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "390:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1583, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "390:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "389:9:19" - }, - "scope": 1674, - "src": "315:146:19", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1618, - "nodeType": "Block", - "src": "582:80:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1608, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "609:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1612, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1600, - "src": "643:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1613, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1602, - "src": "650:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1610, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "626:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "626:16:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "626:30:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1609, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "616:9:19", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "616:41:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1607, - "name": "_predictAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "593:15:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32) view returns (address)" - } - }, - "id": 1616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "593:65:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1606, - "id": 1617, - "nodeType": "Return", - "src": "586:72:19" - } - ] - }, - "documentation": null, - "functionSelector": "1dcce265", - "id": 1619, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictAddressWithCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1603, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1598, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "496:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1597, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "496:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1600, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "516:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1599, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "516:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1602, - "name": "_call", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "531:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1601, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "531:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "495:55:19" - }, - "returnParameters": { - "id": 1606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1605, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "572:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "572:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "571:9:19" - }, - "scope": 1674, - "src": "464:198:19", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1672, - "nodeType": "Block", - "src": "777:309:19", - "statements": [ - { - "assignments": [ - 1631 - ], - "declarations": [ - { - "constant": false, - "id": 1631, - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1672, - "src": "781:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "781:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1642, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1633, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "805:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1637, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "839:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1638, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "846:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1635, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "822:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "822:16:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "822:30:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1634, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "812:9:19", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "812:41:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1632, - "name": "_create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1512, - "src": "796:8:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32) returns (address)" - } - }, - "id": 1641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "796:58:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "781:73:19" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1644, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "875:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1643, - "name": "NewContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1558, - "src": "863:11:19", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 1645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "863:17:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1646, - "nodeType": "EmitStatement", - "src": "858:22:19" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1647, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "888:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "888:12:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 1649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "903:1:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "888:16:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 1669, - "nodeType": "IfStatement", - "src": "884:184:19", - "trueBody": { - "id": 1668, - "nodeType": "Block", - "src": "908:160:19", - "statements": [ - { - "assignments": [ - 1652, - 1654 - ], - "declarations": [ - { - "constant": false, - "id": 1652, - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1668, - "src": "973:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1651, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "973:4:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1654, - "name": "reason", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1668, - "src": "987:19:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1653, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "987:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1659, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1657, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "1020:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1655, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "1010:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1010:9:19", - "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": 1658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1010:16:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "972:54:19" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1661, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1652, - "src": "1039:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1664, - "name": "reason", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1654, - "src": "1055:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1048:6:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 1662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1048:6:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1048:14:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1660, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1031:7:19", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 1666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1031:32:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1667, - "nodeType": "ExpressionStatement", - "src": "1031:32:19" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 1670, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "1078:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1629, - "id": 1671, - "nodeType": "Return", - "src": "1071:11:19" - } - ] - }, - "documentation": null, - "functionSelector": "bbdd8aeb", - "id": 1673, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createContractAndCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1621, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "696:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1620, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "696:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1623, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "716:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1622, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "716:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1625, - "name": "_call", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "731:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1624, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "731:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "695:55:19" - }, - "returnParameters": { - "id": 1629, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1628, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "767:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1627, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "767:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "766:9:19" - }, - "scope": 1674, - "src": "665:421:19", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 1675, - "src": "65:1024:19" - } - ], - "src": "0:1090:19" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/GenericFactory.sol", - "exportedSymbols": { - "GenericFactory": [ - 1674 - ] - }, - "id": 1675, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1551, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:19" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/npm/iexec-solidity/contracts/Factory/CounterfactualFactory.sol", - "file": "./CounterfactualFactory.sol", - "id": 1552, - "nodeType": "ImportDirective", - "scope": 1675, - "sourceUnit": 1550, - "src": "25:37:19", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1553, - "name": "CounterfactualFactory", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1549, - "src": "92:21:19", - "typeDescriptions": { - "typeIdentifier": "t_contract$_CounterfactualFactory_$1549", - "typeString": "contract CounterfactualFactory" - } - }, - "id": 1554, - "nodeType": "InheritanceSpecifier", - "src": "92:21:19" - } - ], - "contractDependencies": [ - 1549 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1674, - "linearizedBaseContracts": [ - 1674, - 1549 - ], - "name": "GenericFactory", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 1558, - "name": "NewContract", - "nodeType": "EventDefinition", - "parameters": { - "id": 1557, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1556, - "indexed": true, - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1558, - "src": "135:20:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "135:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "134:22:19" - }, - "src": "117:40:19" - }, - { - "body": { - "id": 1576, - "nodeType": "Block", - "src": "250:62:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1568, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1560, - "src": "284:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 1569, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1562, - "src": "291:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 1572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "304:2:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 1571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "298:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1570, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "298:5:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "298:9:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1567, - "name": "predictAddressWithCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1619, - "src": "261:22:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32,bytes memory) view returns (address)" - } - }, - "id": 1574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "261:47:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1566, - "id": 1575, - "nodeType": "Return", - "src": "254:54:19" - } - ] - }, - "documentation": null, - "functionSelector": "482f2024", - "id": 1577, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictAddress", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1560, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "184:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "184:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1562, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "204:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "204:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "183:35:19" - }, - "returnParameters": { - "id": 1566, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1565, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1577, - "src": "240:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "240:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "239:9:19" - }, - "scope": 1674, - "src": "160:152:19", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1595, - "nodeType": "Block", - "src": "400:61:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1587, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "433:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 1588, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1581, - "src": "440:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 1591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "453:2:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 1590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "447:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "447:5:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "447:9:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1586, - "name": "createContractAndCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1673, - "src": "411:21:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32,bytes memory) returns (address)" - } - }, - "id": 1593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "411:46:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1585, - "id": 1594, - "nodeType": "Return", - "src": "404:53:19" - } - ] - }, - "documentation": null, - "functionSelector": "8563a8f6", - "id": 1596, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1579, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "339:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1578, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "339:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1581, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "359:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1580, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "359:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "338:35:19" - }, - "returnParameters": { - "id": 1585, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1584, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1596, - "src": "390:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1583, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "390:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "389:9:19" - }, - "scope": 1674, - "src": "315:146:19", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1618, - "nodeType": "Block", - "src": "582:80:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1608, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "609:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1612, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1600, - "src": "643:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1613, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1602, - "src": "650:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1610, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "626:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "626:16:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "626:30:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1609, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "616:9:19", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "616:41:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1607, - "name": "_predictAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "593:15:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32) view returns (address)" - } - }, - "id": 1616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "593:65:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1606, - "id": 1617, - "nodeType": "Return", - "src": "586:72:19" - } - ] - }, - "documentation": null, - "functionSelector": "1dcce265", - "id": 1619, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictAddressWithCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1603, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1598, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "496:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1597, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "496:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1600, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "516:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1599, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "516:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1602, - "name": "_call", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "531:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1601, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "531:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "495:55:19" - }, - "returnParameters": { - "id": 1606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1605, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1619, - "src": "572:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "572:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "571:9:19" - }, - "scope": 1674, - "src": "464:198:19", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1672, - "nodeType": "Block", - "src": "777:309:19", - "statements": [ - { - "assignments": [ - 1631 - ], - "declarations": [ - { - "constant": false, - "id": 1631, - "name": "addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1672, - "src": "781:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "781:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1642, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1633, - "name": "_code", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "805:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1637, - "name": "_salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "839:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 1638, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "846:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1635, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "822:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "822:16:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "822:30:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1634, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "812:9:19", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "812:41:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 1632, - "name": "_create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1512, - "src": "796:8:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes memory,bytes32) returns (address)" - } - }, - "id": 1641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "796:58:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "781:73:19" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1644, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "875:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1643, - "name": "NewContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1558, - "src": "863:11:19", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 1645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "863:17:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1646, - "nodeType": "EmitStatement", - "src": "858:22:19" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1647, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "888:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "888:12:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 1649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "903:1:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "888:16:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 1669, - "nodeType": "IfStatement", - "src": "884:184:19", - "trueBody": { - "id": 1668, - "nodeType": "Block", - "src": "908:160:19", - "statements": [ - { - "assignments": [ - 1652, - 1654 - ], - "declarations": [ - { - "constant": false, - "id": 1652, - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1668, - "src": "973:12:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1651, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "973:4:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1654, - "name": "reason", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1668, - "src": "987:19:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1653, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "987:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1659, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1657, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "1020:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1655, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "1010:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1010:9:19", - "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": 1658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1010:16:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "972:54:19" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1661, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1652, - "src": "1039:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1664, - "name": "reason", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1654, - "src": "1055:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1048:6:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 1662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1048:6:19", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1048:14:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1660, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1031:7:19", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 1666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1031:32:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1667, - "nodeType": "ExpressionStatement", - "src": "1031:32:19" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 1670, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1631, - "src": "1078:4:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 1629, - "id": 1671, - "nodeType": "Return", - "src": "1071:11:19" - } - ] - }, - "documentation": null, - "functionSelector": "bbdd8aeb", - "id": 1673, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createContractAndCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1621, - "name": "_code", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "696:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1620, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "696:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1623, - "name": "_salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "716:13:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1622, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "716:7:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1625, - "name": "_call", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "731:18:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1624, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "731:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "695:55:19" - }, - "returnParameters": { - "id": 1629, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1628, - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1673, - "src": "767:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1627, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "767:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "766:9:19" - }, - "scope": 1674, - "src": "665:421:19", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 1675, - "src": "65:1024:19" - } - ], - "src": "0:1090:19" - }, - "compiler": { - "name": "solc", - "version": "0.6.4+commit.1dca32f3.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:28.775Z", - "networkType": "ethereum", - "devdoc": { - "methods": {} - }, - "userdoc": { - "methods": {} - } -} diff --git a/build/contracts/IENS.json b/build/contracts/IENS.json deleted file mode 100644 index af4653fcd..000000000 --- a/build/contracts/IENS.json +++ /dev/null @@ -1,3889 +0,0 @@ -{ - "contractName": "IENS", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "NewOwner", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "NewResolver", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "NewTTL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setSubnodeRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setResolver", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setTTL", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ENStools/IENS.sol\":\"IENS\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >=0.4.24;\n\ninterface IENS\n{\n\tevent NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\n\tevent Transfer(bytes32 indexed node, address owner);\n\tevent NewResolver(bytes32 indexed node, address resolver);\n\tevent NewTTL(bytes32 indexed node, uint64 ttl);\n\tevent ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n\tfunction setRecord(bytes32, address, address, uint64) external;\n\tfunction setSubnodeRecord(bytes32, bytes32, address, address, uint64) external;\n\tfunction setSubnodeOwner(bytes32, bytes32, address) external returns(bytes32);\n\tfunction setResolver(bytes32, address) external;\n\tfunction setOwner(bytes32, address) external;\n\tfunction setTTL(bytes32, uint64) external;\n\tfunction setApprovalForAll(address, bool) external;\n\tfunction owner(bytes32) external view returns (address);\n\tfunction resolver(bytes32) external view returns (address);\n\tfunction ttl(bytes32) external view returns (uint64);\n\tfunction recordExists(bytes32) external view returns (bool);\n\tfunction isApprovedForAll(address, address) external view returns (bool);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "exportedSymbols": { - "IENS": [ - 13007 - ] - }, - "id": 13008, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12872, - "literals": [ - "solidity", - ">=", - "0.4", - ".24" - ], - "nodeType": "PragmaDirective", - "src": "0:25:68" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13007, - "linearizedBaseContracts": [ - 13007 - ], - "name": "IENS", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12880, - "name": "NewOwner", - "nodeType": "EventDefinition", - "parameters": { - "id": 12879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12874, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "60:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12873, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "60:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12876, - "indexed": true, - "mutability": "mutable", - "name": "label", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "82:21:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12875, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "82:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12878, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "105:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12877, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "105:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "59:60:68" - }, - "src": "45:75:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12886, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 12885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12882, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12886, - "src": "137:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12881, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "137:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12884, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12886, - "src": "159:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "159:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "136:37:68" - }, - "src": "122:52:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12892, - "name": "NewResolver", - "nodeType": "EventDefinition", - "parameters": { - "id": 12891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12888, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12892, - "src": "194:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12887, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "194:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12890, - "indexed": false, - "mutability": "mutable", - "name": "resolver", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12892, - "src": "216:16:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12889, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "216:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "193:40:68" - }, - "src": "176:58:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12898, - "name": "NewTTL", - "nodeType": "EventDefinition", - "parameters": { - "id": 12897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12894, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12898, - "src": "249:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12893, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "249:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12896, - "indexed": false, - "mutability": "mutable", - "name": "ttl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12898, - "src": "271:10:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12895, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "271:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "248:34:68" - }, - "src": "236:47:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12906, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 12905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12900, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "306:21:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "306:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12902, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "329:24:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "329:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12904, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "355:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12903, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "355:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "305:64:68" - }, - "src": "285:85:68" - }, - { - "body": null, - "documentation": null, - "functionSelector": "cf408823", - "id": 12917, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setRecord", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "392:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12907, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "392:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12910, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "401:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "401:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12912, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "410:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "410:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12914, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "419:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12913, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "419:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "391:35:68" - }, - "returnParameters": { - "id": 12916, - "nodeType": "ParameterList", - "parameters": [], - "src": "435:0:68" - }, - "scope": 13007, - "src": "373:63:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5ef2c7f0", - "id": 12930, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeRecord", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12919, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "464:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12918, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "464:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "473:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12920, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "473:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "482:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "482:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12925, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "491:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12924, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "491:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12927, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "500:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12926, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "500:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "463:44:68" - }, - "returnParameters": { - "id": 12929, - "nodeType": "ParameterList", - "parameters": [], - "src": "516:0:68" - }, - "scope": 13007, - "src": "438:79:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "06ab5923", - "id": 12941, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12932, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "544:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12931, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "544:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12934, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "553:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12933, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "553:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "562:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "562:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "543:27:68" - }, - "returnParameters": { - "id": 12940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12939, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "588:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "588:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "587:9:68" - }, - "scope": 13007, - "src": "519:78:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1896f70a", - "id": 12948, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12943, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12948, - "src": "620:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12942, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "620:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12945, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12948, - "src": "629:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "629:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "619:18:68" - }, - "returnParameters": { - "id": 12947, - "nodeType": "ParameterList", - "parameters": [], - "src": "646:0:68" - }, - "scope": 13007, - "src": "599:48:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b0fc9c3", - "id": 12955, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12950, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12955, - "src": "667:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12949, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "667:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12952, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12955, - "src": "676:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12951, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "676:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:18:68" - }, - "returnParameters": { - "id": 12954, - "nodeType": "ParameterList", - "parameters": [], - "src": "693:0:68" - }, - "scope": 13007, - "src": "649:45:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "14ab9038", - "id": 12962, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTTL", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12957, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12962, - "src": "712:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12956, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "712:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12959, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12962, - "src": "721:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12958, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "721:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "711:17:68" - }, - "returnParameters": { - "id": 12961, - "nodeType": "ParameterList", - "parameters": [], - "src": "737:0:68" - }, - "scope": 13007, - "src": "696:42:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a22cb465", - "id": 12969, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12964, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12969, - "src": "767:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "767:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12966, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12969, - "src": "776:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12965, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "776:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "766:15:68" - }, - "returnParameters": { - "id": 12968, - "nodeType": "ParameterList", - "parameters": [], - "src": "790:0:68" - }, - "scope": 13007, - "src": "740:51:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "02571be3", - "id": 12976, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12971, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12976, - "src": "808:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12970, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "808:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "807:9:68" - }, - "returnParameters": { - "id": 12975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12974, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12976, - "src": "840:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "840:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "839:9:68" - }, - "scope": 13007, - "src": "793:56:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0178b8bf", - "id": 12983, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12978, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12983, - "src": "869:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12977, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "869:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "868:9:68" - }, - "returnParameters": { - "id": 12982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12981, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12983, - "src": "901:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "901:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "900:9:68" - }, - "scope": 13007, - "src": "851:59:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "16a25cbd", - "id": 12990, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ttl", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12985, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12990, - "src": "925:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12984, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "925:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "924:9:68" - }, - "returnParameters": { - "id": 12989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12988, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12990, - "src": "957:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12987, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "957:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "956:8:68" - }, - "scope": 13007, - "src": "912:53:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f79fe538", - "id": 12997, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordExists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12992, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12997, - "src": "989:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12991, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "989:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "988:9:68" - }, - "returnParameters": { - "id": 12996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12995, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12997, - "src": "1021:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12994, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1021:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1020:6:68" - }, - "scope": 13007, - "src": "967:60:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e985e9c5", - "id": 13006, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12999, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1055:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1055:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13001, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1064:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1064:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1054:18:68" - }, - "returnParameters": { - "id": 13005, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13004, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1096:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13003, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1096:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1095:6:68" - }, - "scope": 13007, - "src": "1029:73:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13008, - "src": "27:1077:68" - } - ], - "src": "0:1105:68" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "exportedSymbols": { - "IENS": [ - 13007 - ] - }, - "id": 13008, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12872, - "literals": [ - "solidity", - ">=", - "0.4", - ".24" - ], - "nodeType": "PragmaDirective", - "src": "0:25:68" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13007, - "linearizedBaseContracts": [ - 13007 - ], - "name": "IENS", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12880, - "name": "NewOwner", - "nodeType": "EventDefinition", - "parameters": { - "id": 12879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12874, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "60:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12873, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "60:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12876, - "indexed": true, - "mutability": "mutable", - "name": "label", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "82:21:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12875, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "82:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12878, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12880, - "src": "105:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12877, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "105:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "59:60:68" - }, - "src": "45:75:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12886, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 12885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12882, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12886, - "src": "137:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12881, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "137:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12884, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12886, - "src": "159:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "159:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "136:37:68" - }, - "src": "122:52:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12892, - "name": "NewResolver", - "nodeType": "EventDefinition", - "parameters": { - "id": 12891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12888, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12892, - "src": "194:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12887, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "194:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12890, - "indexed": false, - "mutability": "mutable", - "name": "resolver", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12892, - "src": "216:16:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12889, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "216:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "193:40:68" - }, - "src": "176:58:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12898, - "name": "NewTTL", - "nodeType": "EventDefinition", - "parameters": { - "id": 12897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12894, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12898, - "src": "249:20:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12893, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "249:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12896, - "indexed": false, - "mutability": "mutable", - "name": "ttl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12898, - "src": "271:10:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12895, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "271:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "248:34:68" - }, - "src": "236:47:68" - }, - { - "anonymous": false, - "documentation": null, - "id": 12906, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 12905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12900, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "306:21:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "306:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12902, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "329:24:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "329:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12904, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12906, - "src": "355:13:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12903, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "355:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "305:64:68" - }, - "src": "285:85:68" - }, - { - "body": null, - "documentation": null, - "functionSelector": "cf408823", - "id": 12917, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setRecord", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "392:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12907, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "392:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12910, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "401:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "401:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12912, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "410:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "410:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12914, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12917, - "src": "419:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12913, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "419:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "391:35:68" - }, - "returnParameters": { - "id": 12916, - "nodeType": "ParameterList", - "parameters": [], - "src": "435:0:68" - }, - "scope": 13007, - "src": "373:63:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5ef2c7f0", - "id": 12930, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeRecord", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12919, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "464:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12918, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "464:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "473:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12920, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "473:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "482:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "482:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12925, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "491:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12924, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "491:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12927, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12930, - "src": "500:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12926, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "500:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "463:44:68" - }, - "returnParameters": { - "id": 12929, - "nodeType": "ParameterList", - "parameters": [], - "src": "516:0:68" - }, - "scope": 13007, - "src": "438:79:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "06ab5923", - "id": 12941, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12932, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "544:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12931, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "544:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12934, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "553:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12933, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "553:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "562:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "562:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "543:27:68" - }, - "returnParameters": { - "id": 12940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12939, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12941, - "src": "588:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "588:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "587:9:68" - }, - "scope": 13007, - "src": "519:78:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1896f70a", - "id": 12948, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12943, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12948, - "src": "620:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12942, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "620:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12945, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12948, - "src": "629:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "629:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "619:18:68" - }, - "returnParameters": { - "id": 12947, - "nodeType": "ParameterList", - "parameters": [], - "src": "646:0:68" - }, - "scope": 13007, - "src": "599:48:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b0fc9c3", - "id": 12955, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setOwner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12950, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12955, - "src": "667:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12949, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "667:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12952, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12955, - "src": "676:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12951, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "676:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:18:68" - }, - "returnParameters": { - "id": 12954, - "nodeType": "ParameterList", - "parameters": [], - "src": "693:0:68" - }, - "scope": 13007, - "src": "649:45:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "14ab9038", - "id": 12962, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTTL", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12957, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12962, - "src": "712:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12956, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "712:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12959, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12962, - "src": "721:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12958, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "721:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "711:17:68" - }, - "returnParameters": { - "id": 12961, - "nodeType": "ParameterList", - "parameters": [], - "src": "737:0:68" - }, - "scope": 13007, - "src": "696:42:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a22cb465", - "id": 12969, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12964, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12969, - "src": "767:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "767:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12966, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12969, - "src": "776:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12965, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "776:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "766:15:68" - }, - "returnParameters": { - "id": 12968, - "nodeType": "ParameterList", - "parameters": [], - "src": "790:0:68" - }, - "scope": 13007, - "src": "740:51:68", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "02571be3", - "id": 12976, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12971, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12976, - "src": "808:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12970, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "808:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "807:9:68" - }, - "returnParameters": { - "id": 12975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12974, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12976, - "src": "840:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "840:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "839:9:68" - }, - "scope": 13007, - "src": "793:56:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0178b8bf", - "id": 12983, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12978, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12983, - "src": "869:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12977, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "869:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "868:9:68" - }, - "returnParameters": { - "id": 12982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12981, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12983, - "src": "901:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "901:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "900:9:68" - }, - "scope": 13007, - "src": "851:59:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "16a25cbd", - "id": 12990, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ttl", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12985, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12990, - "src": "925:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12984, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "925:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "924:9:68" - }, - "returnParameters": { - "id": 12989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12988, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12990, - "src": "957:6:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 12987, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "957:6:68", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "956:8:68" - }, - "scope": 13007, - "src": "912:53:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f79fe538", - "id": 12997, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordExists", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12992, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12997, - "src": "989:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12991, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "989:7:68", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "988:9:68" - }, - "returnParameters": { - "id": 12996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12995, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12997, - "src": "1021:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12994, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1021:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1020:6:68" - }, - "scope": 13007, - "src": "967:60:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e985e9c5", - "id": 13006, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12999, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1055:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1055:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13001, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1064:7:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1064:7:68", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1054:18:68" - }, - "returnParameters": { - "id": 13005, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13004, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13006, - "src": "1096:4:68", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13003, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1096:4:68", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1095:6:68" - }, - "scope": 13007, - "src": "1029:73:68", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13008, - "src": "27:1077:68" - } - ], - "src": "0:1105:68" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.891Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC1271.json b/build/contracts/IERC1271.json deleted file mode 100644 index cc9949ebb..000000000 --- a/build/contracts/IERC1271.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "contractName": "IERC1271", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "signature", - "type": "bytes" - } - ], - "name": "isValidSignature", - "outputs": [ - { - "internalType": "bytes4", - "name": "magicValue", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":\"IERC1271\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\ninterface IERC1271\n{\n\tfunction isValidSignature(bytes calldata data, bytes calldata signature) external view returns (bytes4 magicValue);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "exportedSymbols": { - "IERC1271": [ - 13087 - ] - }, - "id": 13088, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13077, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:71" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13087, - "linearizedBaseContracts": [ - 13087 - ], - "name": "IERC1271", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "20c13b0b", - "id": 13086, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isValidSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13082, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13079, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "73:19:71", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "73:5:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13081, - "mutability": "mutable", - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "94:24:71", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13080, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "94:5:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "72:47:71" - }, - "returnParameters": { - "id": 13085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13084, - "mutability": "mutable", - "name": "magicValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "143:17:71", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 13083, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "143:6:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "142:19:71" - }, - "scope": 13087, - "src": "47:115:71", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13088, - "src": "25:139:71" - } - ], - "src": "0:165:71" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "exportedSymbols": { - "IERC1271": [ - 13087 - ] - }, - "id": 13088, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13077, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:71" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13087, - "linearizedBaseContracts": [ - 13087 - ], - "name": "IERC1271", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "20c13b0b", - "id": 13086, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isValidSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13082, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13079, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "73:19:71", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13078, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "73:5:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13081, - "mutability": "mutable", - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "94:24:71", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13080, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "94:5:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "72:47:71" - }, - "returnParameters": { - "id": 13085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13084, - "mutability": "mutable", - "name": "magicValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13086, - "src": "143:17:71", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 13083, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "143:6:71", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "142:19:71" - }, - "scope": 13087, - "src": "47:115:71", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13088, - "src": "25:139:71" - } - ], - "src": "0:165:71" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.892Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC1404.json b/build/contracts/IERC1404.json deleted file mode 100644 index 064a9cd95..000000000 --- a/build/contracts/IERC1404.json +++ /dev/null @@ -1,628 +0,0 @@ -{ - "contractName": "IERC1404", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "detectTransferRestriction", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint8", - "name": "restrictionCode", - "type": "uint8" - } - ], - "name": "messageForTransferRestriction", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"detectTransferRestriction\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"restrictionCode\",\"type\":\"uint8\"}],\"name\":\"messageForTransferRestriction\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":\"IERC1404\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\n\ninterface IERC1404\n{\n function detectTransferRestriction(address from, address to, uint256 value) external view returns (uint8);\n function messageForTransferRestriction(uint8 restrictionCode) external view returns (string memory);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol", - "exportedSymbols": { - "IERC1404": [ - 330 - ] - }, - "id": 331, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 311, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:5" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 330, - "linearizedBaseContracts": [ - 330 - ], - "name": "IERC1404", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d4ce1415", - "id": 322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "detectTransferRestriction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 313, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1328:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1328:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 315, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1342:10:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1342:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 317, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1354:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1354:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1327:41:5" - }, - "returnParameters": { - "id": 321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1392:5:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 319, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1392:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1391:7:5" - }, - "scope": 330, - "src": "1293:106:5", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7f4ab1dd", - "id": 329, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "messageForTransferRestriction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 324, - "mutability": "mutable", - "name": "restrictionCode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 329, - "src": "1443:21:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 323, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1443:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1442:23:5" - }, - "returnParameters": { - "id": 328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 329, - "src": "1489:13:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 326, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1489:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1488:15:5" - }, - "scope": 330, - "src": "1404:100:5", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 331, - "src": "1268:238:5" - } - ], - "src": "1242:265:5" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol", - "exportedSymbols": { - "IERC1404": [ - 330 - ] - }, - "id": 331, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 311, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:5" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 330, - "linearizedBaseContracts": [ - 330 - ], - "name": "IERC1404", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d4ce1415", - "id": 322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "detectTransferRestriction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 313, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1328:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1328:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 315, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1342:10:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1342:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 317, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1354:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1354:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1327:41:5" - }, - "returnParameters": { - "id": 321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 322, - "src": "1392:5:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 319, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1392:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1391:7:5" - }, - "scope": 330, - "src": "1293:106:5", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7f4ab1dd", - "id": 329, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "messageForTransferRestriction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 324, - "mutability": "mutable", - "name": "restrictionCode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 329, - "src": "1443:21:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 323, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1443:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1442:23:5" - }, - "returnParameters": { - "id": 328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 329, - "src": "1489:13:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 326, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1489:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1488:15:5" - }, - "scope": 330, - "src": "1404:100:5", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 331, - "src": "1268:238:5" - } - ], - "src": "1242:265:5" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.523Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC165.json b/build/contracts/IERC165.json deleted file mode 100644 index 28d06da51..000000000 --- a/build/contracts/IERC165.json +++ /dev/null @@ -1,334 +0,0 @@ -{ - "contractName": "IERC165", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n", - "sourcePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "exportedSymbols": { - "IERC165": [ - 14140 - ] - }, - "id": 14141, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14130, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:84" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 14131, - "nodeType": "StructuredDocumentation", - "src": "58:279:84", - "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." - }, - "fullyImplemented": false, - "id": 14140, - "linearizedBaseContracts": [ - 14140 - ], - "name": "IERC165", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 14132, - "nodeType": "StructuredDocumentation", - "src": "362:340:84", - "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." - }, - "functionSelector": "01ffc9a7", - "id": 14139, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14134, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14139, - "src": "734:18:84", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14133, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "734:6:84", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "733:20:84" - }, - "returnParameters": { - "id": 14138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14137, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14139, - "src": "777:4:84", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14136, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "777:4:84", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "776:6:84" - }, - "scope": 14140, - "src": "707:76:84", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 14141, - "src": "338:447:84" - } - ], - "src": "33:753:84" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "exportedSymbols": { - "IERC165": [ - 14140 - ] - }, - "id": 14141, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14130, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:84" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 14131, - "nodeType": "StructuredDocumentation", - "src": "58:279:84", - "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." - }, - "fullyImplemented": false, - "id": 14140, - "linearizedBaseContracts": [ - 14140 - ], - "name": "IERC165", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 14132, - "nodeType": "StructuredDocumentation", - "src": "362:340:84", - "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." - }, - "functionSelector": "01ffc9a7", - "id": 14139, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14134, - "mutability": "mutable", - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14139, - "src": "734:18:84", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 14133, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "734:6:84", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "733:20:84" - }, - "returnParameters": { - "id": 14138, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14137, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14139, - "src": "777:4:84", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14136, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "777:4:84", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "776:6:84" - }, - "scope": 14140, - "src": "707:76:84", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 14141, - "src": "338:447:84" - } - ], - "src": "33:753:84" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.899Z", - "devdoc": { - "details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.", - "kind": "dev", - "methods": { - "supportsInterface(bytes4)": { - "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC1654.json b/build/contracts/IERC1654.json deleted file mode 100644 index 4925acb31..000000000 --- a/build/contracts/IERC1654.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "contractName": "IERC1654", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "signature", - "type": "bytes" - } - ], - "name": "isValidSignature", - "outputs": [ - { - "internalType": "bytes4", - "name": "magicValue", - "type": "bytes4" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":\"IERC1654\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\ninterface IERC1654\n{\n\tfunction isValidSignature(bytes32 hash, bytes calldata signature) external view returns (bytes4 magicValue);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "exportedSymbols": { - "IERC1654": [ - 13124 - ] - }, - "id": 13125, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13114, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:74" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13124, - "linearizedBaseContracts": [ - 13124 - ], - "name": "IERC1654", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "1626ba7e", - "id": 13123, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isValidSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13116, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "73:12:74", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13115, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "73:7:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13118, - "mutability": "mutable", - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "87:24:74", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13117, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "87:5:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "72:40:74" - }, - "returnParameters": { - "id": 13122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13121, - "mutability": "mutable", - "name": "magicValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "136:17:74", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 13120, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "136:6:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "135:19:74" - }, - "scope": 13124, - "src": "47:108:74", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13125, - "src": "25:132:74" - } - ], - "src": "0:158:74" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "exportedSymbols": { - "IERC1654": [ - 13124 - ] - }, - "id": 13125, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13114, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:74" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13124, - "linearizedBaseContracts": [ - 13124 - ], - "name": "IERC1654", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "1626ba7e", - "id": 13123, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isValidSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13116, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "73:12:74", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13115, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "73:7:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13118, - "mutability": "mutable", - "name": "signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "87:24:74", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13117, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "87:5:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "72:40:74" - }, - "returnParameters": { - "id": 13122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13121, - "mutability": "mutable", - "name": "magicValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13123, - "src": "136:17:74", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 13120, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "136:6:74", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "135:19:74" - }, - "scope": 13124, - "src": "47:108:74", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13125, - "src": "25:132:74" - } - ], - "src": "0:158:74" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.893Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC20.json b/build/contracts/IERC20.json deleted file mode 100644 index 1ff93fd26..000000000 --- a/build/contracts/IERC20.json +++ /dev/null @@ -1,2113 +0,0 @@ -{ - "contractName": "IERC20", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "exportedSymbols": { - "IERC20": [ - 15327 - ] - }, - "id": 15328, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 15251, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:89" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 15252, - "nodeType": "StructuredDocumentation", - "src": "58:70:89", - "text": " @dev Interface of the ERC20 standard as defined in the EIP." - }, - "fullyImplemented": false, - "id": 15327, - "linearizedBaseContracts": [ - 15327 - ], - "name": "IERC20", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 15253, - "nodeType": "StructuredDocumentation", - "src": "152:66:89", - "text": " @dev Returns the amount of tokens in existence." - }, - "functionSelector": "18160ddd", - "id": 15258, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15254, - "nodeType": "ParameterList", - "parameters": [], - "src": "243:2:89" - }, - "returnParameters": { - "id": 15257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15256, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15258, - "src": "269:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "269:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "268:9:89" - }, - "scope": 15327, - "src": "223:55:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15259, - "nodeType": "StructuredDocumentation", - "src": "284:72:89", - "text": " @dev Returns the amount of tokens owned by `account`." - }, - "functionSelector": "70a08231", - "id": 15266, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15262, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15261, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15266, - "src": "380:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15260, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "380:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "379:17:89" - }, - "returnParameters": { - "id": 15265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15264, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15266, - "src": "420:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "420:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "419:9:89" - }, - "scope": 15327, - "src": "361:68:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15267, - "nodeType": "StructuredDocumentation", - "src": "435:209:89", - "text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." - }, - "functionSelector": "a9059cbb", - "id": 15276, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15269, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "667:17:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "667:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15271, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "686:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "686:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:35:89" - }, - "returnParameters": { - "id": 15275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15274, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "720:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15273, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "720:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "719:6:89" - }, - "scope": 15327, - "src": "649:77:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15277, - "nodeType": "StructuredDocumentation", - "src": "732:264:89", - "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." - }, - "functionSelector": "dd62ed3e", - "id": 15286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15279, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1020:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15278, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15281, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1035:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15280, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1035:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:32:89" - }, - "returnParameters": { - "id": 15285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1075:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1075:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1074:9:89" - }, - "scope": 15327, - "src": "1001:83:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15287, - "nodeType": "StructuredDocumentation", - "src": "1090:642:89", - "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." - }, - "functionSelector": "095ea7b3", - "id": 15296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15289, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1754:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15288, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1754:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15291, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1771:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1771:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1753:33:89" - }, - "returnParameters": { - "id": 15295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1805:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15293, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1805:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1804:6:89" - }, - "scope": 15327, - "src": "1737:74:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15297, - "nodeType": "StructuredDocumentation", - "src": "1817:296:89", - "text": " @dev Moves `amount` tokens from `sender` to `recipient` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." - }, - "functionSelector": "23b872dd", - "id": 15308, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15299, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2140:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15298, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2140:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15301, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2156:17:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2156:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15303, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2175:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15302, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2175:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2139:51:89" - }, - "returnParameters": { - "id": 15307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2209:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15305, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2209:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2208:6:89" - }, - "scope": 15327, - "src": "2118:97:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": { - "id": 15309, - "nodeType": "StructuredDocumentation", - "src": "2221:158:89", - "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." - }, - "id": 15317, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 15316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15311, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2399:20:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15310, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2399:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15313, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2421:18:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2421:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15315, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2441:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15314, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2441:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2398:57:89" - }, - "src": "2384:72:89" - }, - { - "anonymous": false, - "documentation": { - "id": 15318, - "nodeType": "StructuredDocumentation", - "src": "2462:148:89", - "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." - }, - "id": 15326, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 15325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15320, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2630:21:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15319, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2630:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15322, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2653:23:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15321, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2653:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15324, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2678:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2678:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2629:63:89" - }, - "src": "2615:78:89" - } - ], - "scope": 15328, - "src": "129:2566:89" - } - ], - "src": "33:2663:89" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "exportedSymbols": { - "IERC20": [ - 15327 - ] - }, - "id": 15328, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 15251, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:89" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 15252, - "nodeType": "StructuredDocumentation", - "src": "58:70:89", - "text": " @dev Interface of the ERC20 standard as defined in the EIP." - }, - "fullyImplemented": false, - "id": 15327, - "linearizedBaseContracts": [ - 15327 - ], - "name": "IERC20", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 15253, - "nodeType": "StructuredDocumentation", - "src": "152:66:89", - "text": " @dev Returns the amount of tokens in existence." - }, - "functionSelector": "18160ddd", - "id": 15258, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15254, - "nodeType": "ParameterList", - "parameters": [], - "src": "243:2:89" - }, - "returnParameters": { - "id": 15257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15256, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15258, - "src": "269:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "269:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "268:9:89" - }, - "scope": 15327, - "src": "223:55:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15259, - "nodeType": "StructuredDocumentation", - "src": "284:72:89", - "text": " @dev Returns the amount of tokens owned by `account`." - }, - "functionSelector": "70a08231", - "id": 15266, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15262, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15261, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15266, - "src": "380:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15260, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "380:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "379:17:89" - }, - "returnParameters": { - "id": 15265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15264, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15266, - "src": "420:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "420:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "419:9:89" - }, - "scope": 15327, - "src": "361:68:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15267, - "nodeType": "StructuredDocumentation", - "src": "435:209:89", - "text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." - }, - "functionSelector": "a9059cbb", - "id": 15276, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15269, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "667:17:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "667:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15271, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "686:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "686:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:35:89" - }, - "returnParameters": { - "id": 15275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15274, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15276, - "src": "720:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15273, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "720:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "719:6:89" - }, - "scope": 15327, - "src": "649:77:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15277, - "nodeType": "StructuredDocumentation", - "src": "732:264:89", - "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." - }, - "functionSelector": "dd62ed3e", - "id": 15286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15279, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1020:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15278, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15281, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1035:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15280, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1035:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:32:89" - }, - "returnParameters": { - "id": 15285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15286, - "src": "1075:7:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1075:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1074:9:89" - }, - "scope": 15327, - "src": "1001:83:89", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15287, - "nodeType": "StructuredDocumentation", - "src": "1090:642:89", - "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." - }, - "functionSelector": "095ea7b3", - "id": 15296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15289, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1754:15:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15288, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1754:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15291, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1771:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1771:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1753:33:89" - }, - "returnParameters": { - "id": 15295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15296, - "src": "1805:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15293, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1805:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1804:6:89" - }, - "scope": 15327, - "src": "1737:74:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 15297, - "nodeType": "StructuredDocumentation", - "src": "1817:296:89", - "text": " @dev Moves `amount` tokens from `sender` to `recipient` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." - }, - "functionSelector": "23b872dd", - "id": 15308, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 15304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15299, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2140:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15298, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2140:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15301, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2156:17:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2156:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15303, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2175:14:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15302, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2175:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2139:51:89" - }, - "returnParameters": { - "id": 15307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15308, - "src": "2209:4:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15305, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2209:4:89", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2208:6:89" - }, - "scope": 15327, - "src": "2118:97:89", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": { - "id": 15309, - "nodeType": "StructuredDocumentation", - "src": "2221:158:89", - "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." - }, - "id": 15317, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 15316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15311, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2399:20:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15310, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2399:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15313, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2421:18:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2421:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15315, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15317, - "src": "2441:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15314, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2441:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2398:57:89" - }, - "src": "2384:72:89" - }, - { - "anonymous": false, - "documentation": { - "id": 15318, - "nodeType": "StructuredDocumentation", - "src": "2462:148:89", - "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." - }, - "id": 15326, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 15325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15320, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2630:21:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15319, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2630:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15322, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2653:23:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15321, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2653:7:89", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 15324, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 15326, - "src": "2678:13:89", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2678:7:89", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2629:63:89" - }, - "src": "2615:78:89" - } - ], - "scope": 15328, - "src": "129:2566:89" - } - ], - "src": "33:2663:89" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.905Z", - "devdoc": { - "details": "Interface of the ERC20 standard as defined in the EIP.", - "events": { - "Approval(address,address,uint256)": { - "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." - }, - "Transfer(address,address,uint256)": { - "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." - } - }, - "kind": "dev", - "methods": { - "allowance(address,address)": { - "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." - }, - "approve(address,uint256)": { - "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the amount of tokens owned by `account`." - }, - "totalSupply()": { - "details": "Returns the amount of tokens in existence." - }, - "transfer(address,uint256)": { - "details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." - }, - "transferFrom(address,address,uint256)": { - "details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC721.json b/build/contracts/IERC721.json deleted file mode 100644 index ac3464126..000000000 --- a/build/contracts/IERC721.json +++ /dev/null @@ -1,3126 +0,0 @@ -{ - "contractName": "IERC721", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transfered from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.2;\n\nimport \"../../introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transfered from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "exportedSymbols": { - "IERC721": [ - 16374 - ] - }, - "id": 16375, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16260, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:91" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "file": "../../introspection/IERC165.sol", - "id": 16261, - "nodeType": "ImportDirective", - "scope": 16375, - "sourceUnit": 14141, - "src": "58:41:91", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16263, - "name": "IERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14140, - "src": "190:7:91", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$14140", - "typeString": "contract IERC165" - } - }, - "id": 16264, - "nodeType": "InheritanceSpecifier", - "src": "190:7:91" - } - ], - "contractDependencies": [ - 14140 - ], - "contractKind": "interface", - "documentation": { - "id": 16262, - "nodeType": "StructuredDocumentation", - "src": "101:67:91", - "text": " @dev Required interface of an ERC721 compliant contract." - }, - "fullyImplemented": false, - "id": 16374, - "linearizedBaseContracts": [ - 16374, - 14140 - ], - "name": "IERC721", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": { - "id": 16265, - "nodeType": "StructuredDocumentation", - "src": "204:87:91", - "text": " @dev Emitted when `tokenId` token is transfered from `from` to `to`." - }, - "id": 16273, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 16272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16267, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "311:20:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16266, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "311:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16269, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "333:18:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "333:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16271, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "353:23:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "353:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "310:67:91" - }, - "src": "296:82:91" - }, - { - "anonymous": false, - "documentation": { - "id": 16274, - "nodeType": "StructuredDocumentation", - "src": "384:94:91", - "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." - }, - "id": 16282, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 16281, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16276, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "498:21:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16275, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "498:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16278, - "indexed": true, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "521:24:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "521:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16280, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "547:23:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "547:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "497:74:91" - }, - "src": "483:89:91" - }, - { - "anonymous": false, - "documentation": { - "id": 16283, - "nodeType": "StructuredDocumentation", - "src": "578:117:91", - "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." - }, - "id": 16291, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 16290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16285, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "721:21:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16284, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "721:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16287, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "744:24:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "744:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16289, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "770:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16288, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "770:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "720:64:91" - }, - "src": "700:85:91" - }, - { - "body": null, - "documentation": { - "id": 16292, - "nodeType": "StructuredDocumentation", - "src": "791:76:91", - "text": " @dev Returns the number of tokens in ``owner``'s account." - }, - "functionSelector": "70a08231", - "id": 16299, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16294, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16299, - "src": "891:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "891:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "890:15:91" - }, - "returnParameters": { - "id": 16298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16297, - "mutability": "mutable", - "name": "balance", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16299, - "src": "929:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "929:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "928:17:91" - }, - "scope": 16374, - "src": "872:74:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16300, - "nodeType": "StructuredDocumentation", - "src": "952:131:91", - "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "6352211e", - "id": 16307, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16302, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16307, - "src": "1105:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1105:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1104:17:91" - }, - "returnParameters": { - "id": 16306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16305, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16307, - "src": "1145:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16304, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1145:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1144:15:91" - }, - "scope": 16374, - "src": "1088:72:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16308, - "nodeType": "StructuredDocumentation", - "src": "1166:690:91", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "42842e0e", - "id": 16317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16310, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1887:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1887:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16312, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1901:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1901:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16314, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1913:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16313, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1913:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1886:43:91" - }, - "returnParameters": { - "id": 16316, - "nodeType": "ParameterList", - "parameters": [], - "src": "1938:0:91" - }, - "scope": 16374, - "src": "1861:78:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16318, - "nodeType": "StructuredDocumentation", - "src": "1945:504:91", - "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." - }, - "functionSelector": "23b872dd", - "id": 16327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16320, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2476:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16319, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2476:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16322, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2490:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16321, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2490:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16324, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2502:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2502:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2475:43:91" - }, - "returnParameters": { - "id": 16326, - "nodeType": "ParameterList", - "parameters": [], - "src": "2527:0:91" - }, - "scope": 16374, - "src": "2454:74:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16328, - "nodeType": "StructuredDocumentation", - "src": "2534:452:91", - "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." - }, - "functionSelector": "095ea7b3", - "id": 16335, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16330, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16335, - "src": "3008:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3008:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16332, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16335, - "src": "3020:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3020:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3007:29:91" - }, - "returnParameters": { - "id": 16334, - "nodeType": "ParameterList", - "parameters": [], - "src": "3045:0:91" - }, - "scope": 16374, - "src": "2991:55:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16336, - "nodeType": "StructuredDocumentation", - "src": "3052:139:91", - "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "081812fc", - "id": 16343, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16339, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16338, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16343, - "src": "3217:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16337, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3217:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3216:17:91" - }, - "returnParameters": { - "id": 16342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16341, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16343, - "src": "3257:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16340, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3257:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3256:18:91" - }, - "scope": 16374, - "src": "3196:79:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16344, - "nodeType": "StructuredDocumentation", - "src": "3281:309:91", - "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." - }, - "functionSelector": "a22cb465", - "id": 16351, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16346, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16351, - "src": "3622:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3622:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16348, - "mutability": "mutable", - "name": "_approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16351, - "src": "3640:14:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16347, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3640:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3621:34:91" - }, - "returnParameters": { - "id": 16350, - "nodeType": "ParameterList", - "parameters": [], - "src": "3664:0:91" - }, - "scope": 16374, - "src": "3595:70:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16352, - "nodeType": "StructuredDocumentation", - "src": "3671:138:91", - "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" - }, - "functionSelector": "e985e9c5", - "id": 16361, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16354, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3840:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3840:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16356, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3855:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16355, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3855:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3839:33:91" - }, - "returnParameters": { - "id": 16360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16359, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3896:4:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16358, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3896:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3895:6:91" - }, - "scope": 16374, - "src": "3814:88:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16362, - "nodeType": "StructuredDocumentation", - "src": "3908:566:91", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "b88d4fde", - "id": 16373, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16364, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4505:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4505:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16366, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4519:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4519:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16368, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4531:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4531:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16370, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4548:19:91", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16369, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4548:5:91", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4504:64:91" - }, - "returnParameters": { - "id": 16372, - "nodeType": "ParameterList", - "parameters": [], - "src": "4577:0:91" - }, - "scope": 16374, - "src": "4479:99:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16375, - "src": "169:4411:91" - } - ], - "src": "33:4548:91" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "exportedSymbols": { - "IERC721": [ - 16374 - ] - }, - "id": 16375, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16260, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:91" - }, - { - "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", - "file": "../../introspection/IERC165.sol", - "id": 16261, - "nodeType": "ImportDirective", - "scope": 16375, - "sourceUnit": 14141, - "src": "58:41:91", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16263, - "name": "IERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14140, - "src": "190:7:91", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$14140", - "typeString": "contract IERC165" - } - }, - "id": 16264, - "nodeType": "InheritanceSpecifier", - "src": "190:7:91" - } - ], - "contractDependencies": [ - 14140 - ], - "contractKind": "interface", - "documentation": { - "id": 16262, - "nodeType": "StructuredDocumentation", - "src": "101:67:91", - "text": " @dev Required interface of an ERC721 compliant contract." - }, - "fullyImplemented": false, - "id": 16374, - "linearizedBaseContracts": [ - 16374, - 14140 - ], - "name": "IERC721", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": { - "id": 16265, - "nodeType": "StructuredDocumentation", - "src": "204:87:91", - "text": " @dev Emitted when `tokenId` token is transfered from `from` to `to`." - }, - "id": 16273, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 16272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16267, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "311:20:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16266, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "311:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16269, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "333:18:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "333:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16271, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16273, - "src": "353:23:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "353:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "310:67:91" - }, - "src": "296:82:91" - }, - { - "anonymous": false, - "documentation": { - "id": 16274, - "nodeType": "StructuredDocumentation", - "src": "384:94:91", - "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." - }, - "id": 16282, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 16281, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16276, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "498:21:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16275, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "498:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16278, - "indexed": true, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "521:24:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "521:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16280, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16282, - "src": "547:23:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "547:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "497:74:91" - }, - "src": "483:89:91" - }, - { - "anonymous": false, - "documentation": { - "id": 16283, - "nodeType": "StructuredDocumentation", - "src": "578:117:91", - "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." - }, - "id": 16291, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 16290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16285, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "721:21:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16284, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "721:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16287, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "744:24:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "744:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16289, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16291, - "src": "770:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16288, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "770:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "720:64:91" - }, - "src": "700:85:91" - }, - { - "body": null, - "documentation": { - "id": 16292, - "nodeType": "StructuredDocumentation", - "src": "791:76:91", - "text": " @dev Returns the number of tokens in ``owner``'s account." - }, - "functionSelector": "70a08231", - "id": 16299, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16294, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16299, - "src": "891:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "891:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "890:15:91" - }, - "returnParameters": { - "id": 16298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16297, - "mutability": "mutable", - "name": "balance", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16299, - "src": "929:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "929:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "928:17:91" - }, - "scope": 16374, - "src": "872:74:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16300, - "nodeType": "StructuredDocumentation", - "src": "952:131:91", - "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "6352211e", - "id": 16307, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16302, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16307, - "src": "1105:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1105:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1104:17:91" - }, - "returnParameters": { - "id": 16306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16305, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16307, - "src": "1145:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16304, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1145:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1144:15:91" - }, - "scope": 16374, - "src": "1088:72:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16308, - "nodeType": "StructuredDocumentation", - "src": "1166:690:91", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "42842e0e", - "id": 16317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16310, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1887:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1887:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16312, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1901:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1901:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16314, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16317, - "src": "1913:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16313, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1913:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1886:43:91" - }, - "returnParameters": { - "id": 16316, - "nodeType": "ParameterList", - "parameters": [], - "src": "1938:0:91" - }, - "scope": 16374, - "src": "1861:78:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16318, - "nodeType": "StructuredDocumentation", - "src": "1945:504:91", - "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." - }, - "functionSelector": "23b872dd", - "id": 16327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16320, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2476:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16319, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2476:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16322, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2490:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16321, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2490:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16324, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16327, - "src": "2502:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2502:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2475:43:91" - }, - "returnParameters": { - "id": 16326, - "nodeType": "ParameterList", - "parameters": [], - "src": "2527:0:91" - }, - "scope": 16374, - "src": "2454:74:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16328, - "nodeType": "StructuredDocumentation", - "src": "2534:452:91", - "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." - }, - "functionSelector": "095ea7b3", - "id": 16335, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16330, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16335, - "src": "3008:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3008:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16332, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16335, - "src": "3020:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3020:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3007:29:91" - }, - "returnParameters": { - "id": 16334, - "nodeType": "ParameterList", - "parameters": [], - "src": "3045:0:91" - }, - "scope": 16374, - "src": "2991:55:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16336, - "nodeType": "StructuredDocumentation", - "src": "3052:139:91", - "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." - }, - "functionSelector": "081812fc", - "id": 16343, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16339, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16338, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16343, - "src": "3217:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16337, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3217:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3216:17:91" - }, - "returnParameters": { - "id": 16342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16341, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16343, - "src": "3257:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16340, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3257:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3256:18:91" - }, - "scope": 16374, - "src": "3196:79:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16344, - "nodeType": "StructuredDocumentation", - "src": "3281:309:91", - "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." - }, - "functionSelector": "a22cb465", - "id": 16351, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16346, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16351, - "src": "3622:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3622:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16348, - "mutability": "mutable", - "name": "_approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16351, - "src": "3640:14:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16347, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3640:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3621:34:91" - }, - "returnParameters": { - "id": 16350, - "nodeType": "ParameterList", - "parameters": [], - "src": "3664:0:91" - }, - "scope": 16374, - "src": "3595:70:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16352, - "nodeType": "StructuredDocumentation", - "src": "3671:138:91", - "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" - }, - "functionSelector": "e985e9c5", - "id": 16361, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16354, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3840:13:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3840:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16356, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3855:16:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16355, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3855:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3839:33:91" - }, - "returnParameters": { - "id": 16360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16359, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16361, - "src": "3896:4:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16358, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3896:4:91", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3895:6:91" - }, - "scope": 16374, - "src": "3814:88:91", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16362, - "nodeType": "StructuredDocumentation", - "src": "3908:566:91", - "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." - }, - "functionSelector": "b88d4fde", - "id": 16373, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16364, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4505:12:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4505:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16366, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4519:10:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4519:7:91", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16368, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4531:15:91", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4531:7:91", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16370, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16373, - "src": "4548:19:91", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16369, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4548:5:91", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4504:64:91" - }, - "returnParameters": { - "id": 16372, - "nodeType": "ParameterList", - "parameters": [], - "src": "4577:0:91" - }, - "scope": 16374, - "src": "4479:99:91", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16375, - "src": "169:4411:91" - } - ], - "src": "33:4548:91" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.911Z", - "devdoc": { - "details": "Required interface of an ERC721 compliant contract.", - "events": { - "Approval(address,address,uint256)": { - "details": "Emitted when `owner` enables `approved` to manage the `tokenId` token." - }, - "ApprovalForAll(address,address,bool)": { - "details": "Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." - }, - "Transfer(address,address,uint256)": { - "details": "Emitted when `tokenId` token is transfered from `from` to `to`." - } - }, - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "supportsInterface(bytes4)": { - "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC721Enumerable.json b/build/contracts/IERC721Enumerable.json deleted file mode 100644 index 7901227fd..000000000 --- a/build/contracts/IERC721Enumerable.json +++ /dev/null @@ -1,1131 +0,0 @@ -{ - "contractName": "IERC721Enumerable", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional enumeration extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":\"IERC721Enumerable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.2;\n\nimport \"./IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "exportedSymbols": { - "IERC721Enumerable": [ - 16405 - ] - }, - "id": 16406, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16376, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:92" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 16377, - "nodeType": "ImportDirective", - "scope": 16406, - "sourceUnit": 16375, - "src": "58:23:92", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16379, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "251:7:92", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 16380, - "nodeType": "InheritanceSpecifier", - "src": "251:7:92" - } - ], - "contractDependencies": [ - 14140, - 16374 - ], - "contractKind": "interface", - "documentation": { - "id": 16378, - "nodeType": "StructuredDocumentation", - "src": "83:136:92", - "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "id": 16405, - "linearizedBaseContracts": [ - 16405, - 16374, - 14140 - ], - "name": "IERC721Enumerable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16381, - "nodeType": "StructuredDocumentation", - "src": "266:82:92", - "text": " @dev Returns the total amount of tokens stored by the contract." - }, - "functionSelector": "18160ddd", - "id": 16386, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16382, - "nodeType": "ParameterList", - "parameters": [], - "src": "373:2:92" - }, - "returnParameters": { - "id": 16385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16384, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16386, - "src": "399:7:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "399:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "398:9:92" - }, - "scope": 16405, - "src": "353:55:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16387, - "nodeType": "StructuredDocumentation", - "src": "414:171:92", - "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." - }, - "functionSelector": "2f745c59", - "id": 16396, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16389, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "619:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "619:7:92", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16391, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "634:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "634:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "618:30:92" - }, - "returnParameters": { - "id": 16395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16394, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "672:15:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16393, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "672:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "671:17:92" - }, - "scope": 16405, - "src": "590:99:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16397, - "nodeType": "StructuredDocumentation", - "src": "695:164:92", - "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." - }, - "functionSelector": "4f6ccce7", - "id": 16404, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16399, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16404, - "src": "886:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "886:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "885:15:92" - }, - "returnParameters": { - "id": 16403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16402, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16404, - "src": "924:7:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "924:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "923:9:92" - }, - "scope": 16405, - "src": "864:69:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16406, - "src": "220:715:92" - } - ], - "src": "33:903:92" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "exportedSymbols": { - "IERC721Enumerable": [ - 16405 - ] - }, - "id": 16406, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16376, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:92" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 16377, - "nodeType": "ImportDirective", - "scope": 16406, - "sourceUnit": 16375, - "src": "58:23:92", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16379, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "251:7:92", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 16380, - "nodeType": "InheritanceSpecifier", - "src": "251:7:92" - } - ], - "contractDependencies": [ - 14140, - 16374 - ], - "contractKind": "interface", - "documentation": { - "id": 16378, - "nodeType": "StructuredDocumentation", - "src": "83:136:92", - "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "id": 16405, - "linearizedBaseContracts": [ - 16405, - 16374, - 14140 - ], - "name": "IERC721Enumerable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16381, - "nodeType": "StructuredDocumentation", - "src": "266:82:92", - "text": " @dev Returns the total amount of tokens stored by the contract." - }, - "functionSelector": "18160ddd", - "id": 16386, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16382, - "nodeType": "ParameterList", - "parameters": [], - "src": "373:2:92" - }, - "returnParameters": { - "id": 16385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16384, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16386, - "src": "399:7:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16383, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "399:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "398:9:92" - }, - "scope": 16405, - "src": "353:55:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16387, - "nodeType": "StructuredDocumentation", - "src": "414:171:92", - "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." - }, - "functionSelector": "2f745c59", - "id": 16396, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16389, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "619:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "619:7:92", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16391, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "634:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "634:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "618:30:92" - }, - "returnParameters": { - "id": 16395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16394, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16396, - "src": "672:15:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16393, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "672:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "671:17:92" - }, - "scope": 16405, - "src": "590:99:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16397, - "nodeType": "StructuredDocumentation", - "src": "695:164:92", - "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." - }, - "functionSelector": "4f6ccce7", - "id": 16404, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenByIndex", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16399, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16404, - "src": "886:13:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "886:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "885:15:92" - }, - "returnParameters": { - "id": 16403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16402, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16404, - "src": "924:7:92", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "924:7:92", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "923:9:92" - }, - "scope": 16405, - "src": "864:69:92", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16406, - "src": "220:715:92" - } - ], - "src": "33:903:92" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.912Z", - "devdoc": { - "details": "See https://eips.ethereum.org/EIPS/eip-721", - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "supportsInterface(bytes4)": { - "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." - }, - "tokenByIndex(uint256)": { - "details": "Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens." - }, - "totalSupply()": { - "details": "Returns the total amount of tokens stored by the contract." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "title": "ERC-721 Non-Fungible Token Standard, optional enumeration extension", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC721Metadata.json b/build/contracts/IERC721Metadata.json deleted file mode 100644 index 1521a3b4b..000000000 --- a/build/contracts/IERC721Metadata.json +++ /dev/null @@ -1,1004 +0,0 @@ -{ - "contractName": "IERC721Metadata", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":\"IERC721Metadata\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.2;\n\nimport \"./IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol", - "exportedSymbols": { - "IERC721Metadata": [ - 16432 - ] - }, - "id": 16433, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16407, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:93" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 16408, - "nodeType": "ImportDirective", - "scope": 16433, - "sourceUnit": 16375, - "src": "58:23:93", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16410, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "246:7:93", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 16411, - "nodeType": "InheritanceSpecifier", - "src": "246:7:93" - } - ], - "contractDependencies": [ - 14140, - 16374 - ], - "contractKind": "interface", - "documentation": { - "id": 16409, - "nodeType": "StructuredDocumentation", - "src": "83:133:93", - "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "id": 16432, - "linearizedBaseContracts": [ - 16432, - 16374, - 14140 - ], - "name": "IERC721Metadata", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16412, - "nodeType": "StructuredDocumentation", - "src": "261:58:93", - "text": " @dev Returns the token collection name." - }, - "functionSelector": "06fdde03", - "id": 16417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16413, - "nodeType": "ParameterList", - "parameters": [], - "src": "337:2:93" - }, - "returnParameters": { - "id": 16416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16417, - "src": "363:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16414, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "363:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "362:15:93" - }, - "scope": 16432, - "src": "324:54:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16418, - "nodeType": "StructuredDocumentation", - "src": "384:60:93", - "text": " @dev Returns the token collection symbol." - }, - "functionSelector": "95d89b41", - "id": 16423, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16419, - "nodeType": "ParameterList", - "parameters": [], - "src": "464:2:93" - }, - "returnParameters": { - "id": 16422, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16421, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16423, - "src": "490:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "490:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "489:15:93" - }, - "scope": 16432, - "src": "449:56:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16424, - "nodeType": "StructuredDocumentation", - "src": "511:90:93", - "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "functionSelector": "c87b56dd", - "id": 16431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16426, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16431, - "src": "624:15:93", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16425, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "624:7:93", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "623:17:93" - }, - "returnParameters": { - "id": 16430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16431, - "src": "664:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "664:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "663:15:93" - }, - "scope": 16432, - "src": "606:73:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16433, - "src": "217:464:93" - } - ], - "src": "33:649:93" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol", - "exportedSymbols": { - "IERC721Metadata": [ - 16432 - ] - }, - "id": 16433, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16407, - "literals": [ - "solidity", - "^", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "33:23:93" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "id": 16408, - "nodeType": "ImportDirective", - "scope": 16433, - "sourceUnit": 16375, - "src": "58:23:93", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 16410, - "name": "IERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16374, - "src": "246:7:93", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$16374", - "typeString": "contract IERC721" - } - }, - "id": 16411, - "nodeType": "InheritanceSpecifier", - "src": "246:7:93" - } - ], - "contractDependencies": [ - 14140, - 16374 - ], - "contractKind": "interface", - "documentation": { - "id": 16409, - "nodeType": "StructuredDocumentation", - "src": "83:133:93", - "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "id": 16432, - "linearizedBaseContracts": [ - 16432, - 16374, - 14140 - ], - "name": "IERC721Metadata", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16412, - "nodeType": "StructuredDocumentation", - "src": "261:58:93", - "text": " @dev Returns the token collection name." - }, - "functionSelector": "06fdde03", - "id": 16417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16413, - "nodeType": "ParameterList", - "parameters": [], - "src": "337:2:93" - }, - "returnParameters": { - "id": 16416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16417, - "src": "363:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16414, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "363:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "362:15:93" - }, - "scope": 16432, - "src": "324:54:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16418, - "nodeType": "StructuredDocumentation", - "src": "384:60:93", - "text": " @dev Returns the token collection symbol." - }, - "functionSelector": "95d89b41", - "id": 16423, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16419, - "nodeType": "ParameterList", - "parameters": [], - "src": "464:2:93" - }, - "returnParameters": { - "id": 16422, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16421, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16423, - "src": "490:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "490:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "489:15:93" - }, - "scope": 16432, - "src": "449:56:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 16424, - "nodeType": "StructuredDocumentation", - "src": "511:90:93", - "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "functionSelector": "c87b56dd", - "id": 16431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16426, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16431, - "src": "624:15:93", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16425, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "624:7:93", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "623:17:93" - }, - "returnParameters": { - "id": 16430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16431, - "src": "664:13:93", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "664:6:93", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "663:15:93" - }, - "scope": 16432, - "src": "606:73:93", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16433, - "src": "217:464:93" - } - ], - "src": "33:649:93" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.912Z", - "devdoc": { - "details": "See https://eips.ethereum.org/EIPS/eip-721", - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "name()": { - "details": "Returns the token collection name." - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "supportsInterface(bytes4)": { - "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." - }, - "symbol()": { - "details": "Returns the token collection symbol." - }, - "tokenURI(uint256)": { - "details": "Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "title": "ERC-721 Non-Fungible Token Standard, optional metadata extension", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC721Receiver.json b/build/contracts/IERC721Receiver.json deleted file mode 100644 index 007d2346b..000000000 --- a/build/contracts/IERC721Receiver.json +++ /dev/null @@ -1,522 +0,0 @@ -{ - "contractName": "IERC721Receiver", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC721Received", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.\",\"kind\":\"dev\",\"methods\":{\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\"}},\"title\":\"ERC721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":\"IERC721Receiver\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data)\n external returns (bytes4);\n}\n", - "sourcePath": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "exportedSymbols": { - "IERC721Receiver": [ - 16450 - ] - }, - "id": 16451, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16434, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:94" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 16435, - "nodeType": "StructuredDocumentation", - "src": "58:152:94", - "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." - }, - "fullyImplemented": false, - "id": 16450, - "linearizedBaseContracts": [ - 16450 - ], - "name": "IERC721Receiver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16436, - "nodeType": "StructuredDocumentation", - "src": "243:485:94", - "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." - }, - "functionSelector": "150b7a02", - "id": 16449, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onERC721Received", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16445, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16438, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "759:16:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "759:7:94", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16440, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "777:12:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "777:7:94", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16442, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "791:15:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "791:7:94", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16444, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "808:19:94", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16443, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "808:5:94", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "758:70:94" - }, - "returnParameters": { - "id": 16448, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16447, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "851:6:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 16446, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "851:6:94", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "850:8:94" - }, - "scope": 16450, - "src": "733:126:94", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16451, - "src": "211:650:94" - } - ], - "src": "33:829:94" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "exportedSymbols": { - "IERC721Receiver": [ - 16450 - ] - }, - "id": 16451, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 16434, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:94" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 16435, - "nodeType": "StructuredDocumentation", - "src": "58:152:94", - "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." - }, - "fullyImplemented": false, - "id": 16450, - "linearizedBaseContracts": [ - 16450 - ], - "name": "IERC721Receiver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": { - "id": 16436, - "nodeType": "StructuredDocumentation", - "src": "243:485:94", - "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." - }, - "functionSelector": "150b7a02", - "id": 16449, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onERC721Received", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 16445, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16438, - "mutability": "mutable", - "name": "operator", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "759:16:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "759:7:94", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16440, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "777:12:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "777:7:94", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16442, - "mutability": "mutable", - "name": "tokenId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "791:15:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "791:7:94", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 16444, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "808:19:94", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 16443, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "808:5:94", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "758:70:94" - }, - "returnParameters": { - "id": 16448, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16447, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 16449, - "src": "851:6:94", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 16446, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "851:6:94", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "850:8:94" - }, - "scope": 16450, - "src": "733:126:94", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 16451, - "src": "211:650:94" - } - ], - "src": "33:829:94" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.912Z", - "devdoc": { - "details": "Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.", - "kind": "dev", - "methods": { - "onERC721Received(address,address,uint256,bytes)": { - "details": "Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." - } - }, - "title": "ERC721 token receiver interface", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IERC734.json b/build/contracts/IERC734.json deleted file mode 100644 index 5b0b0d93b..000000000 --- a/build/contracts/IERC734.json +++ /dev/null @@ -1,4196 +0,0 @@ -{ - "contractName": "IERC734", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "Approved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "Executed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ExecutionFailed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ExecutionRequested", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "name": "KeyAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "name": "KeyRemoved", - "type": "event" - }, - { - "inputs": [], - "name": "ACTION_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "CLAIM_SIGNER_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ECDSA_TYPE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ENCRYPTION_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MANAGEMENT_KEY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "RSA_TYPE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - } - ], - "name": "getKey", - "outputs": [ - { - "internalType": "uint256[]", - "name": "purposes", - "type": "uint256[]" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "key", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "purpose", - "type": "uint256" - } - ], - "name": "keyHasPurpose", - "outputs": [ - { - "internalType": "bool", - "name": "exists", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - } - ], - "name": "getKeysByPurpose", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "keys", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_keyType", - "type": "uint256" - } - ], - "name": "addKey", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_key", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_purpose", - "type": "uint256" - } - ], - "name": "removeKey", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [ - { - "internalType": "uint256", - "name": "executionId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "_approve", - "type": "bool" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "success", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyRemoved\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACTION_KEY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CLAIM_SIGNER_KEY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ECDSA_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ENCRYPTION_KEY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MANAGEMENT_KEY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RSA_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_keyType\",\"type\":\"uint256\"}],\"name\":\"addKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_approve\",\"type\":\"bool\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"}],\"name\":\"getKey\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"purposes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"getKeysByPurpose\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"keys\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"}],\"name\":\"keyHasPurpose\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"removeKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC734/IERC734.sol\":\"IERC734\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\nabstract contract IERC734\n{\n\t// 1: MANAGEMENT keys, which can manage the identity\n\tuint256 public constant MANAGEMENT_KEY = 1;\n\t// 2: ACTION keys, which perform actions in this identities name (signing, logins, transactions, etc.)\n\tuint256 public constant ACTION_KEY = 2;\n\t// 3: CLAIM signer keys, used to sign claims on other identities which need to be revokable.\n\tuint256 public constant CLAIM_SIGNER_KEY = 3;\n\t// 4: ENCRYPTION keys, used to encrypt data e.g. hold in claims.\n\tuint256 public constant ENCRYPTION_KEY = 4;\n\n\t// KeyType\n\tuint256 public constant ECDSA_TYPE = 1;\n\t// https://medium.com/@alexberegszaszi/lets-bring-the-70s-to-ethereum-48daa16a4b51\n\tuint256 public constant RSA_TYPE = 2;\n\n\t// Events\n\tevent KeyAdded (bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType);\n\tevent KeyRemoved (bytes32 indexed key, uint256 indexed purpose, uint256 indexed keyType);\n\tevent ExecutionRequested(uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);\n\tevent Executed (uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);\n\tevent ExecutionFailed (uint256 indexed executionId, address indexed to, uint256 indexed value, bytes data);\n\tevent Approved (uint256 indexed executionId, bool approved);\n\n\t// Functions\n\tfunction getKey (bytes32 _key ) external virtual view returns (uint256[] memory purposes, uint256 keyType, bytes32 key);\n\tfunction keyHasPurpose (bytes32 _key, uint256 purpose ) external virtual view returns (bool exists);\n\tfunction getKeysByPurpose(uint256 _purpose ) external virtual view returns (bytes32[] memory keys);\n\tfunction addKey (bytes32 _key, uint256 _purpose, uint256 _keyType ) external virtual returns (bool success);\n\tfunction removeKey (bytes32 _key, uint256 _purpose ) external virtual returns (bool success);\n\tfunction execute (address _to, uint256 _value, bytes calldata _data) external virtual returns (uint256 executionId);\n\tfunction approve (uint256 _id, bool _approve ) external virtual returns (bool success);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "exportedSymbols": { - "IERC734": [ - 13266 - ] - }, - "id": 13267, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13126, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:75" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 13266, - "linearizedBaseContracts": [ - 13266 - ], - "name": "IERC734", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "058b316c", - "id": 13129, - "mutability": "constant", - "name": "MANAGEMENT_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "108:42:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13127, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "108:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31", - "id": 13128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "149:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "75e5598c", - "id": 13132, - "mutability": "constant", - "name": "ACTION_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "257:38:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "257:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 13131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "294:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "c6702187", - "id": 13135, - "mutability": "constant", - "name": "CLAIM_SIGNER_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "392:44:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13133, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "392:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "33", - "id": 13134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "435:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9e140cc8", - "id": 13138, - "mutability": "constant", - "name": "ENCRYPTION_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "505:42:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "505:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "34", - "id": 13137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "546:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "49991ec8", - "id": 13141, - "mutability": "constant", - "name": "ECDSA_TYPE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "563:38:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13139, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "563:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31", - "id": 13140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "2d32d442", - "id": 13144, - "mutability": "constant", - "name": "RSA_TYPE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "688:36:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13142, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "688:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 13143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "723:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 13152, - "name": "KeyAdded", - "nodeType": "EventDefinition", - "parameters": { - "id": 13151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13146, - "indexed": true, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "764:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "764:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13148, - "indexed": true, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "785:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "785:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13150, - "indexed": true, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "810:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13149, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "810:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "763:71:75" - }, - "src": "739:96:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13160, - "name": "KeyRemoved", - "nodeType": "EventDefinition", - "parameters": { - "id": 13159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13154, - "indexed": true, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "862:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "862:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13156, - "indexed": true, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "883:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "883:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13158, - "indexed": true, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "908:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13157, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "908:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "861:71:75" - }, - "src": "837:96:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13170, - "name": "ExecutionRequested", - "nodeType": "EventDefinition", - "parameters": { - "id": 13169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13162, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "960:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13161, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "960:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13164, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "989:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13163, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "989:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13166, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "1009:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13165, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1009:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13168, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "1032:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13167, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1032:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "959:84:75" - }, - "src": "935:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13180, - "name": "Executed", - "nodeType": "EventDefinition", - "parameters": { - "id": 13179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13172, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1071:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1071:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13174, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1100:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1100:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13176, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1120:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13175, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1120:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13178, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1143:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13177, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1143:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1070:84:75" - }, - "src": "1046:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13190, - "name": "ExecutionFailed", - "nodeType": "EventDefinition", - "parameters": { - "id": 13189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13182, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1182:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1182:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13184, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1211:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1211:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13186, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1231:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13185, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1231:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13188, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1254:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13187, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1254:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1181:84:75" - }, - "src": "1157:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13196, - "name": "Approved", - "nodeType": "EventDefinition", - "parameters": { - "id": 13195, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13192, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13196, - "src": "1293:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13191, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1293:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13194, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13196, - "src": "1322:13:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13193, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1322:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1292:44:75" - }, - "src": "1268:69:75" - }, - { - "body": null, - "documentation": null, - "functionSelector": "12aaac70", - "id": 13208, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13198, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1380:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13197, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1380:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1379:51:75" - }, - "returnParameters": { - "id": 13207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13202, - "mutability": "mutable", - "name": "purposes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1462:25:75", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 13200, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1462:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13201, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1462:9:75", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13204, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1489:15:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13203, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1489:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13206, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1506:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13205, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1506:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1461:57:75" - }, - "scope": 13266, - "src": "1354:165:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d202158d", - "id": 13217, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "keyHasPurpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13213, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13210, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1547:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13209, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1547:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13212, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1561:15:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13211, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1561:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:51:75" - }, - "returnParameters": { - "id": 13216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13215, - "mutability": "mutable", - "name": "exists", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1629:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13214, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1629:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1628:13:75" - }, - "scope": 13266, - "src": "1521:121:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "9010f726", - "id": 13225, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getKeysByPurpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13219, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13225, - "src": "1670:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1670:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1669:51:75" - }, - "returnParameters": { - "id": 13224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13223, - "mutability": "mutable", - "name": "keys", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13225, - "src": "1752:21:75", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 13221, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1752:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 13222, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1752:9:75", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1751:23:75" - }, - "scope": 13266, - "src": "1644:131:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1d381240", - "id": 13236, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13227, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1803:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13226, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1803:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13229, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1817:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13228, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1817:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13231, - "mutability": "mutable", - "name": "_keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1835:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1835:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1802:51:75" - }, - "returnParameters": { - "id": 13235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13234, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1885:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13233, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1885:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1884:14:75" - }, - "scope": 13266, - "src": "1777:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "53d413c5", - "id": 13245, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13238, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "1927:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13237, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1927:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13240, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "1941:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1941:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1926:51:75" - }, - "returnParameters": { - "id": 13244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13243, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "2009:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2009:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2008:14:75" - }, - "scope": 13266, - "src": "1901:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b61d27f6", - "id": 13256, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "execute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13252, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13247, - "mutability": "mutable", - "name": "_to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2051:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13246, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2051:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13249, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2064:14:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2064:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13251, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2080:20:75", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13250, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2080:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2050:51:75" - }, - "returnParameters": { - "id": 13255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13254, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2133:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13253, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2133:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2132:21:75" - }, - "scope": 13266, - "src": "2025:129:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "747442d3", - "id": 13265, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13258, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2182:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2182:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13260, - "mutability": "mutable", - "name": "_approve", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2195:13:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13259, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2195:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2181:51:75" - }, - "returnParameters": { - "id": 13264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13263, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2264:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2264:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:14:75" - }, - "scope": 13266, - "src": "2156:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - } - ], - "scope": 13267, - "src": "25:2255:75" - } - ], - "src": "0:2281:75" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "exportedSymbols": { - "IERC734": [ - 13266 - ] - }, - "id": 13267, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13126, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:75" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 13266, - "linearizedBaseContracts": [ - 13266 - ], - "name": "IERC734", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "058b316c", - "id": 13129, - "mutability": "constant", - "name": "MANAGEMENT_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "108:42:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13127, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "108:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31", - "id": 13128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "149:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "75e5598c", - "id": 13132, - "mutability": "constant", - "name": "ACTION_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "257:38:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "257:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 13131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "294:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "c6702187", - "id": 13135, - "mutability": "constant", - "name": "CLAIM_SIGNER_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "392:44:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13133, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "392:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "33", - "id": 13134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "435:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9e140cc8", - "id": 13138, - "mutability": "constant", - "name": "ENCRYPTION_KEY", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "505:42:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "505:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "34", - "id": 13137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "546:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "49991ec8", - "id": 13141, - "mutability": "constant", - "name": "ECDSA_TYPE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "563:38:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13139, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "563:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31", - "id": 13140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "2d32d442", - "id": 13144, - "mutability": "constant", - "name": "RSA_TYPE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13266, - "src": "688:36:75", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13142, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "688:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 13143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "723:1:75", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 13152, - "name": "KeyAdded", - "nodeType": "EventDefinition", - "parameters": { - "id": 13151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13146, - "indexed": true, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "764:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "764:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13148, - "indexed": true, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "785:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "785:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13150, - "indexed": true, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13152, - "src": "810:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13149, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "810:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "763:71:75" - }, - "src": "739:96:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13160, - "name": "KeyRemoved", - "nodeType": "EventDefinition", - "parameters": { - "id": 13159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13154, - "indexed": true, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "862:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "862:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13156, - "indexed": true, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "883:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "883:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13158, - "indexed": true, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13160, - "src": "908:23:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13157, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "908:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "861:71:75" - }, - "src": "837:96:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13170, - "name": "ExecutionRequested", - "nodeType": "EventDefinition", - "parameters": { - "id": 13169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13162, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "960:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13161, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "960:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13164, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "989:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13163, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "989:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13166, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "1009:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13165, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1009:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13168, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13170, - "src": "1032:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13167, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1032:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "959:84:75" - }, - "src": "935:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13180, - "name": "Executed", - "nodeType": "EventDefinition", - "parameters": { - "id": 13179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13172, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1071:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1071:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13174, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1100:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1100:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13176, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1120:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13175, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1120:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13178, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13180, - "src": "1143:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13177, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1143:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1070:84:75" - }, - "src": "1046:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13190, - "name": "ExecutionFailed", - "nodeType": "EventDefinition", - "parameters": { - "id": 13189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13182, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1182:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13181, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1182:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13184, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1211:18:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1211:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13186, - "indexed": true, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1231:21:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13185, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1231:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13188, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13190, - "src": "1254:10:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13187, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1254:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1181:84:75" - }, - "src": "1157:109:75" - }, - { - "anonymous": false, - "documentation": null, - "id": 13196, - "name": "Approved", - "nodeType": "EventDefinition", - "parameters": { - "id": 13195, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13192, - "indexed": true, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13196, - "src": "1293:27:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13191, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1293:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13194, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13196, - "src": "1322:13:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13193, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1322:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1292:44:75" - }, - "src": "1268:69:75" - }, - { - "body": null, - "documentation": null, - "functionSelector": "12aaac70", - "id": 13208, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13198, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1380:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13197, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1380:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1379:51:75" - }, - "returnParameters": { - "id": 13207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13202, - "mutability": "mutable", - "name": "purposes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1462:25:75", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 13200, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1462:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13201, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1462:9:75", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13204, - "mutability": "mutable", - "name": "keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1489:15:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13203, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1489:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13206, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13208, - "src": "1506:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13205, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1506:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1461:57:75" - }, - "scope": 13266, - "src": "1354:165:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d202158d", - "id": 13217, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "keyHasPurpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13213, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13210, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1547:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13209, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1547:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13212, - "mutability": "mutable", - "name": "purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1561:15:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13211, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1561:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:51:75" - }, - "returnParameters": { - "id": 13216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13215, - "mutability": "mutable", - "name": "exists", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13217, - "src": "1629:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13214, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1629:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1628:13:75" - }, - "scope": 13266, - "src": "1521:121:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "9010f726", - "id": 13225, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getKeysByPurpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13219, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13225, - "src": "1670:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1670:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1669:51:75" - }, - "returnParameters": { - "id": 13224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13223, - "mutability": "mutable", - "name": "keys", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13225, - "src": "1752:21:75", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 13221, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1752:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 13222, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1752:9:75", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1751:23:75" - }, - "scope": 13266, - "src": "1644:131:75", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1d381240", - "id": 13236, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13227, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1803:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13226, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1803:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13229, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1817:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13228, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1817:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13231, - "mutability": "mutable", - "name": "_keyType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1835:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1835:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1802:51:75" - }, - "returnParameters": { - "id": 13235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13234, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13236, - "src": "1885:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13233, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1885:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1884:14:75" - }, - "scope": 13266, - "src": "1777:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "53d413c5", - "id": 13245, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13238, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "1927:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13237, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1927:7:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13240, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "1941:16:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1941:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1926:51:75" - }, - "returnParameters": { - "id": 13244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13243, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13245, - "src": "2009:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2009:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2008:14:75" - }, - "scope": 13266, - "src": "1901:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b61d27f6", - "id": 13256, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "execute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13252, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13247, - "mutability": "mutable", - "name": "_to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2051:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13246, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2051:7:75", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13249, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2064:14:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2064:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13251, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2080:20:75", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13250, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2080:5:75", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2050:51:75" - }, - "returnParameters": { - "id": 13255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13254, - "mutability": "mutable", - "name": "executionId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13256, - "src": "2133:19:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13253, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2133:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2132:21:75" - }, - "scope": 13266, - "src": "2025:129:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "747442d3", - "id": 13265, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13258, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2182:11:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2182:7:75", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13260, - "mutability": "mutable", - "name": "_approve", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2195:13:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13259, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2195:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2181:51:75" - }, - "returnParameters": { - "id": 13264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13263, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13265, - "src": "2264:12:75", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2264:4:75", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:14:75" - }, - "scope": 13266, - "src": "2156:122:75", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - } - ], - "scope": 13267, - "src": "25:2255:75" - } - ], - "src": "0:2281:75" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.893Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IOracle.json b/build/contracts/IOracle.json deleted file mode 100644 index 98de3e9a8..000000000 --- a/build/contracts/IOracle.json +++ /dev/null @@ -1,533 +0,0 @@ -{ - "contractName": "IOracle", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":\"IOracle\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\n/**\n * @title EIP1154 interface\n * @dev see https://eips.ethereum.org/EIPS/eip-1154\n */\ninterface IOracleConsumer\n{\n\tfunction receiveResult(bytes32, bytes calldata)\n\t\texternal;\n}\n\ninterface IOracle\n{\n\tfunction resultFor(bytes32)\n\t\texternal view returns (bytes memory);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "exportedSymbols": { - "IOracle": [ - 13075 - ], - "IOracleConsumer": [ - 13067 - ] - }, - "id": 13076, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13058, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 13059, - "nodeType": "StructuredDocumentation", - "src": "25:87:70", - "text": " @title EIP1154 interface\n @dev see https://eips.ethereum.org/EIPS/eip-1154" - }, - "fullyImplemented": false, - "id": 13067, - "linearizedBaseContracts": [ - 13067 - ], - "name": "IOracleConsumer", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5dd80855", - "id": 13066, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13061, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "165:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "165:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13063, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "174:14:70", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13062, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "164:25:70" - }, - "returnParameters": { - "id": 13065, - "nodeType": "ParameterList", - "parameters": [], - "src": "200:0:70" - }, - "scope": 13067, - "src": "142:59:70", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "113:90:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13075, - "linearizedBaseContracts": [ - 13075 - ], - "name": "IOracle", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 13074, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "245:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "245:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "244:9:70" - }, - "returnParameters": { - "id": 13073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "279:12:70", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13071, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "279:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "278:14:70" - }, - "scope": 13075, - "src": "226:67:70", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "205:90:70" - } - ], - "src": "0:296:70" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "exportedSymbols": { - "IOracle": [ - 13075 - ], - "IOracleConsumer": [ - 13067 - ] - }, - "id": 13076, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13058, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 13059, - "nodeType": "StructuredDocumentation", - "src": "25:87:70", - "text": " @title EIP1154 interface\n @dev see https://eips.ethereum.org/EIPS/eip-1154" - }, - "fullyImplemented": false, - "id": 13067, - "linearizedBaseContracts": [ - 13067 - ], - "name": "IOracleConsumer", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5dd80855", - "id": 13066, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13061, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "165:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "165:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13063, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "174:14:70", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13062, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "164:25:70" - }, - "returnParameters": { - "id": 13065, - "nodeType": "ParameterList", - "parameters": [], - "src": "200:0:70" - }, - "scope": 13067, - "src": "142:59:70", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "113:90:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13075, - "linearizedBaseContracts": [ - 13075 - ], - "name": "IOracle", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 13074, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "245:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "245:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "244:9:70" - }, - "returnParameters": { - "id": 13073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "279:12:70", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13071, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "279:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "278:14:70" - }, - "scope": 13075, - "src": "226:67:70", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "205:90:70" - } - ], - "src": "0:296:70" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.892Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IOracleConsumer.json b/build/contracts/IOracleConsumer.json deleted file mode 100644 index f9289b9a3..000000000 --- a/build/contracts/IOracleConsumer.json +++ /dev/null @@ -1,534 +0,0 @@ -{ - "contractName": "IOracleConsumer", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveResult", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"see https://eips.ethereum.org/EIPS/eip-1154\",\"kind\":\"dev\",\"methods\":{},\"title\":\"EIP1154 interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":\"IOracleConsumer\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\n/**\n * @title EIP1154 interface\n * @dev see https://eips.ethereum.org/EIPS/eip-1154\n */\ninterface IOracleConsumer\n{\n\tfunction receiveResult(bytes32, bytes calldata)\n\t\texternal;\n}\n\ninterface IOracle\n{\n\tfunction resultFor(bytes32)\n\t\texternal view returns (bytes memory);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "exportedSymbols": { - "IOracle": [ - 13075 - ], - "IOracleConsumer": [ - 13067 - ] - }, - "id": 13076, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13058, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 13059, - "nodeType": "StructuredDocumentation", - "src": "25:87:70", - "text": " @title EIP1154 interface\n @dev see https://eips.ethereum.org/EIPS/eip-1154" - }, - "fullyImplemented": false, - "id": 13067, - "linearizedBaseContracts": [ - 13067 - ], - "name": "IOracleConsumer", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5dd80855", - "id": 13066, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13061, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "165:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "165:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13063, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "174:14:70", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13062, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "164:25:70" - }, - "returnParameters": { - "id": 13065, - "nodeType": "ParameterList", - "parameters": [], - "src": "200:0:70" - }, - "scope": 13067, - "src": "142:59:70", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "113:90:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13075, - "linearizedBaseContracts": [ - 13075 - ], - "name": "IOracle", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 13074, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "245:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "245:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "244:9:70" - }, - "returnParameters": { - "id": 13073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "279:12:70", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13071, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "279:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "278:14:70" - }, - "scope": 13075, - "src": "226:67:70", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "205:90:70" - } - ], - "src": "0:296:70" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "exportedSymbols": { - "IOracle": [ - 13075 - ], - "IOracleConsumer": [ - 13067 - ] - }, - "id": 13076, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13058, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 13059, - "nodeType": "StructuredDocumentation", - "src": "25:87:70", - "text": " @title EIP1154 interface\n @dev see https://eips.ethereum.org/EIPS/eip-1154" - }, - "fullyImplemented": false, - "id": 13067, - "linearizedBaseContracts": [ - 13067 - ], - "name": "IOracleConsumer", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5dd80855", - "id": 13066, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13061, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "165:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13060, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "165:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13063, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13066, - "src": "174:14:70", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13062, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "164:25:70" - }, - "returnParameters": { - "id": 13065, - "nodeType": "ParameterList", - "parameters": [], - "src": "200:0:70" - }, - "scope": 13067, - "src": "142:59:70", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "113:90:70" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13075, - "linearizedBaseContracts": [ - 13075 - ], - "name": "IOracle", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 13074, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "245:7:70", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13068, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "245:7:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "244:9:70" - }, - "returnParameters": { - "id": 13073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13074, - "src": "279:12:70", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13071, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "279:5:70", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "278:14:70" - }, - "scope": 13075, - "src": "226:67:70", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13076, - "src": "205:90:70" - } - ], - "src": "0:296:70" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.892Z", - "devdoc": { - "details": "see https://eips.ethereum.org/EIPS/eip-1154", - "kind": "dev", - "methods": {}, - "title": "EIP1154 interface", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IOwnable.json b/build/contracts/IOwnable.json deleted file mode 100644 index 532d0c3fb..000000000 --- a/build/contracts/IOwnable.json +++ /dev/null @@ -1,630 +0,0 @@ -{ - "contractName": "IOwnable", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":\"IOwnable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":{\"keccak256\":\"0x0fc7a7e8b0369534d786936faa191e1009d52546663f41fb38a902417de86013\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f4e507d9a833e7c9e02cb58b7abcc7042d13301f6f4a171ba6b18f29e49424b6\",\"dweb:/ipfs/QmbtStaZGTFtdHUXETXNhzRqYYHp1PWxNbnZbQiJwig9V2\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IOwnable\n{\n\tevent OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n\tfunction owner() external view returns (address);\n\tfunction renounceOwnership() external;\n\tfunction transferOwnership(address) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "exportedSymbols": { - "IOwnable": [ - 8774 - ] - }, - "id": 8775, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8753, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:33" - }, - { - "id": 8754, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:33" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8774, - "linearizedBaseContracts": [ - 8774 - ], - "name": "IOwnable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 8760, - "name": "OwnershipTransferred", - "nodeType": "EventDefinition", - "parameters": { - "id": 8759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8756, - "indexed": true, - "mutability": "mutable", - "name": "previousOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8760, - "src": "1351:29:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1351:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8758, - "indexed": true, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8760, - "src": "1382:24:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8757, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1382:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1350:57:33" - }, - "src": "1324:84:33" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 8765, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8761, - "nodeType": "ParameterList", - "parameters": [], - "src": "1425:2:33" - }, - "returnParameters": { - "id": 8764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8763, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8765, - "src": "1451:7:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8762, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1451:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1450:9:33" - }, - "scope": 8774, - "src": "1411:49:33", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "715018a6", - "id": 8768, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "renounceOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8766, - "nodeType": "ParameterList", - "parameters": [], - "src": "1488:2:33" - }, - "returnParameters": { - "id": 8767, - "nodeType": "ParameterList", - "parameters": [], - "src": "1499:0:33" - }, - "scope": 8774, - "src": "1462:38:33", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f2fde38b", - "id": 8773, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8771, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8770, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8773, - "src": "1529:7:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1529:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1528:9:33" - }, - "returnParameters": { - "id": 8772, - "nodeType": "ParameterList", - "parameters": [], - "src": "1546:0:33" - }, - "scope": 8774, - "src": "1502:45:33", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8775, - "src": "1302:247:33" - } - ], - "src": "1242:308:33" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "exportedSymbols": { - "IOwnable": [ - 8774 - ] - }, - "id": 8775, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8753, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:33" - }, - { - "id": 8754, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:33" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8774, - "linearizedBaseContracts": [ - 8774 - ], - "name": "IOwnable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 8760, - "name": "OwnershipTransferred", - "nodeType": "EventDefinition", - "parameters": { - "id": 8759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8756, - "indexed": true, - "mutability": "mutable", - "name": "previousOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8760, - "src": "1351:29:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1351:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8758, - "indexed": true, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8760, - "src": "1382:24:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8757, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1382:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1350:57:33" - }, - "src": "1324:84:33" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 8765, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8761, - "nodeType": "ParameterList", - "parameters": [], - "src": "1425:2:33" - }, - "returnParameters": { - "id": 8764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8763, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8765, - "src": "1451:7:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8762, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1451:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1450:9:33" - }, - "scope": 8774, - "src": "1411:49:33", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "715018a6", - "id": 8768, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "renounceOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8766, - "nodeType": "ParameterList", - "parameters": [], - "src": "1488:2:33" - }, - "returnParameters": { - "id": 8767, - "nodeType": "ParameterList", - "parameters": [], - "src": "1499:0:33" - }, - "scope": 8774, - "src": "1462:38:33", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f2fde38b", - "id": 8773, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8771, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8770, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8773, - "src": "1529:7:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1529:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1528:9:33" - }, - "returnParameters": { - "id": 8772, - "nodeType": "ParameterList", - "parameters": [], - "src": "1546:0:33" - }, - "scope": 8774, - "src": "1502:45:33", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8775, - "src": "1302:247:33" - } - ], - "src": "1242:308:33" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.855Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IRegistry.json b/build/contracts/IRegistry.json deleted file mode 100644 index 0181d7487..000000000 --- a/build/contracts/IRegistry.json +++ /dev/null @@ -1,766 +0,0 @@ -{ - "contractName": "IRegistry", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":\"IRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\";\n\n\nabstract contract IRegistry is IERC721Enumerable\n{\n\tfunction isRegistered(address _entry) external virtual view returns (bool);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "exportedSymbols": { - "IRegistry": [ - 9924 - ] - }, - "id": 9925, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9913, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:49" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "file": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "id": 9914, - "nodeType": "ImportDirective", - "scope": 9925, - "sourceUnit": 16406, - "src": "1267:68:49", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9915, - "name": "IERC721Enumerable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16405, - "src": "1369:17:49", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$16405", - "typeString": "contract IERC721Enumerable" - } - }, - "id": 9916, - "nodeType": "InheritanceSpecifier", - "src": "1369:17:49" - } - ], - "contractDependencies": [ - 14140, - 16374, - 16405 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 9924, - "linearizedBaseContracts": [ - 9924, - 16405, - 16374, - 14140 - ], - "name": "IRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 9923, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9918, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9923, - "src": "1412:14:49", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9917, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1412:7:49", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1411:16:49" - }, - "returnParameters": { - "id": 9922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9923, - "src": "1459:4:49", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9920, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1459:4:49", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1458:6:49" - }, - "scope": 9924, - "src": "1390:75:49", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - } - ], - "scope": 9925, - "src": "1338:129:49" - } - ], - "src": "1242:226:49" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "exportedSymbols": { - "IRegistry": [ - 9924 - ] - }, - "id": 9925, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9913, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:49" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "file": "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol", - "id": 9914, - "nodeType": "ImportDirective", - "scope": 9925, - "sourceUnit": 16406, - "src": "1267:68:49", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9915, - "name": "IERC721Enumerable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16405, - "src": "1369:17:49", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$16405", - "typeString": "contract IERC721Enumerable" - } - }, - "id": 9916, - "nodeType": "InheritanceSpecifier", - "src": "1369:17:49" - } - ], - "contractDependencies": [ - 14140, - 16374, - 16405 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 9924, - "linearizedBaseContracts": [ - 9924, - 16405, - 16374, - 14140 - ], - "name": "IRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 9923, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9918, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9923, - "src": "1412:14:49", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9917, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1412:7:49", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1411:16:49" - }, - "returnParameters": { - "id": 9922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9923, - "src": "1459:4:49", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9920, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1459:4:49", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1458:6:49" - }, - "scope": 9924, - "src": "1390:75:49", - "stateMutability": "view", - "virtual": true, - "visibility": "external" - } - ], - "scope": 9925, - "src": "1338:129:49" - } - ], - "src": "1242:226:49" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.863Z", - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event." - }, - "balanceOf(address)": { - "details": "Returns the number of tokens in ``owner``'s account." - }, - "getApproved(uint256)": { - "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist." - }, - "isApprovedForAll(address,address)": { - "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}" - }, - "ownerOf(uint256)": { - "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event." - }, - "setApprovalForAll(address,bool)": { - "details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event." - }, - "supportsInterface(bytes4)": { - "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." - }, - "tokenByIndex(uint256)": { - "details": "Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens." - }, - "totalSupply()": { - "details": "Returns the total amount of tokens stored by the contract." - }, - "transferFrom(address,address,uint256)": { - "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IReverseRegistrar.json b/build/contracts/IReverseRegistrar.json deleted file mode 100644 index 4dcd1d749..000000000 --- a/build/contracts/IReverseRegistrar.json +++ /dev/null @@ -1,1372 +0,0 @@ -{ - "contractName": "IReverseRegistrar", - "abi": [ - { - "inputs": [], - "name": "ADDR_REVERSE_NODE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ens", - "outputs": [ - { - "internalType": "contract IENS", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "defaultResolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "claim", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "claimWithResolver", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "setName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "node", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ADDR_REVERSE_NODE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimWithResolver\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultResolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"internalType\":\"contract IENS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"node\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":\"IReverseRegistrar\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >=0.4.24;\n\nimport \"./IENS.sol\";\n\ninterface IReverseRegistrar\n{\n\tfunction ADDR_REVERSE_NODE() external view returns (bytes32);\n\tfunction ens() external view returns (IENS);\n\tfunction defaultResolver() external view returns (address);\n\tfunction claim(address) external returns (bytes32);\n\tfunction claimWithResolver(address, address) external returns (bytes32);\n\tfunction setName(string calldata) external returns (bytes32);\n\tfunction node(address) external pure returns (bytes32);\n}\n", - "sourcePath": "@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol", - "exportedSymbols": { - "IReverseRegistrar": [ - 13056 - ] - }, - "id": 13057, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13009, - "literals": [ - "solidity", - ">=", - "0.4", - ".24" - ], - "nodeType": "PragmaDirective", - "src": "0:25:69" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "file": "./IENS.sol", - "id": 13010, - "nodeType": "ImportDirective", - "scope": 13057, - "sourceUnit": 13008, - "src": "27:20:69", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13056, - "linearizedBaseContracts": [ - 13056 - ], - "name": "IReverseRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "7cf8a2eb", - "id": 13015, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ADDR_REVERSE_NODE", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13011, - "nodeType": "ParameterList", - "parameters": [], - "src": "106:2:69" - }, - "returnParameters": { - "id": 13014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13013, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13015, - "src": "132:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13012, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "132:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "131:9:69" - }, - "scope": 13056, - "src": "80:61:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f15457f", - "id": 13020, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13016, - "nodeType": "ParameterList", - "parameters": [], - "src": "155:2:69" - }, - "returnParameters": { - "id": 13019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13018, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13020, - "src": "181:4:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - "typeName": { - "contractScope": null, - "id": 13017, - "name": "IENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13007, - "src": "181:4:69", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "180:6:69" - }, - "scope": 13056, - "src": "143:44:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "828eab0e", - "id": 13025, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "defaultResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13021, - "nodeType": "ParameterList", - "parameters": [], - "src": "213:2:69" - }, - "returnParameters": { - "id": 13024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13023, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13025, - "src": "239:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "239:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "238:9:69" - }, - "scope": 13056, - "src": "189:59:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1e83409a", - "id": 13032, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13028, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13027, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13032, - "src": "265:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13026, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "265:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "264:9:69" - }, - "returnParameters": { - "id": 13031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13030, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13032, - "src": "292:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13029, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "292:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "291:9:69" - }, - "scope": 13056, - "src": "250:51:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0f5a5466", - "id": 13041, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimWithResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "330:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "330:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "339:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13035, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "339:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "329:18:69" - }, - "returnParameters": { - "id": 13040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13039, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "366:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13038, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:69" - }, - "scope": 13056, - "src": "303:72:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c47f0027", - "id": 13048, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13043, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13048, - "src": "394:15:69", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13042, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "394:6:69", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "393:17:69" - }, - "returnParameters": { - "id": 13047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13046, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13048, - "src": "429:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13045, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "429:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "428:9:69" - }, - "scope": 13056, - "src": "377:61:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bffbe61c", - "id": 13055, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "node", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13050, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13055, - "src": "454:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "454:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "453:9:69" - }, - "returnParameters": { - "id": 13054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13053, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13055, - "src": "486:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13052, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "486:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "485:9:69" - }, - "scope": 13056, - "src": "440:55:69", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13057, - "src": "49:448:69" - } - ], - "src": "0:498:69" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol", - "exportedSymbols": { - "IReverseRegistrar": [ - 13056 - ] - }, - "id": 13057, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13009, - "literals": [ - "solidity", - ">=", - "0.4", - ".24" - ], - "nodeType": "PragmaDirective", - "src": "0:25:69" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/IENS.sol", - "file": "./IENS.sol", - "id": 13010, - "nodeType": "ImportDirective", - "scope": 13057, - "sourceUnit": 13008, - "src": "27:20:69", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 13056, - "linearizedBaseContracts": [ - 13056 - ], - "name": "IReverseRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "7cf8a2eb", - "id": 13015, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ADDR_REVERSE_NODE", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13011, - "nodeType": "ParameterList", - "parameters": [], - "src": "106:2:69" - }, - "returnParameters": { - "id": 13014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13013, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13015, - "src": "132:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13012, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "132:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "131:9:69" - }, - "scope": 13056, - "src": "80:61:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f15457f", - "id": 13020, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13016, - "nodeType": "ParameterList", - "parameters": [], - "src": "155:2:69" - }, - "returnParameters": { - "id": 13019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13018, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13020, - "src": "181:4:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - "typeName": { - "contractScope": null, - "id": 13017, - "name": "IENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13007, - "src": "181:4:69", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "180:6:69" - }, - "scope": 13056, - "src": "143:44:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "828eab0e", - "id": 13025, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "defaultResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13021, - "nodeType": "ParameterList", - "parameters": [], - "src": "213:2:69" - }, - "returnParameters": { - "id": 13024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13023, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13025, - "src": "239:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "239:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "238:9:69" - }, - "scope": 13056, - "src": "189:59:69", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1e83409a", - "id": 13032, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13028, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13027, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13032, - "src": "265:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13026, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "265:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "264:9:69" - }, - "returnParameters": { - "id": 13031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13030, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13032, - "src": "292:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13029, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "292:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "291:9:69" - }, - "scope": 13056, - "src": "250:51:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0f5a5466", - "id": 13041, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimWithResolver", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "330:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "330:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "339:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13035, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "339:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "329:18:69" - }, - "returnParameters": { - "id": 13040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13039, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13041, - "src": "366:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13038, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:69" - }, - "scope": 13056, - "src": "303:72:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c47f0027", - "id": 13048, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13043, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13048, - "src": "394:15:69", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13042, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "394:6:69", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "393:17:69" - }, - "returnParameters": { - "id": 13047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13046, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13048, - "src": "429:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13045, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "429:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "428:9:69" - }, - "scope": 13056, - "src": "377:61:69", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bffbe61c", - "id": 13055, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "node", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13051, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13050, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13055, - "src": "454:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "454:7:69", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "453:9:69" - }, - "returnParameters": { - "id": 13054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13053, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13055, - "src": "486:7:69", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 13052, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "486:7:69", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "485:9:69" - }, - "scope": 13056, - "src": "440:55:69", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - } - ], - "scope": 13057, - "src": "49:448:69" - } - ], - "src": "0:498:69" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.892Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IUniswapV2Router01.json b/build/contracts/IUniswapV2Router01.json deleted file mode 100644 index e0b222030..000000000 --- a/build/contracts/IUniswapV2Router01.json +++ /dev/null @@ -1,8917 +0,0 @@ -{ - "contractName": "IUniswapV2Router01", - "abi": [ - { - "inputs": [], - "name": "factory", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "WETH", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountADesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountTokenDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapETHForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveB", - "type": "uint256" - } - ], - "name": "quote", - "outputs": [ - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountOut", - "outputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountIn", - "outputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsOut", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsIn", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountADesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":\"IUniswapV2Router01\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >=0.6.2;\n\ninterface IUniswapV2Router01 {\n function factory() external pure returns (address);\n function WETH() external pure returns (address);\n\n function addLiquidity(\n address tokenA,\n address tokenB,\n uint amountADesired,\n uint amountBDesired,\n uint amountAMin,\n uint amountBMin,\n address to,\n uint deadline\n ) external returns (uint amountA, uint amountB, uint liquidity);\n function addLiquidityETH(\n address token,\n uint amountTokenDesired,\n uint amountTokenMin,\n uint amountETHMin,\n address to,\n uint deadline\n ) external payable returns (uint amountToken, uint amountETH, uint liquidity);\n function removeLiquidity(\n address tokenA,\n address tokenB,\n uint liquidity,\n uint amountAMin,\n uint amountBMin,\n address to,\n uint deadline\n ) external returns (uint amountA, uint amountB);\n function removeLiquidityETH(\n address token,\n uint liquidity,\n uint amountTokenMin,\n uint amountETHMin,\n address to,\n uint deadline\n ) external returns (uint amountToken, uint amountETH);\n function removeLiquidityWithPermit(\n address tokenA,\n address tokenB,\n uint liquidity,\n uint amountAMin,\n uint amountBMin,\n address to,\n uint deadline,\n bool approveMax, uint8 v, bytes32 r, bytes32 s\n ) external returns (uint amountA, uint amountB);\n function removeLiquidityETHWithPermit(\n address token,\n uint liquidity,\n uint amountTokenMin,\n uint amountETHMin,\n address to,\n uint deadline,\n bool approveMax, uint8 v, bytes32 r, bytes32 s\n ) external returns (uint amountToken, uint amountETH);\n function swapExactTokensForTokens(\n uint amountIn,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external returns (uint[] memory amounts);\n function swapTokensForExactTokens(\n uint amountOut,\n uint amountInMax,\n address[] calldata path,\n address to,\n uint deadline\n ) external returns (uint[] memory amounts);\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\n external\n payable\n returns (uint[] memory amounts);\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\n external\n returns (uint[] memory amounts);\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\n external\n returns (uint[] memory amounts);\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\n external\n payable\n returns (uint[] memory amounts);\n\n function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);\n function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);\n function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);\n}\n", - "sourcePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol", - "ast": { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol", - "exportedSymbols": { - "IUniswapV2Router01": [ - 18142 - ] - }, - "id": 18143, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17836, - "literals": [ - "solidity", - ">=", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "0:24:102" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 18142, - "linearizedBaseContracts": [ - 18142 - ], - "name": "IUniswapV2Router01", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "c45a0155", - "id": 17841, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "factory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17837, - "nodeType": "ParameterList", - "parameters": [], - "src": "77:2:102" - }, - "returnParameters": { - "id": 17840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17839, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17841, - "src": "103:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17838, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "103:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "102:9:102" - }, - "scope": 18142, - "src": "61:51:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ad5c4648", - "id": 17846, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "WETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17842, - "nodeType": "ParameterList", - "parameters": [], - "src": "130:2:102" - }, - "returnParameters": { - "id": 17845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17844, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17846, - "src": "156:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17843, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "155:9:102" - }, - "scope": 18142, - "src": "117:48:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e8e33700", - "id": 17871, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addLiquidity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17848, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "202:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "202:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17850, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "226:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17849, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "226:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17852, - "mutability": "mutable", - "name": "amountADesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "250:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17851, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "250:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17854, - "mutability": "mutable", - "name": "amountBDesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "279:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17853, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "279:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17856, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "308:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17855, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "308:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17858, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "333:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17857, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "333:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17860, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "358:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17859, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "358:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17862, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "378:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17861, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "378:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "192:205:102" - }, - "returnParameters": { - "id": 17870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17865, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "416:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17864, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "416:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17867, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "430:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17866, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "430:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17869, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "444:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17868, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "444:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "415:44:102" - }, - "scope": 18142, - "src": "171:289:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f305d719", - "id": 17892, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addLiquidityETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17873, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "499:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17872, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "499:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17875, - "mutability": "mutable", - "name": "amountTokenDesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "522:23:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17874, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "522:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17877, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "555:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17876, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "555:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17879, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "584:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17878, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "584:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17881, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "611:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17880, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "611:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17883, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "631:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17882, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "631:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "489:161:102" - }, - "returnParameters": { - "id": 17891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17886, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "677:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17885, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "677:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17888, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "695:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17887, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "695:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17890, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "711:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17889, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "711:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "676:50:102" - }, - "scope": 18142, - "src": "465:262:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "baa2abde", - "id": 17913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17907, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17894, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "766:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17893, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "766:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17896, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "790:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17895, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "790:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17898, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "814:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17897, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "814:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17900, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "838:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17899, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "838:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17902, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "863:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17901, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "863:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17904, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "888:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "888:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17906, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "908:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17905, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "908:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "756:171:102" - }, - "returnParameters": { - "id": 17912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17909, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "946:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17908, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "946:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17911, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "960:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17910, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "960:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "945:28:102" - }, - "scope": 18142, - "src": "732:242:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "02751cec", - "id": 17932, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17915, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1016:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17914, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1016:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17917, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1039:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17916, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1039:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17919, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1063:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17918, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1063:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17921, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1092:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17920, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1092:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17923, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1119:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1119:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17925, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1139:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17924, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1139:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1006:152:102" - }, - "returnParameters": { - "id": 17931, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17928, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1177:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17927, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1177:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17930, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1195:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17929, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1195:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1176:34:102" - }, - "scope": 18142, - "src": "979:232:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2195995c", - "id": 17961, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityWithPermit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17934, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1260:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1260:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17936, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1284:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1284:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17938, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1308:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17937, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1308:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17940, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1332:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17939, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1332:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17942, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1357:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17941, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1357:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17944, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1382:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17943, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1382:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17946, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1402:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17945, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1402:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17948, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1425:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17947, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1425:4:102", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17950, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1442:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 17949, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1442:5:102", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17952, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1451:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17951, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1451:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17954, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1462:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17953, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1462:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1250:227:102" - }, - "returnParameters": { - "id": 17960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17957, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1496:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17956, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1496:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17959, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1510:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17958, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1510:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1495:28:102" - }, - "scope": 18142, - "src": "1216:308:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ded9382a", - "id": 17988, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHWithPermit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17963, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1576:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17965, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1599:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17964, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1599:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17967, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1623:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17966, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1623:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17969, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1652:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17968, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1652:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17971, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1679:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17970, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1679:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17973, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1699:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17972, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1699:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17975, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1722:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17974, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1722:4:102", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17977, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1739:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 17976, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1739:5:102", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17979, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1748:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17978, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1748:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17981, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1759:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17980, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1759:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1566:208:102" - }, - "returnParameters": { - "id": 17987, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17984, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1793:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17983, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1793:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17986, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1811:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17985, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1811:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1792:34:102" - }, - "scope": 18142, - "src": "1529:298:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "38ed1739", - "id": 18005, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17990, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1875:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17989, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1875:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17992, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1898:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17991, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1898:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17995, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1925:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 17993, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1925:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 17994, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1925:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17997, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1958:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1958:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17999, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1978:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17998, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1978:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1865:132:102" - }, - "returnParameters": { - "id": 18004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18003, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "2016:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18001, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2016:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18002, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2016:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2015:23:102" - }, - "scope": 18142, - "src": "1832:207:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8803dbee", - "id": 18022, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapTokensForExactTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18007, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2087:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18006, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2087:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18009, - "mutability": "mutable", - "name": "amountInMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2111:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18008, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2111:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18012, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2137:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2137:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18011, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2137:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18014, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2170:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2170:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18016, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2190:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18015, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2190:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2077:132:102" - }, - "returnParameters": { - "id": 18021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18020, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2228:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18018, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2228:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18019, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2228:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2227:23:102" - }, - "scope": 18142, - "src": "2044:207:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7ff36ab5", - "id": 18037, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactETHForTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18024, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2287:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18023, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2287:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18027, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2306:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2306:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18026, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2306:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18029, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2331:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18028, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2331:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18031, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2343:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18030, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2343:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2286:71:102" - }, - "returnParameters": { - "id": 18036, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18035, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2408:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18033, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2408:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18034, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2408:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2407:23:102" - }, - "scope": 18142, - "src": "2256:175:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4a25d94a", - "id": 18054, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapTokensForExactETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18039, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2467:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18038, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2467:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18041, - "mutability": "mutable", - "name": "amountInMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2483:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18040, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2483:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18044, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2501:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2501:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18043, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2501:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18046, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2526:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18045, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2526:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18048, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2538:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18047, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2538:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2466:86:102" - }, - "returnParameters": { - "id": 18053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18052, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2587:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2587:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18051, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2587:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2586:23:102" - }, - "scope": 18142, - "src": "2436:174:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "18cbafe5", - "id": 18071, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18056, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2646:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18055, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2646:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18058, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2661:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18057, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2661:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18061, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2680:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2680:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18060, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2680:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18063, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2705:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2705:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18065, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2717:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18064, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2717:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2645:86:102" - }, - "returnParameters": { - "id": 18070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18069, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2766:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18067, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2766:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18068, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2766:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2765:23:102" - }, - "scope": 18142, - "src": "2615:174:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fb3bdb41", - "id": 18086, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapETHForExactTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18073, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2825:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18072, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2825:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18076, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2841:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18074, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2841:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18075, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2841:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18078, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2866:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18077, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2866:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18080, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2878:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18079, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2878:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2824:68:102" - }, - "returnParameters": { - "id": 18085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18084, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2943:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18082, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2943:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18083, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2943:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2942:23:102" - }, - "scope": 18142, - "src": "2794:172:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ad615dec", - "id": 18097, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "quote", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18093, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18088, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "2987:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18087, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2987:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18090, - "mutability": "mutable", - "name": "reserveA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3001:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18089, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3001:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18092, - "mutability": "mutable", - "name": "reserveB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3016:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18091, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3016:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2986:44:102" - }, - "returnParameters": { - "id": 18096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18095, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3054:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18094, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3054:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3053:14:102" - }, - "scope": 18142, - "src": "2972:96:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "054d50d4", - "id": 18108, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountOut", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18099, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3095:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18098, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3095:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18101, - "mutability": "mutable", - "name": "reserveIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3110:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18100, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3110:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18103, - "mutability": "mutable", - "name": "reserveOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3126:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18102, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3126:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3094:48:102" - }, - "returnParameters": { - "id": 18107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18106, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3166:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18105, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3166:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3165:16:102" - }, - "scope": 18142, - "src": "3073:109:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "85f8c259", - "id": 18119, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountIn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18110, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3208:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18109, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3208:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18112, - "mutability": "mutable", - "name": "reserveIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3224:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18111, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3224:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18114, - "mutability": "mutable", - "name": "reserveOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3240:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18113, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3240:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3207:49:102" - }, - "returnParameters": { - "id": 18118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18117, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3280:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18116, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3280:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3279:15:102" - }, - "scope": 18142, - "src": "3187:108:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d06ca61f", - "id": 18130, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountsOut", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18121, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3323:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18120, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3323:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18124, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3338:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18122, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3338:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18123, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3338:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3322:40:102" - }, - "returnParameters": { - "id": 18129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18128, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3386:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3386:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18127, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3386:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3385:23:102" - }, - "scope": 18142, - "src": "3300:109:102", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1f00ca74", - "id": 18141, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountsIn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18132, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3436:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18131, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3436:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18135, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3452:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18133, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3452:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18134, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3452:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3435:41:102" - }, - "returnParameters": { - "id": 18140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18139, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3500:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18137, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3500:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18138, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3500:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3499:23:102" - }, - "scope": 18142, - "src": "3414:109:102", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 18143, - "src": "26:3499:102" - } - ], - "src": "0:3526:102" - }, - "legacyAST": { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol", - "exportedSymbols": { - "IUniswapV2Router01": [ - 18142 - ] - }, - "id": 18143, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17836, - "literals": [ - "solidity", - ">=", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "0:24:102" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 18142, - "linearizedBaseContracts": [ - 18142 - ], - "name": "IUniswapV2Router01", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "c45a0155", - "id": 17841, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "factory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17837, - "nodeType": "ParameterList", - "parameters": [], - "src": "77:2:102" - }, - "returnParameters": { - "id": 17840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17839, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17841, - "src": "103:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17838, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "103:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "102:9:102" - }, - "scope": 18142, - "src": "61:51:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ad5c4648", - "id": 17846, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "WETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17842, - "nodeType": "ParameterList", - "parameters": [], - "src": "130:2:102" - }, - "returnParameters": { - "id": 17845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17844, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17846, - "src": "156:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17843, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "155:9:102" - }, - "scope": 18142, - "src": "117:48:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e8e33700", - "id": 17871, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addLiquidity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17848, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "202:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "202:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17850, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "226:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17849, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "226:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17852, - "mutability": "mutable", - "name": "amountADesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "250:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17851, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "250:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17854, - "mutability": "mutable", - "name": "amountBDesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "279:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17853, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "279:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17856, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "308:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17855, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "308:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17858, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "333:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17857, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "333:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17860, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "358:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17859, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "358:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17862, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "378:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17861, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "378:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "192:205:102" - }, - "returnParameters": { - "id": 17870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17865, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "416:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17864, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "416:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17867, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "430:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17866, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "430:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17869, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17871, - "src": "444:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17868, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "444:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "415:44:102" - }, - "scope": 18142, - "src": "171:289:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f305d719", - "id": 17892, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addLiquidityETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17873, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "499:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17872, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "499:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17875, - "mutability": "mutable", - "name": "amountTokenDesired", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "522:23:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17874, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "522:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17877, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "555:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17876, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "555:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17879, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "584:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17878, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "584:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17881, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "611:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17880, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "611:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17883, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "631:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17882, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "631:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "489:161:102" - }, - "returnParameters": { - "id": 17891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17886, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "677:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17885, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "677:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17888, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "695:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17887, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "695:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17890, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17892, - "src": "711:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17889, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "711:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "676:50:102" - }, - "scope": 18142, - "src": "465:262:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "baa2abde", - "id": 17913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17907, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17894, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "766:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17893, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "766:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17896, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "790:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17895, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "790:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17898, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "814:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17897, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "814:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17900, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "838:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17899, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "838:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17902, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "863:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17901, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "863:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17904, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "888:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17903, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "888:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17906, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "908:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17905, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "908:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "756:171:102" - }, - "returnParameters": { - "id": 17912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17909, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "946:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17908, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "946:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17911, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17913, - "src": "960:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17910, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "960:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "945:28:102" - }, - "scope": 18142, - "src": "732:242:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "02751cec", - "id": 17932, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17915, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1016:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17914, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1016:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17917, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1039:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17916, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1039:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17919, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1063:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17918, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1063:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17921, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1092:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17920, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1092:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17923, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1119:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1119:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17925, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1139:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17924, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1139:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1006:152:102" - }, - "returnParameters": { - "id": 17931, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17928, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1177:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17927, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1177:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17930, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17932, - "src": "1195:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17929, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1195:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1176:34:102" - }, - "scope": 18142, - "src": "979:232:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2195995c", - "id": 17961, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityWithPermit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17934, - "mutability": "mutable", - "name": "tokenA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1260:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1260:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17936, - "mutability": "mutable", - "name": "tokenB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1284:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1284:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17938, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1308:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17937, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1308:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17940, - "mutability": "mutable", - "name": "amountAMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1332:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17939, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1332:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17942, - "mutability": "mutable", - "name": "amountBMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1357:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17941, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1357:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17944, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1382:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17943, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1382:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17946, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1402:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17945, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1402:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17948, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1425:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17947, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1425:4:102", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17950, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1442:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 17949, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1442:5:102", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17952, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1451:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17951, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1451:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17954, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1462:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17953, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1462:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1250:227:102" - }, - "returnParameters": { - "id": 17960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17957, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1496:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17956, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1496:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17959, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17961, - "src": "1510:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17958, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1510:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1495:28:102" - }, - "scope": 18142, - "src": "1216:308:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ded9382a", - "id": 17988, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHWithPermit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17963, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1576:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17965, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1599:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17964, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1599:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17967, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1623:19:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17966, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1623:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17969, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1652:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17968, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1652:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17971, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1679:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17970, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1679:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17973, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1699:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17972, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1699:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17975, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1722:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17974, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1722:4:102", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17977, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1739:7:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 17976, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1739:5:102", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17979, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1748:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17978, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1748:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17981, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1759:9:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 17980, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1759:7:102", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1566:208:102" - }, - "returnParameters": { - "id": 17987, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17984, - "mutability": "mutable", - "name": "amountToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1793:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17983, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1793:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17986, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17988, - "src": "1811:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17985, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1811:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1792:34:102" - }, - "scope": 18142, - "src": "1529:298:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "38ed1739", - "id": 18005, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17990, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1875:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17989, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1875:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17992, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1898:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17991, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1898:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17995, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1925:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 17993, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1925:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 17994, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1925:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17997, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1958:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1958:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 17999, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "1978:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17998, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1978:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1865:132:102" - }, - "returnParameters": { - "id": 18004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18003, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18005, - "src": "2016:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18001, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2016:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18002, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2016:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2015:23:102" - }, - "scope": 18142, - "src": "1832:207:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8803dbee", - "id": 18022, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapTokensForExactTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18007, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2087:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18006, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2087:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18009, - "mutability": "mutable", - "name": "amountInMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2111:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18008, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2111:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18012, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2137:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2137:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18011, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2137:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18014, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2170:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2170:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18016, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2190:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18015, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2190:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2077:132:102" - }, - "returnParameters": { - "id": 18021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18020, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18022, - "src": "2228:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18018, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2228:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18019, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2228:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2227:23:102" - }, - "scope": 18142, - "src": "2044:207:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7ff36ab5", - "id": 18037, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactETHForTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18024, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2287:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18023, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2287:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18027, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2306:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2306:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18026, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2306:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18029, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2331:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18028, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2331:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18031, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2343:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18030, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2343:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2286:71:102" - }, - "returnParameters": { - "id": 18036, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18035, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18037, - "src": "2408:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18033, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2408:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18034, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2408:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2407:23:102" - }, - "scope": 18142, - "src": "2256:175:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4a25d94a", - "id": 18054, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapTokensForExactETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18039, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2467:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18038, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2467:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18041, - "mutability": "mutable", - "name": "amountInMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2483:16:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18040, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2483:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18044, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2501:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2501:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18043, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2501:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18046, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2526:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18045, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2526:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18048, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2538:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18047, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2538:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2466:86:102" - }, - "returnParameters": { - "id": 18053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18052, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18054, - "src": "2587:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2587:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18051, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2587:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2586:23:102" - }, - "scope": 18142, - "src": "2436:174:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "18cbafe5", - "id": 18071, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForETH", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18056, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2646:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18055, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2646:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18058, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2661:17:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18057, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2661:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18061, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2680:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2680:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18060, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2680:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18063, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2705:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2705:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18065, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2717:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18064, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2717:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2645:86:102" - }, - "returnParameters": { - "id": 18070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18069, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18071, - "src": "2766:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18067, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2766:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18068, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2766:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2765:23:102" - }, - "scope": 18142, - "src": "2615:174:102", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fb3bdb41", - "id": 18086, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapETHForExactTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18073, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2825:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18072, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2825:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18076, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2841:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18074, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2841:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18075, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2841:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18078, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2866:10:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18077, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2866:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18080, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2878:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18079, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2878:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2824:68:102" - }, - "returnParameters": { - "id": 18085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18084, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18086, - "src": "2943:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18082, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2943:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18083, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2943:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2942:23:102" - }, - "scope": 18142, - "src": "2794:172:102", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ad615dec", - "id": 18097, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "quote", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18093, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18088, - "mutability": "mutable", - "name": "amountA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "2987:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18087, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2987:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18090, - "mutability": "mutable", - "name": "reserveA", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3001:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18089, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3001:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18092, - "mutability": "mutable", - "name": "reserveB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3016:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18091, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3016:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2986:44:102" - }, - "returnParameters": { - "id": 18096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18095, - "mutability": "mutable", - "name": "amountB", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18097, - "src": "3054:12:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18094, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3054:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3053:14:102" - }, - "scope": 18142, - "src": "2972:96:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "054d50d4", - "id": 18108, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountOut", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18099, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3095:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18098, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3095:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18101, - "mutability": "mutable", - "name": "reserveIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3110:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18100, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3110:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18103, - "mutability": "mutable", - "name": "reserveOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3126:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18102, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3126:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3094:48:102" - }, - "returnParameters": { - "id": 18107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18106, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18108, - "src": "3166:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18105, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3166:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3165:16:102" - }, - "scope": 18142, - "src": "3073:109:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "85f8c259", - "id": 18119, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountIn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18110, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3208:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18109, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3208:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18112, - "mutability": "mutable", - "name": "reserveIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3224:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18111, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3224:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18114, - "mutability": "mutable", - "name": "reserveOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3240:15:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18113, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3240:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3207:49:102" - }, - "returnParameters": { - "id": 18118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18117, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18119, - "src": "3280:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18116, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3280:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3279:15:102" - }, - "scope": 18142, - "src": "3187:108:102", - "stateMutability": "pure", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d06ca61f", - "id": 18130, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountsOut", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18121, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3323:13:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18120, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3323:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18124, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3338:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18122, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3338:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18123, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3338:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3322:40:102" - }, - "returnParameters": { - "id": 18129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18128, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18130, - "src": "3386:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3386:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18127, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3386:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3385:23:102" - }, - "scope": 18142, - "src": "3300:109:102", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1f00ca74", - "id": 18141, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getAmountsIn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18132, - "mutability": "mutable", - "name": "amountOut", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3436:14:102", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18131, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3436:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18135, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3452:23:102", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18133, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3452:7:102", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18134, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3452:9:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3435:41:102" - }, - "returnParameters": { - "id": 18140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18139, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18141, - "src": "3500:21:102", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 18137, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3500:4:102", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18138, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3500:6:102", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3499:23:102" - }, - "scope": 18142, - "src": "3414:109:102", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 18143, - "src": "26:3499:102" - } - ], - "src": "0:3526:102" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.919Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IUniswapV2Router02.json b/build/contracts/IUniswapV2Router02.json deleted file mode 100644 index a49d2ddfd..000000000 --- a/build/contracts/IUniswapV2Router02.json +++ /dev/null @@ -1,3309 +0,0 @@ -{ - "contractName": "IUniswapV2Router02", - "abi": [ - { - "inputs": [], - "name": "WETH", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountADesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amountTokenDesired", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "addLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "factory", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountIn", - "outputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveOut", - "type": "uint256" - } - ], - "name": "getAmountOut", - "outputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsIn", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - } - ], - "name": "getAmountsOut", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveB", - "type": "uint256" - } - ], - "name": "quote", - "outputs": [ - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidity", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETH", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountToken", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "tokenA", - "type": "address" - }, - { - "internalType": "address", - "name": "tokenB", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountAMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountBMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "amountA", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountB", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapETHForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactETH", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountInMax", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapTokensForExactTokens", - "outputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "removeLiquidityETHSupportingFeeOnTransferTokens", - "outputs": [ - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "liquidity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountTokenMin", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountETHMin", - "type": "uint256" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "approveMax", - "type": "bool" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", - "outputs": [ - { - "internalType": "uint256", - "name": "amountETH", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactETHForTokensSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountIn", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amountOutMin", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "path", - "type": "address[]" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - } - ], - "name": "swapExactTokensForETHSupportingFeeOnTransferTokens", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountADesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETHSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETHSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":\"IUniswapV2Router02\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":{\"keccak256\":\"0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d\",\"urls\":[\"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c\",\"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >=0.6.2;\n\nimport './IUniswapV2Router01.sol';\n\ninterface IUniswapV2Router02 is IUniswapV2Router01 {\n function removeLiquidityETHSupportingFeeOnTransferTokens(\n address token,\n uint liquidity,\n uint amountTokenMin,\n uint amountETHMin,\n address to,\n uint deadline\n ) external returns (uint amountETH);\n function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(\n address token,\n uint liquidity,\n uint amountTokenMin,\n uint amountETHMin,\n address to,\n uint deadline,\n bool approveMax, uint8 v, bytes32 r, bytes32 s\n ) external returns (uint amountETH);\n\n function swapExactTokensForTokensSupportingFeeOnTransferTokens(\n uint amountIn,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external;\n function swapExactETHForTokensSupportingFeeOnTransferTokens(\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external payable;\n function swapExactTokensForETHSupportingFeeOnTransferTokens(\n uint amountIn,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external;\n}\n", - "sourcePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "ast": { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "exportedSymbols": { - "IUniswapV2Router02": [ - 18230 - ] - }, - "id": 18231, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18144, - "literals": [ - "solidity", - ">=", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "0:24:103" - }, - { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol", - "file": "./IUniswapV2Router01.sol", - "id": 18145, - "nodeType": "ImportDirective", - "scope": 18231, - "sourceUnit": 18143, - "src": "26:34:103", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 18146, - "name": "IUniswapV2Router01", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18142, - "src": "94:18:103", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router01_$18142", - "typeString": "contract IUniswapV2Router01" - } - }, - "id": 18147, - "nodeType": "InheritanceSpecifier", - "src": "94:18:103" - } - ], - "contractDependencies": [ - 18142 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 18230, - "linearizedBaseContracts": [ - 18230, - 18142 - ], - "name": "IUniswapV2Router02", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "af2979eb", - "id": 18164, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18149, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "185:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18148, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "185:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18151, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "208:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18150, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "208:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18153, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "232:19:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "232:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18155, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "261:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18154, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "261:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18157, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "288:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18156, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "288:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18159, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "308:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18158, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "308:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "175:152:103" - }, - "returnParameters": { - "id": 18163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18162, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "346:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18161, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "346:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "345:16:103" - }, - "scope": 18230, - "src": "119:243:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b0d5984", - "id": 18189, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18166, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "443:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "443:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18168, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "466:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18167, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "466:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18170, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "490:19:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18169, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "490:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18172, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "519:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18171, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "519:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18174, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "546:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "546:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18176, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "566:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18175, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "566:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18178, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "589:15:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "589:4:103", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18180, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "606:7:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 18179, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "606:5:103", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18182, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "615:9:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 18181, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "615:7:103", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18184, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "626:9:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 18183, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "626:7:103", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "433:208:103" - }, - "returnParameters": { - "id": 18188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18187, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "660:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18186, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "660:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "659:16:103" - }, - "scope": 18230, - "src": "367:309:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5c11d795", - "id": 18203, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18201, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18191, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "754:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18190, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "754:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18193, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "777:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18192, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "777:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18196, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "804:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "804:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18195, - "length": null, - "nodeType": "ArrayTypeName", - "src": "804:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18198, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "837:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "837:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18200, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "857:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18199, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "857:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "744:132:103" - }, - "returnParameters": { - "id": 18202, - "nodeType": "ParameterList", - "parameters": [], - "src": "885:0:103" - }, - "scope": 18230, - "src": "682:204:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6f9de95", - "id": 18215, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactETHForTokensSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18213, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18205, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "960:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18204, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "960:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18208, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "987:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18206, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "987:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18207, - "length": null, - "nodeType": "ArrayTypeName", - "src": "987:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18210, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "1020:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18212, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "1040:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18211, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1040:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "950:109:103" - }, - "returnParameters": { - "id": 18214, - "nodeType": "ParameterList", - "parameters": [], - "src": "1076:0:103" - }, - "scope": 18230, - "src": "891:186:103", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "791ac947", - "id": 18229, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForETHSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18217, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1151:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18216, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1151:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18219, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1174:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18218, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1174:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18222, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1201:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1201:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18221, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1201:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18224, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1234:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18223, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1234:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18226, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1254:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18225, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1254:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1141:132:103" - }, - "returnParameters": { - "id": 18228, - "nodeType": "ParameterList", - "parameters": [], - "src": "1282:0:103" - }, - "scope": 18230, - "src": "1082:201:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 18231, - "src": "62:1223:103" - } - ], - "src": "0:1286:103" - }, - "legacyAST": { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "exportedSymbols": { - "IUniswapV2Router02": [ - 18230 - ] - }, - "id": 18231, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18144, - "literals": [ - "solidity", - ">=", - "0.6", - ".2" - ], - "nodeType": "PragmaDirective", - "src": "0:24:103" - }, - { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol", - "file": "./IUniswapV2Router01.sol", - "id": 18145, - "nodeType": "ImportDirective", - "scope": 18231, - "sourceUnit": 18143, - "src": "26:34:103", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 18146, - "name": "IUniswapV2Router01", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18142, - "src": "94:18:103", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router01_$18142", - "typeString": "contract IUniswapV2Router01" - } - }, - "id": 18147, - "nodeType": "InheritanceSpecifier", - "src": "94:18:103" - } - ], - "contractDependencies": [ - 18142 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 18230, - "linearizedBaseContracts": [ - 18230, - 18142 - ], - "name": "IUniswapV2Router02", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "af2979eb", - "id": 18164, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18149, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "185:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18148, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "185:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18151, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "208:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18150, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "208:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18153, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "232:19:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "232:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18155, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "261:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18154, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "261:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18157, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "288:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18156, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "288:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18159, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "308:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18158, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "308:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "175:152:103" - }, - "returnParameters": { - "id": 18163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18162, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18164, - "src": "346:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18161, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "346:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "345:16:103" - }, - "scope": 18230, - "src": "119:243:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b0d5984", - "id": 18189, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18166, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "443:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "443:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18168, - "mutability": "mutable", - "name": "liquidity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "466:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18167, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "466:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18170, - "mutability": "mutable", - "name": "amountTokenMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "490:19:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18169, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "490:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18172, - "mutability": "mutable", - "name": "amountETHMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "519:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18171, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "519:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18174, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "546:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "546:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18176, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "566:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18175, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "566:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18178, - "mutability": "mutable", - "name": "approveMax", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "589:15:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "589:4:103", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18180, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "606:7:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 18179, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "606:5:103", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18182, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "615:9:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 18181, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "615:7:103", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18184, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "626:9:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 18183, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "626:7:103", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "433:208:103" - }, - "returnParameters": { - "id": 18188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18187, - "mutability": "mutable", - "name": "amountETH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18189, - "src": "660:14:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18186, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "660:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "659:16:103" - }, - "scope": 18230, - "src": "367:309:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5c11d795", - "id": 18203, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18201, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18191, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "754:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18190, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "754:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18193, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "777:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18192, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "777:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18196, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "804:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "804:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18195, - "length": null, - "nodeType": "ArrayTypeName", - "src": "804:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18198, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "837:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "837:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18200, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18203, - "src": "857:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18199, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "857:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "744:132:103" - }, - "returnParameters": { - "id": 18202, - "nodeType": "ParameterList", - "parameters": [], - "src": "885:0:103" - }, - "scope": 18230, - "src": "682:204:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6f9de95", - "id": 18215, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactETHForTokensSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18213, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18205, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "960:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18204, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "960:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18208, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "987:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18206, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "987:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18207, - "length": null, - "nodeType": "ArrayTypeName", - "src": "987:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18210, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "1020:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18212, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18215, - "src": "1040:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18211, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1040:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "950:109:103" - }, - "returnParameters": { - "id": 18214, - "nodeType": "ParameterList", - "parameters": [], - "src": "1076:0:103" - }, - "scope": 18230, - "src": "891:186:103", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "791ac947", - "id": 18229, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "swapExactTokensForETHSupportingFeeOnTransferTokens", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18217, - "mutability": "mutable", - "name": "amountIn", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1151:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18216, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1151:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18219, - "mutability": "mutable", - "name": "amountOutMin", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1174:17:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18218, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1174:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18222, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1201:23:103", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 18220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1201:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18221, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1201:9:103", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18224, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1234:10:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18223, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1234:7:103", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18226, - "mutability": "mutable", - "name": "deadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18229, - "src": "1254:13:103", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18225, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1254:4:103", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1141:132:103" - }, - "returnParameters": { - "id": 18228, - "nodeType": "ParameterList", - "parameters": [], - "src": "1282:0:103" - }, - "scope": 18230, - "src": "1082:201:103", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 18231, - "src": "62:1223:103" - } - ], - "src": "0:1286:103" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.921Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecAccessors.json b/build/contracts/IexecAccessors.json deleted file mode 100644 index 72bca0b66..000000000 --- a/build/contracts/IexecAccessors.json +++ /dev/null @@ -1,5403 +0,0 @@ -{ - "contractName": "IexecAccessors", - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":\"IexecAccessors\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@iexec/solidity/contracts/ERC1154/IERC1154.sol\";\nimport \"../../libs/IexecLibCore_v5.sol\";\nimport \"../../registries/IRegistry.sol\";\n\ninterface IexecAccessors is IOracle\n{\n\tfunction name() external view returns (string memory);\n\tfunction symbol() external view returns (string memory);\n\tfunction decimals() external view returns (uint8);\n\tfunction totalSupply() external view returns (uint256);\n\tfunction balanceOf(address) external view returns (uint256);\n\tfunction frozenOf(address) external view returns (uint256);\n\tfunction allowance(address,address) external view returns (uint256);\n\tfunction viewAccount(address) external view returns (IexecLibCore_v5.Account memory);\n\tfunction token() external view returns (address);\n\tfunction viewDeal(bytes32) external view returns (IexecLibCore_v5.Deal memory);\n\tfunction viewConsumed(bytes32) external view returns (uint256);\n\tfunction viewPresigned(bytes32) external view returns (address);\n\tfunction viewTask(bytes32) external view returns (IexecLibCore_v5.Task memory);\n\tfunction viewContribution(bytes32,address) external view returns (IexecLibCore_v5.Contribution memory);\n\tfunction viewScore(address) external view returns (uint256);\n\t// function resultFor(bytes32) external view returns (bytes memory); // Already part of IOracle\n\tfunction viewCategory(uint256) external view returns (IexecLibCore_v5.Category memory);\n\tfunction countCategory() external view returns (uint256);\n\n\tfunction appregistry() external view returns (IRegistry);\n\tfunction datasetregistry() external view returns (IRegistry);\n\tfunction workerpoolregistry() external view returns (IRegistry);\n\tfunction teebroker() external view returns (address);\n\tfunction callbackgas() external view returns (uint256);\n\n\tfunction contribution_deadline_ratio() external view returns (uint256);\n\tfunction reveal_deadline_ratio() external view returns (uint256);\n\tfunction final_deadline_ratio() external view returns (uint256);\n\tfunction workerpool_stake_ratio() external view returns (uint256);\n\tfunction kitty_ratio() external view returns (uint256);\n\tfunction kitty_min() external view returns (uint256);\n\tfunction kitty_address() external view returns (address);\n\tfunction groupmember_purpose() external view returns (uint256);\n\tfunction eip712domain_separator() external view returns (bytes32);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "exportedSymbols": { - "IexecAccessors": [ - 8964 - ] - }, - "id": 8965, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8776, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:34" - }, - { - "id": 8777, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:34" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 8778, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 13076, - "src": "1301:56:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "../../libs/IexecLibCore_v5.sol", - "id": 8779, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 1134, - "src": "1358:40:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "../../registries/IRegistry.sol", - "id": 8780, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 9925, - "src": "1399:40:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8781, - "name": "IOracle", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13075, - "src": "1469:7:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOracle_$13075", - "typeString": "contract IOracle" - } - }, - "id": 8782, - "nodeType": "InheritanceSpecifier", - "src": "1469:7:34" - } - ], - "contractDependencies": [ - 13075 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8964, - "linearizedBaseContracts": [ - 8964, - 13075 - ], - "name": "IexecAccessors", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "06fdde03", - "id": 8787, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8783, - "nodeType": "ParameterList", - "parameters": [], - "src": "1493:2:34" - }, - "returnParameters": { - "id": 8786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8785, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8787, - "src": "1519:13:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8784, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1519:6:34", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1518:15:34" - }, - "scope": 8964, - "src": "1480:54:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "95d89b41", - "id": 8792, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8788, - "nodeType": "ParameterList", - "parameters": [], - "src": "1551:2:34" - }, - "returnParameters": { - "id": 8791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8790, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8792, - "src": "1577:13:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8789, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:34", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1576:15:34" - }, - "scope": 8964, - "src": "1536:56:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "313ce567", - "id": 8797, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "decimals", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8793, - "nodeType": "ParameterList", - "parameters": [], - "src": "1611:2:34" - }, - "returnParameters": { - "id": 8796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8795, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8797, - "src": "1637:5:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8794, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1637:5:34", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1636:7:34" - }, - "scope": 8964, - "src": "1594:50:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "18160ddd", - "id": 8802, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8798, - "nodeType": "ParameterList", - "parameters": [], - "src": "1666:2:34" - }, - "returnParameters": { - "id": 8801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8800, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8802, - "src": "1692:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8799, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1692:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1691:9:34" - }, - "scope": 8964, - "src": "1646:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "70a08231", - "id": 8809, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8805, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8804, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8809, - "src": "1722:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8803, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1722:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1721:9:34" - }, - "returnParameters": { - "id": 8808, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8807, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8809, - "src": "1754:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1754:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1753:9:34" - }, - "scope": 8964, - "src": "1703:60:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1bf6e00d", - "id": 8816, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "frozenOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8811, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8816, - "src": "1783:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1783:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1782:9:34" - }, - "returnParameters": { - "id": 8815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8814, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8816, - "src": "1815:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8813, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1815:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1814:9:34" - }, - "scope": 8964, - "src": "1765:59:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "dd62ed3e", - "id": 8825, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8818, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1845:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1845:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8820, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1853:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1853:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1844:17:34" - }, - "returnParameters": { - "id": 8824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8823, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1885:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8822, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1885:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1884:9:34" - }, - "scope": 8964, - "src": "1826:68:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 8832, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8827, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8832, - "src": "1917:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1917:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1916:9:34" - }, - "returnParameters": { - "id": 8831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8830, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8832, - "src": "1949:30:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1026_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account" - }, - "typeName": { - "contractScope": null, - "id": 8829, - "name": "IexecLibCore_v5.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1026, - "src": "1949:23:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1026_storage_ptr", - "typeString": "struct IexecLibCore_v5.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1948:32:34" - }, - "scope": 8964, - "src": "1896:85:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 8837, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8833, - "nodeType": "ParameterList", - "parameters": [], - "src": "1997:2:34" - }, - "returnParameters": { - "id": 8836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8835, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8837, - "src": "2023:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8834, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2023:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2022:9:34" - }, - "scope": 8964, - "src": "1983:49:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b74861b2", - "id": 8844, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8839, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8844, - "src": "2052:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8838, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2052:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2051:9:34" - }, - "returnParameters": { - "id": 8843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8842, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8844, - "src": "2084:27:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1071_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 8841, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1071, - "src": "2084:20:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1071_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2083:29:34" - }, - "scope": 8964, - "src": "2034:79:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 8851, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8846, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8851, - "src": "2137:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8845, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2137:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2136:9:34" - }, - "returnParameters": { - "id": 8850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8849, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8851, - "src": "2169:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8848, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2169:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2168:9:34" - }, - "scope": 8964, - "src": "2115:63:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d286eb16", - "id": 8858, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8853, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8858, - "src": "2203:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8852, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2203:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2202:9:34" - }, - "returnParameters": { - "id": 8857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8856, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8858, - "src": "2235:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8855, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2234:9:34" - }, - "scope": 8964, - "src": "2180:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 8865, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8861, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8860, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8865, - "src": "2264:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2264:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:9:34" - }, - "returnParameters": { - "id": 8864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8863, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8865, - "src": "2296:27:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1109_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 8862, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1109, - "src": "2296:20:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1109_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2295:29:34" - }, - "scope": 8964, - "src": "2246:79:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e741363b", - "id": 8874, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8867, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2353:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8866, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2353:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8869, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2361:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8868, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2361:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2352:17:34" - }, - "returnParameters": { - "id": 8873, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8872, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2393:35:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 8871, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2393:28:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2392:37:34" - }, - "scope": 8964, - "src": "2327:103:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db230b52", - "id": 8881, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8876, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8881, - "src": "2451:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8875, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2451:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2450:9:34" - }, - "returnParameters": { - "id": 8880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8879, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8881, - "src": "2483:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8878, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2483:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2482:9:34" - }, - "scope": 8964, - "src": "2432:60:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 8888, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8883, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8888, - "src": "2613:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2613:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2612:9:34" - }, - "returnParameters": { - "id": 8887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8886, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8888, - "src": "2645:31:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1033_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 8885, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1033, - "src": "2645:24:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1033_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2644:33:34" - }, - "scope": 8964, - "src": "2591:87:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c140996f", - "id": 8893, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8889, - "nodeType": "ParameterList", - "parameters": [], - "src": "2702:2:34" - }, - "returnParameters": { - "id": 8892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8891, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8893, - "src": "2728:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8890, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2728:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2727:9:34" - }, - "scope": 8964, - "src": "2680:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b637a9", - "id": 8898, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8894, - "nodeType": "ParameterList", - "parameters": [], - "src": "2760:2:34" - }, - "returnParameters": { - "id": 8897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8896, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8898, - "src": "2786:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8895, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2786:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2785:11:34" - }, - "scope": 8964, - "src": "2740:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 8903, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8899, - "nodeType": "ParameterList", - "parameters": [], - "src": "2823:2:34" - }, - "returnParameters": { - "id": 8902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8901, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8903, - "src": "2849:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8900, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2849:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2848:11:34" - }, - "scope": 8964, - "src": "2799:61:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "90a0f546", - "id": 8908, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8904, - "nodeType": "ParameterList", - "parameters": [], - "src": "2889:2:34" - }, - "returnParameters": { - "id": 8907, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8906, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8908, - "src": "2915:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8905, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2915:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2914:11:34" - }, - "scope": 8964, - "src": "2862:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5975b8fc", - "id": 8913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "teebroker", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8909, - "nodeType": "ParameterList", - "parameters": [], - "src": "2946:2:34" - }, - "returnParameters": { - "id": 8912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8913, - "src": "2972:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8910, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2972:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2971:9:34" - }, - "scope": 8964, - "src": "2928:53:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e63ec07d", - "id": 8918, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "callbackgas", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8914, - "nodeType": "ParameterList", - "parameters": [], - "src": "3003:2:34" - }, - "returnParameters": { - "id": 8917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8916, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8918, - "src": "3029:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3029:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3028:9:34" - }, - "scope": 8964, - "src": "2983:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "74ed5244", - "id": 8923, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribution_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8919, - "nodeType": "ParameterList", - "parameters": [], - "src": "3077:2:34" - }, - "returnParameters": { - "id": 8922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8923, - "src": "3103:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3103:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3102:9:34" - }, - "scope": 8964, - "src": "3041:71:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2b8857c1", - "id": 8928, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8924, - "nodeType": "ParameterList", - "parameters": [], - "src": "3144:2:34" - }, - "returnParameters": { - "id": 8927, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8926, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8928, - "src": "3170:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3170:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3169:9:34" - }, - "scope": 8964, - "src": "3114:65:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db8aaa26", - "id": 8933, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "final_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8929, - "nodeType": "ParameterList", - "parameters": [], - "src": "3210:2:34" - }, - "returnParameters": { - "id": 8932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8931, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8933, - "src": "3236:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8930, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3236:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3235:9:34" - }, - "scope": 8964, - "src": "3181:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6112f6fd", - "id": 8938, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpool_stake_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8934, - "nodeType": "ParameterList", - "parameters": [], - "src": "3278:2:34" - }, - "returnParameters": { - "id": 8937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8938, - "src": "3304:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8935, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3304:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3303:9:34" - }, - "scope": 8964, - "src": "3247:66:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "dcb03241", - "id": 8943, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8939, - "nodeType": "ParameterList", - "parameters": [], - "src": "3335:2:34" - }, - "returnParameters": { - "id": 8942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8941, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8943, - "src": "3361:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3361:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3360:9:34" - }, - "scope": 8964, - "src": "3315:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "77a99692", - "id": 8948, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_min", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8944, - "nodeType": "ParameterList", - "parameters": [], - "src": "3390:2:34" - }, - "returnParameters": { - "id": 8947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8946, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8948, - "src": "3416:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3416:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3415:9:34" - }, - "scope": 8964, - "src": "3372:53:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a47e7f80", - "id": 8953, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_address", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8949, - "nodeType": "ParameterList", - "parameters": [], - "src": "3449:2:34" - }, - "returnParameters": { - "id": 8952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8951, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8953, - "src": "3475:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3475:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3474:9:34" - }, - "scope": 8964, - "src": "3427:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "25eacba8", - "id": 8958, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "groupmember_purpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8954, - "nodeType": "ParameterList", - "parameters": [], - "src": "3514:2:34" - }, - "returnParameters": { - "id": 8957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8956, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8958, - "src": "3540:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3540:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3539:9:34" - }, - "scope": 8964, - "src": "3486:63:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "9910fd72", - "id": 8963, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "eip712domain_separator", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8959, - "nodeType": "ParameterList", - "parameters": [], - "src": "3582:2:34" - }, - "returnParameters": { - "id": 8962, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8961, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8963, - "src": "3608:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8960, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3608:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3607:9:34" - }, - "scope": 8964, - "src": "3551:66:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8965, - "src": "1441:2178:34" - } - ], - "src": "1242:2378:34" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "exportedSymbols": { - "IexecAccessors": [ - 8964 - ] - }, - "id": 8965, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8776, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:34" - }, - { - "id": 8777, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:34" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 8778, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 13076, - "src": "1301:56:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "../../libs/IexecLibCore_v5.sol", - "id": 8779, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 1134, - "src": "1358:40:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "../../registries/IRegistry.sol", - "id": 8780, - "nodeType": "ImportDirective", - "scope": 8965, - "sourceUnit": 9925, - "src": "1399:40:34", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8781, - "name": "IOracle", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13075, - "src": "1469:7:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOracle_$13075", - "typeString": "contract IOracle" - } - }, - "id": 8782, - "nodeType": "InheritanceSpecifier", - "src": "1469:7:34" - } - ], - "contractDependencies": [ - 13075 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 8964, - "linearizedBaseContracts": [ - 8964, - 13075 - ], - "name": "IexecAccessors", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "06fdde03", - "id": 8787, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8783, - "nodeType": "ParameterList", - "parameters": [], - "src": "1493:2:34" - }, - "returnParameters": { - "id": 8786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8785, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8787, - "src": "1519:13:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8784, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1519:6:34", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1518:15:34" - }, - "scope": 8964, - "src": "1480:54:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "95d89b41", - "id": 8792, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8788, - "nodeType": "ParameterList", - "parameters": [], - "src": "1551:2:34" - }, - "returnParameters": { - "id": 8791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8790, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8792, - "src": "1577:13:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8789, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:34", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1576:15:34" - }, - "scope": 8964, - "src": "1536:56:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "313ce567", - "id": 8797, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "decimals", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8793, - "nodeType": "ParameterList", - "parameters": [], - "src": "1611:2:34" - }, - "returnParameters": { - "id": 8796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8795, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8797, - "src": "1637:5:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8794, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1637:5:34", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1636:7:34" - }, - "scope": 8964, - "src": "1594:50:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "18160ddd", - "id": 8802, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8798, - "nodeType": "ParameterList", - "parameters": [], - "src": "1666:2:34" - }, - "returnParameters": { - "id": 8801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8800, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8802, - "src": "1692:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8799, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1692:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1691:9:34" - }, - "scope": 8964, - "src": "1646:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "70a08231", - "id": 8809, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8805, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8804, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8809, - "src": "1722:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8803, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1722:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1721:9:34" - }, - "returnParameters": { - "id": 8808, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8807, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8809, - "src": "1754:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1754:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1753:9:34" - }, - "scope": 8964, - "src": "1703:60:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1bf6e00d", - "id": 8816, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "frozenOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8811, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8816, - "src": "1783:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1783:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1782:9:34" - }, - "returnParameters": { - "id": 8815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8814, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8816, - "src": "1815:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8813, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1815:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1814:9:34" - }, - "scope": 8964, - "src": "1765:59:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "dd62ed3e", - "id": 8825, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8818, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1845:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1845:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8820, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1853:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1853:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1844:17:34" - }, - "returnParameters": { - "id": 8824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8823, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8825, - "src": "1885:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8822, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1885:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1884:9:34" - }, - "scope": 8964, - "src": "1826:68:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 8832, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8827, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8832, - "src": "1917:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1917:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1916:9:34" - }, - "returnParameters": { - "id": 8831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8830, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8832, - "src": "1949:30:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1026_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account" - }, - "typeName": { - "contractScope": null, - "id": 8829, - "name": "IexecLibCore_v5.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1026, - "src": "1949:23:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1026_storage_ptr", - "typeString": "struct IexecLibCore_v5.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1948:32:34" - }, - "scope": 8964, - "src": "1896:85:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 8837, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8833, - "nodeType": "ParameterList", - "parameters": [], - "src": "1997:2:34" - }, - "returnParameters": { - "id": 8836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8835, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8837, - "src": "2023:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8834, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2023:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2022:9:34" - }, - "scope": 8964, - "src": "1983:49:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b74861b2", - "id": 8844, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8839, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8844, - "src": "2052:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8838, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2052:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2051:9:34" - }, - "returnParameters": { - "id": 8843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8842, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8844, - "src": "2084:27:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1071_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 8841, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1071, - "src": "2084:20:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1071_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2083:29:34" - }, - "scope": 8964, - "src": "2034:79:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 8851, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8846, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8851, - "src": "2137:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8845, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2137:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2136:9:34" - }, - "returnParameters": { - "id": 8850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8849, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8851, - "src": "2169:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8848, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2169:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2168:9:34" - }, - "scope": 8964, - "src": "2115:63:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d286eb16", - "id": 8858, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8853, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8858, - "src": "2203:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8852, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2203:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2202:9:34" - }, - "returnParameters": { - "id": 8857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8856, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8858, - "src": "2235:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8855, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2234:9:34" - }, - "scope": 8964, - "src": "2180:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 8865, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8861, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8860, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8865, - "src": "2264:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2264:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2263:9:34" - }, - "returnParameters": { - "id": 8864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8863, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8865, - "src": "2296:27:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1109_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 8862, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1109, - "src": "2296:20:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1109_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2295:29:34" - }, - "scope": 8964, - "src": "2246:79:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e741363b", - "id": 8874, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8867, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2353:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8866, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2353:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8869, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2361:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8868, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2361:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2352:17:34" - }, - "returnParameters": { - "id": 8873, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8872, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8874, - "src": "2393:35:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 8871, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2393:28:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2392:37:34" - }, - "scope": 8964, - "src": "2327:103:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db230b52", - "id": 8881, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8876, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8881, - "src": "2451:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8875, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2451:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2450:9:34" - }, - "returnParameters": { - "id": 8880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8879, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8881, - "src": "2483:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8878, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2483:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2482:9:34" - }, - "scope": 8964, - "src": "2432:60:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 8888, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8883, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8888, - "src": "2613:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2613:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2612:9:34" - }, - "returnParameters": { - "id": 8887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8886, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8888, - "src": "2645:31:34", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1033_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 8885, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1033, - "src": "2645:24:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1033_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2644:33:34" - }, - "scope": 8964, - "src": "2591:87:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c140996f", - "id": 8893, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8889, - "nodeType": "ParameterList", - "parameters": [], - "src": "2702:2:34" - }, - "returnParameters": { - "id": 8892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8891, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8893, - "src": "2728:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8890, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2728:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2727:9:34" - }, - "scope": 8964, - "src": "2680:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b637a9", - "id": 8898, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8894, - "nodeType": "ParameterList", - "parameters": [], - "src": "2760:2:34" - }, - "returnParameters": { - "id": 8897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8896, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8898, - "src": "2786:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8895, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2786:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2785:11:34" - }, - "scope": 8964, - "src": "2740:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 8903, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8899, - "nodeType": "ParameterList", - "parameters": [], - "src": "2823:2:34" - }, - "returnParameters": { - "id": 8902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8901, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8903, - "src": "2849:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8900, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2849:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2848:11:34" - }, - "scope": 8964, - "src": "2799:61:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "90a0f546", - "id": 8908, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8904, - "nodeType": "ParameterList", - "parameters": [], - "src": "2889:2:34" - }, - "returnParameters": { - "id": 8907, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8906, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8908, - "src": "2915:9:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 8905, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "2915:9:34", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2914:11:34" - }, - "scope": 8964, - "src": "2862:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5975b8fc", - "id": 8913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "teebroker", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8909, - "nodeType": "ParameterList", - "parameters": [], - "src": "2946:2:34" - }, - "returnParameters": { - "id": 8912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8913, - "src": "2972:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8910, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2972:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2971:9:34" - }, - "scope": 8964, - "src": "2928:53:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e63ec07d", - "id": 8918, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "callbackgas", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8914, - "nodeType": "ParameterList", - "parameters": [], - "src": "3003:2:34" - }, - "returnParameters": { - "id": 8917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8916, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8918, - "src": "3029:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3029:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3028:9:34" - }, - "scope": 8964, - "src": "2983:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "74ed5244", - "id": 8923, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribution_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8919, - "nodeType": "ParameterList", - "parameters": [], - "src": "3077:2:34" - }, - "returnParameters": { - "id": 8922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8923, - "src": "3103:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3103:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3102:9:34" - }, - "scope": 8964, - "src": "3041:71:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2b8857c1", - "id": 8928, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8924, - "nodeType": "ParameterList", - "parameters": [], - "src": "3144:2:34" - }, - "returnParameters": { - "id": 8927, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8926, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8928, - "src": "3170:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3170:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3169:9:34" - }, - "scope": 8964, - "src": "3114:65:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db8aaa26", - "id": 8933, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "final_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8929, - "nodeType": "ParameterList", - "parameters": [], - "src": "3210:2:34" - }, - "returnParameters": { - "id": 8932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8931, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8933, - "src": "3236:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8930, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3236:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3235:9:34" - }, - "scope": 8964, - "src": "3181:64:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6112f6fd", - "id": 8938, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpool_stake_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8934, - "nodeType": "ParameterList", - "parameters": [], - "src": "3278:2:34" - }, - "returnParameters": { - "id": 8937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8938, - "src": "3304:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8935, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3304:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3303:9:34" - }, - "scope": 8964, - "src": "3247:66:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "dcb03241", - "id": 8943, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_ratio", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8939, - "nodeType": "ParameterList", - "parameters": [], - "src": "3335:2:34" - }, - "returnParameters": { - "id": 8942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8941, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8943, - "src": "3361:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3361:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3360:9:34" - }, - "scope": 8964, - "src": "3315:55:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "77a99692", - "id": 8948, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_min", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8944, - "nodeType": "ParameterList", - "parameters": [], - "src": "3390:2:34" - }, - "returnParameters": { - "id": 8947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8946, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8948, - "src": "3416:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3416:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3415:9:34" - }, - "scope": 8964, - "src": "3372:53:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a47e7f80", - "id": 8953, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "kitty_address", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8949, - "nodeType": "ParameterList", - "parameters": [], - "src": "3449:2:34" - }, - "returnParameters": { - "id": 8952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8951, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8953, - "src": "3475:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3475:7:34", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3474:9:34" - }, - "scope": 8964, - "src": "3427:57:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "25eacba8", - "id": 8958, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "groupmember_purpose", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8954, - "nodeType": "ParameterList", - "parameters": [], - "src": "3514:2:34" - }, - "returnParameters": { - "id": 8957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8956, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8958, - "src": "3540:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3540:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3539:9:34" - }, - "scope": 8964, - "src": "3486:63:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "9910fd72", - "id": 8963, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "eip712domain_separator", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8959, - "nodeType": "ParameterList", - "parameters": [], - "src": "3582:2:34" - }, - "returnParameters": { - "id": 8962, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8961, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8963, - "src": "3608:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8960, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3608:7:34", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3607:9:34" - }, - "scope": 8964, - "src": "3551:66:34", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8965, - "src": "1441:2178:34" - } - ], - "src": "1242:2378:34" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.855Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecAccessorsABILegacy.json b/build/contracts/IexecAccessorsABILegacy.json deleted file mode 100644 index 6ad15ca93..000000000 --- a/build/contracts/IexecAccessorsABILegacy.json +++ /dev/null @@ -1,3757 +0,0 @@ -{ - "contractName": "IexecAccessorsABILegacy", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"viewAccountABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategoryABILegacy\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConfigABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContributionABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTaskABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol\":\"IexecAccessorsABILegacy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol\":{\"keccak256\":\"0xed2b960274f874bcf7d158e48743ec35db7633dd124b3a660a5b1653f59518ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://5320f4611eaaf8eb7378592f70d5c5645366705acf2548664254b90ca8e44f78\",\"dweb:/ipfs/QmY6f9mukn7zUZWnTxHoVoPyXQ5d2VS3Q9NrubRzSyoQxu\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../../libs/IexecLibCore_v5.sol\";\n\n\ninterface IexecAccessorsABILegacy\n{\n\tfunction viewAccountABILegacy(address _user)\n\texternal view returns (uint256, uint256);\n\n\tfunction viewDealABILegacy_pt1(bytes32 _id)\n\texternal view returns\n\t( address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t);\n\n\tfunction viewDealABILegacy_pt2(bytes32 _id)\n\texternal view returns\n\t( uint256\n\t, bytes32\n\t, address\n\t, address\n\t, address\n\t, string memory\n\t);\n\n\tfunction viewTaskABILegacy(bytes32 _taskid)\n\texternal view returns\n\t( IexecLibCore_v5.TaskStatusEnum\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, address[] memory\n\t, bytes memory\n\t);\n\n\tfunction viewContributionABILegacy(bytes32 _taskid, address _worker)\n\texternal view returns\n\t( IexecLibCore_v5.ContributionStatusEnum\n\t, bytes32\n\t, bytes32\n\t, address\n\t);\n\n\tfunction viewCategoryABILegacy(uint256 _catid)\n\texternal view returns (string memory, string memory, uint256);\n\n\tfunction viewConfigABILegacy(bytes32 _id)\n\texternal view returns\n\t( uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "exportedSymbols": { - "IexecAccessorsABILegacy": [ - 9091 - ] - }, - "id": 9092, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8966, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:35" - }, - { - "id": 8967, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:35" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "../../libs/IexecLibCore_v5.sol", - "id": 8968, - "nodeType": "ImportDirective", - "scope": 9092, - "sourceUnit": 1134, - "src": "1301:40:35", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9091, - "linearizedBaseContracts": [ - 9091 - ], - "name": "IexecAccessorsABILegacy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 8977, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8970, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1411:13:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8969, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1411:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1410:15:35" - }, - "returnParameters": { - "id": 8976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8973, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1450:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1450:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8975, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1459:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1459:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1449:18:35" - }, - "scope": 9091, - "src": "1381:87:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 9000, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8979, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1502:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8978, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1502:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1501:13:35" - }, - "returnParameters": { - "id": 8999, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8982, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1541:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1541:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8984, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1552:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8983, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1552:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8986, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1563:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1563:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8988, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1574:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1574:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8990, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1585:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8989, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1585:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8992, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1596:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8991, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1596:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8994, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1607:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8993, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1607:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8996, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1618:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8995, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1618:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8998, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1629:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8997, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1629:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1539:100:35" - }, - "scope": 9091, - "src": "1471:169:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 9017, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9002, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1674:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9001, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1674:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:13:35" - }, - "returnParameters": { - "id": 9016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9005, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1713:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1713:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9007, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1724:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9006, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1724:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9009, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1735:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1735:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9011, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1746:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1746:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9013, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1757:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9012, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1757:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9015, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1768:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1768:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1711:73:35" - }, - "scope": 9091, - "src": "1643:142:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 9047, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9019, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1815:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9018, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1815:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1814:17:35" - }, - "returnParameters": { - "id": 9046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9022, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1858:30:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 9021, - "name": "IexecLibCore_v5.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1077, - "src": "1858:30:35", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9024, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1892:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9023, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1892:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9026, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1903:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9025, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1903:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9028, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1914:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9027, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1914:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9030, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1925:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9029, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1925:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9032, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1936:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1936:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1947:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1947:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1958:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9035, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1958:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9038, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1969:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9037, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1969:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9040, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1980:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9039, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1980:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9043, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1991:16:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9041, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1991:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9042, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1991:9:35", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9045, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "2011:16:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9044, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2011:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1856:174:35" - }, - "scope": 9091, - "src": "1788:243:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "11e35aba", - "id": 9062, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9049, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2069:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9048, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2069:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9051, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2086:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9050, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2086:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2068:34:35" - }, - "returnParameters": { - "id": 9061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9054, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2129:38:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 9053, - "name": "IexecLibCore_v5.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1121, - "src": "2129:38:35", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9056, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2171:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9055, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2171:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2182:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9057, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2182:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9060, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2193:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2193:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2127:76:35" - }, - "scope": 9091, - "src": "2034:170:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 9073, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9064, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2238:14:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:16:35" - }, - "returnParameters": { - "id": 9072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9067, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2278:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2278:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2293:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9068, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2293:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9071, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2308:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9070, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2308:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2277:39:35" - }, - "scope": 9091, - "src": "2207:110:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d5922f50", - "id": 9090, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9075, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2349:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9074, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2349:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2348:13:35" - }, - "returnParameters": { - "id": 9089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9078, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2388:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9077, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2388:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2399:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2399:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9082, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2410:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9081, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2410:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9084, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2421:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9083, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2421:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9086, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2432:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2432:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9088, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2443:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9087, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2443:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2386:67:35" - }, - "scope": 9091, - "src": "2320:134:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9092, - "src": "1344:1112:35" - } - ], - "src": "1242:1215:35" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "exportedSymbols": { - "IexecAccessorsABILegacy": [ - 9091 - ] - }, - "id": 9092, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8966, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:35" - }, - { - "id": 8967, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:35" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "../../libs/IexecLibCore_v5.sol", - "id": 8968, - "nodeType": "ImportDirective", - "scope": 9092, - "sourceUnit": 1134, - "src": "1301:40:35", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9091, - "linearizedBaseContracts": [ - 9091 - ], - "name": "IexecAccessorsABILegacy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 8977, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8970, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1411:13:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8969, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1411:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1410:15:35" - }, - "returnParameters": { - "id": 8976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8973, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1450:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1450:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8975, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8977, - "src": "1459:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1459:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1449:18:35" - }, - "scope": 9091, - "src": "1381:87:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 9000, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8979, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1502:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8978, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1502:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1501:13:35" - }, - "returnParameters": { - "id": 8999, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8982, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1541:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1541:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8984, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1552:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8983, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1552:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8986, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1563:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1563:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8988, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1574:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1574:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8990, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1585:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8989, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1585:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8992, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1596:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8991, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1596:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8994, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1607:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8993, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1607:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8996, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1618:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8995, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1618:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8998, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9000, - "src": "1629:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8997, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1629:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1539:100:35" - }, - "scope": 9091, - "src": "1471:169:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 9017, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9002, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1674:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9001, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1674:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:13:35" - }, - "returnParameters": { - "id": 9016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9005, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1713:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1713:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9007, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1724:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9006, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1724:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9009, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1735:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1735:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9011, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1746:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1746:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9013, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1757:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9012, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1757:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9015, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9017, - "src": "1768:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1768:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1711:73:35" - }, - "scope": 9091, - "src": "1643:142:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 9047, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9019, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1815:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9018, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1815:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1814:17:35" - }, - "returnParameters": { - "id": 9046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9022, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1858:30:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 9021, - "name": "IexecLibCore_v5.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1077, - "src": "1858:30:35", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9024, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1892:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9023, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1892:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9026, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1903:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9025, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1903:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9028, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1914:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9027, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1914:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9030, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1925:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9029, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1925:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9032, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1936:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1936:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1947:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1947:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1958:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9035, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1958:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9038, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1969:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9037, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1969:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9040, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1980:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9039, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1980:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9043, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "1991:16:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9041, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1991:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9042, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1991:9:35", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9045, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9047, - "src": "2011:16:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9044, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2011:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1856:174:35" - }, - "scope": 9091, - "src": "1788:243:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "11e35aba", - "id": 9062, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9049, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2069:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9048, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2069:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9051, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2086:15:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9050, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2086:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2068:34:35" - }, - "returnParameters": { - "id": 9061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9054, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2129:38:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 9053, - "name": "IexecLibCore_v5.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1121, - "src": "2129:38:35", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9056, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2171:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9055, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2171:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2182:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9057, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2182:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9060, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9062, - "src": "2193:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2193:7:35", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2127:76:35" - }, - "scope": 9091, - "src": "2034:170:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 9073, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9064, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2238:14:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:16:35" - }, - "returnParameters": { - "id": 9072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9067, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2278:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2278:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9069, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2293:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9068, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2293:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9071, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9073, - "src": "2308:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9070, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2308:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2277:39:35" - }, - "scope": 9091, - "src": "2207:110:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d5922f50", - "id": 9090, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9075, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2349:11:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9074, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2349:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2348:13:35" - }, - "returnParameters": { - "id": 9089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9078, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2388:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9077, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2388:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2399:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2399:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9082, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2410:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9081, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2410:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9084, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2421:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9083, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2421:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9086, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2432:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2432:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9088, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9090, - "src": "2443:7:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9087, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2443:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2386:67:35" - }, - "scope": 9091, - "src": "2320:134:35", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9092, - "src": "1344:1112:35" - } - ], - "src": "1242:1215:35" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.856Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecAccessorsABILegacyDelegate.json b/build/contracts/IexecAccessorsABILegacyDelegate.json deleted file mode 100644 index d0e1d1a43..000000000 --- a/build/contracts/IexecAccessorsABILegacyDelegate.json +++ /dev/null @@ -1,8245 +0,0 @@ -{ - "contractName": "IexecAccessorsABILegacyDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"viewAccountABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategoryABILegacy\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConfigABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContributionABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTaskABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol\":\"IexecAccessorsABILegacyDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol\":{\"keccak256\":\"0xecb4cec72c77e028a02276371c4afa922e98692b0bd96c517b28cdcd356bd5ee\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://556d4a9fc940a39b408a5accf1737be70d455fe0ec7072fb7734e8e13c2edc24\",\"dweb:/ipfs/QmPqpKgGK2QRzLYi5GJfZJDW53ERQcwRJUEGpnyCvXCVhq\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol\":{\"keccak256\":\"0xed2b960274f874bcf7d158e48743ec35db7633dd124b3a660a5b1653f59518ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://5320f4611eaaf8eb7378592f70d5c5645366705acf2548664254b90ca8e44f78\",\"dweb:/ipfs/QmY6f9mukn7zUZWnTxHoVoPyXQ5d2VS3Q9NrubRzSyoQxu\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020620014e9833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b0390911690600080516020620014e9833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6113bd806200012c6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063bd19a4f311610066578063bd19a4f31461013a578063ce5f789514610162578063d5922f5014610187578063f2fde38b146101ac578063f9353b8d146101bf5761009e565b806311e35aba146100a3578063248ad6a0146100cf5780635b3ae3e4146100fa578063715018a61461011b5780638da5cb5b14610125575b600080fd5b6100b66100b136600461107b565b6101e1565b6040516100c69493929190611165565b60405180910390f35b6100e26100dd366004611063565b6102b2565b6040516100c69c9b9a99989796959493929190611198565b61010d610108366004611035565b610569565b6040516100c6929190611351565b610123610591565b005b61012d610619565b6040516100c69190611100565b61014d610148366004611063565b610628565b6040516100c699989796959493929190611114565b610175610170366004611063565b610861565b6040516100c696959493929190611304565b61019a610195366004611063565b610a5b565b6040516100c69695949392919061135f565b6101236101ba366004611035565b610c57565b6101d26101cd366004611063565b610d0d565b6040516100c693929190611253565b6000806000806101ef610e9e565b60008781526016602090815260408083206001600160a01b038a16845290915290819020815160a081019092528054829060ff16600381111561022e57fe5b600381111561023957fe5b815260200160018201548152602001600282015481526020016003820160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b031681526020016004820154815250509050806000015181602001518260400151836060015194509450945094505092959194509250565b6000806000806000806000806000806060806102cc610ece565b60008e8152601460205260409081902081516101e081019092528054829060ff1660048111156102f857fe5b600481111561030357fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82018054806020026020016040519081016040528092919081815260200182805480156103ba57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161039c575b5050509183525050600b820154602080830191909152600c8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156104f65780601f106104cb576101008083540402835291602001916104f6565b820191906000526020600020905b8154815290600101906020018083116104d957829003601f168201915b5050505050815250509050806000015181602001518260400151836060015184608001518560a001518660c001518760e001518861010001518961012001518a61014001518b61018001519c509c509c509c509c509c509c509c509c509c509c509c505091939597999b5091939597999b565b6001600160a01b03166000908152600d6020908152604080832054600e909252909120549091565b610599610e9a565b6000546001600160a01b039081169116146105cf5760405162461bcd60e51b81526004016105c6906112cf565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080600080600080600080600061063e610f4e565b60008b81526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050806000015160000151816000015160200151826000015160400151836020015160000151846020015160200151856020015160400151866040015160000151876040015160200151886040015160400151995099509950995099509950995099509950509193959799909294969850565b60008060008060006060610873610f4e565b60008881526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b5050505050815260200160108201548152602001601182015481526020016012820154815260200160138201548152602001601482015481525050905080606001518160a001518260c001518360e001518461010001518561012001519650965096509650965096505091939550919395565b600080600080600080610a6c610f4e565b60008881526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090508060800151816101400151826101600151836101800151846101a00151856101c001519650965096509650965096505091939550919395565b610c5f610e9a565b6000546001600160a01b03908116911614610c8c5760405162461bcd60e51b81526004016105c6906112cf565b6001600160a01b038116610cb25760405162461bcd60e51b81526004016105c690611289565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060806000610d1a610ff4565b601a8581548110610d2757fe5b600091825260209182902060408051600393909302909101805460026001821615610100026000190190911604601f8101859004909402830160809081019092526060830184815292939092849290918491840182828015610dca5780601f10610d9f57610100808354040283529160200191610dca565b820191906000526020600020905b815481529060010190602001808311610dad57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b5050509183525050600291909101546020918201528151908201516040909201519097919650945092505050565b3390565b6040805160a081019091528060008152600060208201819052604082018190526060820181905260809091015290565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604051806101e00160405280610f62611015565b8152602001610f6f611015565b8152602001610f7c611015565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b60405180606001604052806060815260200160608152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b600060208284031215611046578081fd5b81356001600160a01b038116811461105c578182fd5b9392505050565b600060208284031215611074578081fd5b5035919050565b6000806040838503121561108d578081fd5b8235915060208301356001600160a01b03811681146110aa578182fd5b809150509250929050565b60008151808452815b818110156110da576020818501810151868301820152016110be565b818111156110eb5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03998a168152978916602089015260408801969096529387166060870152918616608086015260a0850152841660c084015290921660e08201526101008101919091526101200190565b608081016004861061117357fe5b948152602081019390935260408301919091526001600160a01b031660609091015290565b6000610180820160058f106111a957fe5b8e83528d60208401528c60408401528b60608401528a60808401528960a08401528860c08401528760e084015286610100840152856101208401526101806101408401528085518083526101a085019150602087019250835b818110156112295783516001600160a01b0316835260209384019390920191600101611202565b505083810361016085015261123e81866110b5565b925050509d9c50505050505050505050505050565b60006060825261126660608301866110b5565b828103602084015261127881866110b5565b915050826040830152949350505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b868152602081018690526001600160a01b03858116604083015284811660608301528316608082015260c060a08201819052600090611345908301846110b5565b98975050505050505050565b918252602082015260400190565b958652602086019490945260408501929092526060840152608083015260a082015260c0019056fea264697066735822122017d43ab48acb9f88bde3a91a2ff7ca1a3c41c1f9b7f4512bf1a10881e99c729564736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063bd19a4f311610066578063bd19a4f31461013a578063ce5f789514610162578063d5922f5014610187578063f2fde38b146101ac578063f9353b8d146101bf5761009e565b806311e35aba146100a3578063248ad6a0146100cf5780635b3ae3e4146100fa578063715018a61461011b5780638da5cb5b14610125575b600080fd5b6100b66100b136600461107b565b6101e1565b6040516100c69493929190611165565b60405180910390f35b6100e26100dd366004611063565b6102b2565b6040516100c69c9b9a99989796959493929190611198565b61010d610108366004611035565b610569565b6040516100c6929190611351565b610123610591565b005b61012d610619565b6040516100c69190611100565b61014d610148366004611063565b610628565b6040516100c699989796959493929190611114565b610175610170366004611063565b610861565b6040516100c696959493929190611304565b61019a610195366004611063565b610a5b565b6040516100c69695949392919061135f565b6101236101ba366004611035565b610c57565b6101d26101cd366004611063565b610d0d565b6040516100c693929190611253565b6000806000806101ef610e9e565b60008781526016602090815260408083206001600160a01b038a16845290915290819020815160a081019092528054829060ff16600381111561022e57fe5b600381111561023957fe5b815260200160018201548152602001600282015481526020016003820160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b031681526020016004820154815250509050806000015181602001518260400151836060015194509450945094505092959194509250565b6000806000806000806000806000806060806102cc610ece565b60008e8152601460205260409081902081516101e081019092528054829060ff1660048111156102f857fe5b600481111561030357fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82018054806020026020016040519081016040528092919081815260200182805480156103ba57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161039c575b5050509183525050600b820154602080830191909152600c8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156104f65780601f106104cb576101008083540402835291602001916104f6565b820191906000526020600020905b8154815290600101906020018083116104d957829003601f168201915b5050505050815250509050806000015181602001518260400151836060015184608001518560a001518660c001518760e001518861010001518961012001518a61014001518b61018001519c509c509c509c509c509c509c509c509c509c509c509c505091939597999b5091939597999b565b6001600160a01b03166000908152600d6020908152604080832054600e909252909120549091565b610599610e9a565b6000546001600160a01b039081169116146105cf5760405162461bcd60e51b81526004016105c6906112cf565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080600080600080600080600061063e610f4e565b60008b81526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050806000015160000151816000015160200151826000015160400151836020015160000151846020015160200151856020015160400151866040015160000151876040015160200151886040015160400151995099509950995099509950995099509950509193959799909294969850565b60008060008060006060610873610f4e565b60008881526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b5050505050815260200160108201548152602001601182015481526020016012820154815260200160138201548152602001601482015481525050905080606001518160a001518260c001518360e001518461010001518561012001519650965096509650965096505091939550919395565b600080600080600080610a6c610f4e565b60008881526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090508060800151816101400151826101600151836101800151846101a00151856101c001519650965096509650965096505091939550919395565b610c5f610e9a565b6000546001600160a01b03908116911614610c8c5760405162461bcd60e51b81526004016105c6906112cf565b6001600160a01b038116610cb25760405162461bcd60e51b81526004016105c690611289565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060806000610d1a610ff4565b601a8581548110610d2757fe5b600091825260209182902060408051600393909302909101805460026001821615610100026000190190911604601f8101859004909402830160809081019092526060830184815292939092849290918491840182828015610dca5780601f10610d9f57610100808354040283529160200191610dca565b820191906000526020600020905b815481529060010190602001808311610dad57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b5050509183525050600291909101546020918201528151908201516040909201519097919650945092505050565b3390565b6040805160a081019091528060008152600060208201819052604082018190526060820181905260809091015290565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604051806101e00160405280610f62611015565b8152602001610f6f611015565b8152602001610f7c611015565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b60405180606001604052806060815260200160608152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b600060208284031215611046578081fd5b81356001600160a01b038116811461105c578182fd5b9392505050565b600060208284031215611074578081fd5b5035919050565b6000806040838503121561108d578081fd5b8235915060208301356001600160a01b03811681146110aa578182fd5b809150509250929050565b60008151808452815b818110156110da576020818501810151868301820152016110be565b818111156110eb5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03998a168152978916602089015260408801969096529387166060870152918616608086015260a0850152841660c084015290921660e08201526101008101919091526101200190565b608081016004861061117357fe5b948152602081019390935260408301919091526001600160a01b031660609091015290565b6000610180820160058f106111a957fe5b8e83528d60208401528c60408401528b60608401528a60808401528960a08401528860c08401528760e084015286610100840152856101208401526101806101408401528085518083526101a085019150602087019250835b818110156112295783516001600160a01b0316835260209384019390920191600101611202565b505083810361016085015261123e81866110b5565b925050509d9c50505050505050505050505050565b60006060825261126660608301866110b5565b828103602084015261127881866110b5565b915050826040830152949350505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b868152602081018690526001600160a01b03858116604083015284811660608301528316608082015260c060a08201819052600090611345908301846110b5565b98975050505050505050565b918252602082015260400190565b958652602086019490945260408501929092526060840152608083015260a082015260c0019056fea264697066735822122017d43ab48acb9f88bde3a91a2ff7ca1a3c41c1f9b7f4512bf1a10881e99c729564736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1385:2626:13:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1385:2626:13;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1385:2626:13;;;;;;", - "deployedSourceMap": "1385:2626:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3337:401;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;2759:575;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;2599:157::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;1689:145:83:-;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;1470:459:13:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;1932:324::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;:::i;2259:337::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;3741:268:13:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;3337:401::-;3441:38;3483:7;3494;3505;3521:48;;:::i;:::-;3572:24;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;3572:33:13;;;;;;;;;;;3521:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3521:84:13;-1:-1:-1;;;;;3521:84:13;-1:-1:-1;;;;;3521:84:13;;;;;;;;;;;;;;;3621:12;:19;;;3645:12;:23;;;3673:12;:23;;;3701:12;:29;;;3609:125;;;;;;;;;3337:401;;;;;;;:::o;2759:575::-;2838:30;2872:7;2883;2894;2905;2916;2927;2938;2949;2960;2971:16;2991;3016:32;;:::i;:::-;3051:16;;;;:7;:16;;;;;;;3016:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3016:51:13;;;;;;;;;;;;;;;;-1:-1:-1;;;3016:51:13;;;-1:-1:-1;;3016:51:13;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3016:51:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3016:51:13;;;-1:-1:-1;;3016:51:13;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3016:51:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3083:4;:11;;;3099:4;:11;;;3115:4;:8;;;3128:4;:12;;;3145:4;:25;;;3175:4;:19;;;3199:4;:18;;;3222:4;:19;;;3246:4;:18;;;3269:4;:18;;;3292:4;:17;;;3314:4;:12;;;3071:259;;;;;;;;;;;;;;;;;;;;;;;;;2759:575;;;;;;;;;;;;;:::o;2599:157::-;-1:-1:-1;;;;;2711:19:13;2679:7;2711:19;;;:10;:19;;;;;;;;;2732:9;:18;;;;;;;2711:19;;2599:157::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1470:459:13:-;1549:7;1560;1571;1582;1593;1604;1615;1626;1637;1653:32;;:::i;:::-;1688:12;;;;:7;:12;;;;;;;;;1653:47;;;;;;;;;-1:-1:-1;;;;;1653:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1653:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:12;;1653:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1716:4;:8;;;:16;;;1737:4;:8;;;:14;;;1756:4;:8;;;:14;;;1775:4;:12;;;:20;;;1800:4;:12;;;:18;;;1823:4;:12;;;:18;;;1846:4;:15;;;:23;;;1874:4;:15;;;:21;;;1900:4;:15;;;:21;;;1704:221;;;;;;;;;;;;;;;;;;;1470:459;;;;;;;;;;;:::o;1932:324::-;2011:7;2022;2033;2044;2055;2066:13;2088:32;;:::i;:::-;2123:12;;;;:7;:12;;;;;;;;;2088:47;;;;;;;;;-1:-1:-1;;;;;2088:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2088:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2123:12;;2088:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2151:4;:10;;;2166:4;:8;;;2179:4;:14;;;2198:4;:16;;;2219:4;:13;;;2237:4;:11;;;2139:113;;;;;;;;;;;;;1932:324;;;;;;;:::o;2259:337::-;2336:7;2347;2358;2369;2380;2391;2407:32;;:::i;:::-;2442:12;;;;:7;:12;;;;;;;;;2407:47;;;;;;;;;-1:-1:-1;;;;;2407:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2407:47:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2442:12;;2407:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2470:4;:13;;;2488:4;:14;;;2507:4;:13;;;2525:4;:12;;;2542:4;:16;;;2563:4;:25;;;2458:134;;;;;;;;;;;;;2259:337;;;;;;;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;3741:268:13:-;3821:13;3836;3851:7;3865:40;;:::i;:::-;3908:12;3921:6;3908:20;;;;;;;;;;;;;;;;;3865:63;;;3908:20;;;;;;;;3865:63;;;;;;;;;-1:-1:-1;;3865:63:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3908:20;;3865:63;;;;3908:20;;3865:63;;3908:20;3865:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3865:63:13;;;-1:-1:-1;;3865:63:13;;;;;;;;;;;3941:13;;3956:20;;;;3978:25;;;;;3941:13;;3956:20;;-1:-1:-1;3978:25:13;-1:-1:-1;3741:268:13;-1:-1:-1;;;3741:268:13:o;590:104:81:-;677:10;590:104;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;416:241::-;;520:2;508:9;499:7;495:23;491:32;488:2;;;-1:-1;;526:12;488:2;72:20;;-1:-1;;;;;13623:54;;14769:35;;14759:2;;-1:-1;;14808:12;14759:2;578:63;482:175;-1:-1;;;482:175::o;664:241::-;;768:2;756:9;747:7;743:23;739:32;736:2;;;-1:-1;;774:12;736:2;-1:-1;209:20;;730:175;-1:-1;730:175::o;912:366::-;;;1033:2;1021:9;1012:7;1008:23;1004:32;1001:2;;;-1:-1;;1039:12;1001:2;209:20;;;-1:-1;1191:2;1230:22;;72:20;-1:-1;;;;;13623:54;;14769:35;;14759:2;;-1:-1;;14808:12;14759:2;1199:63;;;;995:283;;;;;:::o;2794:343::-;;2936:5;12123:12;12667:6;12662:3;12655:19;-1:-1;14159:101;14173:6;14170:1;14167:13;14159:101;;;12704:4;14240:11;;;;;14234:18;14221:11;;;;;14214:39;14188:10;14159:101;;;14275:6;14272:1;14269:13;14266:2;;;-1:-1;12704:4;14331:6;12699:3;14322:16;;14315:27;14266:2;-1:-1;14447:7;14431:14;-1:-1;;14427:28;3093:39;;;;12704:4;3093:39;;2884:253;-1:-1;;2884:253::o;4693:222::-;-1:-1;;;;;13623:54;;;;1776:37;;4820:2;4805:18;;4791:124::o;4922:1116::-;-1:-1;;;;;13623:54;;;1776:37;;13623:54;;;5438:2;5423:18;;1776:37;5521:2;5506:18;;2745:37;;;;13623:54;;;5604:2;5589:18;;1776:37;13623:54;;;5687:3;5672:19;;1776:37;13634:42;5756:19;;2745:37;13623:54;;5855:3;5840:19;;1776:37;13623:54;;;5939:3;5924:19;;1776:37;6023:3;6008:19;;2745:37;;;;5273:3;5258:19;;5244:794::o;6045:606::-;6281:3;6266:19;;14564:1;14554:12;;14544:2;;14570:9;14544:2;3240:75;;;6471:2;6456:18;;2745:37;;;;6554:2;6539:18;;2745:37;;;;-1:-1;;;;;13623:54;6637:2;6622:18;;;1776:37;6252:399;:::o;6658:1722::-;;7180:3;7169:9;7165:19;14681:1;14674:5;14671:12;14661:2;;14687:9;14661:2;14031:43;3422:3;3415:67;2775:5;7362:2;7351:9;7347:18;2745:37;2775:5;7445:2;7434:9;7430:18;2745:37;2775:5;7528:2;7517:9;7513:18;2745:37;2775:5;7611:3;7600:9;7596:19;2745:37;2775:5;7695:3;7684:9;7680:19;2745:37;2775:5;7779:3;7768:9;7764:19;2745:37;2775:5;7863:3;7852:9;7848:19;2745:37;2775:5;7947:3;7936:9;7932:19;2745:37;2775:5;8031:3;8020:9;8016:19;2745:37;7180:3;8069;8058:9;8054:19;8047:49;8110:109;2169:5;12123:12;12667:6;12662:3;12655:19;12695:14;7169:9;12695:14;2181:93;;7362:2;2345:5;11977:14;2357:21;;-1:-1;2384:260;2409:6;2406:1;2403:13;2384:260;;;2470:13;;-1:-1;;;;;13623:54;1776:37;;7362:2;12510:14;;;;1687;;;;13634:42;2424:9;2384:260;;;2388:14;;8268:9;8262:4;8258:20;8252:3;8241:9;8237:19;8230:49;8293:77;8365:4;8355:7;8293:77;:::i;:::-;8285:85;;;;7151:1229;;;;;;;;;;;;;;;:::o;8387:620::-;;8610:2;8631:17;8624:47;8685:78;8610:2;8599:9;8595:18;8749:6;8685:78;:::i;:::-;8811:9;8805:4;8801:20;8796:2;8785:9;8781:18;8774:48;8836:78;8909:4;8900:6;8836:78;:::i;:::-;8828:86;;;2775:5;8993:2;8982:9;8978:18;2745:37;8581:426;;;;;;:::o;9014:416::-;9214:2;9228:47;;;4073:2;9199:18;;;12655:19;4109:34;12695:14;;;4089:55;-1:-1;;;4164:12;;;4157:30;4206:12;;;9185:245::o;9437:416::-;9637:2;9651:47;;;9622:18;;;12655:19;4493:34;12695:14;;;4473:55;4547:12;;;9608:245::o;9860:868::-;2745:37;;;10312:2;10297:18;;2745:37;;;-1:-1;;;;;13623:54;;;10395:2;10380:18;;1776:37;13623:54;;;10478:2;10463:18;;1776:37;13623:54;;10561:3;10546:19;;1776:37;10147:3;13634:42;10584:19;;10577:49;;;9860:868;;10640:78;;10132:19;;10704:6;10640:78;:::i;:::-;10632:86;10118:610;-1:-1;;;;;;;;10118:610::o;10735:333::-;2745:37;;;11054:2;11039:18;;2745:37;10890:2;10875:18;;10861:207::o;11075:780::-;2745:37;;;11507:2;11492:18;;2745:37;;;;11590:2;11575:18;;2745:37;;;;11673:2;11658:18;;2745:37;11756:3;11741:19;;2745:37;11840:3;11825:19;;2745:37;11342:3;11327:19;;11313:542::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecAccessorsABILegacy.sol\";\n\n\ncontract IexecAccessorsABILegacyDelegate is IexecAccessorsABILegacy, DelegateBase\n{\n\tfunction viewDealABILegacy_pt1(bytes32 _id)\n\texternal view override returns\n\t( address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t)\n\t{\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[_id];\n\t\treturn (\n\t\t\tdeal.app.pointer,\n\t\t\tdeal.app.owner,\n\t\t\tdeal.app.price,\n\t\t\tdeal.dataset.pointer,\n\t\t\tdeal.dataset.owner,\n\t\t\tdeal.dataset.price,\n\t\t\tdeal.workerpool.pointer,\n\t\t\tdeal.workerpool.owner,\n\t\t\tdeal.workerpool.price\n\t\t);\n\t}\n\n\tfunction viewDealABILegacy_pt2(bytes32 _id)\n\texternal view override returns\n\t( uint256\n\t, bytes32\n\t, address\n\t, address\n\t, address\n\t, string memory\n\t)\n\t{\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[_id];\n\t\treturn (\n\t\t\tdeal.trust,\n\t\t\tdeal.tag,\n\t\t\tdeal.requester,\n\t\t\tdeal.beneficiary,\n\t\t\tdeal.callback,\n\t\t\tdeal.params\n\t\t);\n\t}\n\n\tfunction viewConfigABILegacy(bytes32 _id)\n\texternal view override returns\n\t( uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t)\n\t{\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[_id];\n\t\treturn (\n\t\t\tdeal.category,\n\t\t\tdeal.startTime,\n\t\t\tdeal.botFirst,\n\t\t\tdeal.botSize,\n\t\t\tdeal.workerStake,\n\t\t\tdeal.schedulerRewardRatio\n\t\t);\n\t}\n\n\tfunction viewAccountABILegacy(address account)\n\texternal view override returns (uint256, uint256)\n\t{\n\t\treturn ( m_balances[account], m_frozens[account] );\n\t}\n\n\tfunction viewTaskABILegacy(bytes32 _taskid)\n\texternal view override returns\n\t( IexecLibCore_v5.TaskStatusEnum\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, address[] memory\n\t, bytes memory\n\t)\n\t{\n\t\tIexecLibCore_v5.Task memory task = m_tasks[_taskid];\n\t\treturn (\n\t\t\ttask.status,\n\t\t\ttask.dealid,\n\t\t\ttask.idx,\n\t\t\ttask.timeref,\n\t\t\ttask.contributionDeadline,\n\t\t\ttask.revealDeadline,\n\t\t\ttask.finalDeadline,\n\t\t\ttask.consensusValue,\n\t\t\ttask.revealCounter,\n\t\t\ttask.winnerCounter,\n\t\t\ttask.contributors,\n\t\t\ttask.results\n\t\t);\n\t}\n\n\tfunction viewContributionABILegacy(bytes32 _taskid, address _worker)\n\texternal view override returns\n\t( IexecLibCore_v5.ContributionStatusEnum\n\t, bytes32\n\t, bytes32\n\t, address\n\t)\n\t{\n\t\tIexecLibCore_v5.Contribution memory contribution = m_contributions[_taskid][_worker];\n\t\treturn (\n\t\t\tcontribution.status,\n\t\t\tcontribution.resultHash,\n\t\t\tcontribution.resultSeal,\n\t\t\tcontribution.enclaveChallenge\n\t\t);\n\t}\n\n\tfunction viewCategoryABILegacy(uint256 _catid)\n\texternal view override returns (string memory, string memory, uint256)\n\t{\n\t\tIexecLibCore_v5.Category memory category = m_categories[_catid];\n\t\treturn ( category.name, category.description, category.workClockTimeRef );\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol", - "exportedSymbols": { - "IexecAccessorsABILegacyDelegate": [ - 1994 - ] - }, - "id": 1995, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1691, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:13" - }, - { - "id": 1692, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:13" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1693, - "nodeType": "ImportDirective", - "scope": 1995, - "sourceUnit": 1659, - "src": "1301:29:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "../interfaces/IexecAccessorsABILegacy.sol", - "id": 1694, - "nodeType": "ImportDirective", - "scope": 1995, - "sourceUnit": 9153, - "src": "1331:51:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1695, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "1429:23:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 1696, - "nodeType": "InheritanceSpecifier", - "src": "1429:23:13" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1697, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1454:12:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 1698, - "nodeType": "InheritanceSpecifier", - "src": "1454:12:13" - } - ], - "contractDependencies": [ - 309, - 1658, - 9152, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1994, - "linearizedBaseContracts": [ - 1994, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9152 - ], - "name": "IexecAccessorsABILegacyDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9061 - ], - "body": { - "id": 1759, - "nodeType": "Block", - "src": "1649:280:13", - "statements": [ - { - "assignments": [ - 1725 - ], - "declarations": [ - { - "constant": false, - "id": 1725, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1759, - "src": "1653:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1724, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "1653:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1729, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1726, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1688:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1728, - "indexExpression": { - "argumentTypes": null, - "id": 1727, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1700, - "src": "1696:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1688:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1653:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1730, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1716:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1731, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1716:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1732, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1716:16:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1733, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1737:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1734, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1737:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1735, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1737:14:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1736, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1756:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1737, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1756:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1738, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1756:14:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1739, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1775:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1775:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1741, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1775:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1742, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1800:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1743, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1800:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1744, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1800:18:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1745, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1823:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1746, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1823:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1747, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1823:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1748, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1846:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1749, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1846:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1750, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1846:23:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1751, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1874:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1752, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1874:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1753, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1874:21:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1754, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1900:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1755, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1900:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1756, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1900:21:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1757, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1711:214:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_address_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$", - "typeString": "tuple(address,address,uint256,address,address,uint256,address,address,uint256)" - } - }, - "functionReturnParameters": 1721, - "id": 1758, - "nodeType": "Return", - "src": "1704:221:13" - } - ] - }, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 1760, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1702, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1529:8:13" - }, - "parameters": { - "id": 1701, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1700, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1501:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1699, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1501:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:13:13" - }, - "returnParameters": { - "id": 1721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1549:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1703, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1549:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1706, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1560:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1705, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1560:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1708, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1571:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1707, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1571:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1710, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1582:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1582:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1712, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1593:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1593:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1714, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1604:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1713, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1604:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1716, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1615:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1715, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1615:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1718, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1626:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1626:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1720, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1637:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1719, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1637:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1547:100:13" - }, - "scope": 1994, - "src": "1470:459:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9078 - ], - "body": { - "id": 1800, - "nodeType": "Block", - "src": "2084:172:13", - "statements": [ - { - "assignments": [ - 1781 - ], - "declarations": [ - { - "constant": false, - "id": 1781, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1800, - "src": "2088:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1780, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2088:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1785, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1782, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2123:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1784, - "indexExpression": { - "argumentTypes": null, - "id": 1783, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "2131:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2123:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2088:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1786, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2151:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1787, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "2151:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1788, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2166:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1789, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "2166:8:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1790, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2179:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1791, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "2179:14:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1792, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2198:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1793, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1117, - "src": "2198:16:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1794, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2219:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1795, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "2219:13:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1796, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2237:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1121, - "src": "2237:11:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "id": 1798, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2146:106:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$_t_address_$_t_string_memory_ptr_$", - "typeString": "tuple(uint256,bytes32,address,address,address,string memory)" - } - }, - "functionReturnParameters": 1777, - "id": 1799, - "nodeType": "Return", - "src": "2139:113:13" - } - ] - }, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 1801, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1764, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1991:8:13" - }, - "parameters": { - "id": 1763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1762, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "1963:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1761, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1963:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1962:13:13" - }, - "returnParameters": { - "id": 1777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1766, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2011:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2011:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1768, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2022:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1767, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2022:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1770, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2033:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2033:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1772, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2044:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1771, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2044:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1774, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2055:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1773, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2055:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1776, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2066:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1775, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2066:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2009:73:13" - }, - "scope": 1994, - "src": "1932:324:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9151 - ], - "body": { - "id": 1841, - "nodeType": "Block", - "src": "2403:193:13", - "statements": [ - { - "assignments": [ - 1822 - ], - "declarations": [ - { - "constant": false, - "id": 1822, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1841, - "src": "2407:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1821, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2407:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1826, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1823, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2442:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1825, - "indexExpression": { - "argumentTypes": null, - "id": 1824, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1803, - "src": "2450:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2442:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2407:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1827, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2470:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1828, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "2470:13:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1829, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2488:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1830, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "2488:14:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1831, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2507:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "2507:13:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1833, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2525:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1834, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "2525:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1835, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2542:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "2542:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1837, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2563:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1838, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "2563:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1839, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2465:127:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256,uint256,uint256,uint256,uint256)" - } - }, - "functionReturnParameters": 1818, - "id": 1840, - "nodeType": "Return", - "src": "2458:134:13" - } - ] - }, - "documentation": null, - "functionSelector": "d5922f50", - "id": 1842, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1805, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2316:8:13" - }, - "parameters": { - "id": 1804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1803, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2288:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2288:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2287:13:13" - }, - "returnParameters": { - "id": 1818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1807, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2336:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2336:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1809, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2347:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1808, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2347:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1811, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2358:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2358:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1813, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2369:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1812, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2369:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1815, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2380:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2380:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1817, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2391:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1816, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2391:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:67:13" - }, - "scope": 1994, - "src": "2259:337:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9038 - ], - "body": { - "id": 1860, - "nodeType": "Block", - "src": "2698:58:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1852, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2711:10:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 1854, - "indexExpression": { - "argumentTypes": null, - "id": 1853, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1844, - "src": "2722:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2711:19:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1855, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2732:9:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 1857, - "indexExpression": { - "argumentTypes": null, - "id": 1856, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1844, - "src": "2742:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2732:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1858, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2709:43:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "functionReturnParameters": 1851, - "id": 1859, - "nodeType": "Return", - "src": "2702:50:13" - } - ] - }, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 1861, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1846, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2661:8:13" - }, - "parameters": { - "id": 1845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1844, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2629:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1843, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2629:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2628:17:13" - }, - "returnParameters": { - "id": 1851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1848, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2679:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1847, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2679:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1850, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2688:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1849, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2688:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2678:18:13" - }, - "scope": 1994, - "src": "2599:157:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9108 - ], - "body": { - "id": 1926, - "nodeType": "Block", - "src": "3012:322:13", - "statements": [ - { - "assignments": [ - 1895 - ], - "declarations": [ - { - "constant": false, - "id": 1895, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1926, - "src": "3016:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 1894, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "3016:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1899, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1896, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "3051:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 1898, - "indexExpression": { - "argumentTypes": null, - "id": 1897, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1863, - "src": "3059:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3051:16:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3016:51:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1900, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3083:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1901, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "3083:11:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1902, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3099:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1903, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "3099:11:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1904, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3115:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1905, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "idx", - "nodeType": "MemberAccess", - "referencedDeclaration": 1144, - "src": "3115:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1906, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3128:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1907, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "3128:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1908, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3145:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1909, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "3145:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1910, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3175:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1911, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "3175:19:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1912, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3199:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "3199:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1914, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3222:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1915, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "3222:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1916, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3246:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1917, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "3246:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1918, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3269:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1919, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "3269:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1920, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3292:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "3292:17:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1922, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3314:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1923, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "3314:12:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 1924, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3078:252:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_TaskStatusEnum_$1138_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(enum IexecLibCore_v5.TaskStatusEnum,bytes32,uint256,uint256,uint256,uint256,uint256,bytes32,uint256,uint256,address[] memory,bytes memory)" - } - }, - "functionReturnParameters": 1891, - "id": 1925, - "nodeType": "Return", - "src": "3071:259:13" - } - ] - }, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 1927, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1865, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2818:8:13" - }, - "parameters": { - "id": 1864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1863, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2786:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1862, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2786:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2785:17:13" - }, - "returnParameters": { - "id": 1891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1867, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2838:30:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1866, - "name": "IexecLibCore_v5.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1138, - "src": "2838:30:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1869, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2872:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1868, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2872:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1871, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2883:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2883:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1873, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2894:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1872, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2894:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1875, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2905:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2905:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1877, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2916:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1876, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2916:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1879, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2927:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1878, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2927:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1881, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2938:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1880, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2938:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1883, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2949:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2949:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1885, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2960:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1884, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2960:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1888, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2971:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 1886, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2971:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1887, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2971:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1890, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2991:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1889, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2991:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2836:174:13" - }, - "scope": 1994, - "src": "2759:575:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9123 - ], - "body": { - "id": 1963, - "nodeType": "Block", - "src": "3517:221:13", - "statements": [ - { - "assignments": [ - 1946 - ], - "declarations": [ - { - "constant": false, - "id": 1946, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1963, - "src": "3521:48:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 1945, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "3521:28:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1952, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1947, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "3572:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 1949, - "indexExpression": { - "argumentTypes": null, - "id": 1948, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1929, - "src": "3588:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3572:24:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 1951, - "indexExpression": { - "argumentTypes": null, - "id": 1950, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1931, - "src": "3597:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3572:33:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3521:84:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1953, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3621:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1954, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "3621:19:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1955, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3645:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1956, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "3645:23:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1957, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3673:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "3673:23:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1959, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3701:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1960, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "3701:29:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 1961, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3616:118:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_ContributionStatusEnum_$1182_$_t_bytes32_$_t_bytes32_$_t_address_$", - "typeString": "tuple(enum IexecLibCore_v5.ContributionStatusEnum,bytes32,bytes32,address)" - } - }, - "functionReturnParameters": 1942, - "id": 1962, - "nodeType": "Return", - "src": "3609:125:13" - } - ] - }, - "documentation": null, - "functionSelector": "11e35aba", - "id": 1964, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1933, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3421:8:13" - }, - "parameters": { - "id": 1932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1929, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3372:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1928, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3372:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1931, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3389:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1930, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3389:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3371:34:13" - }, - "returnParameters": { - "id": 1942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1935, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3441:38:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1934, - "name": "IexecLibCore_v5.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1182, - "src": "3441:38:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1937, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3483:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1936, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3483:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1939, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3494:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3494:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1941, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3505:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3505:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3439:76:13" - }, - "scope": 1994, - "src": "3337:401:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9134 - ], - "body": { - "id": 1992, - "nodeType": "Block", - "src": "3861:148:13", - "statements": [ - { - "assignments": [ - 1979 - ], - "declarations": [ - { - "constant": false, - "id": 1979, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1992, - "src": "3865:40:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 1978, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "3865:24:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1983, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1980, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3908:12:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 1982, - "indexExpression": { - "argumentTypes": null, - "id": 1981, - "name": "_catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1966, - "src": "3921:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3908:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3865:63:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1984, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3941:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1985, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 1089, - "src": "3941:13:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1986, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3956:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1987, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "description", - "nodeType": "MemberAccess", - "referencedDeclaration": 1091, - "src": "3956:20:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1988, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3978:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1989, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workClockTimeRef", - "nodeType": "MemberAccess", - "referencedDeclaration": 1093, - "src": "3978:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1990, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3939:66:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$", - "typeString": "tuple(string memory,string memory,uint256)" - } - }, - "functionReturnParameters": 1975, - "id": 1991, - "nodeType": "Return", - "src": "3932:73:13" - } - ] - }, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 1993, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1968, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3803:8:13" - }, - "parameters": { - "id": 1967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1966, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3772:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3772:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3771:16:13" - }, - "returnParameters": { - "id": 1975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1970, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3821:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3821:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1972, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3836:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1971, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3836:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1974, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3851:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1973, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3851:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3820:39:13" - }, - "scope": 1994, - "src": "3741:268:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1995, - "src": "1385:2626:13" - } - ], - "src": "1242:2770:13" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol", - "exportedSymbols": { - "IexecAccessorsABILegacyDelegate": [ - 1994 - ] - }, - "id": 1995, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1691, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:13" - }, - { - "id": 1692, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:13" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1693, - "nodeType": "ImportDirective", - "scope": 1995, - "sourceUnit": 1659, - "src": "1301:29:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "../interfaces/IexecAccessorsABILegacy.sol", - "id": 1694, - "nodeType": "ImportDirective", - "scope": 1995, - "sourceUnit": 9153, - "src": "1331:51:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1695, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "1429:23:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 1696, - "nodeType": "InheritanceSpecifier", - "src": "1429:23:13" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 1697, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1454:12:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 1698, - "nodeType": "InheritanceSpecifier", - "src": "1454:12:13" - } - ], - "contractDependencies": [ - 309, - 1658, - 9152, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 1994, - "linearizedBaseContracts": [ - 1994, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9152 - ], - "name": "IexecAccessorsABILegacyDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9061 - ], - "body": { - "id": 1759, - "nodeType": "Block", - "src": "1649:280:13", - "statements": [ - { - "assignments": [ - 1725 - ], - "declarations": [ - { - "constant": false, - "id": 1725, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1759, - "src": "1653:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1724, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "1653:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1729, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1726, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1688:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1728, - "indexExpression": { - "argumentTypes": null, - "id": 1727, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1700, - "src": "1696:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1688:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1653:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1730, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1716:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1731, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1716:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1732, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1716:16:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1733, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1737:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1734, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1737:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1735, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1737:14:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1736, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1756:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1737, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1756:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1738, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1756:14:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1739, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1775:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1775:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1741, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1775:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1742, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1800:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1743, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1800:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1744, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1800:18:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1745, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1823:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1746, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "1823:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1747, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1823:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1748, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1846:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1749, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1846:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1750, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "1846:23:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1751, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1874:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1752, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1874:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1753, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "1874:21:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1754, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1725, - "src": "1900:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1755, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "1900:15:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 1756, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1900:21:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1757, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1711:214:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_address_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$", - "typeString": "tuple(address,address,uint256,address,address,uint256,address,address,uint256)" - } - }, - "functionReturnParameters": 1721, - "id": 1758, - "nodeType": "Return", - "src": "1704:221:13" - } - ] - }, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 1760, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1702, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1529:8:13" - }, - "parameters": { - "id": 1701, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1700, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1501:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1699, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1501:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:13:13" - }, - "returnParameters": { - "id": 1721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1549:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1703, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1549:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1706, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1560:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1705, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1560:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1708, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1571:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1707, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1571:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1710, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1582:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1582:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1712, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1593:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1593:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1714, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1604:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1713, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1604:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1716, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1615:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1715, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1615:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1718, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1626:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1626:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1720, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1760, - "src": "1637:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1719, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1637:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1547:100:13" - }, - "scope": 1994, - "src": "1470:459:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9078 - ], - "body": { - "id": 1800, - "nodeType": "Block", - "src": "2084:172:13", - "statements": [ - { - "assignments": [ - 1781 - ], - "declarations": [ - { - "constant": false, - "id": 1781, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1800, - "src": "2088:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1780, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2088:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1785, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1782, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2123:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1784, - "indexExpression": { - "argumentTypes": null, - "id": 1783, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "2131:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2123:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2088:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1786, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2151:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1787, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "2151:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1788, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2166:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1789, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "2166:8:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1790, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2179:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1791, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "2179:14:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1792, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2198:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1793, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1117, - "src": "2198:16:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1794, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2219:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1795, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "2219:13:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1796, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "2237:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1121, - "src": "2237:11:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "id": 1798, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2146:106:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$_t_address_$_t_string_memory_ptr_$", - "typeString": "tuple(uint256,bytes32,address,address,address,string memory)" - } - }, - "functionReturnParameters": 1777, - "id": 1799, - "nodeType": "Return", - "src": "2139:113:13" - } - ] - }, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 1801, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1764, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1991:8:13" - }, - "parameters": { - "id": 1763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1762, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "1963:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1761, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1963:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1962:13:13" - }, - "returnParameters": { - "id": 1777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1766, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2011:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2011:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1768, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2022:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1767, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2022:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1770, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2033:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2033:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1772, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2044:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1771, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2044:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1774, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2055:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1773, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2055:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1776, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1801, - "src": "2066:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1775, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2066:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2009:73:13" - }, - "scope": 1994, - "src": "1932:324:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9151 - ], - "body": { - "id": 1841, - "nodeType": "Block", - "src": "2403:193:13", - "statements": [ - { - "assignments": [ - 1822 - ], - "declarations": [ - { - "constant": false, - "id": 1822, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1841, - "src": "2407:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 1821, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2407:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1826, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1823, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2442:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 1825, - "indexExpression": { - "argumentTypes": null, - "id": 1824, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1803, - "src": "2450:3:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2442:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2407:47:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1827, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2470:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1828, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "2470:13:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1829, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2488:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1830, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "2488:14:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1831, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2507:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "2507:13:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1833, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2525:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1834, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "2525:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1835, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2542:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "2542:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1837, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1822, - "src": "2563:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 1838, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "2563:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1839, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2465:127:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256,uint256,uint256,uint256,uint256)" - } - }, - "functionReturnParameters": 1818, - "id": 1840, - "nodeType": "Return", - "src": "2458:134:13" - } - ] - }, - "documentation": null, - "functionSelector": "d5922f50", - "id": 1842, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1805, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2316:8:13" - }, - "parameters": { - "id": 1804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1803, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2288:11:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2288:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2287:13:13" - }, - "returnParameters": { - "id": 1818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1807, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2336:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2336:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1809, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2347:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1808, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2347:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1811, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2358:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2358:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1813, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2369:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1812, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2369:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1815, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2380:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2380:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1817, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1842, - "src": "2391:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1816, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2391:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:67:13" - }, - "scope": 1994, - "src": "2259:337:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9038 - ], - "body": { - "id": 1860, - "nodeType": "Block", - "src": "2698:58:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1852, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2711:10:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 1854, - "indexExpression": { - "argumentTypes": null, - "id": 1853, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1844, - "src": "2722:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2711:19:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1855, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2732:9:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 1857, - "indexExpression": { - "argumentTypes": null, - "id": 1856, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1844, - "src": "2742:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2732:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1858, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2709:43:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "functionReturnParameters": 1851, - "id": 1859, - "nodeType": "Return", - "src": "2702:50:13" - } - ] - }, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 1861, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1846, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2661:8:13" - }, - "parameters": { - "id": 1845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1844, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2629:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1843, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2629:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2628:17:13" - }, - "returnParameters": { - "id": 1851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1848, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2679:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1847, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2679:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1850, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1861, - "src": "2688:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1849, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2688:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2678:18:13" - }, - "scope": 1994, - "src": "2599:157:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9108 - ], - "body": { - "id": 1926, - "nodeType": "Block", - "src": "3012:322:13", - "statements": [ - { - "assignments": [ - 1895 - ], - "declarations": [ - { - "constant": false, - "id": 1895, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1926, - "src": "3016:32:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 1894, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "3016:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1899, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1896, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "3051:7:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 1898, - "indexExpression": { - "argumentTypes": null, - "id": 1897, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1863, - "src": "3059:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3051:16:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3016:51:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1900, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3083:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1901, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "3083:11:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1902, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3099:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1903, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "3099:11:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1904, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3115:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1905, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "idx", - "nodeType": "MemberAccess", - "referencedDeclaration": 1144, - "src": "3115:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1906, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3128:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1907, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "3128:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1908, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3145:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1909, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "3145:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1910, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3175:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1911, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "3175:19:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1912, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3199:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "3199:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1914, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3222:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1915, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "3222:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1916, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3246:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1917, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "3246:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1918, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3269:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1919, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "3269:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1920, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3292:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "3292:17:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1922, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "3314:4:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 1923, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "3314:12:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 1924, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3078:252:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_TaskStatusEnum_$1138_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(enum IexecLibCore_v5.TaskStatusEnum,bytes32,uint256,uint256,uint256,uint256,uint256,bytes32,uint256,uint256,address[] memory,bytes memory)" - } - }, - "functionReturnParameters": 1891, - "id": 1925, - "nodeType": "Return", - "src": "3071:259:13" - } - ] - }, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 1927, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1865, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2818:8:13" - }, - "parameters": { - "id": 1864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1863, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2786:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1862, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2786:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2785:17:13" - }, - "returnParameters": { - "id": 1891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1867, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2838:30:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1866, - "name": "IexecLibCore_v5.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1138, - "src": "2838:30:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1869, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2872:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1868, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2872:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1871, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2883:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2883:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1873, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2894:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1872, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2894:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1875, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2905:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2905:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1877, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2916:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1876, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2916:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1879, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2927:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1878, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2927:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1881, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2938:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1880, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2938:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1883, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2949:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2949:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1885, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2960:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1884, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2960:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1888, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2971:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 1886, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2971:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1887, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2971:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1890, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1927, - "src": "2991:16:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1889, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2991:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2836:174:13" - }, - "scope": 1994, - "src": "2759:575:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9123 - ], - "body": { - "id": 1963, - "nodeType": "Block", - "src": "3517:221:13", - "statements": [ - { - "assignments": [ - 1946 - ], - "declarations": [ - { - "constant": false, - "id": 1946, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1963, - "src": "3521:48:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 1945, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "3521:28:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1952, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1947, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "3572:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 1949, - "indexExpression": { - "argumentTypes": null, - "id": 1948, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1929, - "src": "3588:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3572:24:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 1951, - "indexExpression": { - "argumentTypes": null, - "id": 1950, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1931, - "src": "3597:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3572:33:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3521:84:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1953, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3621:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1954, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "3621:19:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1955, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3645:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1956, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "3645:23:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1957, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3673:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "3673:23:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1959, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1946, - "src": "3701:12:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution memory" - } - }, - "id": 1960, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "3701:29:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 1961, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3616:118:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_ContributionStatusEnum_$1182_$_t_bytes32_$_t_bytes32_$_t_address_$", - "typeString": "tuple(enum IexecLibCore_v5.ContributionStatusEnum,bytes32,bytes32,address)" - } - }, - "functionReturnParameters": 1942, - "id": 1962, - "nodeType": "Return", - "src": "3609:125:13" - } - ] - }, - "documentation": null, - "functionSelector": "11e35aba", - "id": 1964, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1933, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3421:8:13" - }, - "parameters": { - "id": 1932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1929, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3372:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1928, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3372:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1931, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3389:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1930, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3389:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3371:34:13" - }, - "returnParameters": { - "id": 1942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1935, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3441:38:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1934, - "name": "IexecLibCore_v5.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1182, - "src": "3441:38:13", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1937, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3483:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1936, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3483:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1939, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3494:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1938, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3494:7:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1941, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1964, - "src": "3505:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3505:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3439:76:13" - }, - "scope": 1994, - "src": "3337:401:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9134 - ], - "body": { - "id": 1992, - "nodeType": "Block", - "src": "3861:148:13", - "statements": [ - { - "assignments": [ - 1979 - ], - "declarations": [ - { - "constant": false, - "id": 1979, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1992, - "src": "3865:40:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 1978, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "3865:24:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1983, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 1980, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3908:12:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 1982, - "indexExpression": { - "argumentTypes": null, - "id": 1981, - "name": "_catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1966, - "src": "3921:6:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3908:20:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3865:63:13" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1984, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3941:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1985, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 1089, - "src": "3941:13:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1986, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3956:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1987, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "description", - "nodeType": "MemberAccess", - "referencedDeclaration": 1091, - "src": "3956:20:13", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1988, - "name": "category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "3978:8:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - }, - "id": 1989, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workClockTimeRef", - "nodeType": "MemberAccess", - "referencedDeclaration": 1093, - "src": "3978:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 1990, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3939:66:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$", - "typeString": "tuple(string memory,string memory,uint256)" - } - }, - "functionReturnParameters": 1975, - "id": 1991, - "nodeType": "Return", - "src": "3932:73:13" - } - ] - }, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 1993, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 1968, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3803:8:13" - }, - "parameters": { - "id": 1967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1966, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3772:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3772:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3771:16:13" - }, - "returnParameters": { - "id": 1975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1970, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3821:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3821:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1972, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3836:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1971, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3836:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1974, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1993, - "src": "3851:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1973, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3851:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3820:39:13" - }, - "scope": 1994, - "src": "3741:268:13", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 1995, - "src": "1385:2626:13" - } - ], - "src": "1242:2770:13" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.553Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecAccessorsDelegate.json b/build/contracts/IexecAccessorsDelegate.json deleted file mode 100644 index 5aa2986b0..000000000 --- a/build/contracts/IexecAccessorsDelegate.json +++ /dev/null @@ -1,9329 +0,0 @@ -{ - "contractName": "IexecAccessorsDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "deal", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "consumed", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "signer", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "category", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "count", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"category\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"consumed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"deal\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsDelegate.sol\":\"IexecAccessorsDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsDelegate.sol\":{\"keccak256\":\"0x47386ae341b3fed347958d146ad4e96f3271c7f86b0d452eccccbe3b528c02cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d42cb48a3f7e77f1178740bd71333f8306a54f0461b2ba8fdcda6c07cb5ba1ef\",\"dweb:/ipfs/QmNVMgGNYJdhKv6RoVnHMvqXzQWgXwEFSMpAq76deREQiC\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062001719833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b039091169060008051602062001719833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6115ed806200012c6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806390a0f54611610125578063d286eb16116100ad578063dd62ed3e1161007c578063dd62ed3e146103df578063e63ec07d146103f2578063e741363b146103fa578063f2fde38b1461041a578063fc0c546a1461042d57610211565b8063d286eb16146103b1578063db230b52146103c4578063db8aaa26146103d7578063dcb03241146103d757610211565b8063adccf0d5116100f4578063adccf0d51461034e578063b1b11d2c1461036e578063b74861b214610376578063c140996f14610396578063d09cc57e1461039e57610211565b806390a0f5461461032e57806395d89b41146103365780639910fd721461033e578063a47e7f801461034657610211565b80634f5f44ec116101a857806370a082311161017757806370a08231146102f9578063715018a61461030c57806374ed52441461031657806377a996921461031e5780638da5cb5b1461032657610211565b80634f5f44ec146102a95780635975b8fc146102c95780636112f6fd146102d15780636b55f4a5146102d957610211565b80632b8857c1116101e45780632b8857c114610264578063313ce5671461026c57806345b637a9146102815780634b2bec8c1461029657610211565b806306fdde031461021657806318160ddd146102345780631bf6e00d1461024957806325eacba81461025c575b600080fd5b61021e610435565b60405161022b9190611245565b60405180910390f35b61023c6104cb565b60405161022b919061123c565b61023c6102573660046110b0565b6104d1565b61023c6104ec565b61023c6104f1565b6102746104f6565b60405161022b91906115a9565b6102896104ff565b60405161022b9190611228565b61023c6102a4366004611106565b61050e565b6102bc6102b7366004611106565b610520565b60405161022b9190611310565b610289610694565b61023c6106a3565b6102ec6102e73660046110b0565b6106a8565b60405161022b91906112f9565b61023c6103073660046110b0565b6106eb565b610314610706565b005b61023c61078e565b61023c610793565b61028961079b565b6102896107aa565b61021e6107b9565b61023c61081a565b610289610820565b61036161035c366004611106565b610838565b60405161022b91906114ab565b610289610a7a565b610389610384366004611106565b610a89565b60405161022b91906113ab565b61023c610c48565b61021e6103ac366004611106565b610c4e565b6102896103bf366004611106565b610d23565b61023c6103d23660046110b0565b610d3e565b61023c610d59565b61023c6103ed3660046110d2565b610d5e565b61023c610d8b565b61040d61040836600461111e565b610d91565b60405161022b9190611360565b6103146104283660046110b0565b610e1f565b610289610ed5565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c15780601f10610496576101008083540402835291602001916104c1565b820191906000526020600020905b8154815290600101906020018083116104a457829003601f168201915b5050505050905090565b600c5490565b6001600160a01b03166000908152600e602052604090205490565b600490565b600290565b600b5460ff1690565b6005546001600160a01b031690565b60009081526012602052604090205490565b610528610ee8565b601a828154811061053557fe5b600091825260209182902060408051600393909302909101805460026001821615610100026000190190911604601f81018590049094028301608090810190925260608301848152929390928492909184918401828280156105d85780601f106105ad576101008083540402835291602001916105d8565b820191906000526020600020905b8154815290600101906020018083116105bb57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561067a5780601f1061064f5761010080835404028352916020019161067a565b820191906000526020600020905b81548152906001019060200180831161065d57829003601f168201915b505050505081526020016002820154815250509050919050565b6018546001600160a01b031690565b601e90565b6106b0610f09565b506040805180820182526001600160a01b03929092166000818152600d6020908152838220548552918152600e825291909120549082015290565b6001600160a01b03166000908152600d602052604090205490565b61070e610ee4565b6000546001600160a01b039081169116146107445760405162461bcd60e51b815260040161073b9061129e565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600790565b633b9aca0090565b6000546001600160a01b031690565b6007546001600160a01b031690565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c15780601f10610496576101008083540402835291602001916104c1565b60105490565b7399c2268479b93fde36232351229815df80837e2390565b610840610f23565b6000828152601460205260409081902081516101e081019092528054829060ff16600481111561086c57fe5b600481111561087757fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561092e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610910575b5050509183525050600b820154602080830191909152600c8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f60026000196101006001871615020190941693909304928301859004850281018501825282815294019392830182828015610a6a5780601f10610a3f57610100808354040283529160200191610a6a565b820191906000526020600020905b815481529060010190602001808311610a4d57829003601f168201915b5050505050815250509050919050565b6006546001600160a01b031690565b610a91610fa3565b60008281526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050919050565b601a5490565b60008181526014602052604090206060906003815460ff166004811115610c7157fe5b14610c8e5760405162461bcd60e51b815260040161073b906112d3565b600e8101805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610d165780601f10610ceb57610100808354040283529160200191610d16565b820191906000526020600020905b815481529060010190602001808311610cf957829003601f168201915b5050505050915050919050565b6000908152601160205260409020546001600160a01b031690565b6001600160a01b031660009081526017602052604090205490565b600a90565b6001600160a01b038083166000908152600f60209081526040808320938516835292905220545b92915050565b60195490565b610d99611049565b60008381526016602090815260408083206001600160a01b038616845290915290819020815160a081019092528054829060ff166003811115610dd857fe5b6003811115610de357fe5b8152600182015460208201526002820154604082015260038201546001600160a01b031660608201526004909101546080909101529392505050565b610e27610ee4565b6000546001600160a01b03908116911614610e545760405162461bcd60e51b815260040161073b9061129e565b6001600160a01b038116610e7a5760405162461bcd60e51b815260040161073b90611258565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031690565b3390565b60405180606001604052806060815260200160608152602001600081525090565b604051806040016040528060008152602001600081525090565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604051806101e00160405280610fb7611079565b8152602001610fc4611079565b8152602001610fd1611079565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160a081019091528060008152600060208201819052604082018190526060820181905260809091015290565b604080516060810182526000808252602082018190529181019190915290565b80356001600160a01b0381168114610d8557600080fd5b6000602082840312156110c1578081fd5b6110cb8383611099565b9392505050565b600080604083850312156110e4578081fd5b6110ee8484611099565b91506110fd8460208501611099565b90509250929050565b600060208284031215611117578081fd5b5035919050565b60008060408385031215611130578182fd5b8235915060208301356001600160a01b038116811461114d578182fd5b809150509250929050565b6001600160a01b03169052565b6000815180845260208085019450808401835b8381101561119d5781516001600160a01b031687529582019590820190600101611178565b509495945050505050565b60008151808452815b818110156111cd576020818501810151868301820152016111b1565b818111156111de5782602083870101525b50601f01601f19169290920160200192915050565b600581106111fd57fe5b9052565b80516001600160a01b03908116835260208083015190911690830152604090810151910152565b6001600160a01b0391909116815260200190565b90815260200190565b6000602082526110cb60208301846111a8565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b7461736b2d70656e64696e6760a01b604082015260600190565b815181526020918201519181019190915260400190565b60006020825282516060602084015261132c60808401826111a8565b90506020840151601f1984830301604085015261134982826111a8565b915050604084015160608401528091505092915050565b815160a08201906004811061137157fe5b825260208381015190830152604080840151908301526060808401516001600160a01b031690830152608092830151929091019190915290565b6000602082526113bf602083018451611201565b60208301516113d16080840182611201565b5060408301516113e460e0840182611201565b506060830151610140818185015260808501519150610160828186015260a08601519250610180838187015260c087015193506101a061142681880186611158565b60e088015194506101c061143c81890187611158565b61010089015195506114526101e0890187611158565b61012089015195506102a0806102008a01526114726102c08a01886111a8565b958a01516102208a0152938901516102408901529188015161026088015287015161028087015290950151949093019390935250919050565b6000602082526114bf6020830184516111f3565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101408181850152808501519150506101e06101608181860152611546610200860184611165565b9250808601519050610180818187015280870151915050601f196101a081878603018188015261157685846111a8565b908801516101c088810191909152880151878203909201848801529350905061159f83826111a8565b9695505050505050565b60ff9190911681526020019056fea26469706673582212208f8b1072fb4cd18c840e54ad8c9f65d3ade0a1eead68de1998e36501f0b777ac64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102115760003560e01c806390a0f54611610125578063d286eb16116100ad578063dd62ed3e1161007c578063dd62ed3e146103df578063e63ec07d146103f2578063e741363b146103fa578063f2fde38b1461041a578063fc0c546a1461042d57610211565b8063d286eb16146103b1578063db230b52146103c4578063db8aaa26146103d7578063dcb03241146103d757610211565b8063adccf0d5116100f4578063adccf0d51461034e578063b1b11d2c1461036e578063b74861b214610376578063c140996f14610396578063d09cc57e1461039e57610211565b806390a0f5461461032e57806395d89b41146103365780639910fd721461033e578063a47e7f801461034657610211565b80634f5f44ec116101a857806370a082311161017757806370a08231146102f9578063715018a61461030c57806374ed52441461031657806377a996921461031e5780638da5cb5b1461032657610211565b80634f5f44ec146102a95780635975b8fc146102c95780636112f6fd146102d15780636b55f4a5146102d957610211565b80632b8857c1116101e45780632b8857c114610264578063313ce5671461026c57806345b637a9146102815780634b2bec8c1461029657610211565b806306fdde031461021657806318160ddd146102345780631bf6e00d1461024957806325eacba81461025c575b600080fd5b61021e610435565b60405161022b9190611245565b60405180910390f35b61023c6104cb565b60405161022b919061123c565b61023c6102573660046110b0565b6104d1565b61023c6104ec565b61023c6104f1565b6102746104f6565b60405161022b91906115a9565b6102896104ff565b60405161022b9190611228565b61023c6102a4366004611106565b61050e565b6102bc6102b7366004611106565b610520565b60405161022b9190611310565b610289610694565b61023c6106a3565b6102ec6102e73660046110b0565b6106a8565b60405161022b91906112f9565b61023c6103073660046110b0565b6106eb565b610314610706565b005b61023c61078e565b61023c610793565b61028961079b565b6102896107aa565b61021e6107b9565b61023c61081a565b610289610820565b61036161035c366004611106565b610838565b60405161022b91906114ab565b610289610a7a565b610389610384366004611106565b610a89565b60405161022b91906113ab565b61023c610c48565b61021e6103ac366004611106565b610c4e565b6102896103bf366004611106565b610d23565b61023c6103d23660046110b0565b610d3e565b61023c610d59565b61023c6103ed3660046110d2565b610d5e565b61023c610d8b565b61040d61040836600461111e565b610d91565b60405161022b9190611360565b6103146104283660046110b0565b610e1f565b610289610ed5565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c15780601f10610496576101008083540402835291602001916104c1565b820191906000526020600020905b8154815290600101906020018083116104a457829003601f168201915b5050505050905090565b600c5490565b6001600160a01b03166000908152600e602052604090205490565b600490565b600290565b600b5460ff1690565b6005546001600160a01b031690565b60009081526012602052604090205490565b610528610ee8565b601a828154811061053557fe5b600091825260209182902060408051600393909302909101805460026001821615610100026000190190911604601f81018590049094028301608090810190925260608301848152929390928492909184918401828280156105d85780601f106105ad576101008083540402835291602001916105d8565b820191906000526020600020905b8154815290600101906020018083116105bb57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561067a5780601f1061064f5761010080835404028352916020019161067a565b820191906000526020600020905b81548152906001019060200180831161065d57829003601f168201915b505050505081526020016002820154815250509050919050565b6018546001600160a01b031690565b601e90565b6106b0610f09565b506040805180820182526001600160a01b03929092166000818152600d6020908152838220548552918152600e825291909120549082015290565b6001600160a01b03166000908152600d602052604090205490565b61070e610ee4565b6000546001600160a01b039081169116146107445760405162461bcd60e51b815260040161073b9061129e565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600790565b633b9aca0090565b6000546001600160a01b031690565b6007546001600160a01b031690565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c15780601f10610496576101008083540402835291602001916104c1565b60105490565b7399c2268479b93fde36232351229815df80837e2390565b610840610f23565b6000828152601460205260409081902081516101e081019092528054829060ff16600481111561086c57fe5b600481111561087757fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561092e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610910575b5050509183525050600b820154602080830191909152600c8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f60026000196101006001871615020190941693909304928301859004850281018501825282815294019392830182828015610a6a5780601f10610a3f57610100808354040283529160200191610a6a565b820191906000526020600020905b815481529060010190602001808311610a4d57829003601f168201915b5050505050815250509050919050565b6006546001600160a01b031690565b610a91610fa3565b60008281526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050919050565b601a5490565b60008181526014602052604090206060906003815460ff166004811115610c7157fe5b14610c8e5760405162461bcd60e51b815260040161073b906112d3565b600e8101805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610d165780601f10610ceb57610100808354040283529160200191610d16565b820191906000526020600020905b815481529060010190602001808311610cf957829003601f168201915b5050505050915050919050565b6000908152601160205260409020546001600160a01b031690565b6001600160a01b031660009081526017602052604090205490565b600a90565b6001600160a01b038083166000908152600f60209081526040808320938516835292905220545b92915050565b60195490565b610d99611049565b60008381526016602090815260408083206001600160a01b038616845290915290819020815160a081019092528054829060ff166003811115610dd857fe5b6003811115610de357fe5b8152600182015460208201526002820154604082015260038201546001600160a01b031660608201526004909101546080909101529392505050565b610e27610ee4565b6000546001600160a01b03908116911614610e545760405162461bcd60e51b815260040161073b9061129e565b6001600160a01b038116610e7a5760405162461bcd60e51b815260040161073b90611258565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031690565b3390565b60405180606001604052806060815260200160608152602001600081525090565b604051806040016040528060008152602001600081525090565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604051806101e00160405280610fb7611079565b8152602001610fc4611079565b8152602001610fd1611079565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160a081019091528060008152600060208201819052604082018190526060820181905260809091015290565b604080516060810182526000808252602082018190529181019190915290565b80356001600160a01b0381168114610d8557600080fd5b6000602082840312156110c1578081fd5b6110cb8383611099565b9392505050565b600080604083850312156110e4578081fd5b6110ee8484611099565b91506110fd8460208501611099565b90509250929050565b600060208284031215611117578081fd5b5035919050565b60008060408385031215611130578182fd5b8235915060208301356001600160a01b038116811461114d578182fd5b809150509250929050565b6001600160a01b03169052565b6000815180845260208085019450808401835b8381101561119d5781516001600160a01b031687529582019590820190600101611178565b509495945050505050565b60008151808452815b818110156111cd576020818501810151868301820152016111b1565b818111156111de5782602083870101525b50601f01601f19169290920160200192915050565b600581106111fd57fe5b9052565b80516001600160a01b03908116835260208083015190911690830152604090810151910152565b6001600160a01b0391909116815260200190565b90815260200190565b6000602082526110cb60208301846111a8565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b7461736b2d70656e64696e6760a01b604082015260600190565b815181526020918201519181019190915260400190565b60006020825282516060602084015261132c60808401826111a8565b90506020840151601f1984830301604085015261134982826111a8565b915050604084015160608401528091505092915050565b815160a08201906004811061137157fe5b825260208381015190830152604080840151908301526060808401516001600160a01b031690830152608092830151929091019190915290565b6000602082526113bf602083018451611201565b60208301516113d16080840182611201565b5060408301516113e460e0840182611201565b506060830151610140818185015260808501519150610160828186015260a08601519250610180838187015260c087015193506101a061142681880186611158565b60e088015194506101c061143c81890187611158565b61010089015195506114526101e0890187611158565b61012089015195506102a0806102008a01526114726102c08a01886111a8565b958a01516102208a0152938901516102408901529188015161026088015287015161028087015290950151949093019390935250919050565b6000602082526114bf6020830184516111f3565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101408181850152808501519150506101e06101608181860152611546610200860184611165565b9250808601519050610180818187015280870151915050601f196101a081878603018188015261157685846111a8565b908801516101c088810191909152880151878203909201848801529350905061159f83826111a8565b9695505050505050565b60ff9190911681526020019056fea26469706673582212208f8b1072fb4cd18c840e54ad8c9f65d3ade0a1eead68de1998e36501f0b777ac64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1376:3939:14:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1376:3939:14;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1376:3939:14;;;;;;", - "deployedSourceMap": "1376:3939:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1444:86;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1715:94;;;:::i;:::-;;;;;;;:::i;1928:111::-;;;;;;:::i;:::-;;:::i;5088:108::-;;;:::i;4458:112::-;;;:::i;1626:86::-;;;:::i;:::-;;;;;;;:::i;3822:96::-;;;:::i;:::-;;;;;;;:::i;2599:117::-;;;;;;:::i;:::-;;:::i;3558:149::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4141:90::-;;;:::i;4686:114::-;;;:::i;2186:183::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1812:113::-;;;;;;:::i;:::-;;:::i;1689:145:83:-;;;:::i;:::-;;4331:124:14;;;:::i;4898:88::-;;;:::i;1066:77:83:-;;;:::i;4028:110:14:-;;;:::i;1533:90::-;;;:::i;5199:114::-;;;:::i;4989:96::-;;;:::i;2839:129::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3921:104::-;;;:::i;2470:126::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3710:108::-;;;:::i;3273:282::-;;;;;;:::i;:::-;;:::i;2719:117::-;;;;;;:::i;:::-;;:::i;3153:::-;;;;;;:::i;:::-;;:::i;4573:110::-;;;:::i;2042:141::-;;;;;;:::i;:::-;;:::i;4234:94::-;;;:::i;2971:179::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;2372:95:14:-;;;:::i;1444:86::-;1520:6;1513:13;;;;;;;;-1:-1:-1;;1513:13:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1493;;1513;;1520:6;;1513:13;;1520:6;1513:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1444:86;:::o;1715:94::-;1792:13;;1715:94;:::o;1928:111::-;-1:-1:-1;;;;;2017:18:14;1996:7;2017:18;;;:9;:18;;;;;;;1928:111::o;5088:108::-;3595:1:4;5088:108:14;:::o;4458:112::-;3101:1:4;4458:112:14;:::o;1626:86::-;1698:10;;;;1626:86;:::o;3822:96::-;3901:13;;-1:-1:-1;;;;;3901:13:14;3822:96;:::o;2599:117::-;2667:16;2697:15;;;:10;:15;;;;;;;2599:117::o;3558:149::-;3629:40;;:::i;:::-;3683:12;3696:6;3683:20;;;;;;;;;;;;;;;;;3676:27;;;3683:20;;;;;;;;3676:27;;;;;;;;;-1:-1:-1;;3676:27:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3683:20;;3676:27;;;;3683:20;;3676:27;;3683:20;3676:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3558:149;;;:::o;4141:90::-;4216:11;;-1:-1:-1;;;;;4216:11:14;4141:90;:::o;4686:114::-;3222:2:4;4686:114:14;:::o;2186:183::-;2257:30;;:::i;:::-;-1:-1:-1;2301:64:14;;;;;;;;-1:-1:-1;;;;;2325:19:14;;;;-1:-1:-1;2325:19:14;;;:10;:19;;;;;;;;2301:64;;2346:18;;;:9;:18;;;;;;;2301:64;;;;;2186:183::o;1812:113::-;-1:-1:-1;;;;;1902:19:14;1881:7;1902:19;;;:10;:19;;;;;;;1812:113::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;4331:124:14:-;3041:1:4;4331:124:14;:::o;4898:88::-;3344:10:4;4898:88:14;:::o;1066:77:83:-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;4028:110:14:-;4114:20;;-1:-1:-1;;;;;4114:20:14;4028:110;:::o;1533:90::-;1611:8;1604:15;;;;;;;;-1:-1:-1;;1604:15:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1584:13;;1604:15;;1611:8;;1604:15;;1611:8;1604:15;;;;;;;;;;;;;;;;;;;;;;;;5199:114;5287:22;;5199:114;:::o;4989:96::-;3437:42:4;4989:96:14;:::o;2839:129::-;2907:27;;:::i;:::-;2948:16;;;;:7;:16;;;;;;;2941:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2941:23:14;;;;;;;;;;;;;;;;-1:-1:-1;;;2941:23:14;;;-1:-1:-1;;2941:23:14;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2941:23:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2941:23:14;;;-1:-1:-1;;2941:23:14;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2941:23:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2839:129;;;:::o;3921:104::-;4004:17;;-1:-1:-1;;;;;4004:17:14;3921:104;:::o;2470:126::-;2534:32;;:::i;:::-;2580:12;;;;:7;:12;;;;;;;;;2573:19;;;;;;;;;-1:-1:-1;;;;;2573:19:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2573:19:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;2580:12;;2573:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2470:126;;;:::o;3710:108::-;3795:12;:19;3710:108;:::o;3273:282::-;3356:33;3392:11;;;:7;:11;;;;;3337:12;;3430:40;3415:11;;;;:55;;;;;;;;;3407:80;;;;-1:-1:-1;;;3407:80:14;;;;;;;:::i;:::-;3498:20;;;3491:27;;;;;;;;;;;;;-1:-1:-1;;3491:27:14;;;;;;;;;;;;;;;;;;;;;;;;;;;3498:20;3491:27;;3498:20;3491:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3273:282;;;:::o;2719:117::-;2788:14;2816:16;;;:11;:16;;;;;;-1:-1:-1;;;;;2816:16:14;;2719:117::o;3153:::-;-1:-1:-1;;;;;3243:23:14;3222:7;3243:23;;;:14;:23;;;;;;;3153:117::o;4573:110::-;3161:2:4;4573:110:14;:::o;2042:141::-;-1:-1:-1;;;;;2149:21:14;;;2128:7;2149:21;;;:12;:21;;;;;;;;:30;;;;;;;;;;2042:141;;;;;:::o;4234:94::-;4311:13;;4234:94;:::o;2971:179::-;3064:35;;:::i;:::-;3113:24;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;3113:33:14;;;;;;;;;;;3106:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3106:40:14;;;;;;;;;;;;;;;;2971:179;-1:-1:-1;;;2971:179:14:o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;2372:95:14:-;2451:11;;-1:-1:-1;;;;;2451:11:14;2372:95;:::o;590:104:81:-;677:10;590:104;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130::-;72:20;;-1:-1;;;;;22580:54;;24111:35;;24101:2;;24160:1;;24150:12;416:241;;520:2;508:9;499:7;495:23;491:32;488:2;;;-1:-1;;526:12;488:2;588:53;633:7;609:22;588:53;:::i;:::-;578:63;482:175;-1:-1;;;482:175::o;664:366::-;;;785:2;773:9;764:7;760:23;756:32;753:2;;;-1:-1;;791:12;753:2;853:53;898:7;874:22;853:53;:::i;:::-;843:63;;961:53;1006:7;943:2;986:9;982:22;961:53;:::i;:::-;951:63;;747:283;;;;;:::o;1037:241::-;;1141:2;1129:9;1120:7;1116:23;1112:32;1109:2;;;-1:-1;;1147:12;1109:2;-1:-1;209:20;;1103:175;-1:-1;1103:175::o;1285:366::-;;;1406:2;1394:9;1385:7;1381:23;1377:32;1374:2;;;-1:-1;;1412:12;1374:2;209:20;;;-1:-1;1564:2;1603:22;;72:20;-1:-1;;;;;22580:54;;24111:35;;24101:2;;-1:-1;;24150:12;24101:2;1572:63;;;;1368:283;;;;;:::o;2088:103::-;-1:-1;;;;;22580:54;2149:37;;2143:48::o;2349:670::-;;2532:5;20767:12;21301:6;21296:3;21289:19;21338:4;;21333:3;21329:14;2544:83;;21338:4;2698:5;20621:14;-1:-1;2737:260;2762:6;2759:1;2756:13;2737:260;;;2823:13;;-1:-1;;;;;22580:54;2149:37;;2060:14;;;;21154;;;;22591:42;2777:9;2737:260;;;-1:-1;3003:10;;2463:556;-1:-1;;;;;2463:556::o;3257:323::-;;3389:5;20767:12;21301:6;21296:3;21289:19;-1:-1;23501:101;23515:6;23512:1;23509:13;23501:101;;;21338:4;23582:11;;;;;23576:18;23563:11;;;;;23556:39;23530:10;23501:101;;;23617:6;23614:1;23611:13;23608:2;;;-1:-1;21338:4;23673:6;21333:3;23664:16;;23657:27;23608:2;-1:-1;23789:7;23773:14;-1:-1;;23769:28;3536:39;;;;21338:4;3536:39;;3337:243;-1:-1;;3337:243::o;4279:150::-;24023:1;24016:5;24013:12;24003:2;;24029:9;24003:2;4357:67;;4351:78::o;11691:627::-;11895:23;;-1:-1;;;;;22580:54;;;2149:37;;12067:4;12056:16;;;12050:23;22580:54;;;12127:14;;;2149:37;12222:4;12211:16;;;12205:23;12282:14;;3088:37;11799:519::o;15644:222::-;-1:-1;;;;;22580:54;;;;2149:37;;15771:2;15756:18;;15742:124::o;15873:222::-;3088:37;;;16000:2;15985:18;;15971:124::o;16102:306::-;;16247:2;16268:17;16261:47;16322:76;16247:2;16236:9;16232:18;16384:6;16322:76;:::i;16997:416::-;17197:2;17211:47;;;5349:2;17182:18;;;21289:19;5385:34;21329:14;;;5365:55;-1:-1;;;5440:12;;;5433:30;5482:12;;;17168:245::o;17420:416::-;17620:2;17634:47;;;17605:18;;;21289:19;5769:34;21329:14;;;5749:55;5823:12;;;17591:245::o;17843:416::-;18043:2;18057:47;;;6074:2;18028:18;;;21289:19;-1:-1;;;21329:14;;;6090:35;6144:12;;;18014:245::o;18266:322::-;6451:23;;3088:37;;6624:4;6613:16;;;6607:23;6684:14;;;3088:37;;;;18443:2;18428:18;;18414:174::o;18595:374::-;;18774:2;18795:17;18788:47;7025:16;7019:23;6953:4;18774:2;18763:9;18759:18;7055:38;7108:73;6944:14;18763:9;6944:14;7162:12;7108:73;:::i;:::-;7100:81;;18774:2;7266:5;7262:16;7256:23;23789:7;;18763:9;7319:4;7315:14;;7299;18763:9;7299:14;7292:38;7345:73;7413:4;7399:12;7345:73;:::i;:::-;7337:81;;;7299:14;7508:5;7504:16;7498:23;6953:4;18763:9;7575:14;3088:37;18841:118;;;;18745:224;;;;:::o;18976:343::-;7931:23;;19163:3;19148:19;;;23906:1;23896:12;;23886:2;;23912:9;23886:2;4192:75;;8133:4;8122:16;;;8116:23;8193:14;;;3088:37;8293:4;8282:16;;;8276:23;8353:14;;;3088:37;8459:4;8448:16;;;8442:23;-1:-1;;;;;22580:54;8519:14;;;2149:37;8615:4;8604:16;;;8598:23;8675:14;;;;3088:37;;;;19134:185;:::o;19326:358::-;;19497:2;19518:17;19511:47;9024:115;19497:2;19486:9;19482:18;9001:16;8995:23;9024:115;:::i;:::-;19497:2;9214:5;9210:16;9204:23;9233:115;9333:14;19486:9;9333:14;9319:12;9233:115;:::i;:::-;;9433:4;9426:5;9422:16;9416:23;9445:115;9545:14;19486:9;9545:14;9531:12;9445:115;:::i;:::-;;9342:4;9633:5;9629:16;9623:23;9700:16;9623:23;9700:16;19486:9;9700:16;3088:37;9333:14;9793:5;9789:16;9783:23;;;9860:16;9783:23;9860:16;19486:9;9860:16;3088:37;9955:4;9948:5;9944:16;9938:23;;;10015:16;9938:23;10015:16;19486:9;10015:16;3088:37;9554:4;10109:5;10105:16;10099:23;10079:43;;10176:16;10128:65;10176:16;19486:9;10176:16;10162:12;10128:65;:::i;:::-;9545:14;10272:5;10268:16;10262:23;10242:43;;10339:16;10291:65;10339:16;19486:9;10339:16;10325:12;10291:65;:::i;:::-;10439:6;10432:5;10428:18;10422:25;10402:45;;10453:65;10501:16;19486:9;10501:16;10487:12;10453:65;:::i;:::-;9709:6;10592:5;10588:18;10582:25;10562:45;;8928:6;;10627:16;19486:9;10627:16;10620:40;10675:73;8919:16;19486:9;8919:16;10729:12;10675:73;:::i;:::-;10827:18;;;10821:25;10900:16;;;3088:37;10989:18;;;10983:25;11062:16;;;3088:37;11150:18;;;11144:25;11223:16;;;3088:37;11315:18;;11309:25;11388:16;;;3088:37;11489:18;;;11483:25;11562:16;;;;3088:37;;;;-1:-1;10667:81;19468:216;-1:-1;19468:216::o;19691:358::-;;19862:2;19883:17;19876:47;12634:80;19862:2;19851:9;19847:18;12611:16;12605:23;12634:80;:::i;:::-;19862:2;12788:5;12784:16;12778:23;12855:14;19851:9;12855:14;3088:37;12855:14;12941:5;12937:16;12931:23;13008:14;19851:9;13008:14;3088:37;13008:14;13098:5;13094:16;13088:23;13165:14;19851:9;13165:14;3088:37;13165:14;13268:5;13264:16;13258:23;13335:14;19851:9;13335:14;3088:37;13335:14;13432:5;13428:16;13422:23;13499:14;19851:9;13499:14;3088:37;13499:14;13595:5;13591:16;13585:23;13662:14;19851:9;13662:14;3088:37;13662:14;13759:5;13755:16;13749:23;13826:14;13749:23;13826:14;19851:9;13826:14;3088:37;13826:14;13922:5;13918:18;13912:25;;;;13991:16;13912:25;13991:16;19851:9;13991:16;3088:37;13991:16;14089:5;14085:18;14079:25;;;;14158:16;14079:25;14158:16;19851:9;14158:16;3088:37;14158:16;14255:5;14251:18;14245:25;14225:45;;;12535:6;14290:16;12535:6;14290:16;19851:9;14290:16;14283:40;14338:103;12526:16;19851:9;12526:16;14422:12;14338:103;:::i;:::-;14330:111;;14290:16;14527:5;14523:18;14517:25;;;14596:16;14517:25;14596:16;19851:9;14596:16;3088:37;14596:16;14688:5;14684:18;14678:25;14658:45;;;23789:7;;14723:16;14741:14;19851:9;14745:4;14741:14;;14723:16;19851:9;14723:16;14716:40;14771:71;14837:4;14823:12;14771:71;:::i;:::-;14928:18;;;14922:25;15001:16;;;;3088:37;;;;15097:18;;15091:25;15154:14;;;;;;15136:16;;;15129:40;14763:79;-1:-1;15091:25;-1:-1;15184:71;14763:79;15091:25;15184:71;:::i;:::-;19929:110;19833:216;-1:-1;;;;;;19833:216::o;20285:214::-;22796:4;22785:16;;;;15597:35;;20408:2;20393:18;;20379:120::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecAccessors.sol\";\n\n\ncontract IexecAccessorsDelegate is IexecAccessors, DelegateBase\n{\n\n\tfunction name()\n\texternal view override returns (string memory)\n\t{\n\t\treturn m_name;\n\t}\n\n\tfunction symbol()\n\texternal view override returns (string memory)\n\t{\n\t\treturn m_symbol;\n\t}\n\n\tfunction decimals()\n\texternal view override returns (uint8)\n\t{\n\t\treturn m_decimals;\n\t}\n\n\tfunction totalSupply()\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_totalSupply;\n\t}\n\n\tfunction balanceOf(address account)\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_balances[account];\n\t}\n\n\tfunction frozenOf(address account)\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_frozens[account];\n\t}\n\n\tfunction allowance(address account, address spender)\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_allowances[account][spender];\n\t}\n\n\tfunction viewAccount(address account)\n\texternal view override returns (IexecLibCore_v5.Account memory)\n\t{\n\t\treturn IexecLibCore_v5.Account(m_balances[account], m_frozens[account]);\n\t}\n\n\tfunction token()\n\texternal view override returns (address)\n\t{\n\t\treturn address(m_baseToken);\n\t}\n\n\tfunction viewDeal(bytes32 _id)\n\texternal view override returns (IexecLibCore_v5.Deal memory deal)\n\t{\n\t\treturn m_deals[_id];\n\t}\n\n\tfunction viewConsumed(bytes32 _id)\n\texternal view override returns (uint256 consumed)\n\t{\n\t\treturn m_consumed[_id];\n\t}\n\n\tfunction viewPresigned(bytes32 _id)\n\texternal view override returns (address signer)\n\t{\n\t\treturn m_presigned[_id];\n\t}\n\n\tfunction viewTask(bytes32 _taskid)\n\texternal view override returns (IexecLibCore_v5.Task memory)\n\t{\n\t\treturn m_tasks[_taskid];\n\t}\n\n\tfunction viewContribution(bytes32 _taskid, address _worker)\n\texternal view override returns (IexecLibCore_v5.Contribution memory)\n\t{\n\t\treturn m_contributions[_taskid][_worker];\n\t}\n\n\tfunction viewScore(address _worker)\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_workerScores[_worker];\n\t}\n\n\tfunction resultFor(bytes32 id)\n\texternal view override returns (bytes memory)\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[id];\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.COMPLETED, 'task-pending');\n\t\treturn task.resultsCallback; // Expansion - result separation\n\t}\n\n\tfunction viewCategory(uint256 _catid)\n\texternal view override returns (IexecLibCore_v5.Category memory category)\n\t{\n\t\treturn m_categories[_catid];\n\t}\n\n\tfunction countCategory()\n\texternal view override returns (uint256 count)\n\t{\n\t\treturn m_categories.length;\n\t}\n\n\n\tfunction appregistry()\n\texternal view override returns (IRegistry)\n\t{\n\t\treturn m_appregistry;\n\t}\n\n\tfunction datasetregistry()\n\texternal view override returns (IRegistry)\n\t{\n\t\treturn m_datasetregistry;\n\t}\n\n\tfunction workerpoolregistry()\n\texternal view override returns (IRegistry)\n\t{\n\t\treturn m_workerpoolregistry;\n\t}\n\n\tfunction teebroker()\n\texternal view override returns (address)\n\t{\n\t\treturn m_teebroker;\n\t}\n\n\tfunction callbackgas()\n\texternal view override returns (uint256)\n\t{\n\t\treturn m_callbackgas;\n\t}\n\n\tfunction contribution_deadline_ratio()\n\texternal view override returns (uint256)\n\t{\n\t\treturn CONTRIBUTION_DEADLINE_RATIO;\n\t}\n\n\tfunction reveal_deadline_ratio()\n\texternal view override returns (uint256)\n\t{\n\t\treturn REVEAL_DEADLINE_RATIO;\n\t}\n\n\tfunction final_deadline_ratio()\n\texternal view override returns (uint256)\n\t{\n\t\treturn FINAL_DEADLINE_RATIO;\n\t}\n\n\tfunction workerpool_stake_ratio()\n\texternal view override returns (uint256)\n\t{\n\t\treturn WORKERPOOL_STAKE_RATIO;\n\t}\n\n\tfunction kitty_ratio()\n\texternal view override returns (uint256)\n\t{\n\t\treturn KITTY_RATIO;\n\t}\n\n\tfunction kitty_min()\n\texternal view override returns (uint256)\n\t{\n\t\treturn KITTY_MIN;\n\t}\n\n\tfunction kitty_address()\n\texternal view override returns (address)\n\t{\n\t\treturn KITTY_ADDRESS;\n\t}\n\n\tfunction groupmember_purpose()\n\texternal view override returns (uint256)\n\t{\n\t\treturn GROUPMEMBER_PURPOSE;\n\t}\n\n\tfunction eip712domain_separator()\n\texternal view override returns (bytes32)\n\t{\n\t\treturn EIP712DOMAIN_SEPARATOR;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsDelegate.sol", - "exportedSymbols": { - "IexecAccessorsDelegate": [ - 2375 - ] - }, - "id": 2376, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1996, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:14" - }, - { - "id": 1997, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:14" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1998, - "nodeType": "ImportDirective", - "scope": 2376, - "sourceUnit": 1659, - "src": "1301:29:14", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "../interfaces/IexecAccessors.sol", - "id": 1999, - "nodeType": "ImportDirective", - "scope": 2376, - "sourceUnit": 9026, - "src": "1331:42:14", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2000, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "1411:14:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 2001, - "nodeType": "InheritanceSpecifier", - "src": "1411:14:14" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2002, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1427:12:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2003, - "nodeType": "InheritanceSpecifier", - "src": "1427:12:14" - } - ], - "contractDependencies": [ - 309, - 1658, - 9025, - 13136, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2375, - "linearizedBaseContracts": [ - 2375, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9025, - 13136 - ], - "name": "IexecAccessorsDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 8848 - ], - "body": { - "id": 2011, - "nodeType": "Block", - "src": "1509:21:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2009, - "name": "m_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 219, - "src": "1520:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 2008, - "id": 2010, - "nodeType": "Return", - "src": "1513:13:14" - } - ] - }, - "documentation": null, - "functionSelector": "06fdde03", - "id": 2012, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2005, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1475:8:14" - }, - "parameters": { - "id": 2004, - "nodeType": "ParameterList", - "parameters": [], - "src": "1457:2:14" - }, - "returnParameters": { - "id": 2008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2007, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2012, - "src": "1493:13:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1493:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1492:15:14" - }, - "scope": 2375, - "src": "1444:86:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8853 - ], - "body": { - "id": 2020, - "nodeType": "Block", - "src": "1600:23:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2018, - "name": "m_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "1611:8:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 2017, - "id": 2019, - "nodeType": "Return", - "src": "1604:15:14" - } - ] - }, - "documentation": null, - "functionSelector": "95d89b41", - "id": 2021, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2014, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1566:8:14" - }, - "parameters": { - "id": 2013, - "nodeType": "ParameterList", - "parameters": [], - "src": "1548:2:14" - }, - "returnParameters": { - "id": 2017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2016, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2021, - "src": "1584:13:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2015, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1584:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1583:15:14" - }, - "scope": 2375, - "src": "1533:90:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8858 - ], - "body": { - "id": 2029, - "nodeType": "Block", - "src": "1687:25:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2027, - "name": "m_decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "1698:10:14", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "functionReturnParameters": 2026, - "id": 2028, - "nodeType": "Return", - "src": "1691:17:14" - } - ] - }, - "documentation": null, - "functionSelector": "313ce567", - "id": 2030, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decimals", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2023, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1661:8:14" - }, - "parameters": { - "id": 2022, - "nodeType": "ParameterList", - "parameters": [], - "src": "1643:2:14" - }, - "returnParameters": { - "id": 2026, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2025, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2030, - "src": "1679:5:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 2024, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1679:5:14", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1678:7:14" - }, - "scope": 2375, - "src": "1626:86:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8863 - ], - "body": { - "id": 2038, - "nodeType": "Block", - "src": "1781:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2036, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "1792:13:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2035, - "id": 2037, - "nodeType": "Return", - "src": "1785:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "18160ddd", - "id": 2039, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2032, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1753:8:14" - }, - "parameters": { - "id": 2031, - "nodeType": "ParameterList", - "parameters": [], - "src": "1735:2:14" - }, - "returnParameters": { - "id": 2035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2039, - "src": "1771:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1771:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1770:9:14" - }, - "scope": 2375, - "src": "1715:94:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8870 - ], - "body": { - "id": 2051, - "nodeType": "Block", - "src": "1891:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2047, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1902:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2049, - "indexExpression": { - "argumentTypes": null, - "id": 2048, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2041, - "src": "1913:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1902:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2046, - "id": 2050, - "nodeType": "Return", - "src": "1895:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "70a08231", - "id": 2052, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2043, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1863:8:14" - }, - "parameters": { - "id": 2042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2041, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2052, - "src": "1831:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2040, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1831:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1830:17:14" - }, - "returnParameters": { - "id": 2046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2045, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2052, - "src": "1881:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2044, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1881:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1880:9:14" - }, - "scope": 2375, - "src": "1812:113:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8877 - ], - "body": { - "id": 2064, - "nodeType": "Block", - "src": "2006:33:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2060, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2017:9:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2062, - "indexExpression": { - "argumentTypes": null, - "id": 2061, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2054, - "src": "2027:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2017:18:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2059, - "id": 2063, - "nodeType": "Return", - "src": "2010:25:14" - } - ] - }, - "documentation": null, - "functionSelector": "1bf6e00d", - "id": 2065, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "frozenOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2056, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1978:8:14" - }, - "parameters": { - "id": 2055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2054, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2065, - "src": "1946:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1946:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1945:17:14" - }, - "returnParameters": { - "id": 2059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2065, - "src": "1996:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2057, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1996:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1995:9:14" - }, - "scope": 2375, - "src": "1928:111:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8886 - ], - "body": { - "id": 2081, - "nodeType": "Block", - "src": "2138:45:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2075, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2149:12:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 2077, - "indexExpression": { - "argumentTypes": null, - "id": 2076, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2067, - "src": "2162:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2149:21:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2079, - "indexExpression": { - "argumentTypes": null, - "id": 2078, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2069, - "src": "2171:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2149:30:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2074, - "id": 2080, - "nodeType": "Return", - "src": "2142:37:14" - } - ] - }, - "documentation": null, - "functionSelector": "dd62ed3e", - "id": 2082, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2071, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2110:8:14" - }, - "parameters": { - "id": 2070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2067, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2061:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2061:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2069, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2078:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2068, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2078:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2060:34:14" - }, - "returnParameters": { - "id": 2074, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2073, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2128:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2072, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2128:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2127:9:14" - }, - "scope": 2375, - "src": "2042:141:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8893 - ], - "body": { - "id": 2100, - "nodeType": "Block", - "src": "2290:79:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2092, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2325:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2094, - "indexExpression": { - "argumentTypes": null, - "id": 2093, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "2336:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2325:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2095, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2346:9:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2097, - "indexExpression": { - "argumentTypes": null, - "id": 2096, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "2356:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2346:18:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2090, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "2301:15:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "Account", - "nodeType": "MemberAccess", - "referencedDeclaration": 1087, - "src": "2301:23:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Account_$1087_storage_ptr_$", - "typeString": "type(struct IexecLibCore_v5.Account storage pointer)" - } - }, - "id": 2098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2301:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account memory" - } - }, - "functionReturnParameters": 2089, - "id": 2099, - "nodeType": "Return", - "src": "2294:71:14" - } - ] - }, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 2101, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2086, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2239:8:14" - }, - "parameters": { - "id": 2085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2084, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2101, - "src": "2207:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2207:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2206:17:14" - }, - "returnParameters": { - "id": 2089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2088, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2101, - "src": "2257:30:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account" - }, - "typeName": { - "contractScope": null, - "id": 2087, - "name": "IexecLibCore_v5.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1087, - "src": "2257:23:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_storage_ptr", - "typeString": "struct IexecLibCore_v5.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2256:32:14" - }, - "scope": 2375, - "src": "2186:183:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8898 - ], - "body": { - "id": 2112, - "nodeType": "Block", - "src": "2432:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2109, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2451:11:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 2108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2443:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2443:7:14", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2443:20:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2106, - "id": 2111, - "nodeType": "Return", - "src": "2436:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 2113, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2103, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2404:8:14" - }, - "parameters": { - "id": 2102, - "nodeType": "ParameterList", - "parameters": [], - "src": "2386:2:14" - }, - "returnParameters": { - "id": 2106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2105, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2113, - "src": "2422:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2104, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2422:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2421:9:14" - }, - "scope": 2375, - "src": "2372:95:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8905 - ], - "body": { - "id": 2125, - "nodeType": "Block", - "src": "2569:27:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2121, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2580:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2123, - "indexExpression": { - "argumentTypes": null, - "id": 2122, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "2588:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2580:12:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "functionReturnParameters": 2120, - "id": 2124, - "nodeType": "Return", - "src": "2573:19:14" - } - ] - }, - "documentation": null, - "functionSelector": "b74861b2", - "id": 2126, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2117, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2516:8:14" - }, - "parameters": { - "id": 2116, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2115, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2126, - "src": "2488:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2114, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2488:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2487:13:14" - }, - "returnParameters": { - "id": 2120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2119, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2126, - "src": "2534:32:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 2118, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2534:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2533:34:14" - }, - "scope": 2375, - "src": "2470:126:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8912 - ], - "body": { - "id": 2138, - "nodeType": "Block", - "src": "2686:30:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2134, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "2697:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 2136, - "indexExpression": { - "argumentTypes": null, - "id": 2135, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2128, - "src": "2708:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2697:15:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2133, - "id": 2137, - "nodeType": "Return", - "src": "2690:22:14" - } - ] - }, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 2139, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2130, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2649:8:14" - }, - "parameters": { - "id": 2129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2128, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2139, - "src": "2621:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2127, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2621:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2620:13:14" - }, - "returnParameters": { - "id": 2133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2132, - "mutability": "mutable", - "name": "consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2139, - "src": "2667:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2131, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2667:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2666:18:14" - }, - "scope": 2375, - "src": "2599:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8919 - ], - "body": { - "id": 2151, - "nodeType": "Block", - "src": "2805:31:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2147, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2816:11:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 2149, - "indexExpression": { - "argumentTypes": null, - "id": 2148, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2141, - "src": "2828:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2816:16:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2146, - "id": 2150, - "nodeType": "Return", - "src": "2809:23:14" - } - ] - }, - "documentation": null, - "functionSelector": "d286eb16", - "id": 2152, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2143, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2770:8:14" - }, - "parameters": { - "id": 2142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2141, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2152, - "src": "2742:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2140, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2742:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2741:13:14" - }, - "returnParameters": { - "id": 2146, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2145, - "mutability": "mutable", - "name": "signer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2152, - "src": "2788:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2144, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2788:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2787:16:14" - }, - "scope": 2375, - "src": "2719:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8926 - ], - "body": { - "id": 2164, - "nodeType": "Block", - "src": "2937:31:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2160, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "2948:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 2162, - "indexExpression": { - "argumentTypes": null, - "id": 2161, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2154, - "src": "2956:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2948:16:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "functionReturnParameters": 2159, - "id": 2163, - "nodeType": "Return", - "src": "2941:23:14" - } - ] - }, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 2165, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2156, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2889:8:14" - }, - "parameters": { - "id": 2155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2154, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2165, - "src": "2857:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2857:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2856:17:14" - }, - "returnParameters": { - "id": 2159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2158, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2165, - "src": "2907:27:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 2157, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "2907:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:29:14" - }, - "scope": 2375, - "src": "2839:129:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8935 - ], - "body": { - "id": 2181, - "nodeType": "Block", - "src": "3102:48:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2175, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "3113:15:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 2177, - "indexExpression": { - "argumentTypes": null, - "id": 2176, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2167, - "src": "3129:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3113:24:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 2179, - "indexExpression": { - "argumentTypes": null, - "id": 2178, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2169, - "src": "3138:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3113:33:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "functionReturnParameters": 2174, - "id": 2180, - "nodeType": "Return", - "src": "3106:40:14" - } - ] - }, - "documentation": null, - "functionSelector": "e741363b", - "id": 2182, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2171, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3046:8:14" - }, - "parameters": { - "id": 2170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2167, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "2997:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2166, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2997:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2169, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "3014:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3014:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2996:34:14" - }, - "returnParameters": { - "id": 2174, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2173, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "3064:35:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 2172, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "3064:28:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3063:37:14" - }, - "scope": 2375, - "src": "2971:179:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8942 - ], - "body": { - "id": 2194, - "nodeType": "Block", - "src": "3232:38:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2190, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "3243:14:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2192, - "indexExpression": { - "argumentTypes": null, - "id": 2191, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2184, - "src": "3258:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3243:23:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2189, - "id": 2193, - "nodeType": "Return", - "src": "3236:30:14" - } - ] - }, - "documentation": null, - "functionSelector": "db230b52", - "id": 2195, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2186, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3204:8:14" - }, - "parameters": { - "id": 2185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2184, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2195, - "src": "3172:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3172:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3171:17:14" - }, - "returnParameters": { - "id": 2189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2188, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2195, - "src": "3222:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3222:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3221:9:14" - }, - "scope": 2375, - "src": "3153:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 13135 - ], - "body": { - "id": 2224, - "nodeType": "Block", - "src": "3352:203:14", - "statements": [ - { - "assignments": [ - 2206 - ], - "declarations": [ - { - "constant": false, - "id": 2206, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2224, - "src": "3356:33:14", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 2205, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "3356:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2210, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2207, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "3392:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 2209, - "indexExpression": { - "argumentTypes": null, - "id": 2208, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2197, - "src": "3400:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3392:11:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3356:47:14" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 2217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2212, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "3415:4:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 2213, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "3415:11:14", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2214, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "3430:15:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "3430:30:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 2216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3430:40:14", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "3415:55:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "7461736b2d70656e64696e67", - "id": 2218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3472:14:14", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e83e39a9a5a53dacbf0d4c9de4baa8c8369eee8506bebc3b7fb2efffd9520d86", - "typeString": "literal_string \"task-pending\"" - }, - "value": "task-pending" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e83e39a9a5a53dacbf0d4c9de4baa8c8369eee8506bebc3b7fb2efffd9520d86", - "typeString": "literal_string \"task-pending\"" - } - ], - "id": 2211, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3407:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3407:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2220, - "nodeType": "ExpressionStatement", - "src": "3407:80:14" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2221, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "3498:4:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 2222, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "3498:20:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "functionReturnParameters": 2202, - "id": 2223, - "nodeType": "Return", - "src": "3491:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 2225, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2199, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3319:8:14" - }, - "parameters": { - "id": 2198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2197, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2225, - "src": "3292:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2196, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3292:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3291:12:14" - }, - "returnParameters": { - "id": 2202, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2201, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2225, - "src": "3337:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2200, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3337:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3336:14:14" - }, - "scope": 2375, - "src": "3273:282:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8949 - ], - "body": { - "id": 2237, - "nodeType": "Block", - "src": "3672:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2233, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3683:12:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2235, - "indexExpression": { - "argumentTypes": null, - "id": 2234, - "name": "_catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2227, - "src": "3696:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3683:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "functionReturnParameters": 2232, - "id": 2236, - "nodeType": "Return", - "src": "3676:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 2238, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2229, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3611:8:14" - }, - "parameters": { - "id": 2228, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2227, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2238, - "src": "3580:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2226, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3580:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3579:16:14" - }, - "returnParameters": { - "id": 2232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2231, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2238, - "src": "3629:40:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 2230, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "3629:24:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3628:42:14" - }, - "scope": 2375, - "src": "3558:149:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8954 - ], - "body": { - "id": 2247, - "nodeType": "Block", - "src": "3784:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2244, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3795:12:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3795:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2243, - "id": 2246, - "nodeType": "Return", - "src": "3788:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "c140996f", - "id": 2248, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2240, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3750:8:14" - }, - "parameters": { - "id": 2239, - "nodeType": "ParameterList", - "parameters": [], - "src": "3732:2:14" - }, - "returnParameters": { - "id": 2243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2242, - "mutability": "mutable", - "name": "count", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2248, - "src": "3768:13:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2241, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3768:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3767:15:14" - }, - "scope": 2375, - "src": "3710:108:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8959 - ], - "body": { - "id": 2256, - "nodeType": "Block", - "src": "3890:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2254, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "3901:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2253, - "id": 2255, - "nodeType": "Return", - "src": "3894:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "45b637a9", - "id": 2257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2250, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3860:8:14" - }, - "parameters": { - "id": 2249, - "nodeType": "ParameterList", - "parameters": [], - "src": "3842:2:14" - }, - "returnParameters": { - "id": 2253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2257, - "src": "3878:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2251, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "3878:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3877:11:14" - }, - "scope": 2375, - "src": "3822:96:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8964 - ], - "body": { - "id": 2265, - "nodeType": "Block", - "src": "3993:32:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2263, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "4004:17:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2262, - "id": 2264, - "nodeType": "Return", - "src": "3997:24:14" - } - ] - }, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 2266, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2259, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3963:8:14" - }, - "parameters": { - "id": 2258, - "nodeType": "ParameterList", - "parameters": [], - "src": "3945:2:14" - }, - "returnParameters": { - "id": 2262, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2261, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2266, - "src": "3981:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2260, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "3981:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3980:11:14" - }, - "scope": 2375, - "src": "3921:104:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8969 - ], - "body": { - "id": 2274, - "nodeType": "Block", - "src": "4103:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2272, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "4114:20:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2271, - "id": 2273, - "nodeType": "Return", - "src": "4107:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "90a0f546", - "id": 2275, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2268, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4073:8:14" - }, - "parameters": { - "id": 2267, - "nodeType": "ParameterList", - "parameters": [], - "src": "4055:2:14" - }, - "returnParameters": { - "id": 2271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2270, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2275, - "src": "4091:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2269, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "4091:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4090:11:14" - }, - "scope": 2375, - "src": "4028:110:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8974 - ], - "body": { - "id": 2283, - "nodeType": "Block", - "src": "4205:26:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2281, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "4216:11:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2280, - "id": 2282, - "nodeType": "Return", - "src": "4209:18:14" - } - ] - }, - "documentation": null, - "functionSelector": "5975b8fc", - "id": 2284, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "teebroker", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2277, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4177:8:14" - }, - "parameters": { - "id": 2276, - "nodeType": "ParameterList", - "parameters": [], - "src": "4159:2:14" - }, - "returnParameters": { - "id": 2280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2279, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2284, - "src": "4195:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2278, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4195:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4194:9:14" - }, - "scope": 2375, - "src": "4141:90:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8979 - ], - "body": { - "id": 2292, - "nodeType": "Block", - "src": "4300:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2290, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "4311:13:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2289, - "id": 2291, - "nodeType": "Return", - "src": "4304:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "e63ec07d", - "id": 2293, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "callbackgas", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2286, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4272:8:14" - }, - "parameters": { - "id": 2285, - "nodeType": "ParameterList", - "parameters": [], - "src": "4254:2:14" - }, - "returnParameters": { - "id": 2289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2288, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2293, - "src": "4290:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4290:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4289:9:14" - }, - "scope": 2375, - "src": "4234:94:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8984 - ], - "body": { - "id": 2301, - "nodeType": "Block", - "src": "4413:42:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2299, - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "4424:27:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2298, - "id": 2300, - "nodeType": "Return", - "src": "4417:34:14" - } - ] - }, - "documentation": null, - "functionSelector": "74ed5244", - "id": 2302, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contribution_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2295, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4385:8:14" - }, - "parameters": { - "id": 2294, - "nodeType": "ParameterList", - "parameters": [], - "src": "4367:2:14" - }, - "returnParameters": { - "id": 2298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2297, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2302, - "src": "4403:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4403:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4402:9:14" - }, - "scope": 2375, - "src": "4331:124:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8989 - ], - "body": { - "id": 2310, - "nodeType": "Block", - "src": "4534:36:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2308, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "4545:21:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2307, - "id": 2309, - "nodeType": "Return", - "src": "4538:28:14" - } - ] - }, - "documentation": null, - "functionSelector": "2b8857c1", - "id": 2311, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reveal_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2304, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4506:8:14" - }, - "parameters": { - "id": 2303, - "nodeType": "ParameterList", - "parameters": [], - "src": "4488:2:14" - }, - "returnParameters": { - "id": 2307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2311, - "src": "4524:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2305, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4524:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4523:9:14" - }, - "scope": 2375, - "src": "4458:112:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8994 - ], - "body": { - "id": 2319, - "nodeType": "Block", - "src": "4648:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2317, - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 248, - "src": "4659:20:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2316, - "id": 2318, - "nodeType": "Return", - "src": "4652:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "db8aaa26", - "id": 2320, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "final_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2313, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4620:8:14" - }, - "parameters": { - "id": 2312, - "nodeType": "ParameterList", - "parameters": [], - "src": "4602:2:14" - }, - "returnParameters": { - "id": 2316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2320, - "src": "4638:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2314, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4638:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4637:9:14" - }, - "scope": 2375, - "src": "4573:110:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8999 - ], - "body": { - "id": 2328, - "nodeType": "Block", - "src": "4763:37:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2326, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "4774:22:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2325, - "id": 2327, - "nodeType": "Return", - "src": "4767:29:14" - } - ] - }, - "documentation": null, - "functionSelector": "6112f6fd", - "id": 2329, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "workerpool_stake_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2322, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4735:8:14" - }, - "parameters": { - "id": 2321, - "nodeType": "ParameterList", - "parameters": [], - "src": "4717:2:14" - }, - "returnParameters": { - "id": 2325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2324, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2329, - "src": "4753:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4753:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4752:9:14" - }, - "scope": 2375, - "src": "4686:114:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9004 - ], - "body": { - "id": 2337, - "nodeType": "Block", - "src": "4869:26:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2335, - "name": "KITTY_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "4880:11:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2334, - "id": 2336, - "nodeType": "Return", - "src": "4873:18:14" - } - ] - }, - "documentation": null, - "functionSelector": "dcb03241", - "id": 2338, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2331, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4841:8:14" - }, - "parameters": { - "id": 2330, - "nodeType": "ParameterList", - "parameters": [], - "src": "4823:2:14" - }, - "returnParameters": { - "id": 2334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2333, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2338, - "src": "4859:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2332, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4859:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4858:9:14" - }, - "scope": 2375, - "src": "4803:92:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9009 - ], - "body": { - "id": 2346, - "nodeType": "Block", - "src": "4962:24:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2344, - "name": "KITTY_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "4973:9:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2343, - "id": 2345, - "nodeType": "Return", - "src": "4966:16:14" - } - ] - }, - "documentation": null, - "functionSelector": "77a99692", - "id": 2347, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_min", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2340, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4934:8:14" - }, - "parameters": { - "id": 2339, - "nodeType": "ParameterList", - "parameters": [], - "src": "4916:2:14" - }, - "returnParameters": { - "id": 2343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2342, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2347, - "src": "4952:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4952:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4951:9:14" - }, - "scope": 2375, - "src": "4898:88:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9014 - ], - "body": { - "id": 2355, - "nodeType": "Block", - "src": "5057:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2353, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "5068:13:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2352, - "id": 2354, - "nodeType": "Return", - "src": "5061:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "a47e7f80", - "id": 2356, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_address", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2349, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5029:8:14" - }, - "parameters": { - "id": 2348, - "nodeType": "ParameterList", - "parameters": [], - "src": "5011:2:14" - }, - "returnParameters": { - "id": 2352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2356, - "src": "5047:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2350, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5047:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5046:9:14" - }, - "scope": 2375, - "src": "4989:96:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9019 - ], - "body": { - "id": 2364, - "nodeType": "Block", - "src": "5162:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2362, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5173:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2361, - "id": 2363, - "nodeType": "Return", - "src": "5166:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "25eacba8", - "id": 2365, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "groupmember_purpose", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2358, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5134:8:14" - }, - "parameters": { - "id": 2357, - "nodeType": "ParameterList", - "parameters": [], - "src": "5116:2:14" - }, - "returnParameters": { - "id": 2361, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2360, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2365, - "src": "5152:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2359, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5152:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5151:9:14" - }, - "scope": 2375, - "src": "5088:108:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9024 - ], - "body": { - "id": 2373, - "nodeType": "Block", - "src": "5276:37:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2371, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5287:22:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2370, - "id": 2372, - "nodeType": "Return", - "src": "5280:29:14" - } - ] - }, - "documentation": null, - "functionSelector": "9910fd72", - "id": 2374, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "eip712domain_separator", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2367, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5248:8:14" - }, - "parameters": { - "id": 2366, - "nodeType": "ParameterList", - "parameters": [], - "src": "5230:2:14" - }, - "returnParameters": { - "id": 2370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2369, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2374, - "src": "5266:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2368, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5266:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5265:9:14" - }, - "scope": 2375, - "src": "5199:114:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 2376, - "src": "1376:3939:14" - } - ], - "src": "1242:4074:14" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecAccessorsDelegate.sol", - "exportedSymbols": { - "IexecAccessorsDelegate": [ - 2375 - ] - }, - "id": 2376, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1996, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:14" - }, - { - "id": 1997, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:14" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 1998, - "nodeType": "ImportDirective", - "scope": 2376, - "sourceUnit": 1659, - "src": "1301:29:14", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "../interfaces/IexecAccessors.sol", - "id": 1999, - "nodeType": "ImportDirective", - "scope": 2376, - "sourceUnit": 9026, - "src": "1331:42:14", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2000, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "1411:14:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 2001, - "nodeType": "InheritanceSpecifier", - "src": "1411:14:14" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2002, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1427:12:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2003, - "nodeType": "InheritanceSpecifier", - "src": "1427:12:14" - } - ], - "contractDependencies": [ - 309, - 1658, - 9025, - 13136, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2375, - "linearizedBaseContracts": [ - 2375, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9025, - 13136 - ], - "name": "IexecAccessorsDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 8848 - ], - "body": { - "id": 2011, - "nodeType": "Block", - "src": "1509:21:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2009, - "name": "m_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 219, - "src": "1520:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 2008, - "id": 2010, - "nodeType": "Return", - "src": "1513:13:14" - } - ] - }, - "documentation": null, - "functionSelector": "06fdde03", - "id": 2012, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2005, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1475:8:14" - }, - "parameters": { - "id": 2004, - "nodeType": "ParameterList", - "parameters": [], - "src": "1457:2:14" - }, - "returnParameters": { - "id": 2008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2007, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2012, - "src": "1493:13:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1493:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1492:15:14" - }, - "scope": 2375, - "src": "1444:86:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8853 - ], - "body": { - "id": 2020, - "nodeType": "Block", - "src": "1600:23:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2018, - "name": "m_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "1611:8:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 2017, - "id": 2019, - "nodeType": "Return", - "src": "1604:15:14" - } - ] - }, - "documentation": null, - "functionSelector": "95d89b41", - "id": 2021, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2014, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1566:8:14" - }, - "parameters": { - "id": 2013, - "nodeType": "ParameterList", - "parameters": [], - "src": "1548:2:14" - }, - "returnParameters": { - "id": 2017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2016, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2021, - "src": "1584:13:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2015, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1584:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1583:15:14" - }, - "scope": 2375, - "src": "1533:90:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8858 - ], - "body": { - "id": 2029, - "nodeType": "Block", - "src": "1687:25:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2027, - "name": "m_decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "1698:10:14", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "functionReturnParameters": 2026, - "id": 2028, - "nodeType": "Return", - "src": "1691:17:14" - } - ] - }, - "documentation": null, - "functionSelector": "313ce567", - "id": 2030, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decimals", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2023, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1661:8:14" - }, - "parameters": { - "id": 2022, - "nodeType": "ParameterList", - "parameters": [], - "src": "1643:2:14" - }, - "returnParameters": { - "id": 2026, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2025, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2030, - "src": "1679:5:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 2024, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1679:5:14", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1678:7:14" - }, - "scope": 2375, - "src": "1626:86:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8863 - ], - "body": { - "id": 2038, - "nodeType": "Block", - "src": "1781:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2036, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "1792:13:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2035, - "id": 2037, - "nodeType": "Return", - "src": "1785:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "18160ddd", - "id": 2039, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2032, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1753:8:14" - }, - "parameters": { - "id": 2031, - "nodeType": "ParameterList", - "parameters": [], - "src": "1735:2:14" - }, - "returnParameters": { - "id": 2035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2034, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2039, - "src": "1771:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1771:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1770:9:14" - }, - "scope": 2375, - "src": "1715:94:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8870 - ], - "body": { - "id": 2051, - "nodeType": "Block", - "src": "1891:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2047, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1902:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2049, - "indexExpression": { - "argumentTypes": null, - "id": 2048, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2041, - "src": "1913:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1902:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2046, - "id": 2050, - "nodeType": "Return", - "src": "1895:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "70a08231", - "id": 2052, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2043, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1863:8:14" - }, - "parameters": { - "id": 2042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2041, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2052, - "src": "1831:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2040, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1831:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1830:17:14" - }, - "returnParameters": { - "id": 2046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2045, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2052, - "src": "1881:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2044, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1881:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1880:9:14" - }, - "scope": 2375, - "src": "1812:113:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8877 - ], - "body": { - "id": 2064, - "nodeType": "Block", - "src": "2006:33:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2060, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2017:9:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2062, - "indexExpression": { - "argumentTypes": null, - "id": 2061, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2054, - "src": "2027:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2017:18:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2059, - "id": 2063, - "nodeType": "Return", - "src": "2010:25:14" - } - ] - }, - "documentation": null, - "functionSelector": "1bf6e00d", - "id": 2065, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "frozenOf", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2056, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1978:8:14" - }, - "parameters": { - "id": 2055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2054, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2065, - "src": "1946:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1946:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1945:17:14" - }, - "returnParameters": { - "id": 2059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2065, - "src": "1996:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2057, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1996:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1995:9:14" - }, - "scope": 2375, - "src": "1928:111:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8886 - ], - "body": { - "id": 2081, - "nodeType": "Block", - "src": "2138:45:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2075, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2149:12:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 2077, - "indexExpression": { - "argumentTypes": null, - "id": 2076, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2067, - "src": "2162:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2149:21:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2079, - "indexExpression": { - "argumentTypes": null, - "id": 2078, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2069, - "src": "2171:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2149:30:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2074, - "id": 2080, - "nodeType": "Return", - "src": "2142:37:14" - } - ] - }, - "documentation": null, - "functionSelector": "dd62ed3e", - "id": 2082, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2071, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2110:8:14" - }, - "parameters": { - "id": 2070, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2067, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2061:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2061:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2069, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2078:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2068, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2078:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2060:34:14" - }, - "returnParameters": { - "id": 2074, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2073, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2082, - "src": "2128:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2072, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2128:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2127:9:14" - }, - "scope": 2375, - "src": "2042:141:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8893 - ], - "body": { - "id": 2100, - "nodeType": "Block", - "src": "2290:79:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2092, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2325:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2094, - "indexExpression": { - "argumentTypes": null, - "id": 2093, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "2336:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2325:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2095, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2346:9:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2097, - "indexExpression": { - "argumentTypes": null, - "id": 2096, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "2356:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2346:18:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2090, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "2301:15:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "Account", - "nodeType": "MemberAccess", - "referencedDeclaration": 1087, - "src": "2301:23:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Account_$1087_storage_ptr_$", - "typeString": "type(struct IexecLibCore_v5.Account storage pointer)" - } - }, - "id": 2098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2301:64:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account memory" - } - }, - "functionReturnParameters": 2089, - "id": 2099, - "nodeType": "Return", - "src": "2294:71:14" - } - ] - }, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 2101, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2086, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2239:8:14" - }, - "parameters": { - "id": 2085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2084, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2101, - "src": "2207:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2207:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2206:17:14" - }, - "returnParameters": { - "id": 2089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2088, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2101, - "src": "2257:30:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_memory_ptr", - "typeString": "struct IexecLibCore_v5.Account" - }, - "typeName": { - "contractScope": null, - "id": 2087, - "name": "IexecLibCore_v5.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1087, - "src": "2257:23:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$1087_storage_ptr", - "typeString": "struct IexecLibCore_v5.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2256:32:14" - }, - "scope": 2375, - "src": "2186:183:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8898 - ], - "body": { - "id": 2112, - "nodeType": "Block", - "src": "2432:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2109, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2451:11:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 2108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2443:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2443:7:14", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2443:20:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2106, - "id": 2111, - "nodeType": "Return", - "src": "2436:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 2113, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2103, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2404:8:14" - }, - "parameters": { - "id": 2102, - "nodeType": "ParameterList", - "parameters": [], - "src": "2386:2:14" - }, - "returnParameters": { - "id": 2106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2105, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2113, - "src": "2422:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2104, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2422:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2421:9:14" - }, - "scope": 2375, - "src": "2372:95:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8905 - ], - "body": { - "id": 2125, - "nodeType": "Block", - "src": "2569:27:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2121, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "2580:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2123, - "indexExpression": { - "argumentTypes": null, - "id": 2122, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "2588:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2580:12:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "functionReturnParameters": 2120, - "id": 2124, - "nodeType": "Return", - "src": "2573:19:14" - } - ] - }, - "documentation": null, - "functionSelector": "b74861b2", - "id": 2126, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2117, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2516:8:14" - }, - "parameters": { - "id": 2116, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2115, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2126, - "src": "2488:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2114, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2488:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2487:13:14" - }, - "returnParameters": { - "id": 2120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2119, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2126, - "src": "2534:32:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 2118, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "2534:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2533:34:14" - }, - "scope": 2375, - "src": "2470:126:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8912 - ], - "body": { - "id": 2138, - "nodeType": "Block", - "src": "2686:30:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2134, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "2697:10:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 2136, - "indexExpression": { - "argumentTypes": null, - "id": 2135, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2128, - "src": "2708:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2697:15:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2133, - "id": 2137, - "nodeType": "Return", - "src": "2690:22:14" - } - ] - }, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 2139, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2130, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2649:8:14" - }, - "parameters": { - "id": 2129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2128, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2139, - "src": "2621:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2127, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2621:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2620:13:14" - }, - "returnParameters": { - "id": 2133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2132, - "mutability": "mutable", - "name": "consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2139, - "src": "2667:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2131, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2667:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2666:18:14" - }, - "scope": 2375, - "src": "2599:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8919 - ], - "body": { - "id": 2151, - "nodeType": "Block", - "src": "2805:31:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2147, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2816:11:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 2149, - "indexExpression": { - "argumentTypes": null, - "id": 2148, - "name": "_id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2141, - "src": "2828:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2816:16:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2146, - "id": 2150, - "nodeType": "Return", - "src": "2809:23:14" - } - ] - }, - "documentation": null, - "functionSelector": "d286eb16", - "id": 2152, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2143, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2770:8:14" - }, - "parameters": { - "id": 2142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2141, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2152, - "src": "2742:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2140, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2742:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2741:13:14" - }, - "returnParameters": { - "id": 2146, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2145, - "mutability": "mutable", - "name": "signer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2152, - "src": "2788:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2144, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2788:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2787:16:14" - }, - "scope": 2375, - "src": "2719:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8926 - ], - "body": { - "id": 2164, - "nodeType": "Block", - "src": "2937:31:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2160, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "2948:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 2162, - "indexExpression": { - "argumentTypes": null, - "id": 2161, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2154, - "src": "2956:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2948:16:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "functionReturnParameters": 2159, - "id": 2163, - "nodeType": "Return", - "src": "2941:23:14" - } - ] - }, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 2165, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2156, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2889:8:14" - }, - "parameters": { - "id": 2155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2154, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2165, - "src": "2857:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2857:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2856:17:14" - }, - "returnParameters": { - "id": 2159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2158, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2165, - "src": "2907:27:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 2157, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "2907:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:29:14" - }, - "scope": 2375, - "src": "2839:129:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8935 - ], - "body": { - "id": 2181, - "nodeType": "Block", - "src": "3102:48:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2175, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "3113:15:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 2177, - "indexExpression": { - "argumentTypes": null, - "id": 2176, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2167, - "src": "3129:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3113:24:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 2179, - "indexExpression": { - "argumentTypes": null, - "id": 2178, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2169, - "src": "3138:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3113:33:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "functionReturnParameters": 2174, - "id": 2180, - "nodeType": "Return", - "src": "3106:40:14" - } - ] - }, - "documentation": null, - "functionSelector": "e741363b", - "id": 2182, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2171, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3046:8:14" - }, - "parameters": { - "id": 2170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2167, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "2997:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2166, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2997:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2169, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "3014:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3014:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2996:34:14" - }, - "returnParameters": { - "id": 2174, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2173, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2182, - "src": "3064:35:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_memory_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 2172, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "3064:28:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3063:37:14" - }, - "scope": 2375, - "src": "2971:179:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8942 - ], - "body": { - "id": 2194, - "nodeType": "Block", - "src": "3232:38:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2190, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "3243:14:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2192, - "indexExpression": { - "argumentTypes": null, - "id": 2191, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2184, - "src": "3258:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3243:23:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2189, - "id": 2193, - "nodeType": "Return", - "src": "3236:30:14" - } - ] - }, - "documentation": null, - "functionSelector": "db230b52", - "id": 2195, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2186, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3204:8:14" - }, - "parameters": { - "id": 2185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2184, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2195, - "src": "3172:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3172:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3171:17:14" - }, - "returnParameters": { - "id": 2189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2188, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2195, - "src": "3222:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3222:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3221:9:14" - }, - "scope": 2375, - "src": "3153:117:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 13135 - ], - "body": { - "id": 2224, - "nodeType": "Block", - "src": "3352:203:14", - "statements": [ - { - "assignments": [ - 2206 - ], - "declarations": [ - { - "constant": false, - "id": 2206, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2224, - "src": "3356:33:14", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 2205, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "3356:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2210, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2207, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "3392:7:14", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 2209, - "indexExpression": { - "argumentTypes": null, - "id": 2208, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2197, - "src": "3400:2:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3392:11:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3356:47:14" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 2217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2212, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "3415:4:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 2213, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "3415:11:14", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2214, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "3430:15:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "3430:30:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 2216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3430:40:14", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "3415:55:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "7461736b2d70656e64696e67", - "id": 2218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3472:14:14", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e83e39a9a5a53dacbf0d4c9de4baa8c8369eee8506bebc3b7fb2efffd9520d86", - "typeString": "literal_string \"task-pending\"" - }, - "value": "task-pending" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e83e39a9a5a53dacbf0d4c9de4baa8c8369eee8506bebc3b7fb2efffd9520d86", - "typeString": "literal_string \"task-pending\"" - } - ], - "id": 2211, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3407:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3407:80:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2220, - "nodeType": "ExpressionStatement", - "src": "3407:80:14" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2221, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "3498:4:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 2222, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "3498:20:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "functionReturnParameters": 2202, - "id": 2223, - "nodeType": "Return", - "src": "3491:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 2225, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2199, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3319:8:14" - }, - "parameters": { - "id": 2198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2197, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2225, - "src": "3292:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2196, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3292:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3291:12:14" - }, - "returnParameters": { - "id": 2202, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2201, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2225, - "src": "3337:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2200, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3337:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3336:14:14" - }, - "scope": 2375, - "src": "3273:282:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8949 - ], - "body": { - "id": 2237, - "nodeType": "Block", - "src": "3672:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2233, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3683:12:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2235, - "indexExpression": { - "argumentTypes": null, - "id": 2234, - "name": "_catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2227, - "src": "3696:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3683:20:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "functionReturnParameters": 2232, - "id": 2236, - "nodeType": "Return", - "src": "3676:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 2238, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2229, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3611:8:14" - }, - "parameters": { - "id": 2228, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2227, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2238, - "src": "3580:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2226, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3580:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3579:16:14" - }, - "returnParameters": { - "id": 2232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2231, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2238, - "src": "3629:40:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category" - }, - "typeName": { - "contractScope": null, - "id": 2230, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "3629:24:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3628:42:14" - }, - "scope": 2375, - "src": "3558:149:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8954 - ], - "body": { - "id": 2247, - "nodeType": "Block", - "src": "3784:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2244, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3795:12:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3795:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2243, - "id": 2246, - "nodeType": "Return", - "src": "3788:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "c140996f", - "id": 2248, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2240, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3750:8:14" - }, - "parameters": { - "id": 2239, - "nodeType": "ParameterList", - "parameters": [], - "src": "3732:2:14" - }, - "returnParameters": { - "id": 2243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2242, - "mutability": "mutable", - "name": "count", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2248, - "src": "3768:13:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2241, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3768:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3767:15:14" - }, - "scope": 2375, - "src": "3710:108:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8959 - ], - "body": { - "id": 2256, - "nodeType": "Block", - "src": "3890:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2254, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "3901:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2253, - "id": 2255, - "nodeType": "Return", - "src": "3894:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "45b637a9", - "id": 2257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2250, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3860:8:14" - }, - "parameters": { - "id": 2249, - "nodeType": "ParameterList", - "parameters": [], - "src": "3842:2:14" - }, - "returnParameters": { - "id": 2253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2257, - "src": "3878:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2251, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "3878:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3877:11:14" - }, - "scope": 2375, - "src": "3822:96:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8964 - ], - "body": { - "id": 2265, - "nodeType": "Block", - "src": "3993:32:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2263, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "4004:17:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2262, - "id": 2264, - "nodeType": "Return", - "src": "3997:24:14" - } - ] - }, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 2266, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2259, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3963:8:14" - }, - "parameters": { - "id": 2258, - "nodeType": "ParameterList", - "parameters": [], - "src": "3945:2:14" - }, - "returnParameters": { - "id": 2262, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2261, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2266, - "src": "3981:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2260, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "3981:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3980:11:14" - }, - "scope": 2375, - "src": "3921:104:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8969 - ], - "body": { - "id": 2274, - "nodeType": "Block", - "src": "4103:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2272, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "4114:20:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "functionReturnParameters": 2271, - "id": 2273, - "nodeType": "Return", - "src": "4107:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "90a0f546", - "id": 2275, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2268, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4073:8:14" - }, - "parameters": { - "id": 2267, - "nodeType": "ParameterList", - "parameters": [], - "src": "4055:2:14" - }, - "returnParameters": { - "id": 2271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2270, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2275, - "src": "4091:9:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 2269, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "4091:9:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4090:11:14" - }, - "scope": 2375, - "src": "4028:110:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8974 - ], - "body": { - "id": 2283, - "nodeType": "Block", - "src": "4205:26:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2281, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "4216:11:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2280, - "id": 2282, - "nodeType": "Return", - "src": "4209:18:14" - } - ] - }, - "documentation": null, - "functionSelector": "5975b8fc", - "id": 2284, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "teebroker", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2277, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4177:8:14" - }, - "parameters": { - "id": 2276, - "nodeType": "ParameterList", - "parameters": [], - "src": "4159:2:14" - }, - "returnParameters": { - "id": 2280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2279, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2284, - "src": "4195:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2278, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4195:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4194:9:14" - }, - "scope": 2375, - "src": "4141:90:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8979 - ], - "body": { - "id": 2292, - "nodeType": "Block", - "src": "4300:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2290, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "4311:13:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2289, - "id": 2291, - "nodeType": "Return", - "src": "4304:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "e63ec07d", - "id": 2293, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "callbackgas", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2286, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4272:8:14" - }, - "parameters": { - "id": 2285, - "nodeType": "ParameterList", - "parameters": [], - "src": "4254:2:14" - }, - "returnParameters": { - "id": 2289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2288, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2293, - "src": "4290:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4290:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4289:9:14" - }, - "scope": 2375, - "src": "4234:94:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8984 - ], - "body": { - "id": 2301, - "nodeType": "Block", - "src": "4413:42:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2299, - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "4424:27:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2298, - "id": 2300, - "nodeType": "Return", - "src": "4417:34:14" - } - ] - }, - "documentation": null, - "functionSelector": "74ed5244", - "id": 2302, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contribution_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2295, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4385:8:14" - }, - "parameters": { - "id": 2294, - "nodeType": "ParameterList", - "parameters": [], - "src": "4367:2:14" - }, - "returnParameters": { - "id": 2298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2297, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2302, - "src": "4403:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4403:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4402:9:14" - }, - "scope": 2375, - "src": "4331:124:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8989 - ], - "body": { - "id": 2310, - "nodeType": "Block", - "src": "4534:36:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2308, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "4545:21:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2307, - "id": 2309, - "nodeType": "Return", - "src": "4538:28:14" - } - ] - }, - "documentation": null, - "functionSelector": "2b8857c1", - "id": 2311, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reveal_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2304, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4506:8:14" - }, - "parameters": { - "id": 2303, - "nodeType": "ParameterList", - "parameters": [], - "src": "4488:2:14" - }, - "returnParameters": { - "id": 2307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2311, - "src": "4524:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2305, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4524:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4523:9:14" - }, - "scope": 2375, - "src": "4458:112:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8994 - ], - "body": { - "id": 2319, - "nodeType": "Block", - "src": "4648:35:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2317, - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 248, - "src": "4659:20:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2316, - "id": 2318, - "nodeType": "Return", - "src": "4652:27:14" - } - ] - }, - "documentation": null, - "functionSelector": "db8aaa26", - "id": 2320, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "final_deadline_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2313, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4620:8:14" - }, - "parameters": { - "id": 2312, - "nodeType": "ParameterList", - "parameters": [], - "src": "4602:2:14" - }, - "returnParameters": { - "id": 2316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2320, - "src": "4638:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2314, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4638:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4637:9:14" - }, - "scope": 2375, - "src": "4573:110:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 8999 - ], - "body": { - "id": 2328, - "nodeType": "Block", - "src": "4763:37:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2326, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "4774:22:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2325, - "id": 2327, - "nodeType": "Return", - "src": "4767:29:14" - } - ] - }, - "documentation": null, - "functionSelector": "6112f6fd", - "id": 2329, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "workerpool_stake_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2322, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4735:8:14" - }, - "parameters": { - "id": 2321, - "nodeType": "ParameterList", - "parameters": [], - "src": "4717:2:14" - }, - "returnParameters": { - "id": 2325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2324, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2329, - "src": "4753:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4753:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4752:9:14" - }, - "scope": 2375, - "src": "4686:114:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9004 - ], - "body": { - "id": 2337, - "nodeType": "Block", - "src": "4869:26:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2335, - "name": "KITTY_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "4880:11:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2334, - "id": 2336, - "nodeType": "Return", - "src": "4873:18:14" - } - ] - }, - "documentation": null, - "functionSelector": "dcb03241", - "id": 2338, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_ratio", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2331, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4841:8:14" - }, - "parameters": { - "id": 2330, - "nodeType": "ParameterList", - "parameters": [], - "src": "4823:2:14" - }, - "returnParameters": { - "id": 2334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2333, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2338, - "src": "4859:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2332, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4859:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4858:9:14" - }, - "scope": 2375, - "src": "4803:92:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9009 - ], - "body": { - "id": 2346, - "nodeType": "Block", - "src": "4962:24:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2344, - "name": "KITTY_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "4973:9:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2343, - "id": 2345, - "nodeType": "Return", - "src": "4966:16:14" - } - ] - }, - "documentation": null, - "functionSelector": "77a99692", - "id": 2347, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_min", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2340, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4934:8:14" - }, - "parameters": { - "id": 2339, - "nodeType": "ParameterList", - "parameters": [], - "src": "4916:2:14" - }, - "returnParameters": { - "id": 2343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2342, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2347, - "src": "4952:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4952:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4951:9:14" - }, - "scope": 2375, - "src": "4898:88:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9014 - ], - "body": { - "id": 2355, - "nodeType": "Block", - "src": "5057:28:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2353, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "5068:13:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2352, - "id": 2354, - "nodeType": "Return", - "src": "5061:20:14" - } - ] - }, - "documentation": null, - "functionSelector": "a47e7f80", - "id": 2356, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "kitty_address", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2349, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5029:8:14" - }, - "parameters": { - "id": 2348, - "nodeType": "ParameterList", - "parameters": [], - "src": "5011:2:14" - }, - "returnParameters": { - "id": 2352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2356, - "src": "5047:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2350, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5047:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5046:9:14" - }, - "scope": 2375, - "src": "4989:96:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9019 - ], - "body": { - "id": 2364, - "nodeType": "Block", - "src": "5162:34:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2362, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5173:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2361, - "id": 2363, - "nodeType": "Return", - "src": "5166:26:14" - } - ] - }, - "documentation": null, - "functionSelector": "25eacba8", - "id": 2365, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "groupmember_purpose", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2358, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5134:8:14" - }, - "parameters": { - "id": 2357, - "nodeType": "ParameterList", - "parameters": [], - "src": "5116:2:14" - }, - "returnParameters": { - "id": 2361, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2360, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2365, - "src": "5152:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2359, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5152:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5151:9:14" - }, - "scope": 2375, - "src": "5088:108:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9024 - ], - "body": { - "id": 2373, - "nodeType": "Block", - "src": "5276:37:14", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2371, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5287:22:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2370, - "id": 2372, - "nodeType": "Return", - "src": "5280:29:14" - } - ] - }, - "documentation": null, - "functionSelector": "9910fd72", - "id": 2374, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "eip712domain_separator", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2367, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5248:8:14" - }, - "parameters": { - "id": 2366, - "nodeType": "ParameterList", - "parameters": [], - "src": "5230:2:14" - }, - "returnParameters": { - "id": 2370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2369, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2374, - "src": "5266:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2368, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5266:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5265:9:14" - }, - "scope": 2375, - "src": "5199:114:14", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 2376, - "src": "1376:3939:14" - } - ], - "src": "1242:4074:14" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.559Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecCategoryManager.json b/build/contracts/IexecCategoryManager.json deleted file mode 100644 index 049a521f1..000000000 --- a/build/contracts/IexecCategoryManager.json +++ /dev/null @@ -1,742 +0,0 @@ -{ - "contractName": "IexecCategoryManager", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":\"IexecCategoryManager\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecCategoryManager\n{\n\tevent CreateCategory(uint256 catid, string name, string description, uint256 workClockTimeRef);\n\n\tfunction createCategory(string calldata,string calldata,uint256) external returns (uint256);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "exportedSymbols": { - "IexecCategoryManager": [ - 9116 - ] - }, - "id": 9117, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9093, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:36" - }, - { - "id": 9094, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:36" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9116, - "linearizedBaseContracts": [ - 9116 - ], - "name": "IexecCategoryManager", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9104, - "name": "CreateCategory", - "nodeType": "EventDefinition", - "parameters": { - "id": 9103, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9096, - "indexed": false, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1357:13:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9095, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1357:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9098, - "indexed": false, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1372:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9097, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1372:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9100, - "indexed": false, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1386:19:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9099, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1386:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9102, - "indexed": false, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1407:24:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9101, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1407:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1356:76:36" - }, - "src": "1336:97:36" - }, - { - "body": null, - "documentation": null, - "functionSelector": "298503d9", - "id": 9115, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9106, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1460:15:36", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9105, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1460:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9108, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1476:15:36", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9107, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1476:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9110, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1492:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1492:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1459:41:36" - }, - "returnParameters": { - "id": 9114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9113, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1519:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1519:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1518:9:36" - }, - "scope": 9116, - "src": "1436:92:36", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9117, - "src": "1302:228:36" - } - ], - "src": "1242:289:36" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "exportedSymbols": { - "IexecCategoryManager": [ - 9116 - ] - }, - "id": 9117, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9093, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:36" - }, - { - "id": 9094, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:36" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9116, - "linearizedBaseContracts": [ - 9116 - ], - "name": "IexecCategoryManager", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9104, - "name": "CreateCategory", - "nodeType": "EventDefinition", - "parameters": { - "id": 9103, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9096, - "indexed": false, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1357:13:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9095, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1357:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9098, - "indexed": false, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1372:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9097, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1372:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9100, - "indexed": false, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1386:19:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9099, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1386:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9102, - "indexed": false, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9104, - "src": "1407:24:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9101, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1407:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1356:76:36" - }, - "src": "1336:97:36" - }, - { - "body": null, - "documentation": null, - "functionSelector": "298503d9", - "id": 9115, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9106, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1460:15:36", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9105, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1460:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9108, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1476:15:36", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9107, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1476:6:36", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9110, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1492:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1492:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1459:41:36" - }, - "returnParameters": { - "id": 9114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9113, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9115, - "src": "1519:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1519:7:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1518:9:36" - }, - "scope": 9116, - "src": "1436:92:36", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9117, - "src": "1302:228:36" - } - ], - "src": "1242:289:36" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.857Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecCategoryManagerDelegate.json b/build/contracts/IexecCategoryManagerDelegate.json deleted file mode 100644 index 932424d12..000000000 --- a/build/contracts/IexecCategoryManagerDelegate.json +++ /dev/null @@ -1,1546 +0,0 @@ -{ - "contractName": "IexecCategoryManagerDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"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\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"createCategory(string,string,uint256)\":{\"notice\":\"Methods\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecCategoryManagerDelegate.sol\":\"IexecCategoryManagerDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecCategoryManagerDelegate.sol\":{\"keccak256\":\"0xa05c08dd0399a21d25291d20a20c7b41ee025385e7b176b4755cafe4028ba7ce\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://6cc885560ad21e769c3baeeba33558945ff1929c25d82fcbeedca85c79200cd3\",\"dweb:/ipfs/QmSttk7QrYFAKMEwvUMbWEfYsWXgVMdnjFEYmEsXHRfSCX\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602061072a833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b039091169060008051602061072a833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b61060c8061011e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063298503d914610051578063715018a61461007a5780638da5cb5b14610084578063f2fde38b14610099575b600080fd5b61006461005f366004610462565b6100ac565b604051610071919061058c565b60405180910390f35b610082610212565b005b61008c610291565b60405161007191906104fd565b6100826100a7366004610434565b6102a0565b60006100b6610356565b6000546001600160a01b039081169116146100ec5760405162461bcd60e51b81526004016100e390610557565b60405180910390fd5b6040805160806020601f8901819004028201810190925260608101878152601a928291908a908a9081908501838280828437600092019190915250505090825250604080516020601f89018190048102820181019092528781529181019190889088908190840183828082843760009201829052509385525050506020918201869052835460018101855593815281902082518051939460030290910192610197928492019061035a565b5060208281015180516101b0926001850192019061035a565b50604091820151600290910155601a549051600019909101907f62bf08360c9d561749c54eaf4f8bf8cb6c8b6f4f40607bcec39a8172e714d25c906102009083908a908a908a908a908a90610595565b60405180910390a19695505050505050565b61021a610356565b6000546001600160a01b039081169116146102475760405162461bcd60e51b81526004016100e390610557565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6102a8610356565b6000546001600160a01b039081169116146102d55760405162461bcd60e51b81526004016100e390610557565b6001600160a01b0381166102fb5760405162461bcd60e51b81526004016100e390610511565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061039b57805160ff19168380011785556103c8565b828001600101855582156103c8579182015b828111156103c85782518255916020019190600101906103ad565b506103d49291506103d8565b5090565b5b808211156103d457600081556001016103d9565b60008083601f8401126103fe578182fd5b50813567ffffffffffffffff811115610415578182fd5b60208301915083602082850101111561042d57600080fd5b9250929050565b600060208284031215610445578081fd5b81356001600160a01b038116811461045b578182fd5b9392505050565b600080600080600060608688031215610479578081fd5b853567ffffffffffffffff80821115610490578283fd5b61049c89838a016103ed565b909750955060208801359150808211156104b4578283fd5b506104c1888289016103ed565b96999598509660400135949350505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b90815260200190565b6000878252608060208301526105af6080830187896104d3565b82810360408401526105c28186886104d3565b91505082606083015297965050505050505056fea2646970667358221220850b47feb1b196864b7f27ea4250f6d7a7bd7e29815990170c49d0f4297c6c2464736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063298503d914610051578063715018a61461007a5780638da5cb5b14610084578063f2fde38b14610099575b600080fd5b61006461005f366004610462565b6100ac565b604051610071919061058c565b60405180910390f35b610082610212565b005b61008c610291565b60405161007191906104fd565b6100826100a7366004610434565b6102a0565b60006100b6610356565b6000546001600160a01b039081169116146100ec5760405162461bcd60e51b81526004016100e390610557565b60405180910390fd5b6040805160806020601f8901819004028201810190925260608101878152601a928291908a908a9081908501838280828437600092019190915250505090825250604080516020601f89018190048102820181019092528781529181019190889088908190840183828082843760009201829052509385525050506020918201869052835460018101855593815281902082518051939460030290910192610197928492019061035a565b5060208281015180516101b0926001850192019061035a565b50604091820151600290910155601a549051600019909101907f62bf08360c9d561749c54eaf4f8bf8cb6c8b6f4f40607bcec39a8172e714d25c906102009083908a908a908a908a908a90610595565b60405180910390a19695505050505050565b61021a610356565b6000546001600160a01b039081169116146102475760405162461bcd60e51b81526004016100e390610557565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6102a8610356565b6000546001600160a01b039081169116146102d55760405162461bcd60e51b81526004016100e390610557565b6001600160a01b0381166102fb5760405162461bcd60e51b81526004016100e390610511565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061039b57805160ff19168380011785556103c8565b828001600101855582156103c8579182015b828111156103c85782518255916020019190600101906103ad565b506103d49291506103d8565b5090565b5b808211156103d457600081556001016103d9565b60008083601f8401126103fe578182fd5b50813567ffffffffffffffff811115610415578182fd5b60208301915083602082850101111561042d57600080fd5b9250929050565b600060208284031215610445578081fd5b81356001600160a01b038116811461045b578182fd5b9392505050565b600080600080600060608688031215610479578081fd5b853567ffffffffffffffff80821115610490578283fd5b61049c89838a016103ed565b909750955060208801359150808211156104b4578283fd5b506104c1888289016103ed565b96999598509660400135949350505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b90815260200190565b6000878252608060208301526105af6080830187896104d3565b82810360408401526105c28186886104d3565b91505082606083015297965050505050505056fea2646970667358221220850b47feb1b196864b7f27ea4250f6d7a7bd7e29815990170c49d0f4297c6c2464736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1382:515:15:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1382:515:15;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1382:515:15;;;;;;", - "deployedSourceMap": "1382:515:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1483:412;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1689:145:83;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;1983:240::-;;;;;;:::i;:::-;;:::i;1483:412:15:-;1640:7;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1672:74:15::1;::::0;;;::::1;;::::0;::::1;::::0;;::::1;;::::0;;;;;;;::::1;::::0;::::1;::::0;;;1654:12:::1;::::0;1672:74;;;1701:4;;;;;;1672:74;;1701:4;;;;1672:74;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;1672:74:15;;;-1:-1:-1;1672:74:15::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;1710:11;;;;;;1672:74;::::1;1710:11:::0;;;;1672:74;::::1;;::::0;::::1;::::0;;;-1:-1:-1;1672:74:15;;;-1:-1:-1;;;1672:74:15::1;::::0;;::::1;::::0;;;1654:93;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;::::1;;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;1654:93:15::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;1654:93:15::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;1768:12:::1;:19:::0;1801:74;;-1:-1:-1;;1768:23:15;;;;1801:74:::1;::::0;::::1;::::0;1768:23;;1830:4;;;;1839:11;;;;1855:16;;1801:74:::1;:::i;:::-;;;;;;;;1886:5:::0;1483:412;-1:-1:-1;;;;;;1483:412:15:o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;157:337;;;272:3;265:4;257:6;253:17;249:27;239:2;;-1:-1;;280:12;239:2;-1:-1;310:20;;350:18;339:30;;336:2;;;-1:-1;;372:12;336:2;416:4;408:6;404:17;392:29;;467:3;416:4;447:17;408:6;433:32;;430:41;427:2;;;484:1;;474:12;427:2;232:262;;;;;:::o;639:241::-;;743:2;731:9;722:7;718:23;714:32;711:2;;;-1:-1;;749:12;711:2;72:20;;-1:-1;;;;;5350:54;;5813:35;;5803:2;;-1:-1;;5852:12;5803:2;801:63;705:175;-1:-1;;;705:175::o;887:743::-;;;;;;1065:2;1053:9;1044:7;1040:23;1036:32;1033:2;;;-1:-1;;1071:12;1033:2;1129:17;1116:31;1167:18;;1159:6;1156:30;1153:2;;;-1:-1;;1189:12;1153:2;1227:65;1284:7;1275:6;1264:9;1260:22;1227:65;:::i;:::-;1209:83;;-1:-1;1209:83;-1:-1;1357:2;1342:18;;1329:32;;-1:-1;1370:30;;;1367:2;;;-1:-1;;1403:12;1367:2;;1441:65;1498:7;1489:6;1478:9;1474:22;1441:65;:::i;:::-;1027:603;;;;-1:-1;1423:83;1543:2;1582:22;569:20;;1027:603;-1:-1;;;;1027:603::o;1782:300::-;;5134:6;5129:3;5122:19;5577:6;5572:3;5171:4;5166:3;5162:14;5554:30;-1:-1;5171:4;5624:6;5166:3;5615:16;;5608:27;5171:4;5733:7;;5737:2;2068:6;5717:14;5713:28;5166:3;2037:39;;2030:46;;1884:198;;;;;:::o;2935:222::-;-1:-1;;;;;5350:54;;;;1708:37;;3062:2;3047:18;;3033:124::o;3164:416::-;3364:2;3378:47;;;2315:2;3349:18;;;5122:19;2351:34;5162:14;;;2331:55;-1:-1;;;2406:12;;;2399:30;2448:12;;;3335:245::o;3587:416::-;3787:2;3801:47;;;3772:18;;;5122:19;2735:34;5162:14;;;2715:55;2789:12;;;3758:245::o;4010:222::-;2886:37;;;4137:2;4122:18;;4108:124::o;4239:772::-;;2916:5;2893:3;2886:37;4510:3;4629:2;4618:9;4614:18;4607:48;4669:88;4510:3;4499:9;4495:19;4743:6;4735;4669:88;:::i;:::-;4805:9;4799:4;4795:20;4790:2;4779:9;4775:18;4768:48;4830:88;4913:4;4904:6;4896;4830:88;:::i;:::-;4822:96;;;2916:5;4997:2;4986:9;4982:18;2886:37;4481:530;;;;;;;;;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecCategoryManager.sol\";\n\n\ncontract IexecCategoryManagerDelegate is IexecCategoryManager, DelegateBase\n{\n\t/**\n\t * Methods\n\t */\n\tfunction createCategory(\n\t\tstring calldata name,\n\t\tstring calldata description,\n\t\tuint256 workClockTimeRef)\n\texternal override onlyOwner returns (uint256)\n\t{\n\t\tm_categories.push(IexecLibCore_v5.Category(\n\t\t\tname,\n\t\t\tdescription,\n\t\t\tworkClockTimeRef\n\t\t));\n\n\t\tuint256 catid = m_categories.length - 1;\n\n\t\temit CreateCategory(\n\t\t\tcatid,\n\t\t\tname,\n\t\t\tdescription,\n\t\t\tworkClockTimeRef\n\t\t);\n\t\treturn catid;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecCategoryManagerDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecCategoryManagerDelegate.sol", - "exportedSymbols": { - "IexecCategoryManagerDelegate": [ - 2428 - ] - }, - "id": 2429, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2377, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:15" - }, - { - "id": 2378, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:15" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 2379, - "nodeType": "ImportDirective", - "scope": 2429, - "sourceUnit": 1659, - "src": "1301:29:15", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "../interfaces/IexecCategoryManager.sol", - "id": 2380, - "nodeType": "ImportDirective", - "scope": 2429, - "sourceUnit": 9178, - "src": "1331:48:15", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2381, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "1423:20:15", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 2382, - "nodeType": "InheritanceSpecifier", - "src": "1423:20:15" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2383, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1445:12:15", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2384, - "nodeType": "InheritanceSpecifier", - "src": "1445:12:15" - } - ], - "contractDependencies": [ - 309, - 1658, - 9177, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2428, - "linearizedBaseContracts": [ - 2428, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9177 - ], - "name": "IexecCategoryManagerDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9176 - ], - "body": { - "id": 2426, - "nodeType": "Block", - "src": "1650:245:15", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2404, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2387, - "src": "1701:4:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2405, - "name": "description", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2389, - "src": "1710:11:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2406, - "name": "workClockTimeRef", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2391, - "src": "1726:16:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2402, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "1672:15:15", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "Category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1094, - "src": "1672:24:15", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Category_$1094_storage_ptr_$", - "typeString": "type(struct IexecLibCore_v5.Category storage pointer)" - } - }, - "id": 2407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1672:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 2399, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "1654:12:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1654:17:15", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_Category_$1094_storage_$returns$__$", - "typeString": "function (struct IexecLibCore_v5.Category storage ref)" - } - }, - "id": 2408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1654:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2409, - "nodeType": "ExpressionStatement", - "src": "1654:93:15" - }, - { - "assignments": [ - 2411 - ], - "declarations": [ - { - "constant": false, - "id": 2411, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2426, - "src": "1752:13:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1752:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2416, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2412, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "1768:12:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1768:19:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 2414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1790:1:15", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1768:23:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1752:39:15" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2418, - "name": "catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "1820:5:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2419, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2387, - "src": "1830:4:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2420, - "name": "description", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2389, - "src": "1839:11:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2421, - "name": "workClockTimeRef", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2391, - "src": "1855:16:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2417, - "name": "CreateCategory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9165, - "src": "1801:14:15", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256,string memory,string memory,uint256)" - } - }, - "id": 2422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1801:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2423, - "nodeType": "EmitStatement", - "src": "1796:79:15" - }, - { - "expression": { - "argumentTypes": null, - "id": 2424, - "name": "catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "1886:5:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2398, - "id": 2425, - "nodeType": "Return", - "src": "1879:12:15" - } - ] - }, - "documentation": { - "id": 2385, - "nodeType": "StructuredDocumentation", - "src": "1461:20:15", - "text": " Methods" - }, - "functionSelector": "298503d9", - "id": 2427, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 2395, - "modifierName": { - "argumentTypes": null, - "id": 2394, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1621:9:15", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1621:9:15" - } - ], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2393, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1612:8:15" - }, - "parameters": { - "id": 2392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2387, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1510:21:15", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1510:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2389, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1535:28:15", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1535:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2391, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1567:33:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1567:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1506:95:15" - }, - "returnParameters": { - "id": 2398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2397, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1640:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1640:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1639:9:15" - }, - "scope": 2428, - "src": "1483:412:15", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 2429, - "src": "1382:515:15" - } - ], - "src": "1242:656:15" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecCategoryManagerDelegate.sol", - "exportedSymbols": { - "IexecCategoryManagerDelegate": [ - 2428 - ] - }, - "id": 2429, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2377, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:15" - }, - { - "id": 2378, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:15" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 2379, - "nodeType": "ImportDirective", - "scope": 2429, - "sourceUnit": 1659, - "src": "1301:29:15", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "../interfaces/IexecCategoryManager.sol", - "id": 2380, - "nodeType": "ImportDirective", - "scope": 2429, - "sourceUnit": 9178, - "src": "1331:48:15", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2381, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "1423:20:15", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 2382, - "nodeType": "InheritanceSpecifier", - "src": "1423:20:15" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2383, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1445:12:15", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2384, - "nodeType": "InheritanceSpecifier", - "src": "1445:12:15" - } - ], - "contractDependencies": [ - 309, - 1658, - 9177, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2428, - "linearizedBaseContracts": [ - 2428, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9177 - ], - "name": "IexecCategoryManagerDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9176 - ], - "body": { - "id": 2426, - "nodeType": "Block", - "src": "1650:245:15", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2404, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2387, - "src": "1701:4:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2405, - "name": "description", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2389, - "src": "1710:11:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2406, - "name": "workClockTimeRef", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2391, - "src": "1726:16:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2402, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "1672:15:15", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 2403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "Category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1094, - "src": "1672:24:15", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Category_$1094_storage_ptr_$", - "typeString": "type(struct IexecLibCore_v5.Category storage pointer)" - } - }, - "id": 2407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1672:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Category_$1094_memory_ptr", - "typeString": "struct IexecLibCore_v5.Category memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 2399, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "1654:12:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1654:17:15", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_Category_$1094_storage_$returns$__$", - "typeString": "function (struct IexecLibCore_v5.Category storage ref)" - } - }, - "id": 2408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1654:93:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2409, - "nodeType": "ExpressionStatement", - "src": "1654:93:15" - }, - { - "assignments": [ - 2411 - ], - "declarations": [ - { - "constant": false, - "id": 2411, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2426, - "src": "1752:13:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1752:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2416, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2412, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "1768:12:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 2413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1768:19:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 2414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1790:1:15", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1768:23:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1752:39:15" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2418, - "name": "catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "1820:5:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2419, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2387, - "src": "1830:4:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2420, - "name": "description", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2389, - "src": "1839:11:15", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "argumentTypes": null, - "id": 2421, - "name": "workClockTimeRef", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2391, - "src": "1855:16:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2417, - "name": "CreateCategory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9165, - "src": "1801:14:15", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256,string memory,string memory,uint256)" - } - }, - "id": 2422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1801:74:15", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2423, - "nodeType": "EmitStatement", - "src": "1796:79:15" - }, - { - "expression": { - "argumentTypes": null, - "id": 2424, - "name": "catid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "1886:5:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2398, - "id": 2425, - "nodeType": "Return", - "src": "1879:12:15" - } - ] - }, - "documentation": { - "id": 2385, - "nodeType": "StructuredDocumentation", - "src": "1461:20:15", - "text": " Methods" - }, - "functionSelector": "298503d9", - "id": 2427, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 2395, - "modifierName": { - "argumentTypes": null, - "id": 2394, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1621:9:15", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1621:9:15" - } - ], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 2393, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1612:8:15" - }, - "parameters": { - "id": 2392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2387, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1510:21:15", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2386, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1510:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2389, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1535:28:15", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1535:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2391, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1567:33:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1567:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1506:95:15" - }, - "returnParameters": { - "id": 2398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2397, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2427, - "src": "1640:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1640:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1639:9:15" - }, - "scope": 2428, - "src": "1483:412:15", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 2429, - "src": "1382:515:15" - } - ], - "src": "1242:656:15" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.562Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "createCategory(string,string,uint256)": { - "notice": "Methods" - } - }, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecClerkInterface.json b/build/contracts/IexecClerkInterface.json deleted file mode 100644 index ba709beab..000000000 --- a/build/contracts/IexecClerkInterface.json +++ /dev/null @@ -1,11872 +0,0 @@ -{ - "contractName": "IexecClerkInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "DepositFor", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "user", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Withdraw", - "type": "event" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Account", - "name": "account", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "_targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "WORKERPOOL_STAKE_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "KITTY_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "KITTY_MIN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "GROUPMEMBER_PURPOSE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EIP712DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "iexechub", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewRequestDeals", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "requestdeals", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Deal", - "name": "deal", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "consumed", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "bool", - "name": "presigned", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "signAppOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "signDatasetOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "signWorkerpoolOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "signRequestOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "cancelAppOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "cancelDatasetOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "cancelWorkerpoolOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "cancelRequestOrder", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"DepositFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"EIP712DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GROUPMEMBER_PURPOSE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"KITTY_MIN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"KITTY_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WORKERPOOL_STAKE_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"cancelAppOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"cancelDatasetOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"cancelRequestOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"cancelWorkerpoolOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_targets\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"iexechub\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"signAppOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"signDatasetOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"signRequestOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"signWorkerpoolOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Account\",\"name\":\"account\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"viewAccountABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConfigABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"consumed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Deal\",\"name\":\"deal\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"presigned\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewRequestDeals\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"requestdeals\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecClerk.sol\":\"IexecClerkInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\npragma experimental ABIEncoderV2;\n\nimport \"./libs/IexecODBLibCore.sol\";\nimport \"./libs/IexecODBLibOrders.sol\";\n\n\ninterface IexecClerkInterface\n{\n\t/***************************************************************************\n\t * ESCROW *\n\t ***************************************************************************/\n\tevent Deposit (address owner, uint256 amount);\n\tevent DepositFor(address owner, uint256 amount, address target);\n\tevent Withdraw (address owner, uint256 amount);\n\tevent Reward (address user, uint256 amount, bytes32 ref);\n\tevent Seize (address user, uint256 amount, bytes32 ref);\n\tevent Lock (address user, uint256 amount);\n\tevent Unlock (address user, uint256 amount);\n\n\tfunction token() external view returns (address);\n\tfunction viewAccount (address _user) external view returns (IexecODBLibCore.Account memory account);\n\tfunction deposit (uint256 _amount) external returns (bool);\n\tfunction depositFor (uint256 _amount, address _target) external returns (bool);\n\tfunction depositForArray(uint256[] calldata _amounts, address[] calldata _targets) external returns (bool);\n\tfunction withdraw (uint256 _amount) external returns (bool);\n\n\t/***************************************************************************\n\t * RELAY *\n\t ***************************************************************************/\n\tevent BroadcastAppOrder (IexecODBLibOrders.AppOrder apporder );\n\tevent BroadcastDatasetOrder (IexecODBLibOrders.DatasetOrder datasetorder );\n\tevent BroadcastWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder workerpoolorder);\n\tevent BroadcastRequestOrder (IexecODBLibOrders.RequestOrder requestorder );\n\n\tfunction broadcastAppOrder (IexecODBLibOrders.AppOrder calldata _apporder ) external;\n\tfunction broadcastDatasetOrder (IexecODBLibOrders.DatasetOrder calldata _datasetorder ) external;\n\tfunction broadcastWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder calldata _workerpoolorder) external;\n\tfunction broadcastRequestOrder (IexecODBLibOrders.RequestOrder calldata _requestorder ) external;\n\n\t/***************************************************************************\n\t * IEXECHUB *\n\t ***************************************************************************/\n\tevent OrdersMatched (bytes32 dealid, bytes32 appHash, bytes32 datasetHash, bytes32 workerpoolHash, bytes32 requestHash, uint256 volume);\n\tevent ClosedAppOrder (bytes32 appHash);\n\tevent ClosedDatasetOrder (bytes32 datasetHash);\n\tevent ClosedWorkerpoolOrder(bytes32 workerpoolHash);\n\tevent ClosedRequestOrder (bytes32 requestHash);\n\tevent SchedulerNotice (address indexed workerpool, bytes32 dealid);\n\n\tfunction WORKERPOOL_STAKE_RATIO() external view returns (uint256);\n\tfunction KITTY_RATIO () external view returns (uint256);\n\tfunction KITTY_MIN () external view returns (uint256);\n\tfunction GROUPMEMBER_PURPOSE () external view returns (uint256);\n\tfunction EIP712DOMAIN_SEPARATOR() external view returns (bytes32);\n\tfunction iexechub () external view returns (address);\n\n\tfunction viewRequestDeals(bytes32 _id) external view returns (bytes32[] memory requestdeals);\n\tfunction viewDeal (bytes32 _id) external view returns (IexecODBLibCore.Deal memory deal);\n\tfunction viewConsumed (bytes32 _id) external view returns (uint256 consumed);\n\tfunction viewPresigned (bytes32 _id) external view returns (bool presigned);\n\n function verifySignature(address _identity, bytes32 _hash, bytes calldata _signature) external view returns (bool);\n\n\tfunction signAppOrder (IexecODBLibOrders.AppOrder calldata _apporder ) external returns (bool);\n\tfunction signDatasetOrder (IexecODBLibOrders.DatasetOrder calldata _datasetorder ) external returns (bool);\n\tfunction signWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder calldata _workerpoolorder) external returns (bool);\n\tfunction signRequestOrder (IexecODBLibOrders.RequestOrder calldata _requestorder ) external returns (bool);\n\n\tfunction cancelAppOrder (IexecODBLibOrders.AppOrder calldata _apporder ) external returns (bool);\n\tfunction cancelDatasetOrder (IexecODBLibOrders.DatasetOrder calldata _datasetorder ) external returns (bool);\n\tfunction cancelWorkerpoolOrder(IexecODBLibOrders.WorkerpoolOrder calldata _workerpoolorder) external returns (bool);\n\tfunction cancelRequestOrder (IexecODBLibOrders.RequestOrder calldata _requestorder ) external returns (bool);\n\n\tfunction matchOrders(\n\t\tIexecODBLibOrders.AppOrder calldata _apporder,\n\t\tIexecODBLibOrders.DatasetOrder calldata _datasetorder,\n\t\tIexecODBLibOrders.WorkerpoolOrder calldata _workerpoolorder,\n\t\tIexecODBLibOrders.RequestOrder calldata _requestorder)\n\texternal returns (bytes32);\n\n\tfunction viewDealABILegacy_pt1(bytes32 _id)\n\texternal view returns\n\t( address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t, address\n\t, address\n\t, uint256\n\t);\n\n\tfunction viewDealABILegacy_pt2(bytes32 _id)\n\texternal view returns\n\t( uint256\n\t, bytes32\n\t, address\n\t, address\n\t, address\n\t, string memory\n\t);\n\n\tfunction viewConfigABILegacy(bytes32 _id)\n\texternal view returns\n\t( uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t);\n\n\tfunction viewAccountABILegacy(address _user)\n\texternal view returns (uint256, uint256);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecClerk.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecClerk.sol", - "exportedSymbols": { - "IexecClerkInterface": [ - 11969 - ] - }, - "id": 11970, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11594, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:62" - }, - { - "id": 11595, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:62" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "file": "./libs/IexecODBLibCore.sol", - "id": 11596, - "nodeType": "ImportDirective", - "scope": 11970, - "sourceUnit": 12604, - "src": "66:36:62", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibOrders.sol", - "file": "./libs/IexecODBLibOrders.sol", - "id": 11597, - "nodeType": "ImportDirective", - "scope": 11970, - "sourceUnit": 12845, - "src": "103:38:62", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 11969, - "linearizedBaseContracts": [ - 11969 - ], - "name": "IexecClerkInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11603, - "name": "Deposit", - "nodeType": "EventDefinition", - "parameters": { - "id": 11602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11599, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11603, - "src": "429:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "429:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11601, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11603, - "src": "444:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "444:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "428:31:62" - }, - "src": "412:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11611, - "name": "DepositFor", - "nodeType": "EventDefinition", - "parameters": { - "id": 11610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11605, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "479:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "479:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11607, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "494:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11606, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "494:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11609, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "510:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11608, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "510:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "478:47:62" - }, - "src": "462:64:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11617, - "name": "Withdraw", - "nodeType": "EventDefinition", - "parameters": { - "id": 11616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11613, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11617, - "src": "545:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11612, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "545:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11615, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11617, - "src": "560:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11614, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "560:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "544:31:62" - }, - "src": "528:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11625, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 11624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11619, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "595:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11618, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "595:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11621, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "610:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11620, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "610:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11623, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "626:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11622, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "626:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "594:44:62" - }, - "src": "578:61:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11633, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 11632, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11627, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "658:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "658:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11629, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "673:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11628, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "673:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11631, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "689:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11630, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "689:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "657:44:62" - }, - "src": "641:61:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11639, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 11638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11635, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11639, - "src": "721:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11634, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "721:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11637, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11639, - "src": "736:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11636, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "736:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "720:31:62" - }, - "src": "704:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11645, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 11644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11641, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11645, - "src": "771:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "771:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11643, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11645, - "src": "786:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11642, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "786:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "770:31:62" - }, - "src": "754:48:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 11650, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11646, - "nodeType": "ParameterList", - "parameters": [], - "src": "819:2:62" - }, - "returnParameters": { - "id": 11649, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11648, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11650, - "src": "911:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11647, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "911:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "910:9:62" - }, - "scope": 11969, - "src": "805:115:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 11657, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11653, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11652, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11657, - "src": "947:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11651, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "947:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "946:15:62" - }, - "returnParameters": { - "id": 11656, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11655, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11657, - "src": "1028:38:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$12509_memory_ptr", - "typeString": "struct IexecODBLibCore.Account" - }, - "typeName": { - "contractScope": null, - "id": 11654, - "name": "IexecODBLibCore.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12509, - "src": "1028:23:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$12509_storage_ptr", - "typeString": "struct IexecODBLibCore.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1027:40:62" - }, - "scope": 11969, - "src": "922:146:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 11664, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11659, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11664, - "src": "1095:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1095:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1094:17:62" - }, - "returnParameters": { - "id": 11663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11662, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11664, - "src": "1171:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11661, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1171:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1170:6:62" - }, - "scope": 11969, - "src": "1070:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "36efd16f", - "id": 11673, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11666, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1204:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1204:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11668, - "mutability": "mutable", - "name": "_target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1221:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11667, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1221:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1203:34:62" - }, - "returnParameters": { - "id": 11672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11671, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1280:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11670, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1280:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1279:6:62" - }, - "scope": 11969, - "src": "1179:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 11684, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11676, - "mutability": "mutable", - "name": "_amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1313:27:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11674, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1313:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11675, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1313:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11679, - "mutability": "mutable", - "name": "_targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1342:27:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11677, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1342:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11678, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1342:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1312:58:62" - }, - "returnParameters": { - "id": 11683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11682, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1389:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11681, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1389:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1388:6:62" - }, - "scope": 11969, - "src": "1288:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 11691, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11687, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11686, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11691, - "src": "1422:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11685, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1422:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1421:17:62" - }, - "returnParameters": { - "id": 11690, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11689, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11691, - "src": "1498:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11688, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1498:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1497:6:62" - }, - "scope": 11969, - "src": "1397:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 11695, - "name": "BroadcastAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11693, - "indexed": false, - "mutability": "mutable", - "name": "apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11695, - "src": "1773:42:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_memory_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11692, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "1773:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1772:51:62" - }, - "src": "1742:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11699, - "name": "BroadcastDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11697, - "indexed": false, - "mutability": "mutable", - "name": "datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11699, - "src": "1857:46:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_memory_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11696, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "1857:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1856:51:62" - }, - "src": "1826:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11703, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11701, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11703, - "src": "1941:49:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_memory_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11700, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "1941:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1940:51:62" - }, - "src": "1910:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11707, - "name": "BroadcastRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11705, - "indexed": false, - "mutability": "mutable", - "name": "requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11707, - "src": "2025:46:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11704, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "2025:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2024:51:62" - }, - "src": "1994:82:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 11712, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11710, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11709, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11712, - "src": "2113:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11708, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "2113:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2112:61:62" - }, - "returnParameters": { - "id": 11711, - "nodeType": "ParameterList", - "parameters": [], - "src": "2182:0:62" - }, - "scope": 11969, - "src": "2079:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4c4692de", - "id": 11717, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11714, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11717, - "src": "2219:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11713, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "2219:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2218:61:62" - }, - "returnParameters": { - "id": 11716, - "nodeType": "ParameterList", - "parameters": [], - "src": "2288:0:62" - }, - "scope": 11969, - "src": "2185:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "947f5178", - "id": 11722, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11719, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11722, - "src": "2325:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11718, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "2325:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2324:61:62" - }, - "returnParameters": { - "id": 11721, - "nodeType": "ParameterList", - "parameters": [], - "src": "2394:0:62" - }, - "scope": 11969, - "src": "2291:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4693d172", - "id": 11727, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11725, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11724, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11727, - "src": "2431:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11723, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "2431:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2430:61:62" - }, - "returnParameters": { - "id": 11726, - "nodeType": "ParameterList", - "parameters": [], - "src": "2500:0:62" - }, - "scope": 11969, - "src": "2397:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 11741, - "name": "OrdersMatched", - "nodeType": "EventDefinition", - "parameters": { - "id": 11740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11729, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2767:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11728, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2767:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11731, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2783:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11730, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2783:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11733, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2800:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2800:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11735, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2821:22:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2821:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11737, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2845:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11736, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2845:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11739, - "indexed": false, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2866:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2866:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2766:115:62" - }, - "src": "2739:143:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11745, - "name": "ClosedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11743, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11745, - "src": "2912:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11742, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2912:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2911:17:62" - }, - "src": "2884:45:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11749, - "name": "ClosedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11747, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11749, - "src": "2959:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2959:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2958:21:62" - }, - "src": "2931:49:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11753, - "name": "ClosedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11752, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11751, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11753, - "src": "3010:22:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11750, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3010:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3009:24:62" - }, - "src": "2982:52:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11757, - "name": "ClosedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11755, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11757, - "src": "3064:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11754, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3064:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3063:21:62" - }, - "src": "3036:49:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11763, - "name": "SchedulerNotice", - "nodeType": "EventDefinition", - "parameters": { - "id": 11762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11759, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11763, - "src": "3115:26:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3115:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11761, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11763, - "src": "3143:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11760, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3143:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3114:44:62" - }, - "src": "3087:72:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4ec3b9e3", - "id": 11768, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11764, - "nodeType": "ParameterList", - "parameters": [], - "src": "3193:2:62" - }, - "returnParameters": { - "id": 11767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11766, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11768, - "src": "3219:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3219:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3218:9:62" - }, - "scope": 11969, - "src": "3162:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "51152de1", - "id": 11773, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "KITTY_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11769, - "nodeType": "ParameterList", - "parameters": [], - "src": "3261:2:62" - }, - "returnParameters": { - "id": 11772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11771, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11773, - "src": "3287:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11770, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3287:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3286:9:62" - }, - "scope": 11969, - "src": "3230:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e2e7a8c1", - "id": 11778, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "KITTY_MIN", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11774, - "nodeType": "ParameterList", - "parameters": [], - "src": "3329:2:62" - }, - "returnParameters": { - "id": 11777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11776, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11778, - "src": "3355:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11775, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3355:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3354:9:62" - }, - "scope": 11969, - "src": "3298:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "68a9ef1c", - "id": 11783, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11779, - "nodeType": "ParameterList", - "parameters": [], - "src": "3397:2:62" - }, - "returnParameters": { - "id": 11782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11781, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11783, - "src": "3423:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3423:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3422:9:62" - }, - "scope": 11969, - "src": "3366:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "047411e7", - "id": 11788, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11784, - "nodeType": "ParameterList", - "parameters": [], - "src": "3465:2:62" - }, - "returnParameters": { - "id": 11787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11786, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11788, - "src": "3491:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11785, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3491:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3490:9:62" - }, - "scope": 11969, - "src": "3434:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8d52e413", - "id": 11793, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "iexechub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11789, - "nodeType": "ParameterList", - "parameters": [], - "src": "3533:2:62" - }, - "returnParameters": { - "id": 11792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11791, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11793, - "src": "3559:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11790, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3559:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3558:9:62" - }, - "scope": 11969, - "src": "3502:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6dc2df05", - "id": 11801, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewRequestDeals", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11795, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11801, - "src": "3597:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11794, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3597:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3596:13:62" - }, - "returnParameters": { - "id": 11800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11799, - "mutability": "mutable", - "name": "requestdeals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11801, - "src": "3633:29:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 11797, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3633:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 11798, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3633:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3632:31:62" - }, - "scope": 11969, - "src": "3571:93:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b74861b2", - "id": 11808, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11803, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11808, - "src": "3692:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3692:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3691:13:62" - }, - "returnParameters": { - "id": 11807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11806, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11808, - "src": "3728:32:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$12554_memory_ptr", - "typeString": "struct IexecODBLibCore.Deal" - }, - "typeName": { - "contractScope": null, - "id": 11805, - "name": "IexecODBLibCore.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12554, - "src": "3728:20:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$12554_storage_ptr", - "typeString": "struct IexecODBLibCore.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3727:34:62" - }, - "scope": 11969, - "src": "3666:96:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 11815, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11810, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11815, - "src": "3790:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3790:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3789:13:62" - }, - "returnParameters": { - "id": 11814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11813, - "mutability": "mutable", - "name": "consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11815, - "src": "3826:16:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11812, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3826:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3825:18:62" - }, - "scope": 11969, - "src": "3764:80:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d286eb16", - "id": 11822, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11817, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11822, - "src": "3872:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11816, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3872:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3871:13:62" - }, - "returnParameters": { - "id": 11821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11820, - "mutability": "mutable", - "name": "presigned", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11822, - "src": "3908:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11819, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3908:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3907:16:62" - }, - "scope": 11969, - "src": "3846:78:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01751998", - "id": 11833, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11824, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3953:17:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3953:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11826, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3972:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11825, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3972:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11828, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3987:25:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11827, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3987:5:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3952:61:62" - }, - "returnParameters": { - "id": 11832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11831, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "4037:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11830, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4037:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4036:6:62" - }, - "scope": 11969, - "src": "3928:115:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6cb9012e", - "id": 11840, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11835, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11840, - "src": "4075:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11834, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4075:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4074:61:62" - }, - "returnParameters": { - "id": 11839, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11838, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11840, - "src": "4154:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4154:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4153:6:62" - }, - "scope": 11969, - "src": "4046:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a3b37a79", - "id": 11847, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11842, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11847, - "src": "4191:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11841, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4191:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4190:61:62" - }, - "returnParameters": { - "id": 11846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11845, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11847, - "src": "4270:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11844, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4270:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4269:6:62" - }, - "scope": 11969, - "src": "4162:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6a6e0bed", - "id": 11854, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11849, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11854, - "src": "4307:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11848, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "4307:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4306:61:62" - }, - "returnParameters": { - "id": 11853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11852, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11854, - "src": "4386:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11851, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4386:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4385:6:62" - }, - "scope": 11969, - "src": "4278:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "732e498d", - "id": 11861, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11856, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11861, - "src": "4423:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11855, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "4423:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4422:61:62" - }, - "returnParameters": { - "id": 11860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11861, - "src": "4502:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4502:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4501:6:62" - }, - "scope": 11969, - "src": "4394:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84724ddf", - "id": 11868, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11863, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11868, - "src": "4542:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11862, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4542:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4541:61:62" - }, - "returnParameters": { - "id": 11867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11866, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11868, - "src": "4621:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11865, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4621:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4620:6:62" - }, - "scope": 11969, - "src": "4511:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "555859c7", - "id": 11875, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11870, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11875, - "src": "4660:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11869, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4660:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4659:61:62" - }, - "returnParameters": { - "id": 11874, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11873, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11875, - "src": "4739:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11872, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4739:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4738:6:62" - }, - "scope": 11969, - "src": "4629:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ae510d19", - "id": 11882, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11877, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11882, - "src": "4778:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11876, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "4778:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4777:61:62" - }, - "returnParameters": { - "id": 11881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11882, - "src": "4857:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11879, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4857:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4856:6:62" - }, - "scope": 11969, - "src": "4747:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "38a754b4", - "id": 11889, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11884, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11889, - "src": "4896:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11883, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "4896:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4895:61:62" - }, - "returnParameters": { - "id": 11888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11887, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11889, - "src": "4975:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11886, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4975:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4974:6:62" - }, - "scope": 11969, - "src": "4865:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "156194d4", - "id": 11902, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11891, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5008:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11890, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "5008:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11893, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5064:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11892, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "5064:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11895, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5124:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11894, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "5124:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11897, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5187:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11896, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "5187:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5004:240:62" - }, - "returnParameters": { - "id": 11901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11900, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5264:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11899, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5264:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5263:9:62" - }, - "scope": 11969, - "src": "4984:289:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 11925, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11904, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5307:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5307:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5306:13:62" - }, - "returnParameters": { - "id": 11924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11907, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5346:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5346:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11909, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5357:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5357:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5368:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5368:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11913, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5379:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11912, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5379:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11915, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5390:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11914, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5390:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11917, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5401:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11916, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5401:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11919, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5412:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5412:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5423:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11920, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5423:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5434:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11922, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5434:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5344:100:62" - }, - "scope": 11969, - "src": "5276:169:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 11942, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11927, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5479:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11926, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5479:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5478:13:62" - }, - "returnParameters": { - "id": 11941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11930, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5518:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5518:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11932, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5529:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11931, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5529:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11934, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5540:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5540:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5551:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5551:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11938, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5562:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11937, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5562:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11940, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5573:13:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11939, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5573:6:62", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5516:73:62" - }, - "scope": 11969, - "src": "5448:142:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d5922f50", - "id": 11959, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11945, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11944, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5622:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11943, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5622:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5621:13:62" - }, - "returnParameters": { - "id": 11958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11947, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5661:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11946, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5661:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11949, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5672:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11948, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5672:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11951, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5683:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11950, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5683:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11953, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5694:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5694:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11955, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5705:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11954, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5705:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11957, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5716:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5716:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5659:67:62" - }, - "scope": 11969, - "src": "5593:134:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 11968, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11962, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11961, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5760:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11960, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5760:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5759:15:62" - }, - "returnParameters": { - "id": 11967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11964, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5799:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5799:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11966, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5808:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5808:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5798:18:62" - }, - "scope": 11969, - "src": "5730:87:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11970, - "src": "144:5675:62" - } - ], - "src": "0:5820:62" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecClerk.sol", - "exportedSymbols": { - "IexecClerkInterface": [ - 11969 - ] - }, - "id": 11970, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11594, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:62" - }, - { - "id": 11595, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:62" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "file": "./libs/IexecODBLibCore.sol", - "id": 11596, - "nodeType": "ImportDirective", - "scope": 11970, - "sourceUnit": 12604, - "src": "66:36:62", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibOrders.sol", - "file": "./libs/IexecODBLibOrders.sol", - "id": 11597, - "nodeType": "ImportDirective", - "scope": 11970, - "sourceUnit": 12845, - "src": "103:38:62", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 11969, - "linearizedBaseContracts": [ - 11969 - ], - "name": "IexecClerkInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11603, - "name": "Deposit", - "nodeType": "EventDefinition", - "parameters": { - "id": 11602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11599, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11603, - "src": "429:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "429:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11601, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11603, - "src": "444:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "444:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "428:31:62" - }, - "src": "412:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11611, - "name": "DepositFor", - "nodeType": "EventDefinition", - "parameters": { - "id": 11610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11605, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "479:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "479:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11607, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "494:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11606, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "494:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11609, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11611, - "src": "510:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11608, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "510:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "478:47:62" - }, - "src": "462:64:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11617, - "name": "Withdraw", - "nodeType": "EventDefinition", - "parameters": { - "id": 11616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11613, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11617, - "src": "545:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11612, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "545:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11615, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11617, - "src": "560:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11614, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "560:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "544:31:62" - }, - "src": "528:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11625, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 11624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11619, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "595:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11618, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "595:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11621, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "610:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11620, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "610:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11623, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11625, - "src": "626:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11622, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "626:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "594:44:62" - }, - "src": "578:61:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11633, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 11632, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11627, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "658:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "658:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11629, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "673:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11628, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "673:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11631, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11633, - "src": "689:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11630, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "689:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "657:44:62" - }, - "src": "641:61:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11639, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 11638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11635, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11639, - "src": "721:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11634, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "721:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11637, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11639, - "src": "736:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11636, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "736:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "720:31:62" - }, - "src": "704:48:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11645, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 11644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11641, - "indexed": false, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11645, - "src": "771:12:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "771:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11643, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11645, - "src": "786:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11642, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "786:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "770:31:62" - }, - "src": "754:48:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc0c546a", - "id": 11650, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11646, - "nodeType": "ParameterList", - "parameters": [], - "src": "819:2:62" - }, - "returnParameters": { - "id": 11649, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11648, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11650, - "src": "911:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11647, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "911:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "910:9:62" - }, - "scope": 11969, - "src": "805:115:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6b55f4a5", - "id": 11657, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11653, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11652, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11657, - "src": "947:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11651, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "947:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "946:15:62" - }, - "returnParameters": { - "id": 11656, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11655, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11657, - "src": "1028:38:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$12509_memory_ptr", - "typeString": "struct IexecODBLibCore.Account" - }, - "typeName": { - "contractScope": null, - "id": 11654, - "name": "IexecODBLibCore.Account", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12509, - "src": "1028:23:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Account_$12509_storage_ptr", - "typeString": "struct IexecODBLibCore.Account" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1027:40:62" - }, - "scope": 11969, - "src": "922:146:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 11664, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11659, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11664, - "src": "1095:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1095:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1094:17:62" - }, - "returnParameters": { - "id": 11663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11662, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11664, - "src": "1171:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11661, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1171:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1170:6:62" - }, - "scope": 11969, - "src": "1070:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "36efd16f", - "id": 11673, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11666, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1204:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1204:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11668, - "mutability": "mutable", - "name": "_target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1221:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11667, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1221:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1203:34:62" - }, - "returnParameters": { - "id": 11672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11671, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11673, - "src": "1280:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11670, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1280:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1279:6:62" - }, - "scope": 11969, - "src": "1179:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 11684, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11676, - "mutability": "mutable", - "name": "_amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1313:27:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11674, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1313:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11675, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1313:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11679, - "mutability": "mutable", - "name": "_targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1342:27:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11677, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1342:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11678, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1342:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1312:58:62" - }, - "returnParameters": { - "id": 11683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11682, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11684, - "src": "1389:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11681, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1389:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1388:6:62" - }, - "scope": 11969, - "src": "1288:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 11691, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11687, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11686, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11691, - "src": "1422:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11685, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1422:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1421:17:62" - }, - "returnParameters": { - "id": 11690, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11689, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11691, - "src": "1498:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11688, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1498:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1497:6:62" - }, - "scope": 11969, - "src": "1397:107:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 11695, - "name": "BroadcastAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11693, - "indexed": false, - "mutability": "mutable", - "name": "apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11695, - "src": "1773:42:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_memory_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11692, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "1773:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1772:51:62" - }, - "src": "1742:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11699, - "name": "BroadcastDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11697, - "indexed": false, - "mutability": "mutable", - "name": "datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11699, - "src": "1857:46:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_memory_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11696, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "1857:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1856:51:62" - }, - "src": "1826:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11703, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11701, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11703, - "src": "1941:49:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_memory_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11700, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "1941:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1940:51:62" - }, - "src": "1910:82:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11707, - "name": "BroadcastRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11705, - "indexed": false, - "mutability": "mutable", - "name": "requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11707, - "src": "2025:46:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11704, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "2025:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2024:51:62" - }, - "src": "1994:82:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 11712, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11710, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11709, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11712, - "src": "2113:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11708, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "2113:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2112:61:62" - }, - "returnParameters": { - "id": 11711, - "nodeType": "ParameterList", - "parameters": [], - "src": "2182:0:62" - }, - "scope": 11969, - "src": "2079:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4c4692de", - "id": 11717, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11714, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11717, - "src": "2219:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11713, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "2219:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2218:61:62" - }, - "returnParameters": { - "id": 11716, - "nodeType": "ParameterList", - "parameters": [], - "src": "2288:0:62" - }, - "scope": 11969, - "src": "2185:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "947f5178", - "id": 11722, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11719, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11722, - "src": "2325:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11718, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "2325:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2324:61:62" - }, - "returnParameters": { - "id": 11721, - "nodeType": "ParameterList", - "parameters": [], - "src": "2394:0:62" - }, - "scope": 11969, - "src": "2291:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4693d172", - "id": 11727, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11725, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11724, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11727, - "src": "2431:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11723, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "2431:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2430:61:62" - }, - "returnParameters": { - "id": 11726, - "nodeType": "ParameterList", - "parameters": [], - "src": "2500:0:62" - }, - "scope": 11969, - "src": "2397:104:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 11741, - "name": "OrdersMatched", - "nodeType": "EventDefinition", - "parameters": { - "id": 11740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11729, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2767:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11728, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2767:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11731, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2783:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11730, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2783:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11733, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2800:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2800:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11735, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2821:22:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2821:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11737, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2845:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11736, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2845:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11739, - "indexed": false, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11741, - "src": "2866:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2866:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2766:115:62" - }, - "src": "2739:143:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11745, - "name": "ClosedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11743, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11745, - "src": "2912:15:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11742, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2912:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2911:17:62" - }, - "src": "2884:45:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11749, - "name": "ClosedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11747, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11749, - "src": "2959:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2959:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2958:21:62" - }, - "src": "2931:49:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11753, - "name": "ClosedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11752, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11751, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11753, - "src": "3010:22:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11750, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3010:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3009:24:62" - }, - "src": "2982:52:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11757, - "name": "ClosedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 11756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11755, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11757, - "src": "3064:19:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11754, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3064:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3063:21:62" - }, - "src": "3036:49:62" - }, - { - "anonymous": false, - "documentation": null, - "id": 11763, - "name": "SchedulerNotice", - "nodeType": "EventDefinition", - "parameters": { - "id": 11762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11759, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11763, - "src": "3115:26:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3115:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11761, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11763, - "src": "3143:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11760, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3143:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3114:44:62" - }, - "src": "3087:72:62" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4ec3b9e3", - "id": 11768, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11764, - "nodeType": "ParameterList", - "parameters": [], - "src": "3193:2:62" - }, - "returnParameters": { - "id": 11767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11766, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11768, - "src": "3219:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3219:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3218:9:62" - }, - "scope": 11969, - "src": "3162:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "51152de1", - "id": 11773, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "KITTY_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11769, - "nodeType": "ParameterList", - "parameters": [], - "src": "3261:2:62" - }, - "returnParameters": { - "id": 11772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11771, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11773, - "src": "3287:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11770, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3287:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3286:9:62" - }, - "scope": 11969, - "src": "3230:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e2e7a8c1", - "id": 11778, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "KITTY_MIN", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11774, - "nodeType": "ParameterList", - "parameters": [], - "src": "3329:2:62" - }, - "returnParameters": { - "id": 11777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11776, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11778, - "src": "3355:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11775, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3355:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3354:9:62" - }, - "scope": 11969, - "src": "3298:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "68a9ef1c", - "id": 11783, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11779, - "nodeType": "ParameterList", - "parameters": [], - "src": "3397:2:62" - }, - "returnParameters": { - "id": 11782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11781, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11783, - "src": "3423:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3423:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3422:9:62" - }, - "scope": 11969, - "src": "3366:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "047411e7", - "id": 11788, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11784, - "nodeType": "ParameterList", - "parameters": [], - "src": "3465:2:62" - }, - "returnParameters": { - "id": 11787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11786, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11788, - "src": "3491:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11785, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3491:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3490:9:62" - }, - "scope": 11969, - "src": "3434:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8d52e413", - "id": 11793, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "iexechub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11789, - "nodeType": "ParameterList", - "parameters": [], - "src": "3533:2:62" - }, - "returnParameters": { - "id": 11792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11791, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11793, - "src": "3559:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11790, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3559:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3558:9:62" - }, - "scope": 11969, - "src": "3502:66:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6dc2df05", - "id": 11801, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewRequestDeals", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11795, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11801, - "src": "3597:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11794, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3597:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3596:13:62" - }, - "returnParameters": { - "id": 11800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11799, - "mutability": "mutable", - "name": "requestdeals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11801, - "src": "3633:29:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 11797, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3633:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 11798, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3633:9:62", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3632:31:62" - }, - "scope": 11969, - "src": "3571:93:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b74861b2", - "id": 11808, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDeal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11803, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11808, - "src": "3692:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11802, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3692:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3691:13:62" - }, - "returnParameters": { - "id": 11807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11806, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11808, - "src": "3728:32:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$12554_memory_ptr", - "typeString": "struct IexecODBLibCore.Deal" - }, - "typeName": { - "contractScope": null, - "id": 11805, - "name": "IexecODBLibCore.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12554, - "src": "3728:20:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$12554_storage_ptr", - "typeString": "struct IexecODBLibCore.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3727:34:62" - }, - "scope": 11969, - "src": "3666:96:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b2bec8c", - "id": 11815, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConsumed", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11810, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11815, - "src": "3790:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3790:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3789:13:62" - }, - "returnParameters": { - "id": 11814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11813, - "mutability": "mutable", - "name": "consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11815, - "src": "3826:16:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11812, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3826:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3825:18:62" - }, - "scope": 11969, - "src": "3764:80:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d286eb16", - "id": 11822, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewPresigned", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11817, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11822, - "src": "3872:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11816, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3872:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3871:13:62" - }, - "returnParameters": { - "id": 11821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11820, - "mutability": "mutable", - "name": "presigned", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11822, - "src": "3908:14:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11819, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3908:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3907:16:62" - }, - "scope": 11969, - "src": "3846:78:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01751998", - "id": 11833, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11824, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3953:17:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11823, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3953:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11826, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3972:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11825, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3972:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11828, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "3987:25:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11827, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3987:5:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3952:61:62" - }, - "returnParameters": { - "id": 11832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11831, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11833, - "src": "4037:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11830, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4037:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4036:6:62" - }, - "scope": 11969, - "src": "3928:115:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6cb9012e", - "id": 11840, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11835, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11840, - "src": "4075:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11834, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4075:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4074:61:62" - }, - "returnParameters": { - "id": 11839, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11838, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11840, - "src": "4154:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4154:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4153:6:62" - }, - "scope": 11969, - "src": "4046:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a3b37a79", - "id": 11847, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11842, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11847, - "src": "4191:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11841, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4191:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4190:61:62" - }, - "returnParameters": { - "id": 11846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11845, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11847, - "src": "4270:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11844, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4270:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4269:6:62" - }, - "scope": 11969, - "src": "4162:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "6a6e0bed", - "id": 11854, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11849, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11854, - "src": "4307:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11848, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "4307:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4306:61:62" - }, - "returnParameters": { - "id": 11853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11852, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11854, - "src": "4386:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11851, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4386:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4385:6:62" - }, - "scope": 11969, - "src": "4278:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "732e498d", - "id": 11861, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "signRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11856, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11861, - "src": "4423:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11855, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "4423:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4422:61:62" - }, - "returnParameters": { - "id": 11860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11861, - "src": "4502:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4502:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4501:6:62" - }, - "scope": 11969, - "src": "4394:114:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84724ddf", - "id": 11868, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11863, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11868, - "src": "4542:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11862, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4542:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4541:61:62" - }, - "returnParameters": { - "id": 11867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11866, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11868, - "src": "4621:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11865, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4621:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4620:6:62" - }, - "scope": 11969, - "src": "4511:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "555859c7", - "id": 11875, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11870, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11875, - "src": "4660:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11869, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4660:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4659:61:62" - }, - "returnParameters": { - "id": 11874, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11873, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11875, - "src": "4739:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11872, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4739:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4738:6:62" - }, - "scope": 11969, - "src": "4629:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ae510d19", - "id": 11882, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11877, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11882, - "src": "4778:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11876, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "4778:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4777:61:62" - }, - "returnParameters": { - "id": 11881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11882, - "src": "4857:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11879, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4857:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4856:6:62" - }, - "scope": 11969, - "src": "4747:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "38a754b4", - "id": 11889, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "cancelRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11884, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11889, - "src": "4896:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11883, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "4896:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4895:61:62" - }, - "returnParameters": { - "id": 11888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11887, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11889, - "src": "4975:4:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11886, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4975:4:62", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4974:6:62" - }, - "scope": 11969, - "src": "4865:116:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "156194d4", - "id": 11902, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11891, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5008:52:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_calldata_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 11890, - "name": "IexecODBLibOrders.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "5008:26:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11893, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5064:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_calldata_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 11892, - "name": "IexecODBLibOrders.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "5064:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11895, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5124:59:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_calldata_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 11894, - "name": "IexecODBLibOrders.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "5124:33:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11897, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5187:56:62", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_calldata_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 11896, - "name": "IexecODBLibOrders.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "5187:30:62", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5004:240:62" - }, - "returnParameters": { - "id": 11901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11900, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11902, - "src": "5264:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11899, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5264:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5263:9:62" - }, - "scope": 11969, - "src": "4984:289:62", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd19a4f3", - "id": 11925, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11904, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5307:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5307:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5306:13:62" - }, - "returnParameters": { - "id": 11924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11907, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5346:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5346:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11909, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5357:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5357:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5368:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5368:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11913, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5379:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11912, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5379:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11915, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5390:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11914, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5390:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11917, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5401:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11916, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5401:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11919, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5412:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5412:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11921, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5423:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11920, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5423:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11923, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11925, - "src": "5434:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11922, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5434:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5344:100:62" - }, - "scope": 11969, - "src": "5276:169:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce5f7895", - "id": 11942, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewDealABILegacy_pt2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11927, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5479:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11926, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5479:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5478:13:62" - }, - "returnParameters": { - "id": 11941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11930, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5518:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5518:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11932, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5529:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11931, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5529:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11934, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5540:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5540:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11936, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5551:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5551:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11938, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5562:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11937, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5562:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11940, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11942, - "src": "5573:13:62", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11939, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5573:6:62", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5516:73:62" - }, - "scope": 11969, - "src": "5448:142:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d5922f50", - "id": 11959, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewConfigABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11945, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11944, - "mutability": "mutable", - "name": "_id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5622:11:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11943, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5622:7:62", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5621:13:62" - }, - "returnParameters": { - "id": 11958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11947, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5661:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11946, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5661:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11949, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5672:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11948, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5672:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11951, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5683:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11950, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5683:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11953, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5694:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5694:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11955, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5705:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11954, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5705:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11957, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11959, - "src": "5716:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5716:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5659:67:62" - }, - "scope": 11969, - "src": "5593:134:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b3ae3e4", - "id": 11968, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewAccountABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11962, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11961, - "mutability": "mutable", - "name": "_user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5760:13:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11960, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5760:7:62", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5759:15:62" - }, - "returnParameters": { - "id": 11967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11964, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5799:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5799:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11966, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11968, - "src": "5808:7:62", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5808:7:62", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5798:18:62" - }, - "scope": 11969, - "src": "5730:87:62", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11970, - "src": "144:5675:62" - } - ], - "src": "0:5820:62" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.880Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecERC20.json b/build/contracts/IexecERC20.json deleted file mode 100644 index 3262f972d..000000000 --- a/build/contracts/IexecERC20.json +++ /dev/null @@ -1,2260 +0,0 @@ -{ - "contractName": "IexecERC20", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":\"IexecERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecERC20\n{\n\tevent Transfer(address indexed from, address indexed to, uint256 value);\n\tevent Approval(address indexed owner, address indexed spender, uint256 value);\n\n\tfunction transfer(address,uint256) external returns (bool);\n\tfunction approve(address,uint256) external returns (bool);\n\tfunction transferFrom(address,address,uint256) external returns (bool);\n\tfunction increaseAllowance(address,uint256) external returns (bool);\n\tfunction decreaseAllowance(address,uint256) external returns (bool);\n\tfunction approveAndCall(address,uint256,bytes calldata) external returns (bool);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "exportedSymbols": { - "IexecERC20": [ - 9194 - ] - }, - "id": 9195, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9118, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:37" - }, - { - "id": 9119, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:37" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9194, - "linearizedBaseContracts": [ - 9194 - ], - "name": "IexecERC20", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9127, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 9126, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9121, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1341:20:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1341:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9123, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1363:18:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9122, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1363:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9125, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1383:13:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9124, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1383:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1340:57:37" - }, - "src": "1326:72:37" - }, - { - "anonymous": false, - "documentation": null, - "id": 9135, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 9134, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9129, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1415:21:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1415:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9131, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1438:23:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9130, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1438:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9133, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1463:13:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1463:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1414:63:37" - }, - "src": "1400:78:37" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a9059cbb", - "id": 9144, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9137, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1499:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9136, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1499:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9139, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1507:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1507:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1498:17:37" - }, - "returnParameters": { - "id": 9143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9142, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1534:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9141, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1534:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1533:6:37" - }, - "scope": 9194, - "src": "1481:59:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "095ea7b3", - "id": 9153, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9146, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1559:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9145, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1559:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9148, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1567:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1567:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1558:17:37" - }, - "returnParameters": { - "id": 9152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9151, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1594:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9150, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1594:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1593:6:37" - }, - "scope": 9194, - "src": "1542:58:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "23b872dd", - "id": 9164, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9155, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1624:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9154, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1624:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9157, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1632:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9156, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1632:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9159, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1640:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1640:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1623:25:37" - }, - "returnParameters": { - "id": 9163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9162, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1667:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1667:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1666:6:37" - }, - "scope": 9194, - "src": "1602:71:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39509351", - "id": 9173, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "increaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9166, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1702:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1702:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9168, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1710:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9167, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1710:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1701:17:37" - }, - "returnParameters": { - "id": 9172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9171, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1737:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9170, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1737:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1736:6:37" - }, - "scope": 9194, - "src": "1675:68:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a457c2d7", - "id": 9182, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "decreaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9175, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1772:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1772:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9177, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1780:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9176, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1780:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1771:17:37" - }, - "returnParameters": { - "id": 9181, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9180, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1807:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9179, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1807:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1806:6:37" - }, - "scope": 9194, - "src": "1745:68:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "cae9ca51", - "id": 9193, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approveAndCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9184, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1839:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1839:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9186, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1847:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9185, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1847:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9188, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1855:14:37", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9187, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1855:5:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1838:32:37" - }, - "returnParameters": { - "id": 9192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9191, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1889:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9190, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1889:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1888:6:37" - }, - "scope": 9194, - "src": "1815:80:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9195, - "src": "1302:595:37" - } - ], - "src": "1242:656:37" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "exportedSymbols": { - "IexecERC20": [ - 9194 - ] - }, - "id": 9195, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9118, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:37" - }, - { - "id": 9119, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:37" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9194, - "linearizedBaseContracts": [ - 9194 - ], - "name": "IexecERC20", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9127, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 9126, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9121, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1341:20:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1341:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9123, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1363:18:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9122, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1363:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9125, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9127, - "src": "1383:13:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9124, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1383:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1340:57:37" - }, - "src": "1326:72:37" - }, - { - "anonymous": false, - "documentation": null, - "id": 9135, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 9134, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9129, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1415:21:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1415:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9131, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1438:23:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9130, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1438:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9133, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9135, - "src": "1463:13:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1463:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1414:63:37" - }, - "src": "1400:78:37" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a9059cbb", - "id": 9144, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9137, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1499:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9136, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1499:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9139, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1507:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1507:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1498:17:37" - }, - "returnParameters": { - "id": 9143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9142, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9144, - "src": "1534:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9141, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1534:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1533:6:37" - }, - "scope": 9194, - "src": "1481:59:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "095ea7b3", - "id": 9153, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9146, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1559:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9145, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1559:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9148, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1567:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1567:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1558:17:37" - }, - "returnParameters": { - "id": 9152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9151, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9153, - "src": "1594:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9150, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1594:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1593:6:37" - }, - "scope": 9194, - "src": "1542:58:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "23b872dd", - "id": 9164, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9155, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1624:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9154, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1624:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9157, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1632:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9156, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1632:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9159, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1640:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1640:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1623:25:37" - }, - "returnParameters": { - "id": 9163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9162, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9164, - "src": "1667:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1667:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1666:6:37" - }, - "scope": 9194, - "src": "1602:71:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39509351", - "id": 9173, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "increaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9166, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1702:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1702:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9168, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1710:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9167, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1710:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1701:17:37" - }, - "returnParameters": { - "id": 9172, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9171, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9173, - "src": "1737:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9170, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1737:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1736:6:37" - }, - "scope": 9194, - "src": "1675:68:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a457c2d7", - "id": 9182, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "decreaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9175, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1772:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1772:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9177, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1780:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9176, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1780:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1771:17:37" - }, - "returnParameters": { - "id": 9181, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9180, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9182, - "src": "1807:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9179, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1807:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1806:6:37" - }, - "scope": 9194, - "src": "1745:68:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "cae9ca51", - "id": 9193, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approveAndCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9184, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1839:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1839:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9186, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1847:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9185, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1847:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9188, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1855:14:37", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9187, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1855:5:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1838:32:37" - }, - "returnParameters": { - "id": 9192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9191, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9193, - "src": "1889:4:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9190, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1889:4:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1888:6:37" - }, - "scope": 9194, - "src": "1815:80:37", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9195, - "src": "1302:595:37" - } - ], - "src": "1242:656:37" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.857Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecERC20Common.json b/build/contracts/IexecERC20Common.json deleted file mode 100644 index b5f86d618..000000000 --- a/build/contracts/IexecERC20Common.json +++ /dev/null @@ -1,930 +0,0 @@ -{ - "contractName": "IexecERC20Common", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20Common.sol\":\"IexecERC20Common\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20Common.sol\":{\"keccak256\":\"0xa92a68af92ce4f539d6641ed7414f54065d14dc3e5fe3620751ab8c1264be4f8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ac747823e77534129961bad542f91129e279ad7b11d5b576f1969fda1d1534c4\",\"dweb:/ipfs/Qme161ntiSw7WyPLTypHRitVGRrubSbkw7Z2ss6zn4wwxE\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecERC20Common\n{\n\tevent Reward(address owner, uint256 amount, bytes32 ref);\n\tevent Seize (address owner, uint256 amount, bytes32 ref);\n\tevent Lock (address owner, uint256 amount);\n\tevent Unlock(address owner, uint256 amount);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20Common.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20Common.sol", - "exportedSymbols": { - "IexecERC20Common": [ - 9287 - ] - }, - "id": 9288, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9257, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:39" - }, - { - "id": 9258, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:39" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": true, - "id": 9287, - "linearizedBaseContracts": [ - 9287 - ], - "name": "IexecERC20Common", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9266, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9260, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1345:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1345:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9262, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1360:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1360:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9264, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1376:11:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9263, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1376:7:39", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1344:44:39" - }, - "src": "1332:57:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9274, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9268, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1404:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1404:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9270, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1419:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9269, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1419:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9272, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1435:11:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9271, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1435:7:39", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1403:44:39" - }, - "src": "1391:57:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9280, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9276, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9280, - "src": "1463:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9275, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9278, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9280, - "src": "1478:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9277, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1478:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1462:31:39" - }, - "src": "1450:44:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9286, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9282, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9286, - "src": "1509:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1509:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9284, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9286, - "src": "1524:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1524:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1508:31:39" - }, - "src": "1496:44:39" - } - ], - "scope": 9288, - "src": "1302:240:39" - } - ], - "src": "1242:301:39" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20Common.sol", - "exportedSymbols": { - "IexecERC20Common": [ - 9287 - ] - }, - "id": 9288, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9257, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:39" - }, - { - "id": 9258, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:39" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": true, - "id": 9287, - "linearizedBaseContracts": [ - 9287 - ], - "name": "IexecERC20Common", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9266, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9260, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1345:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1345:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9262, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1360:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1360:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9264, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9266, - "src": "1376:11:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9263, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1376:7:39", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1344:44:39" - }, - "src": "1332:57:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9274, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9268, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1404:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1404:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9270, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1419:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9269, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1419:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9272, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1435:11:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9271, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1435:7:39", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1403:44:39" - }, - "src": "1391:57:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9280, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9276, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9280, - "src": "1463:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9275, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9278, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9280, - "src": "1478:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9277, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1478:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1462:31:39" - }, - "src": "1450:44:39" - }, - { - "anonymous": false, - "documentation": null, - "id": 9286, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9282, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9286, - "src": "1509:13:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1509:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9284, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9286, - "src": "1524:14:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1524:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1508:31:39" - }, - "src": "1496:44:39" - } - ], - "scope": 9288, - "src": "1302:240:39" - } - ], - "src": "1242:301:39" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.674Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecERC20Core.json b/build/contracts/IexecERC20Core.json deleted file mode 100644 index 4c87da80d..000000000 --- a/build/contracts/IexecERC20Core.json +++ /dev/null @@ -1,14330 +0,0 @@ -{ - "contractName": "IexecERC20Core", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":\"IexecERC20Core\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206103e3833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b03909116906000805160206103e3833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6102c58061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b1461006e575b600080fd5b61004e610081565b005b610058610109565b6040516100659190610200565b60405180910390f35b61004e61007c3660046101d2565b610118565b6100896101ce565b6000546001600160a01b039081169116146100bf5760405162461bcd60e51b81526004016100b69061025a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101206101ce565b6000546001600160a01b0390811691161461014d5760405162461bcd60e51b81526004016100b69061025a565b6001600160a01b0381166101735760405162461bcd60e51b81526004016100b690610214565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000602082840312156101e3578081fd5b81356001600160a01b03811681146101f9578182fd5b9392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212208f0dbf03d89097e760f5d4b7a0ac181eec5d59d409a7affd7c817c44b2e5e8ff64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b1461006e575b600080fd5b61004e610081565b005b610058610109565b6040516100659190610200565b60405180910390f35b61004e61007c3660046101d2565b610118565b6100896101ce565b6000546001600160a01b039081169116146100bf5760405162461bcd60e51b81526004016100b69061025a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101206101ce565b6000546001600160a01b0390811691161461014d5760405162461bcd60e51b81526004016100b69061025a565b6001600160a01b0381166101735760405162461bcd60e51b81526004016100b690610214565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000602082840312156101e3578081fd5b81356001600160a01b03811681146101f9578182fd5b9392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212208f0dbf03d89097e760f5d4b7a0ac181eec5d59d409a7affd7c817c44b2e5e8ff64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1333:4309:16:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1333:4309:16;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1333:4309:16;;;;;;", - "deployedSourceMap": "1333:4309:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1689:145:83;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1983:240;;;;;;:::i;:::-;;:::i;1689:145::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;142:241:-1:-;;246:2;234:9;225:7;221:23;217:32;214:2;;;-1:-1;;252:12;214:2;72:20;;-1:-1;;;;;2642:54;;2767:35;;2757:2;;-1:-1;;2806:12;2757:2;304:63;208:175;-1:-1;;;208:175::o;1235:222::-;-1:-1;;;;;2642:54;;;;461:37;;1362:2;1347:18;;1333:124::o;1464:416::-;1664:2;1678:47;;;735:2;1649:18;;;2414:19;771:34;2454:14;;;751:55;-1:-1;;;826:12;;;819:30;868:12;;;1635:245::o;1887:416::-;2087:2;2101:47;;;2072:18;;;2414:19;1155:34;2454:14;;;1135:55;1209:12;;;2058:245::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\n\n\ncontract IexecERC20Core is DelegateBase\n{\n\tusing SafeMathExtended for uint256;\n\n\tevent Transfer(address indexed from, address indexed to, uint256 value);\n\tevent Approval(address indexed owner, address indexed spender, uint256 value);\n\n\tfunction _isAuthorized(address)\n\tinternal virtual returns (bool)\n\t{\n\t\treturn true;\n\t}\n\n\tfunction _beforeTokenTransfer(address from, address to, uint256 amount)\n\tinternal virtual\n\t{\n\t}\n\n\tfunction _transferUnchecked(address sender, address recipient, uint256 amount)\n\tinternal\n\t{\n\t\trequire(sender != address(0), 'ERC20: transfer from the zero address');\n\t\trequire(recipient != address(0), 'ERC20: transfer to the zero address');\n\n\t\tm_balances[sender] = m_balances[sender].sub(amount);\n\t\tm_balances[recipient] = m_balances[recipient].add(amount);\n\t\temit Transfer(sender, recipient, amount);\n\t}\n\n\tfunction _transfer(address sender, address recipient, uint256 amount)\n\tinternal\n\t{\n\t\t_beforeTokenTransfer(sender, recipient, amount);\n\t\t_transferUnchecked(sender, recipient, amount);\n\t}\n\n\tfunction _mint(address account, uint256 amount)\n\tinternal\n\t{\n\t\trequire(account != address(0), 'ERC20: mint to the zero address');\n\n\t\t_beforeTokenTransfer(address(0), account, amount);\n\n\t\tm_totalSupply = m_totalSupply.add(amount);\n\t\tm_balances[account] = m_balances[account].add(amount);\n\t\temit Transfer(address(0), account, amount);\n\t}\n\n\tfunction _burn(address account, uint256 amount)\n\tinternal\n\t{\n\t\trequire(account != address(0), 'ERC20: burn from the zero address');\n\n\t\t_beforeTokenTransfer(account, address(0), amount);\n\n\t\tm_totalSupply = m_totalSupply.sub(amount);\n\t\tm_balances[account] = m_balances[account].sub(amount);\n\t\temit Transfer(account, address(0), amount);\n\t}\n\n\tfunction _approve(address owner, address spender, uint256 amount)\n\tinternal\n\t{\n\t\trequire(owner != address(0), 'ERC20: approve from the zero address');\n\t\trequire(spender != address(0), 'ERC20: approve to the zero address');\n\n\t\tm_allowances[owner][spender] = amount;\n\t\temit Approval(owner, spender, amount);\n\t}\n\n\t/***************************************************************************\n\t * Escrow methods: internal *\n\t ***************************************************************************/\n\tevent Reward(address owner, uint256 amount, bytes32 ref);\n\tevent Seize (address owner, uint256 amount, bytes32 ref);\n\tevent Lock (address owner, uint256 amount);\n\tevent Unlock(address owner, uint256 amount);\n\n\tfunction reward(address user, uint256 amount, bytes32 ref)\n\tinternal /* returns (bool) */\n\t{\n\t\t_transferUnchecked(address(this), user, amount); // prevent locking task\n\t\temit Reward(user, amount, ref);\n\t\t/* return true; */\n\t}\n\n\tfunction seize(address user, uint256 amount, bytes32 ref)\n\tinternal /* returns (bool) */\n\t{\n\t\tm_frozens[user] = m_frozens[user].sub(amount);\n\t\temit Seize(user, amount, ref);\n\t\t/* return true; */\n\t}\n\n\tfunction lock(address user, uint256 amount)\n\tinternal /* returns (bool) */\n\t{\n\t\t_transferUnchecked(user, address(this), amount);\n\t\tm_frozens[user] = m_frozens[user].add(amount);\n\t\temit Lock(user, amount);\n\t\t/* return true; */\n\t}\n\n\tfunction unlock(address user, uint256 amount)\n\tinternal /* returns (bool) */\n\t{\n\t\t_transferUnchecked(address(this), user, amount); // prevent locking task\n\t\tm_frozens[user] = m_frozens[user].sub(amount);\n\t\temit Unlock(user, amount);\n\t\t/* return true; */\n\t}\n\n\t/***************************************************************************\n\t * Escrow overhead for contribution *\n\t ***************************************************************************/\n\tfunction lockContribution(bytes32 _dealid, address _worker)\n\tinternal\n\t{\n\t\tlock(_worker, m_deals[_dealid].workerStake);\n\t}\n\n\tfunction unlockContribution(bytes32 _dealid, address _worker)\n\tinternal\n\t{\n\t\tunlock(_worker, m_deals[_dealid].workerStake);\n\t}\n\n\tfunction rewardForContribution(address _worker, uint256 _amount, bytes32 _taskid)\n\tinternal\n\t{\n\t\treward(_worker, _amount, _taskid);\n\t}\n\n\tfunction seizeContribution(bytes32 _dealid, address _worker, bytes32 _taskid)\n\tinternal\n\t{\n\t\tseize(_worker, m_deals[_dealid].workerStake, _taskid);\n\t}\n\n\tfunction rewardForScheduling(bytes32 _dealid, uint256 _amount, bytes32 _taskid)\n\tinternal\n\t{\n\t\treward(m_deals[_dealid].workerpool.owner, _amount, _taskid);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "exportedSymbols": { - "IexecERC20Core": [ - 2939 - ] - }, - "id": 2940, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2430, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:16" - }, - { - "id": 2431, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:16" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 2432, - "nodeType": "ImportDirective", - "scope": 2940, - "sourceUnit": 1659, - "src": "1301:29:16", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2433, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1360:12:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2434, - "nodeType": "InheritanceSpecifier", - "src": "1360:12:16" - } - ], - "contractDependencies": [ - 309, - 1658, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2939, - "linearizedBaseContracts": [ - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "IexecERC20Core", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 2437, - "libraryName": { - "contractScope": null, - "id": 2435, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1382:16:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1376:35:16", - "typeName": { - "id": 2436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1403:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "anonymous": false, - "documentation": null, - "id": 2445, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 2444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2439, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1429:20:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1429:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2441, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1451:18:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2440, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1451:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2443, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1471:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1471:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1428:57:16" - }, - "src": "1414:72:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2453, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 2452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2447, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1503:21:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1503:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2449, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1526:23:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1526:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2451, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1551:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1551:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1502:63:16" - }, - "src": "1488:78:16" - }, - { - "body": { - "id": 2462, - "nodeType": "Block", - "src": "1635:19:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 2460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1646:4:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 2459, - "id": 2461, - "nodeType": "Return", - "src": "1639:11:16" - } - ] - }, - "documentation": null, - "id": 2463, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isAuthorized", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2455, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2463, - "src": "1592:7:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1592:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1591:9:16" - }, - "returnParameters": { - "id": 2459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2463, - "src": "1628:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2457, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1628:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1627:6:16" - }, - "scope": 2939, - "src": "1569:85:16", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 2472, - "nodeType": "Block", - "src": "1748:4:16", - "statements": [] - }, - "documentation": null, - "id": 2473, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeTokenTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2470, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2465, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1687:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1687:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2467, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1701:10:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1701:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2469, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1713:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1713:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1686:42:16" - }, - "returnParameters": { - "id": 2471, - "nodeType": "ParameterList", - "parameters": [], - "src": "1748:0:16" - }, - "scope": 2939, - "src": "1657:95:16", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 2530, - "nodeType": "Block", - "src": "1845:314:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2483, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "1857:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1875:1:16", - "subdenomination": null, - "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": 2485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1867:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1867:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1867:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1857:20:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373", - "id": 2489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1879:39:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", - "typeString": "literal_string \"ERC20: transfer from the zero address\"" - }, - "value": "ERC20: transfer from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", - "typeString": "literal_string \"ERC20: transfer from the zero address\"" - } - ], - "id": 2482, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1849:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1849:70:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2491, - "nodeType": "ExpressionStatement", - "src": "1849:70:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2493, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "1931:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1952:1:16", - "subdenomination": null, - "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": 2495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1944:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1944:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1944:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1931:23:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 2499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1956:37:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", - "typeString": "literal_string \"ERC20: transfer to the zero address\"" - }, - "value": "ERC20: transfer to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", - "typeString": "literal_string \"ERC20: transfer to the zero address\"" - } - ], - "id": 2492, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1923:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1923:71:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2501, - "nodeType": "ExpressionStatement", - "src": "1923:71:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2502, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1999:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2504, - "indexExpression": { - "argumentTypes": null, - "id": 2503, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2010:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1999:18:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2509, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2043:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2505, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2020:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2507, - "indexExpression": { - "argumentTypes": null, - "id": 2506, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2031:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2020:18:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2020:22:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2020:30:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1999:51:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2512, - "nodeType": "ExpressionStatement", - "src": "1999:51:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2513, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2054:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2515, - "indexExpression": { - "argumentTypes": null, - "id": 2514, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2065:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2054:21:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2520, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2104:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2516, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2078:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2518, - "indexExpression": { - "argumentTypes": null, - "id": 2517, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2089:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2078:21:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2078:25:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2078:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2054:57:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2523, - "nodeType": "ExpressionStatement", - "src": "2054:57:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2525, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2129:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2526, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2137:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2527, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2148:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2524, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2120:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2120:35:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2529, - "nodeType": "EmitStatement", - "src": "2115:40:16" - } - ] - }, - "documentation": null, - "id": 2531, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transferUnchecked", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2475, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1783:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2474, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1783:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2477, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1799:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2476, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1799:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2479, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1818:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2478, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1818:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1782:51:16" - }, - "returnParameters": { - "id": 2481, - "nodeType": "ParameterList", - "parameters": [], - "src": "1845:0:16" - }, - "scope": 2939, - "src": "1755:404:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2552, - "nodeType": "Block", - "src": "2243:104:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2541, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2533, - "src": "2268:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2542, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2535, - "src": "2276:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2543, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2537, - "src": "2287:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2540, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2247:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2247:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2545, - "nodeType": "ExpressionStatement", - "src": "2247:47:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2547, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2533, - "src": "2317:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2548, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2535, - "src": "2325:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2549, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2537, - "src": "2336:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2546, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "2298:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2298:45:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2551, - "nodeType": "ExpressionStatement", - "src": "2298:45:16" - } - ] - }, - "documentation": null, - "id": 2553, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2533, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2181:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2181:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2535, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2197:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2197:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2537, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2216:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2216:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2180:51:16" - }, - "returnParameters": { - "id": 2539, - "nodeType": "ParameterList", - "parameters": [], - "src": "2243:0:16" - }, - "scope": 2939, - "src": "2162:185:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2606, - "nodeType": "Block", - "src": "2409:276:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2561, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2421:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2440:1:16", - "subdenomination": null, - "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": 2563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2432:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2562, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2432:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2432:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2421:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373", - "id": 2567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2444:33:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", - "typeString": "literal_string \"ERC20: mint to the zero address\"" - }, - "value": "ERC20: mint to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", - "typeString": "literal_string \"ERC20: mint to the zero address\"" - } - ], - "id": 2560, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2413:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2413:65:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2569, - "nodeType": "ExpressionStatement", - "src": "2413:65:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2512:1:16", - "subdenomination": null, - "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": 2572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2504:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2504:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2504:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2575, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2516:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2576, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2525:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2570, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2483:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2483:49:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2578, - "nodeType": "ExpressionStatement", - "src": "2483:49:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2579, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2537:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2582, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2571:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2580, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2553:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2553:17:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2537:41:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2585, - "nodeType": "ExpressionStatement", - "src": "2537:41:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2586, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2582:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2588, - "indexExpression": { - "argumentTypes": null, - "id": 2587, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2593:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2582:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2593, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2628:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2589, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2604:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2591, - "indexExpression": { - "argumentTypes": null, - "id": 2590, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2615:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2604:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2604:23:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2604:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2582:53:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2596, - "nodeType": "ExpressionStatement", - "src": "2582:53:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2661:1:16", - "subdenomination": null, - "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": 2599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2653:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2653:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2653:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2602, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2665:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2603, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2674:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2597, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2644:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2644:37:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2605, - "nodeType": "EmitStatement", - "src": "2639:42:16" - } - ] - }, - "documentation": null, - "id": 2607, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2555, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2607, - "src": "2365:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2554, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2365:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2557, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2607, - "src": "2382:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2556, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2382:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2364:33:16" - }, - "returnParameters": { - "id": 2559, - "nodeType": "ParameterList", - "parameters": [], - "src": "2409:0:16" - }, - "scope": 2939, - "src": "2350:335:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2660, - "nodeType": "Block", - "src": "2747:278:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2615, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2759:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2778:1:16", - "subdenomination": null, - "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": 2617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2770:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2770:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2770:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2759:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a206275726e2066726f6d20746865207a65726f2061646472657373", - "id": 2621, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2782:35:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", - "typeString": "literal_string \"ERC20: burn from the zero address\"" - }, - "value": "ERC20: burn from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", - "typeString": "literal_string \"ERC20: burn from the zero address\"" - } - ], - "id": 2614, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2751:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2751:67:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2623, - "nodeType": "ExpressionStatement", - "src": "2751:67:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2625, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2844:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2861:1:16", - "subdenomination": null, - "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": 2627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2853:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2853:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2853:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2630, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2865:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2624, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2823:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2823:49:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2632, - "nodeType": "ExpressionStatement", - "src": "2823:49:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2633, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2877:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2636, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2911:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2634, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2893:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2893:17:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2893:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2877:41:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2639, - "nodeType": "ExpressionStatement", - "src": "2877:41:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2640, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2922:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2642, - "indexExpression": { - "argumentTypes": null, - "id": 2641, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2933:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2922:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2647, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2968:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2643, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2944:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2645, - "indexExpression": { - "argumentTypes": null, - "id": 2644, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2955:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2944:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2944:23:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2944:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2922:53:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2650, - "nodeType": "ExpressionStatement", - "src": "2922:53:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2652, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2993:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3010:1:16", - "subdenomination": null, - "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": 2654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3002:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2653, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3002:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3002:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2657, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "3014:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2651, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2984:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2984:37:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2659, - "nodeType": "EmitStatement", - "src": "2979:42:16" - } - ] - }, - "documentation": null, - "id": 2661, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2609, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2661, - "src": "2703:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2608, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2703:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2611, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2661, - "src": "2720:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2610, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2720:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2702:33:16" - }, - "returnParameters": { - "id": 2613, - "nodeType": "ParameterList", - "parameters": [], - "src": "2747:0:16" - }, - "scope": 2939, - "src": "2688:337:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2704, - "nodeType": "Block", - "src": "3105:231:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2671, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3117:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3134:1:16", - "subdenomination": null, - "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": 2673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3126:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3126:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3126:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3117:19:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373", - "id": 2677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3138:38:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", - "typeString": "literal_string \"ERC20: approve from the zero address\"" - }, - "value": "ERC20: approve from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", - "typeString": "literal_string \"ERC20: approve from the zero address\"" - } - ], - "id": 2670, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3109:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3109:68:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2679, - "nodeType": "ExpressionStatement", - "src": "3109:68:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2681, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3189:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3208:1:16", - "subdenomination": null, - "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": 2683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3200:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2682, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3200:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3200:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3189:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a20617070726f766520746f20746865207a65726f2061646472657373", - "id": 2687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3212:36:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", - "typeString": "literal_string \"ERC20: approve to the zero address\"" - }, - "value": "ERC20: approve to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", - "typeString": "literal_string \"ERC20: approve to the zero address\"" - } - ], - "id": 2680, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3181:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3181:68:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2689, - "nodeType": "ExpressionStatement", - "src": "3181:68:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2690, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "3254:12:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 2693, - "indexExpression": { - "argumentTypes": null, - "id": 2691, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3267:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3254:19:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2694, - "indexExpression": { - "argumentTypes": null, - "id": 2692, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3274:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3254:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2695, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2667, - "src": "3285:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3254:37:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2697, - "nodeType": "ExpressionStatement", - "src": "3254:37:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2699, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3309:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2700, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3316:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2701, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2667, - "src": "3325:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2698, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2453, - "src": "3300:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3300:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2703, - "nodeType": "EmitStatement", - "src": "3295:37:16" - } - ] - }, - "documentation": null, - "id": 2705, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2663, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3046:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3046:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2665, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3061:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3061:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2667, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3078:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2666, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3078:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3045:48:16" - }, - "returnParameters": { - "id": 2669, - "nodeType": "ParameterList", - "parameters": [], - "src": "3105:0:16" - }, - "scope": 2939, - "src": "3028:308:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "anonymous": false, - "documentation": null, - "id": 2713, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 2712, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2707, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3587:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2706, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3587:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2709, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3602:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3602:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2711, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3618:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2710, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3618:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3586:44:16" - }, - "src": "3574:57:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2721, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 2720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2715, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3646:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3646:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2717, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3661:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2716, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3661:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2719, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3677:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2718, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3677:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3645:44:16" - }, - "src": "3633:57:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2727, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 2726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2723, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2727, - "src": "3705:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2722, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3705:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2725, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2727, - "src": "3720:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3720:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3704:31:16" - }, - "src": "3692:44:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2733, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 2732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2729, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2733, - "src": "3751:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2728, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3751:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2731, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2733, - "src": "3766:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3766:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3750:31:16" - }, - "src": "3738:44:16" - }, - { - "body": { - "id": 2757, - "nodeType": "Block", - "src": "3876:134:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2745, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3907:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3899:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3899:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3899:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2747, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2735, - "src": "3914:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2748, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2737, - "src": "3920:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2742, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "3880:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3880:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2750, - "nodeType": "ExpressionStatement", - "src": "3880:47:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2752, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2735, - "src": "3967:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2753, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2737, - "src": "3973:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2754, - "name": "ref", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "3981:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2751, - "name": "Reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2713, - "src": "3960:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3960:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2756, - "nodeType": "EmitStatement", - "src": "3955:30:16" - } - ] - }, - "documentation": null, - "id": 2758, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reward", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2735, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3801:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2734, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3801:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2737, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3815:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3815:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2739, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3831:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2738, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3831:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3800:43:16" - }, - "returnParameters": { - "id": 2741, - "nodeType": "ParameterList", - "parameters": [], - "src": "3876:0:16" - }, - "scope": 2939, - "src": "3785:225:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2784, - "nodeType": "Block", - "src": "4103:107:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2767, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4107:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2769, - "indexExpression": { - "argumentTypes": null, - "id": 2768, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4117:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4107:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2774, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2762, - "src": "4145:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2770, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4125:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2772, - "indexExpression": { - "argumentTypes": null, - "id": 2771, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4135:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4125:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "4125:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4125:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4107:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2777, - "nodeType": "ExpressionStatement", - "src": "4107:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2779, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4167:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2780, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2762, - "src": "4173:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2781, - "name": "ref", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2764, - "src": "4181:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2778, - "name": "Seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2721, - "src": "4161:5:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4161:24:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2783, - "nodeType": "EmitStatement", - "src": "4156:29:16" - } - ] - }, - "documentation": null, - "id": 2785, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "seize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2765, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2760, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4028:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4028:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2762, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4042:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2761, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4042:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2764, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4058:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2763, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4058:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4027:43:16" - }, - "returnParameters": { - "id": 2766, - "nodeType": "ParameterList", - "parameters": [], - "src": "4103:0:16" - }, - "scope": 2939, - "src": "4013:197:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2817, - "nodeType": "Block", - "src": "4289:152:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2793, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4312:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2796, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4326:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4318:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4318:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4318:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2798, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4333:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2792, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "4293:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4293:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2800, - "nodeType": "ExpressionStatement", - "src": "4293:47:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2801, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4344:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2803, - "indexExpression": { - "argumentTypes": null, - "id": 2802, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4354:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4344:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2808, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4382:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2804, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4362:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2806, - "indexExpression": { - "argumentTypes": null, - "id": 2805, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4372:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4362:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4362:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4362:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4344:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2811, - "nodeType": "ExpressionStatement", - "src": "4344:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2813, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4403:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2814, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4409:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2812, - "name": "Lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2727, - "src": "4398:4:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4398:18:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2816, - "nodeType": "EmitStatement", - "src": "4393:23:16" - } - ] - }, - "documentation": null, - "id": 2818, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "lock", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2790, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2787, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2818, - "src": "4227:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2786, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4227:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2789, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2818, - "src": "4241:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2788, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4241:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4226:30:16" - }, - "returnParameters": { - "id": 2791, - "nodeType": "ParameterList", - "parameters": [], - "src": "4289:0:16" - }, - "scope": 2939, - "src": "4213:228:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2850, - "nodeType": "Block", - "src": "4522:178:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2828, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4553:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4545:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4545:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4545:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2830, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4560:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2831, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4566:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2825, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "4526:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4526:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2833, - "nodeType": "ExpressionStatement", - "src": "4526:47:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2834, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4601:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2836, - "indexExpression": { - "argumentTypes": null, - "id": 2835, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4611:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4601:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2841, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4639:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2837, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4619:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2839, - "indexExpression": { - "argumentTypes": null, - "id": 2838, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4629:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4619:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "4619:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4619:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4601:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2844, - "nodeType": "ExpressionStatement", - "src": "4601:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2846, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4662:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2847, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4668:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2845, - "name": "Unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2733, - "src": "4655:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4655:20:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2849, - "nodeType": "EmitStatement", - "src": "4650:25:16" - } - ] - }, - "documentation": null, - "id": 2851, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2820, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2851, - "src": "4460:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4460:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2822, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2851, - "src": "4474:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4474:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4459:30:16" - }, - "returnParameters": { - "id": 2824, - "nodeType": "ParameterList", - "parameters": [], - "src": "4522:0:16" - }, - "scope": 2939, - "src": "4444:256:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2866, - "nodeType": "Block", - "src": "5009:51:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2859, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2855, - "src": "5018:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2860, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5027:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2862, - "indexExpression": { - "argumentTypes": null, - "id": 2861, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2853, - "src": "5035:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5027:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2863, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5027:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2858, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "5013:4:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5013:43:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2865, - "nodeType": "ExpressionStatement", - "src": "5013:43:16" - } - ] - }, - "documentation": null, - "id": 2867, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "lockContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2853, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2867, - "src": "4964:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2852, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4964:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2855, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2867, - "src": "4981:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2854, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4981:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4963:34:16" - }, - "returnParameters": { - "id": 2857, - "nodeType": "ParameterList", - "parameters": [], - "src": "5009:0:16" - }, - "scope": 2939, - "src": "4938:122:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2882, - "nodeType": "Block", - "src": "5136:53:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2875, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2871, - "src": "5147:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2876, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5156:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2878, - "indexExpression": { - "argumentTypes": null, - "id": 2877, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2869, - "src": "5164:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5156:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2879, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5156:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2874, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "5140:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5140:45:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2881, - "nodeType": "ExpressionStatement", - "src": "5140:45:16" - } - ] - }, - "documentation": null, - "id": 2883, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlockContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2869, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2883, - "src": "5091:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2868, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5091:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2871, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2883, - "src": "5108:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2870, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5108:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5090:34:16" - }, - "returnParameters": { - "id": 2873, - "nodeType": "ParameterList", - "parameters": [], - "src": "5136:0:16" - }, - "scope": 2939, - "src": "5063:126:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2898, - "nodeType": "Block", - "src": "5285:41:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2893, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2885, - "src": "5296:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2894, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2887, - "src": "5305:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2895, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2889, - "src": "5314:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2892, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "5289:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5289:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2897, - "nodeType": "ExpressionStatement", - "src": "5289:33:16" - } - ] - }, - "documentation": null, - "id": 2899, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewardForContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2885, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5223:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2884, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5223:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2887, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5240:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2886, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5240:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2889, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5257:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2888, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5257:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5222:51:16" - }, - "returnParameters": { - "id": 2891, - "nodeType": "ParameterList", - "parameters": [], - "src": "5285:0:16" - }, - "scope": 2939, - "src": "5192:134:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2917, - "nodeType": "Block", - "src": "5418:61:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2909, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2903, - "src": "5428:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2910, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5437:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2912, - "indexExpression": { - "argumentTypes": null, - "id": 2911, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2901, - "src": "5445:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5437:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5437:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2914, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2905, - "src": "5467:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2908, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "5422:5:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5422:53:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2916, - "nodeType": "ExpressionStatement", - "src": "5422:53:16" - } - ] - }, - "documentation": null, - "id": 2918, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "seizeContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2901, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5356:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2900, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5356:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2903, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5373:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5373:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2905, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5390:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2904, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5390:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5355:51:16" - }, - "returnParameters": { - "id": 2907, - "nodeType": "ParameterList", - "parameters": [], - "src": "5418:0:16" - }, - "scope": 2939, - "src": "5329:150:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2937, - "nodeType": "Block", - "src": "5573:67:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2928, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5584:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2930, - "indexExpression": { - "argumentTypes": null, - "id": 2929, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2920, - "src": "5592:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5584:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2931, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "5584:27:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 2932, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "5584:33:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2933, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2922, - "src": "5619:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2934, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2924, - "src": "5628:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2927, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "5577:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5577:59:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2936, - "nodeType": "ExpressionStatement", - "src": "5577:59:16" - } - ] - }, - "documentation": null, - "id": 2938, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewardForScheduling", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2920, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5511:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2919, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5511:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2922, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5528:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2921, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5528:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2924, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5545:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2923, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5545:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5510:51:16" - }, - "returnParameters": { - "id": 2926, - "nodeType": "ParameterList", - "parameters": [], - "src": "5573:0:16" - }, - "scope": 2939, - "src": "5482:158:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 2940, - "src": "1333:4309:16" - } - ], - "src": "1242:4401:16" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "exportedSymbols": { - "IexecERC20Core": [ - 2939 - ] - }, - "id": 2940, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2430, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:16" - }, - { - "id": 2431, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:16" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 2432, - "nodeType": "ImportDirective", - "scope": 2940, - "sourceUnit": 1659, - "src": "1301:29:16", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 2433, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1360:12:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 2434, - "nodeType": "InheritanceSpecifier", - "src": "1360:12:16" - } - ], - "contractDependencies": [ - 309, - 1658, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2939, - "linearizedBaseContracts": [ - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "IexecERC20Core", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 2437, - "libraryName": { - "contractScope": null, - "id": 2435, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1382:16:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1376:35:16", - "typeName": { - "id": 2436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1403:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "anonymous": false, - "documentation": null, - "id": 2445, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 2444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2439, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1429:20:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1429:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2441, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1451:18:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2440, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1451:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2443, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2445, - "src": "1471:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1471:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1428:57:16" - }, - "src": "1414:72:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2453, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 2452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2447, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1503:21:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1503:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2449, - "indexed": true, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1526:23:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1526:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2451, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2453, - "src": "1551:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1551:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1502:63:16" - }, - "src": "1488:78:16" - }, - { - "body": { - "id": 2462, - "nodeType": "Block", - "src": "1635:19:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 2460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1646:4:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 2459, - "id": 2461, - "nodeType": "Return", - "src": "1639:11:16" - } - ] - }, - "documentation": null, - "id": 2463, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isAuthorized", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2455, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2463, - "src": "1592:7:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1592:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1591:9:16" - }, - "returnParameters": { - "id": 2459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2463, - "src": "1628:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2457, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1628:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1627:6:16" - }, - "scope": 2939, - "src": "1569:85:16", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 2472, - "nodeType": "Block", - "src": "1748:4:16", - "statements": [] - }, - "documentation": null, - "id": 2473, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeTokenTransfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2470, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2465, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1687:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1687:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2467, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1701:10:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1701:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2469, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2473, - "src": "1713:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1713:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1686:42:16" - }, - "returnParameters": { - "id": 2471, - "nodeType": "ParameterList", - "parameters": [], - "src": "1748:0:16" - }, - "scope": 2939, - "src": "1657:95:16", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 2530, - "nodeType": "Block", - "src": "1845:314:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2483, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "1857:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1875:1:16", - "subdenomination": null, - "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": 2485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1867:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1867:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1867:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1857:20:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373", - "id": 2489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1879:39:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", - "typeString": "literal_string \"ERC20: transfer from the zero address\"" - }, - "value": "ERC20: transfer from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", - "typeString": "literal_string \"ERC20: transfer from the zero address\"" - } - ], - "id": 2482, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1849:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1849:70:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2491, - "nodeType": "ExpressionStatement", - "src": "1849:70:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2493, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "1931:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1952:1:16", - "subdenomination": null, - "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": 2495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1944:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1944:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1944:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1931:23:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 2499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1956:37:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", - "typeString": "literal_string \"ERC20: transfer to the zero address\"" - }, - "value": "ERC20: transfer to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", - "typeString": "literal_string \"ERC20: transfer to the zero address\"" - } - ], - "id": 2492, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1923:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1923:71:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2501, - "nodeType": "ExpressionStatement", - "src": "1923:71:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2502, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1999:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2504, - "indexExpression": { - "argumentTypes": null, - "id": 2503, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2010:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1999:18:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2509, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2043:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2505, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2020:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2507, - "indexExpression": { - "argumentTypes": null, - "id": 2506, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2031:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2020:18:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2020:22:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2020:30:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1999:51:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2512, - "nodeType": "ExpressionStatement", - "src": "1999:51:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2513, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2054:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2515, - "indexExpression": { - "argumentTypes": null, - "id": 2514, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2065:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2054:21:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2520, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2104:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2516, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2078:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2518, - "indexExpression": { - "argumentTypes": null, - "id": 2517, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2089:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2078:21:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2078:25:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2078:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2054:57:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2523, - "nodeType": "ExpressionStatement", - "src": "2054:57:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2525, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "2129:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2526, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2477, - "src": "2137:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2527, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "2148:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2524, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2120:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2120:35:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2529, - "nodeType": "EmitStatement", - "src": "2115:40:16" - } - ] - }, - "documentation": null, - "id": 2531, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transferUnchecked", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2475, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1783:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2474, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1783:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2477, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1799:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2476, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1799:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2479, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2531, - "src": "1818:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2478, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1818:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1782:51:16" - }, - "returnParameters": { - "id": 2481, - "nodeType": "ParameterList", - "parameters": [], - "src": "1845:0:16" - }, - "scope": 2939, - "src": "1755:404:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2552, - "nodeType": "Block", - "src": "2243:104:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2541, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2533, - "src": "2268:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2542, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2535, - "src": "2276:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2543, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2537, - "src": "2287:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2540, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2247:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2247:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2545, - "nodeType": "ExpressionStatement", - "src": "2247:47:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2547, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2533, - "src": "2317:6:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2548, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2535, - "src": "2325:9:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2549, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2537, - "src": "2336:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2546, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "2298:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2298:45:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2551, - "nodeType": "ExpressionStatement", - "src": "2298:45:16" - } - ] - }, - "documentation": null, - "id": 2553, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transfer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2533, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2181:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2181:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2535, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2197:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2197:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2537, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2553, - "src": "2216:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2216:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2180:51:16" - }, - "returnParameters": { - "id": 2539, - "nodeType": "ParameterList", - "parameters": [], - "src": "2243:0:16" - }, - "scope": 2939, - "src": "2162:185:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2606, - "nodeType": "Block", - "src": "2409:276:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2561, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2421:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2440:1:16", - "subdenomination": null, - "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": 2563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2432:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2562, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2432:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2432:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2421:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373", - "id": 2567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2444:33:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", - "typeString": "literal_string \"ERC20: mint to the zero address\"" - }, - "value": "ERC20: mint to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", - "typeString": "literal_string \"ERC20: mint to the zero address\"" - } - ], - "id": 2560, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2413:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2413:65:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2569, - "nodeType": "ExpressionStatement", - "src": "2413:65:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2512:1:16", - "subdenomination": null, - "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": 2572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2504:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2504:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2504:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2575, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2516:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2576, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2525:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2570, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2483:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2483:49:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2578, - "nodeType": "ExpressionStatement", - "src": "2483:49:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2579, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2537:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2582, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2571:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2580, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2553:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2553:17:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2537:41:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2585, - "nodeType": "ExpressionStatement", - "src": "2537:41:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2586, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2582:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2588, - "indexExpression": { - "argumentTypes": null, - "id": 2587, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2593:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2582:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2593, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2628:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2589, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2604:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2591, - "indexExpression": { - "argumentTypes": null, - "id": 2590, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2615:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2604:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2604:23:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2604:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2582:53:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2596, - "nodeType": "ExpressionStatement", - "src": "2582:53:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2661:1:16", - "subdenomination": null, - "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": 2599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2653:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2653:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2653:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2602, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2555, - "src": "2665:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2603, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2557, - "src": "2674:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2597, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2644:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2644:37:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2605, - "nodeType": "EmitStatement", - "src": "2639:42:16" - } - ] - }, - "documentation": null, - "id": 2607, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mint", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2555, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2607, - "src": "2365:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2554, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2365:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2557, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2607, - "src": "2382:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2556, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2382:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2364:33:16" - }, - "returnParameters": { - "id": 2559, - "nodeType": "ParameterList", - "parameters": [], - "src": "2409:0:16" - }, - "scope": 2939, - "src": "2350:335:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2660, - "nodeType": "Block", - "src": "2747:278:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2615, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2759:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2778:1:16", - "subdenomination": null, - "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": 2617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2770:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2770:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2770:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2759:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a206275726e2066726f6d20746865207a65726f2061646472657373", - "id": 2621, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2782:35:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", - "typeString": "literal_string \"ERC20: burn from the zero address\"" - }, - "value": "ERC20: burn from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", - "typeString": "literal_string \"ERC20: burn from the zero address\"" - } - ], - "id": 2614, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2751:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2751:67:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2623, - "nodeType": "ExpressionStatement", - "src": "2751:67:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2625, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2844:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2861:1:16", - "subdenomination": null, - "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": 2627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2853:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2853:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2853:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2630, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2865:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2624, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2473, - "src": "2823:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2823:49:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2632, - "nodeType": "ExpressionStatement", - "src": "2823:49:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2633, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2877:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2636, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2911:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 2634, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "2893:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2893:17:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2893:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2877:41:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2639, - "nodeType": "ExpressionStatement", - "src": "2877:41:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2640, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2922:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2642, - "indexExpression": { - "argumentTypes": null, - "id": 2641, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2933:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2922:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2647, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "2968:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2643, - "name": "m_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2944:10:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2645, - "indexExpression": { - "argumentTypes": null, - "id": 2644, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2955:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2944:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2944:23:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2944:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2922:53:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2650, - "nodeType": "ExpressionStatement", - "src": "2922:53:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2652, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2609, - "src": "2993:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3010:1:16", - "subdenomination": null, - "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": 2654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3002:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2653, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3002:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3002:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 2657, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2611, - "src": "3014:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2651, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "2984:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2984:37:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2659, - "nodeType": "EmitStatement", - "src": "2979:42:16" - } - ] - }, - "documentation": null, - "id": 2661, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2609, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2661, - "src": "2703:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2608, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2703:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2611, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2661, - "src": "2720:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2610, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2720:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2702:33:16" - }, - "returnParameters": { - "id": 2613, - "nodeType": "ParameterList", - "parameters": [], - "src": "2747:0:16" - }, - "scope": 2939, - "src": "2688:337:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2704, - "nodeType": "Block", - "src": "3105:231:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2671, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3117:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3134:1:16", - "subdenomination": null, - "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": 2673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3126:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3126:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3126:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3117:19:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373", - "id": 2677, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3138:38:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", - "typeString": "literal_string \"ERC20: approve from the zero address\"" - }, - "value": "ERC20: approve from the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", - "typeString": "literal_string \"ERC20: approve from the zero address\"" - } - ], - "id": 2670, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3109:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3109:68:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2679, - "nodeType": "ExpressionStatement", - "src": "3109:68:16" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2681, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3189:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 2684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3208:1:16", - "subdenomination": null, - "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": 2683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3200:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2682, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3200:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3200:10:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3189:21:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "45524332303a20617070726f766520746f20746865207a65726f2061646472657373", - "id": 2687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3212:36:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", - "typeString": "literal_string \"ERC20: approve to the zero address\"" - }, - "value": "ERC20: approve to the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", - "typeString": "literal_string \"ERC20: approve to the zero address\"" - } - ], - "id": 2680, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3181:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 2688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3181:68:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2689, - "nodeType": "ExpressionStatement", - "src": "3181:68:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2690, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "3254:12:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 2693, - "indexExpression": { - "argumentTypes": null, - "id": 2691, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3267:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3254:19:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2694, - "indexExpression": { - "argumentTypes": null, - "id": 2692, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3274:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3254:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2695, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2667, - "src": "3285:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3254:37:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2697, - "nodeType": "ExpressionStatement", - "src": "3254:37:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2699, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "3309:5:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2700, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2665, - "src": "3316:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2701, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2667, - "src": "3325:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2698, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2453, - "src": "3300:8:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3300:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2703, - "nodeType": "EmitStatement", - "src": "3295:37:16" - } - ] - }, - "documentation": null, - "id": 2705, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2663, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3046:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3046:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2665, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3061:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3061:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2667, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2705, - "src": "3078:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2666, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3078:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3045:48:16" - }, - "returnParameters": { - "id": 2669, - "nodeType": "ParameterList", - "parameters": [], - "src": "3105:0:16" - }, - "scope": 2939, - "src": "3028:308:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "anonymous": false, - "documentation": null, - "id": 2713, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 2712, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2707, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3587:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2706, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3587:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2709, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3602:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3602:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2711, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2713, - "src": "3618:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2710, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3618:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3586:44:16" - }, - "src": "3574:57:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2721, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 2720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2715, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3646:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3646:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2717, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3661:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2716, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3661:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2719, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2721, - "src": "3677:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2718, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3677:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3645:44:16" - }, - "src": "3633:57:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2727, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 2726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2723, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2727, - "src": "3705:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2722, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3705:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2725, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2727, - "src": "3720:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3720:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3704:31:16" - }, - "src": "3692:44:16" - }, - { - "anonymous": false, - "documentation": null, - "id": 2733, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 2732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2729, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2733, - "src": "3751:13:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2728, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3751:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2731, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2733, - "src": "3766:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3766:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3750:31:16" - }, - "src": "3738:44:16" - }, - { - "body": { - "id": 2757, - "nodeType": "Block", - "src": "3876:134:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2745, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3907:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3899:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3899:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3899:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2747, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2735, - "src": "3914:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2748, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2737, - "src": "3920:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2742, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "3880:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3880:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2750, - "nodeType": "ExpressionStatement", - "src": "3880:47:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2752, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2735, - "src": "3967:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2753, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2737, - "src": "3973:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2754, - "name": "ref", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "3981:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2751, - "name": "Reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2713, - "src": "3960:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3960:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2756, - "nodeType": "EmitStatement", - "src": "3955:30:16" - } - ] - }, - "documentation": null, - "id": 2758, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reward", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2735, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3801:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2734, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3801:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2737, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3815:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3815:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2739, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2758, - "src": "3831:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2738, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3831:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3800:43:16" - }, - "returnParameters": { - "id": 2741, - "nodeType": "ParameterList", - "parameters": [], - "src": "3876:0:16" - }, - "scope": 2939, - "src": "3785:225:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2784, - "nodeType": "Block", - "src": "4103:107:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2767, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4107:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2769, - "indexExpression": { - "argumentTypes": null, - "id": 2768, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4117:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4107:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2774, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2762, - "src": "4145:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2770, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4125:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2772, - "indexExpression": { - "argumentTypes": null, - "id": 2771, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4135:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4125:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "4125:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4125:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4107:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2777, - "nodeType": "ExpressionStatement", - "src": "4107:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2779, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "4167:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2780, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2762, - "src": "4173:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2781, - "name": "ref", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2764, - "src": "4181:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2778, - "name": "Seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2721, - "src": "4161:5:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4161:24:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2783, - "nodeType": "EmitStatement", - "src": "4156:29:16" - } - ] - }, - "documentation": null, - "id": 2785, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "seize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2765, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2760, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4028:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4028:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2762, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4042:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2761, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4042:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2764, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2785, - "src": "4058:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2763, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4058:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4027:43:16" - }, - "returnParameters": { - "id": 2766, - "nodeType": "ParameterList", - "parameters": [], - "src": "4103:0:16" - }, - "scope": 2939, - "src": "4013:197:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2817, - "nodeType": "Block", - "src": "4289:152:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2793, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4312:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2796, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4326:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4318:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4318:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4318:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2798, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4333:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2792, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "4293:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4293:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2800, - "nodeType": "ExpressionStatement", - "src": "4293:47:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2801, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4344:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2803, - "indexExpression": { - "argumentTypes": null, - "id": 2802, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4354:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4344:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2808, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4382:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2804, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4362:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2806, - "indexExpression": { - "argumentTypes": null, - "id": 2805, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4372:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4362:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4362:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4362:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4344:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2811, - "nodeType": "ExpressionStatement", - "src": "4344:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2813, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2787, - "src": "4403:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2814, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2789, - "src": "4409:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2812, - "name": "Lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2727, - "src": "4398:4:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4398:18:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2816, - "nodeType": "EmitStatement", - "src": "4393:23:16" - } - ] - }, - "documentation": null, - "id": 2818, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "lock", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2790, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2787, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2818, - "src": "4227:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2786, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4227:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2789, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2818, - "src": "4241:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2788, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4241:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4226:30:16" - }, - "returnParameters": { - "id": 2791, - "nodeType": "ParameterList", - "parameters": [], - "src": "4289:0:16" - }, - "scope": 2939, - "src": "4213:228:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2850, - "nodeType": "Block", - "src": "4522:178:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2828, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4553:4:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - ], - "id": 2827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4545:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4545:7:16", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 2829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4545:13:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2830, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4560:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2831, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4566:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2825, - "name": "_transferUnchecked", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2531, - "src": "4526:18:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 2832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4526:47:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2833, - "nodeType": "ExpressionStatement", - "src": "4526:47:16" - }, - { - "expression": { - "argumentTypes": null, - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2834, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4601:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2836, - "indexExpression": { - "argumentTypes": null, - "id": 2835, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4611:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4601:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2841, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4639:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2837, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "4619:9:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 2839, - "indexExpression": { - "argumentTypes": null, - "id": 2838, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4629:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4619:15:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "4619:19:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 2842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4619:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4601:45:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2844, - "nodeType": "ExpressionStatement", - "src": "4601:45:16" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2846, - "name": "user", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2820, - "src": "4662:4:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2847, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2822, - "src": "4668:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2845, - "name": "Unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2733, - "src": "4655:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4655:20:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2849, - "nodeType": "EmitStatement", - "src": "4650:25:16" - } - ] - }, - "documentation": null, - "id": 2851, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2820, - "mutability": "mutable", - "name": "user", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2851, - "src": "4460:12:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4460:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2822, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2851, - "src": "4474:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4474:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4459:30:16" - }, - "returnParameters": { - "id": 2824, - "nodeType": "ParameterList", - "parameters": [], - "src": "4522:0:16" - }, - "scope": 2939, - "src": "4444:256:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2866, - "nodeType": "Block", - "src": "5009:51:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2859, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2855, - "src": "5018:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2860, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5027:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2862, - "indexExpression": { - "argumentTypes": null, - "id": 2861, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2853, - "src": "5035:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5027:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2863, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5027:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2858, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "5013:4:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5013:43:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2865, - "nodeType": "ExpressionStatement", - "src": "5013:43:16" - } - ] - }, - "documentation": null, - "id": 2867, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "lockContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2853, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2867, - "src": "4964:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2852, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4964:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2855, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2867, - "src": "4981:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2854, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4981:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4963:34:16" - }, - "returnParameters": { - "id": 2857, - "nodeType": "ParameterList", - "parameters": [], - "src": "5009:0:16" - }, - "scope": 2939, - "src": "4938:122:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2882, - "nodeType": "Block", - "src": "5136:53:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2875, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2871, - "src": "5147:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2876, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5156:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2878, - "indexExpression": { - "argumentTypes": null, - "id": 2877, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2869, - "src": "5164:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5156:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2879, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5156:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2874, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "5140:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 2880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5140:45:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2881, - "nodeType": "ExpressionStatement", - "src": "5140:45:16" - } - ] - }, - "documentation": null, - "id": 2883, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlockContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2869, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2883, - "src": "5091:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2868, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5091:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2871, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2883, - "src": "5108:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2870, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5108:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5090:34:16" - }, - "returnParameters": { - "id": 2873, - "nodeType": "ParameterList", - "parameters": [], - "src": "5136:0:16" - }, - "scope": 2939, - "src": "5063:126:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2898, - "nodeType": "Block", - "src": "5285:41:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2893, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2885, - "src": "5296:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2894, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2887, - "src": "5305:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2895, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2889, - "src": "5314:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2892, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "5289:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5289:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2897, - "nodeType": "ExpressionStatement", - "src": "5289:33:16" - } - ] - }, - "documentation": null, - "id": 2899, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewardForContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2885, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5223:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2884, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5223:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2887, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5240:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2886, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5240:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2889, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2899, - "src": "5257:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2888, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5257:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5222:51:16" - }, - "returnParameters": { - "id": 2891, - "nodeType": "ParameterList", - "parameters": [], - "src": "5285:0:16" - }, - "scope": 2939, - "src": "5192:134:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2917, - "nodeType": "Block", - "src": "5418:61:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2909, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2903, - "src": "5428:7:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2910, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5437:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2912, - "indexExpression": { - "argumentTypes": null, - "id": 2911, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2901, - "src": "5445:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5437:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "5437:28:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2914, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2905, - "src": "5467:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2908, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "5422:5:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5422:53:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2916, - "nodeType": "ExpressionStatement", - "src": "5422:53:16" - } - ] - }, - "documentation": null, - "id": 2918, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "seizeContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2901, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5356:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2900, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5356:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2903, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5373:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5373:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2905, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2918, - "src": "5390:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2904, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5390:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5355:51:16" - }, - "returnParameters": { - "id": 2907, - "nodeType": "ParameterList", - "parameters": [], - "src": "5418:0:16" - }, - "scope": 2939, - "src": "5329:150:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2937, - "nodeType": "Block", - "src": "5573:67:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 2928, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5584:7:16", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 2930, - "indexExpression": { - "argumentTypes": null, - "id": 2929, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2920, - "src": "5592:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5584:16:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 2931, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "5584:27:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 2932, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "5584:33:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 2933, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2922, - "src": "5619:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 2934, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2924, - "src": "5628:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2927, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "5577:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 2935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5577:59:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2936, - "nodeType": "ExpressionStatement", - "src": "5577:59:16" - } - ] - }, - "documentation": null, - "id": 2938, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewardForScheduling", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 2925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2920, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5511:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2919, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5511:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2922, - "mutability": "mutable", - "name": "_amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5528:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2921, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5528:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2924, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 2938, - "src": "5545:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2923, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5545:7:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5510:51:16" - }, - "returnParameters": { - "id": 2926, - "nodeType": "ParameterList", - "parameters": [], - "src": "5573:0:16" - }, - "scope": 2939, - "src": "5482:158:16", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 2940, - "src": "1333:4309:16" - } - ], - "src": "1242:4401:16" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.567Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecERC20Delegate.json b/build/contracts/IexecERC20Delegate.json deleted file mode 100644 index 579cf74d0..000000000 --- a/build/contracts/IexecERC20Delegate.json +++ /dev/null @@ -1,5468 +0,0 @@ -{ - "contractName": "IexecERC20Delegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "extraData", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Delegate.sol\":\"IexecERC20Delegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Delegate.sol\":{\"keccak256\":\"0x4fbfe96061c135cb76d50b63d02de2af203262f80bb5a148a13b6b103108a2d3\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://178934504642b9b899cb95292d6ec0d33f6dd3c41119c39ff7c0e748d816169e\",\"dweb:/ipfs/QmdyutvM43YqjYUhqXQzD2DJnYBrjVSqiTa2zBEg8hAzgj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610b6d833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b0390911690600080516020610b6d833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610a4f8061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f1578063a457c2d714610106578063a9059cbb14610119578063cae9ca511461012c578063f2fde38b1461013f57610093565b8063095ea7b31461009857806323b872dd146100c157806339509351146100d4578063715018a6146100e7575b600080fd5b6100ab6100a6366004610707565b610152565b6040516100b8919061083a565b60405180910390f35b6100ab6100cf3660046106c7565b610170565b6100ab6100e2366004610707565b6101df565b6100ef61022d565b005b6100f96102b5565b6040516100b891906107d5565b6100ab610114366004610707565b6102c4565b6100ab610127366004610707565b610312565b6100ab61013a366004610731565b610326565b6100ef61014d3660046106ac565b6103ee565b600061016661015f6104a4565b84846104a8565b5060015b92915050565b600061017d84848461055c565b6101d5846101896104a4565b6001600160a01b0387166000908152600f602052604081206101d0918791906101b06104a4565b6001600160a01b0316815260208101919091526040016000205490610577565b6104a8565b5060019392505050565b60006101666101ec6104a4565b846101d085600f60006101fd6104a4565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061058c565b6102356104a4565b6000546001600160a01b0390811691161461026b5760405162461bcd60e51b81526004016102629061093a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60006101666102d16104a4565b846101d085600f60006102e26104a4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610577565b600061016661031f6104a4565b848461055c565b600061033a6103336104a4565b86866104a8565b846001600160a01b0316638f4ffcb16103516104a4565b863087876040518663ffffffff1660e01b81526004016103759594939291906107e9565b602060405180830381600087803b15801561038f57600080fd5b505af11580156103a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c791906107b5565b6103e35760405162461bcd60e51b815260040161026290610910565b506001949350505050565b6103f66104a4565b6000546001600160a01b039081169116146104235760405162461bcd60e51b81526004016102629061093a565b6001600160a01b0381166104495760405162461bcd60e51b815260040161026290610888565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166104ce5760405162461bcd60e51b8152600401610262906109b4565b6001600160a01b0382166104f45760405162461bcd60e51b8152600401610262906108ce565b6001600160a01b038084166000818152600f602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061054f9085906109f8565b60405180910390a3505050565b610567838383610572565b6105728383836105a5565b505050565b60008282111561058657600080fd5b50900390565b60008282018381101561059e57600080fd5b9392505050565b6001600160a01b0383166105cb5760405162461bcd60e51b81526004016102629061096f565b6001600160a01b0382166105f15760405162461bcd60e51b815260040161026290610845565b6001600160a01b0383166000908152600d60205260409020546106149082610577565b6001600160a01b038085166000908152600d60205260408082209390935590841681522054610643908261058c565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061054f9085906109f8565b80356001600160a01b038116811461016a57600080fd5b6000602082840312156106bd578081fd5b61059e8383610695565b6000806000606084860312156106db578182fd5b83356106e681610a01565b925060208401356106f681610a01565b929592945050506040919091013590565b60008060408385031215610719578182fd5b6107238484610695565b946020939093013593505050565b60008060008060608587031215610746578081fd5b843561075181610a01565b935060208501359250604085013567ffffffffffffffff80821115610774578283fd5b818701915087601f830112610787578283fd5b813581811115610795578384fd5b8860208285010111156107a6578384fd5b95989497505060200194505050565b6000602082840312156107c6578081fd5b8151801515811461059e578182fd5b6001600160a01b0391909116815260200190565b6001600160a01b038681168252602082018690528416604082015260806060820181905281018290526000828460a084013781830160a090810191909152601f909201601f19160101949350505050565b901515815260200190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526010908201526f185c1c1c9bdd985b0b5c99599d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b6001600160a01b0381168114610a1657600080fd5b5056fea2646970667358221220009030c4199e994d0a286c372989e7f437c71bb13162967ddd15a6a218bf13b664736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f1578063a457c2d714610106578063a9059cbb14610119578063cae9ca511461012c578063f2fde38b1461013f57610093565b8063095ea7b31461009857806323b872dd146100c157806339509351146100d4578063715018a6146100e7575b600080fd5b6100ab6100a6366004610707565b610152565b6040516100b8919061083a565b60405180910390f35b6100ab6100cf3660046106c7565b610170565b6100ab6100e2366004610707565b6101df565b6100ef61022d565b005b6100f96102b5565b6040516100b891906107d5565b6100ab610114366004610707565b6102c4565b6100ab610127366004610707565b610312565b6100ab61013a366004610731565b610326565b6100ef61014d3660046106ac565b6103ee565b600061016661015f6104a4565b84846104a8565b5060015b92915050565b600061017d84848461055c565b6101d5846101896104a4565b6001600160a01b0387166000908152600f602052604081206101d0918791906101b06104a4565b6001600160a01b0316815260208101919091526040016000205490610577565b6104a8565b5060019392505050565b60006101666101ec6104a4565b846101d085600f60006101fd6104a4565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061058c565b6102356104a4565b6000546001600160a01b0390811691161461026b5760405162461bcd60e51b81526004016102629061093a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60006101666102d16104a4565b846101d085600f60006102e26104a4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610577565b600061016661031f6104a4565b848461055c565b600061033a6103336104a4565b86866104a8565b846001600160a01b0316638f4ffcb16103516104a4565b863087876040518663ffffffff1660e01b81526004016103759594939291906107e9565b602060405180830381600087803b15801561038f57600080fd5b505af11580156103a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c791906107b5565b6103e35760405162461bcd60e51b815260040161026290610910565b506001949350505050565b6103f66104a4565b6000546001600160a01b039081169116146104235760405162461bcd60e51b81526004016102629061093a565b6001600160a01b0381166104495760405162461bcd60e51b815260040161026290610888565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166104ce5760405162461bcd60e51b8152600401610262906109b4565b6001600160a01b0382166104f45760405162461bcd60e51b8152600401610262906108ce565b6001600160a01b038084166000818152600f602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061054f9085906109f8565b60405180910390a3505050565b610567838383610572565b6105728383836105a5565b505050565b60008282111561058657600080fd5b50900390565b60008282018381101561059e57600080fd5b9392505050565b6001600160a01b0383166105cb5760405162461bcd60e51b81526004016102629061096f565b6001600160a01b0382166105f15760405162461bcd60e51b815260040161026290610845565b6001600160a01b0383166000908152600d60205260409020546106149082610577565b6001600160a01b038085166000908152600d60205260408082209390935590841681522054610643908261058c565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061054f9085906109f8565b80356001600160a01b038116811461016a57600080fd5b6000602082840312156106bd578081fd5b61059e8383610695565b6000806000606084860312156106db578182fd5b83356106e681610a01565b925060208401356106f681610a01565b929592945050506040919091013590565b60008060408385031215610719578182fd5b6107238484610695565b946020939093013593505050565b60008060008060608587031215610746578081fd5b843561075181610a01565b935060208501359250604085013567ffffffffffffffff80821115610774578283fd5b818701915087601f830112610787578283fd5b813581811115610795578384fd5b8860208285010111156107a6578384fd5b95989497505060200194505050565b6000602082840312156107c6578081fd5b8151801515811461059e578182fd5b6001600160a01b0391909116815260200190565b6001600160a01b038681168252602082018690528416604082015260806060820181905281018290526000828460a084013781830160a090810191909152601f909201601f19160101949350505050565b901515815260200190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526010908201526f185c1c1c9bdd985b0b5c99599d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b6001600160a01b0381168114610a1657600080fd5b5056fea2646970667358221220009030c4199e994d0a286c372989e7f437c71bb13162967ddd15a6a218bf13b664736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1449:1364:18:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1449:1364:18;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1449:1364:18;;;;;;", - "deployedSourceMap": "1449:1364:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1680:145;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2131:249;;;;;;:::i;:::-;;:::i;2383:206::-;;;;;;:::i;:::-;;:::i;1689:145:83:-;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;2593:218:18:-;;;;;;:::i;:::-;;:::i;1524:153::-;;;;;;:::i;:::-;;:::i;1828:300::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;1680:145:18:-;1757:4;1768:38;1777:12;:10;:12::i;:::-;1791:7;1800:5;1768:8;:38::i;:::-;-1:-1:-1;1817:4:18;1680:145;;;;;:::o;2131:249::-;2232:4;2243:36;2253:6;2261:9;2272:6;2243:9;:36::i;:::-;2283:78;2292:6;2300:12;:10;:12::i;:::-;-1:-1:-1;;;;;2314:20:18;;;;;;:12;:20;;;;;:46;;2353:6;;2314:20;2335:12;:10;:12::i;:::-;-1:-1:-1;;;;;2314:34:18;;;;;;;;;;;;-1:-1:-1;2314:34:18;;;:38;:46::i;:::-;2283:8;:78::i;:::-;-1:-1:-1;2372:4:18;2131:249;;;;;:::o;2383:206::-;2475:4;2486:84;2495:12;:10;:12::i;:::-;2509:7;2518:51;2558:10;2518:12;:26;2531:12;:10;:12::i;:::-;-1:-1:-1;;;;;2518:26:18;;;;;;;;;;;;;;;;;-1:-1:-1;2518:26:18;;;:35;;;;;;;;;;;:39;:51::i;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;2593:218:18:-;2690:4;2702:89;2711:12;:10;:12::i;:::-;2725:7;2734:56;2774:15;2734:12;:26;2747:12;:10;:12::i;:::-;-1:-1:-1;;;;;2734:26:18;;;;;;;;;;;;;;;;;-1:-1:-1;2734:26:18;;;:35;;;;;;;;;;;:39;:56::i;1524:153::-;1605:4;1616:42;1626:12;:10;:12::i;:::-;1640:9;1651:6;1616:9;:42::i;1828:300::-;1938:4;1949:38;1958:12;:10;:12::i;:::-;1972:7;1981:5;1949:8;:38::i;:::-;2017:7;-1:-1:-1;;;;;1999:42:18;;2042:12;:10;:12::i;:::-;2056:5;2071:4;2078:9;;1999:89;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1991:118;;;;-1:-1:-1;;;1991:118:18;;;;;;;:::i;:::-;-1:-1:-1;2120:4:18;1828:300;;;;;;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;3028:308:16:-;-1:-1:-1;;;;;3117:19:16;;3109:68;;;;-1:-1:-1;;;3109:68:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;3189:21:16;;3181:68;;;;-1:-1:-1;;;3181:68:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;3254:19:16;;;;;;;:12;:19;;;;;;;;:28;;;;;;;;;;;;;;:37;;;3300:32;;;;;3285:6;;3300:32;:::i;:::-;;;;;;;;3028:308;;;:::o;2162:185::-;2247:47;2268:6;2276:9;2287:6;2247:20;:47::i;:::-;2298:45;2317:6;2325:9;2336:6;2298:18;:45::i;:::-;2162:185;;;:::o;470:124:77:-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;227:::-;285:7;311:5;;;328:6;;;;320:15;;;;;;346:1;227:124;-1:-1:-1;;;227:124:77:o;1755:404:16:-;-1:-1:-1;;;;;1857:20:16;;1849:70;;;;-1:-1:-1;;;1849:70:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;1931:23:16;;1923:71;;;;-1:-1:-1;;;1923:71:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;2020:18:16;;;;;;:10;:18;;;;;;:30;;2043:6;2020:22;:30::i;:::-;-1:-1:-1;;;;;1999:18:16;;;;;;;:10;:18;;;;;;:51;;;;2078:21;;;;;;;:33;;2104:6;2078:25;:33::i;:::-;-1:-1:-1;;;;;2054:21:16;;;;;;;:10;:21;;;;;;;:57;;;;2120:35;;;;;;;;;;2148:6;;2120:35;:::i;5:130:-1:-;72:20;;-1:-1;;;;;11095:54;;11937:35;;11927:2;;11986:1;;11976:12;772:241;;876:2;864:9;855:7;851:23;847:32;844:2;;;-1:-1;;882:12;844:2;944:53;989:7;965:22;944:53;:::i;1020:491::-;;;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;-1:-1;;1164:12;1126:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1216:63;-1:-1;1316:2;1355:22;;72:20;97:33;72:20;97:33;:::i;:::-;1120:391;;1324:63;;-1:-1;;;1424:2;1463:22;;;;702:20;;1120:391::o;1518:366::-;;;1639:2;1627:9;1618:7;1614:23;1610:32;1607:2;;;-1:-1;;1645:12;1607:2;1707:53;1752:7;1728:22;1707:53;:::i;:::-;1697:63;1797:2;1836:22;;;;702:20;;-1:-1;;;1601:283::o;1891:615::-;;;;;2048:2;2036:9;2027:7;2023:23;2019:32;2016:2;;;-1:-1;;2054:12;2016:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2106:63;-1:-1;2206:2;2245:22;;702:20;;-1:-1;2342:2;2327:18;;2314:32;2366:18;2355:30;;;2352:2;;;-1:-1;;2388:12;2352:2;2473:6;2462:9;2458:22;;;405:3;398:4;390:6;386:17;382:27;372:2;;-1:-1;;413:12;372:2;456:6;443:20;2366:18;475:6;472:30;469:2;;;-1:-1;;505:12;469:2;600:3;2206:2;580:17;541:6;566:32;;563:41;560:2;;;-1:-1;;607:12;560:2;2010:496;;;;-1:-1;;2206:2;537:17;;-1:-1;;;2010:496::o;2513:257::-;;2625:2;2613:9;2604:7;2600:23;2596:32;2593:2;;;-1:-1;;2631:12;2593:2;223:6;217:13;12083:5;11007:13;11000:21;12061:5;12058:32;12048:2;;-1:-1;;12094:12;6181:222;-1:-1;;;;;11095:54;;;;2997:37;;6308:2;6293:18;;6279:124::o;6410:676::-;-1:-1;;;;;11095:54;;;2856:58;;6830:2;6815:18;;6132:37;;;11095:54;;6913:2;6898:18;;2997:37;6657:3;6950:2;6935:18;;6928:48;;;6642:19;;10603;;;6410:676;10615:6;11696:3;11106:42;10643:14;;11678:30;11739:16;;;10643:14;11739:16;;;11732:27;;;;11857:7;11841:14;;;-1:-1;;11837:28;3432:39;;;6628:458;-1:-1;;;;6628:458::o;7093:210::-;11007:13;;11000:21;3111:34;;7214:2;7199:18;;7185:118::o;7310:416::-;7510:2;7524:47;;;3710:2;7495:18;;;10603:19;3746:34;10643:14;;;3726:55;-1:-1;;;3801:12;;;3794:27;3840:12;;;7481:245::o;7733:416::-;7933:2;7947:47;;;4091:2;7918:18;;;10603:19;4127:34;10643:14;;;4107:55;-1:-1;;;4182:12;;;4175:30;4224:12;;;7904:245::o;8156:416::-;8356:2;8370:47;;;4475:2;8341:18;;;10603:19;4511:34;10643:14;;;4491:55;-1:-1;;;4566:12;;;4559:26;4604:12;;;8327:245::o;8579:416::-;8779:2;8793:47;;;4855:2;8764:18;;;10603:19;-1:-1;;;10643:14;;;4871:39;4929:12;;;8750:245::o;9002:416::-;9202:2;9216:47;;;9187:18;;;10603:19;5216:34;10643:14;;;5196:55;5270:12;;;9173:245::o;9425:416::-;9625:2;9639:47;;;5521:2;9610:18;;;10603:19;5557:34;10643:14;;;5537:55;-1:-1;;;5612:12;;;5605:29;5653:12;;;9596:245::o;9848:416::-;10048:2;10062:47;;;5904:2;10033:18;;;10603:19;5940:34;10643:14;;;5920:55;-1:-1;;;5995:12;;;5988:28;6035:12;;;10019:245::o;10271:222::-;6132:37;;;10398:2;10383:18;;10369:124::o;11878:117::-;-1:-1;;;;;11095:54;;11937:35;;11927:2;;11986:1;;11976:12;11927:2;11921:74;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecERC20Core.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecERC20.sol\";\nimport \"../interfaces/IexecTokenSpender.sol\";\n\n\ncontract IexecERC20Delegate is IexecERC20, DelegateBase, IexecERC20Core\n{\n\tfunction transfer(address recipient, uint256 amount)\n\texternal override returns (bool)\n\t{\n\t\t_transfer(_msgSender(), recipient, amount);\n\t\treturn true;\n\t}\n\n\tfunction approve(address spender, uint256 value)\n\texternal override returns (bool)\n\t{\n\t\t_approve(_msgSender(), spender, value);\n\t\treturn true;\n\t}\n\n\tfunction approveAndCall(address spender, uint256 value, bytes calldata extraData)\n\texternal override returns (bool)\n\t{\n\t\t_approve(_msgSender(), spender, value);\n\t\trequire(IexecTokenSpender(spender).receiveApproval(_msgSender(), value, address(this), extraData), 'approval-refused');\n\t\treturn true;\n\t}\n\n\tfunction transferFrom(address sender, address recipient, uint256 amount)\n\texternal override returns (bool)\n\t{\n\t\t_transfer(sender, recipient, amount);\n\t\t_approve(sender, _msgSender(), m_allowances[sender][_msgSender()].sub(amount));\n\t\treturn true;\n\t}\n\n\tfunction increaseAllowance(address spender, uint256 addedValue)\n\texternal override returns (bool)\n\t{\n\t\t_approve(_msgSender(), spender, m_allowances[_msgSender()][spender].add(addedValue));\n\t\treturn true;\n\t}\n\n\n\tfunction decreaseAllowance(address spender, uint256 subtractedValue)\n\texternal override returns (bool)\n\t{\n\t\t\t_approve(_msgSender(), spender, m_allowances[_msgSender()][spender].sub(subtractedValue));\n\t\t\treturn true;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Delegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Delegate.sol", - "exportedSymbols": { - "IexecERC20Delegate": [ - 3180 - ] - }, - "id": 3181, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2997, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:18" - }, - { - "id": 2998, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:18" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 2999, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 2940, - "src": "1301:30:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3000, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 1659, - "src": "1332:29:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "../interfaces/IexecERC20.sol", - "id": 3001, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 9256, - "src": "1362:38:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../interfaces/IexecTokenSpender.sol", - "id": 3002, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 9973, - "src": "1401:45:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3003, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "1480:10:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 3004, - "nodeType": "InheritanceSpecifier", - "src": "1480:10:18" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3005, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1492:12:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3006, - "nodeType": "InheritanceSpecifier", - "src": "1492:12:18" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3007, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1506:14:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3008, - "nodeType": "InheritanceSpecifier", - "src": "1506:14:18" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9255, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3180, - "linearizedBaseContracts": [ - 3180, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9255 - ], - "name": "IexecERC20Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9205 - ], - "body": { - "id": 3027, - "nodeType": "Block", - "src": "1612:65:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3019, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1626:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1626:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3021, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3010, - "src": "1640:9:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3022, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3012, - "src": "1651:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3018, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2553, - "src": "1616:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1616:42:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3024, - "nodeType": "ExpressionStatement", - "src": "1616:42:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1669:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3017, - "id": 3026, - "nodeType": "Return", - "src": "1662:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "a9059cbb", - "id": 3028, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3014, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1587:8:18" - }, - "parameters": { - "id": 3013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3010, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1542:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1542:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3012, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1561:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1561:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1541:35:18" - }, - "returnParameters": { - "id": 3017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3016, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1605:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3015, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1605:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1604:6:18" - }, - "scope": 3180, - "src": "1524:153:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9214 - ], - "body": { - "id": 3047, - "nodeType": "Block", - "src": "1764:61:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3039, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1777:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1777:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3041, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3030, - "src": "1791:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3042, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "1800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3038, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "1768:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1768:38:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1768:38:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3045, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1817:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3037, - "id": 3046, - "nodeType": "Return", - "src": "1810:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "095ea7b3", - "id": 3048, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3034, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1739:8:18" - }, - "parameters": { - "id": 3033, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3030, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1697:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1697:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3032, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1714:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1714:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1696:32:18" - }, - "returnParameters": { - "id": 3037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1757:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1757:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1756:6:18" - }, - "scope": 3180, - "src": "1680:145:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9254 - ], - "body": { - "id": 3086, - "nodeType": "Block", - "src": "1945:183:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3061, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1958:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1958:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3063, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1972:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3064, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1981:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3060, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "1949:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1949:38:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3066, - "nodeType": "ExpressionStatement", - "src": "1949:38:18" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3072, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2042:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2042:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3074, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "2056:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3077, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2071:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Delegate_$3180", - "typeString": "contract IexecERC20Delegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Delegate_$3180", - "typeString": "contract IexecERC20Delegate" - } - ], - "id": 3076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2063:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3075, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2063:7:18", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3079, - "name": "extraData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3054, - "src": "2078:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3069, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "2017:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3068, - "name": "IexecTokenSpender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9972, - "src": "1999:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecTokenSpender_$9972_$", - "typeString": "type(contract IexecTokenSpender)" - } - }, - "id": 3070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1999:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 3071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "receiveApproval", - "nodeType": "MemberAccess", - "referencedDeclaration": 9971, - "src": "1999:42:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,uint256,address,bytes memory) external returns (bool)" - } - }, - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1999:89:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "617070726f76616c2d72656675736564", - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2090:18:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d64f2236d70e2a1122808b2033388031eef8e1337f7a1668e1e568e3c424feb", - "typeString": "literal_string \"approval-refused\"" - }, - "value": "approval-refused" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5d64f2236d70e2a1122808b2033388031eef8e1337f7a1668e1e568e3c424feb", - "typeString": "literal_string \"approval-refused\"" - } - ], - "id": 3067, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1991:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1991:118:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "1991:118:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2120:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3059, - "id": 3085, - "nodeType": "Return", - "src": "2113:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "cae9ca51", - "id": 3087, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approveAndCall", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3056, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1920:8:18" - }, - "parameters": { - "id": 3055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1852:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1852:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1869:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1869:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3054, - "mutability": "mutable", - "name": "extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1884:24:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3053, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1884:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1851:58:18" - }, - "returnParameters": { - "id": 3059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1938:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1938:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1937:6:18" - }, - "scope": 3180, - "src": "1828:300:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9225 - ], - "body": { - "id": 3122, - "nodeType": "Block", - "src": "2239:141:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3100, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2253:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3101, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3091, - "src": "2261:9:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3102, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2272:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3099, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2553, - "src": "2243:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2243:36:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2243:36:18" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3106, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2292:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3107, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2300:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2300:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3116, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2353:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3109, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2314:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3111, - "indexExpression": { - "argumentTypes": null, - "id": 3110, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2327:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2314:20:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3114, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3112, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2335:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2335:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2314:34:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2314:38:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2314:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3105, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2283:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2283:78:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3119, - "nodeType": "ExpressionStatement", - "src": "2283:78:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3120, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2372:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3098, - "id": 3121, - "nodeType": "Return", - "src": "2365:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "23b872dd", - "id": 3123, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3095, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2214:8:18" - }, - "parameters": { - "id": 3094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3089, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2153:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2153:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3091, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2169:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3090, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2169:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2188:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2188:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2152:51:18" - }, - "returnParameters": { - "id": 3098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3097, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2232:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3096, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2232:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2231:6:18" - }, - "scope": 3180, - "src": "2131:249:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9234 - ], - "body": { - "id": 3150, - "nodeType": "Block", - "src": "2482:107:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3134, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2495:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2495:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3136, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "2509:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3144, - "name": "addedValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "2558:10:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3137, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2518:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3140, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3138, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2531:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2531:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2518:26:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3142, - "indexExpression": { - "argumentTypes": null, - "id": 3141, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "2545:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2518:35:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2518:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2518:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3133, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2486:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2486:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3147, - "nodeType": "ExpressionStatement", - "src": "2486:84:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2581:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3132, - "id": 3149, - "nodeType": "Return", - "src": "2574:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "39509351", - "id": 3151, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3129, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2457:8:18" - }, - "parameters": { - "id": 3128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3125, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2410:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2410:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3127, - "mutability": "mutable", - "name": "addedValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2427:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3126, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2427:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2409:37:18" - }, - "returnParameters": { - "id": 3132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3131, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2475:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3130, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2474:6:18" - }, - "scope": 3180, - "src": "2383:206:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9243 - ], - "body": { - "id": 3178, - "nodeType": "Block", - "src": "2697:114:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3162, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2711:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3164, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3153, - "src": "2725:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3172, - "name": "subtractedValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3155, - "src": "2774:15:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3165, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2734:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3168, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3166, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2747:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2747:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2734:26:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3170, - "indexExpression": { - "argumentTypes": null, - "id": 3169, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3153, - "src": "2761:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2734:35:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2734:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2734:56:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3161, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2702:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2702:89:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2702:89:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2803:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3160, - "id": 3177, - "nodeType": "Return", - "src": "2796:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "a457c2d7", - "id": 3179, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decreaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3157, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2672:8:18" - }, - "parameters": { - "id": 3156, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3153, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2620:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3152, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2620:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3155, - "mutability": "mutable", - "name": "subtractedValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2637:23:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3154, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2637:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2619:42:18" - }, - "returnParameters": { - "id": 3160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3159, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2690:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3158, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2690:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2689:6:18" - }, - "scope": 3180, - "src": "2593:218:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 3181, - "src": "1449:1364:18" - } - ], - "src": "1242:1572:18" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Delegate.sol", - "exportedSymbols": { - "IexecERC20Delegate": [ - 3180 - ] - }, - "id": 3181, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2997, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:18" - }, - { - "id": 2998, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:18" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 2999, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 2940, - "src": "1301:30:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3000, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 1659, - "src": "1332:29:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "../interfaces/IexecERC20.sol", - "id": 3001, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 9256, - "src": "1362:38:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../interfaces/IexecTokenSpender.sol", - "id": 3002, - "nodeType": "ImportDirective", - "scope": 3181, - "sourceUnit": 9973, - "src": "1401:45:18", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3003, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "1480:10:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 3004, - "nodeType": "InheritanceSpecifier", - "src": "1480:10:18" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3005, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1492:12:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3006, - "nodeType": "InheritanceSpecifier", - "src": "1492:12:18" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3007, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1506:14:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3008, - "nodeType": "InheritanceSpecifier", - "src": "1506:14:18" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9255, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3180, - "linearizedBaseContracts": [ - 3180, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9255 - ], - "name": "IexecERC20Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9205 - ], - "body": { - "id": 3027, - "nodeType": "Block", - "src": "1612:65:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3019, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1626:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1626:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3021, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3010, - "src": "1640:9:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3022, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3012, - "src": "1651:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3018, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2553, - "src": "1616:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1616:42:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3024, - "nodeType": "ExpressionStatement", - "src": "1616:42:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1669:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3017, - "id": 3026, - "nodeType": "Return", - "src": "1662:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "a9059cbb", - "id": 3028, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3014, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1587:8:18" - }, - "parameters": { - "id": 3013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3010, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1542:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1542:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3012, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1561:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1561:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1541:35:18" - }, - "returnParameters": { - "id": 3017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3016, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3028, - "src": "1605:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3015, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1605:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1604:6:18" - }, - "scope": 3180, - "src": "1524:153:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9214 - ], - "body": { - "id": 3047, - "nodeType": "Block", - "src": "1764:61:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3039, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1777:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1777:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3041, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3030, - "src": "1791:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3042, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "1800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3038, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "1768:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1768:38:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1768:38:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3045, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1817:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3037, - "id": 3046, - "nodeType": "Return", - "src": "1810:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "095ea7b3", - "id": 3048, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3034, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1739:8:18" - }, - "parameters": { - "id": 3033, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3030, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1697:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1697:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3032, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1714:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1714:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1696:32:18" - }, - "returnParameters": { - "id": 3037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3036, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3048, - "src": "1757:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1757:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1756:6:18" - }, - "scope": 3180, - "src": "1680:145:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9254 - ], - "body": { - "id": 3086, - "nodeType": "Block", - "src": "1945:183:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3061, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1958:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1958:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3063, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1972:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3064, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1981:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3060, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "1949:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1949:38:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3066, - "nodeType": "ExpressionStatement", - "src": "1949:38:18" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3072, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2042:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2042:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3074, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "2056:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3077, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2071:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Delegate_$3180", - "typeString": "contract IexecERC20Delegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecERC20Delegate_$3180", - "typeString": "contract IexecERC20Delegate" - } - ], - "id": 3076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2063:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3075, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2063:7:18", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3079, - "name": "extraData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3054, - "src": "2078:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3069, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "2017:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3068, - "name": "IexecTokenSpender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9972, - "src": "1999:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecTokenSpender_$9972_$", - "typeString": "type(contract IexecTokenSpender)" - } - }, - "id": 3070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1999:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 3071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "receiveApproval", - "nodeType": "MemberAccess", - "referencedDeclaration": 9971, - "src": "1999:42:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,uint256,address,bytes memory) external returns (bool)" - } - }, - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1999:89:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "617070726f76616c2d72656675736564", - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2090:18:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d64f2236d70e2a1122808b2033388031eef8e1337f7a1668e1e568e3c424feb", - "typeString": "literal_string \"approval-refused\"" - }, - "value": "approval-refused" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5d64f2236d70e2a1122808b2033388031eef8e1337f7a1668e1e568e3c424feb", - "typeString": "literal_string \"approval-refused\"" - } - ], - "id": 3067, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1991:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1991:118:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "1991:118:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2120:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3059, - "id": 3085, - "nodeType": "Return", - "src": "2113:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "cae9ca51", - "id": 3087, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approveAndCall", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3056, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1920:8:18" - }, - "parameters": { - "id": 3055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1852:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1852:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1869:13:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1869:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3054, - "mutability": "mutable", - "name": "extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1884:24:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3053, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1884:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1851:58:18" - }, - "returnParameters": { - "id": 3059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3058, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3087, - "src": "1938:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1938:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1937:6:18" - }, - "scope": 3180, - "src": "1828:300:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9225 - ], - "body": { - "id": 3122, - "nodeType": "Block", - "src": "2239:141:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3100, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2253:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3101, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3091, - "src": "2261:9:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3102, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2272:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3099, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2553, - "src": "2243:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2243:36:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2243:36:18" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3106, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2292:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3107, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2300:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2300:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3116, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2353:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3109, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2314:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3111, - "indexExpression": { - "argumentTypes": null, - "id": 3110, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "2327:6:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2314:20:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3114, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3112, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2335:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2335:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2314:34:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2314:38:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2314:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3105, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2283:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2283:78:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3119, - "nodeType": "ExpressionStatement", - "src": "2283:78:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3120, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2372:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3098, - "id": 3121, - "nodeType": "Return", - "src": "2365:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "23b872dd", - "id": 3123, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3095, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2214:8:18" - }, - "parameters": { - "id": 3094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3089, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2153:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2153:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3091, - "mutability": "mutable", - "name": "recipient", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2169:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3090, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2169:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2188:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2188:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2152:51:18" - }, - "returnParameters": { - "id": 3098, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3097, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3123, - "src": "2232:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3096, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2232:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2231:6:18" - }, - "scope": 3180, - "src": "2131:249:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9234 - ], - "body": { - "id": 3150, - "nodeType": "Block", - "src": "2482:107:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3134, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2495:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2495:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3136, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "2509:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3144, - "name": "addedValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "2558:10:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3137, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2518:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3140, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3138, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2531:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2531:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2518:26:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3142, - "indexExpression": { - "argumentTypes": null, - "id": 3141, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3125, - "src": "2545:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2518:35:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "2518:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2518:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3133, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2486:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2486:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3147, - "nodeType": "ExpressionStatement", - "src": "2486:84:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2581:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3132, - "id": 3149, - "nodeType": "Return", - "src": "2574:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "39509351", - "id": 3151, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3129, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2457:8:18" - }, - "parameters": { - "id": 3128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3125, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2410:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2410:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3127, - "mutability": "mutable", - "name": "addedValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2427:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3126, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2427:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2409:37:18" - }, - "returnParameters": { - "id": 3132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3131, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3151, - "src": "2475:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3130, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2474:6:18" - }, - "scope": 3180, - "src": "2383:206:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9243 - ], - "body": { - "id": 3178, - "nodeType": "Block", - "src": "2697:114:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3162, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2711:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3164, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3153, - "src": "2725:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3172, - "name": "subtractedValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3155, - "src": "2774:15:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3165, - "name": "m_allowances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2734:12:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 3168, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3166, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2747:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2747:12:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2734:26:18", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 3170, - "indexExpression": { - "argumentTypes": null, - "id": 3169, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3153, - "src": "2761:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2734:35:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2734:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2734:56:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3161, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "2702:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2702:89:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2702:89:18" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2803:4:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3160, - "id": 3177, - "nodeType": "Return", - "src": "2796:11:18" - } - ] - }, - "documentation": null, - "functionSelector": "a457c2d7", - "id": 3179, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decreaseAllowance", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3157, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2672:8:18" - }, - "parameters": { - "id": 3156, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3153, - "mutability": "mutable", - "name": "spender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2620:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3152, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2620:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3155, - "mutability": "mutable", - "name": "subtractedValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2637:23:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3154, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2637:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2619:42:18" - }, - "returnParameters": { - "id": 3160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3159, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3179, - "src": "2690:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3158, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2690:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2689:6:18" - }, - "scope": 3180, - "src": "2593:218:18", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 3181, - "src": "1449:1364:18" - } - ], - "src": "1242:1572:18" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.573Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowNative.json b/build/contracts/IexecEscrowNative.json deleted file mode 100644 index 689bb9f8c..000000000 --- a/build/contracts/IexecEscrowNative.json +++ /dev/null @@ -1,1452 +0,0 @@ -{ - "contractName": "IexecEscrowNative", - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol\":\"IexecEscrowNative\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol\":{\"keccak256\":\"0x1da6ba549a888426896d8776ec80cf7f3254e5f7e9883d513bf7fd5a5097b91a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2834ec722717d8f6ffaba683517c985060f089c648f8c723a13d6e7a50626754\",\"dweb:/ipfs/Qmey9FX2XuxnWxW5DEn3e1D5mRKYWNsa1a5YLhwzq6so4L\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecEscrowNative\n{\n\treceive() external payable;\n\tfallback() external payable;\n\n\tfunction deposit() external payable returns (bool);\n\tfunction depositFor(address) external payable returns (bool);\n\tfunction depositForArray(uint256[] calldata,address[] calldata) external payable returns (bool);\n\tfunction withdraw(uint256) external returns (bool);\n\tfunction withdrawTo(uint256,address) external returns (bool);\n\tfunction recover() external returns (uint256);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "exportedSymbols": { - "IexecEscrowNative": [ - 9280 - ] - }, - "id": 9281, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9228, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:39" - }, - { - "id": 9229, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:39" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9280, - "linearizedBaseContracts": [ - 9280 - ], - "name": "IexecEscrowNative", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9232, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9230, - "nodeType": "ParameterList", - "parameters": [], - "src": "1340:2:39" - }, - "returnParameters": { - "id": 9231, - "nodeType": "ParameterList", - "parameters": [], - "src": "1359:0:39" - }, - "scope": 9280, - "src": "1333:27:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9235, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9233, - "nodeType": "ParameterList", - "parameters": [], - "src": "1370:2:39" - }, - "returnParameters": { - "id": 9234, - "nodeType": "ParameterList", - "parameters": [], - "src": "1389:0:39" - }, - "scope": 9280, - "src": "1362:28:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d0e30db0", - "id": 9240, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9236, - "nodeType": "ParameterList", - "parameters": [], - "src": "1409:2:39" - }, - "returnParameters": { - "id": 9239, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9238, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9240, - "src": "1438:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9237, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1438:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1437:6:39" - }, - "scope": 9280, - "src": "1393:51:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "aa67c919", - "id": 9247, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9242, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9247, - "src": "1466:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1466:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1465:9:39" - }, - "returnParameters": { - "id": 9246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9245, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9247, - "src": "1501:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9244, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1501:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:6:39" - }, - "scope": 9280, - "src": "1446:61:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 9258, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1534:18:39", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1534:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9249, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1534:9:39", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9253, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1553:18:39", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9251, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1553:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9252, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1553:9:39", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1533:39:39" - }, - "returnParameters": { - "id": 9257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9256, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1599:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9255, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1599:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1598:6:39" - }, - "scope": 9280, - "src": "1509:96:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 9265, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9260, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9265, - "src": "1625:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9259, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1625:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1624:9:39" - }, - "returnParameters": { - "id": 9264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9263, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9265, - "src": "1652:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1652:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1651:6:39" - }, - "scope": 9280, - "src": "1607:51:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c86283c8", - "id": 9274, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9267, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1680:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9266, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1680:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9269, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1688:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1688:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1679:17:39" - }, - "returnParameters": { - "id": 9273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9272, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1715:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9271, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1715:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1714:6:39" - }, - "scope": 9280, - "src": "1660:61:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce746024", - "id": 9279, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9275, - "nodeType": "ParameterList", - "parameters": [], - "src": "1739:2:39" - }, - "returnParameters": { - "id": 9278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9277, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9279, - "src": "1760:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1760:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1759:9:39" - }, - "scope": 9280, - "src": "1723:46:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9281, - "src": "1302:469:39" - } - ], - "src": "1242:530:39" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "exportedSymbols": { - "IexecEscrowNative": [ - 9280 - ] - }, - "id": 9281, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9228, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:39" - }, - { - "id": 9229, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:39" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9280, - "linearizedBaseContracts": [ - 9280 - ], - "name": "IexecEscrowNative", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9232, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9230, - "nodeType": "ParameterList", - "parameters": [], - "src": "1340:2:39" - }, - "returnParameters": { - "id": 9231, - "nodeType": "ParameterList", - "parameters": [], - "src": "1359:0:39" - }, - "scope": 9280, - "src": "1333:27:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9235, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9233, - "nodeType": "ParameterList", - "parameters": [], - "src": "1370:2:39" - }, - "returnParameters": { - "id": 9234, - "nodeType": "ParameterList", - "parameters": [], - "src": "1389:0:39" - }, - "scope": 9280, - "src": "1362:28:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d0e30db0", - "id": 9240, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9236, - "nodeType": "ParameterList", - "parameters": [], - "src": "1409:2:39" - }, - "returnParameters": { - "id": 9239, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9238, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9240, - "src": "1438:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9237, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1438:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1437:6:39" - }, - "scope": 9280, - "src": "1393:51:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "aa67c919", - "id": 9247, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9242, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9247, - "src": "1466:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1466:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1465:9:39" - }, - "returnParameters": { - "id": 9246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9245, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9247, - "src": "1501:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9244, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1501:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:6:39" - }, - "scope": 9280, - "src": "1446:61:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 9258, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1534:18:39", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1534:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9249, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1534:9:39", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9253, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1553:18:39", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9251, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1553:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9252, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1553:9:39", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1533:39:39" - }, - "returnParameters": { - "id": 9257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9256, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9258, - "src": "1599:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9255, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1599:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1598:6:39" - }, - "scope": 9280, - "src": "1509:96:39", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 9265, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9260, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9265, - "src": "1625:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9259, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1625:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1624:9:39" - }, - "returnParameters": { - "id": 9264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9263, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9265, - "src": "1652:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1652:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1651:6:39" - }, - "scope": 9280, - "src": "1607:51:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c86283c8", - "id": 9274, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9267, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1680:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9266, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1680:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9269, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1688:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1688:7:39", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1679:17:39" - }, - "returnParameters": { - "id": 9273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9272, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9274, - "src": "1715:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9271, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1715:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1714:6:39" - }, - "scope": 9280, - "src": "1660:61:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce746024", - "id": 9279, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9275, - "nodeType": "ParameterList", - "parameters": [], - "src": "1739:2:39" - }, - "returnParameters": { - "id": 9278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9277, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9279, - "src": "1760:7:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1760:7:39", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1759:9:39" - }, - "scope": 9280, - "src": "1723:46:39", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9281, - "src": "1302:469:39" - } - ], - "src": "1242:530:39" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.858Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowNativeDelegate.json b/build/contracts/IexecEscrowNativeDelegate.json deleted file mode 100644 index 9e21540c3..000000000 --- a/build/contracts/IexecEscrowNativeDelegate.json +++ /dev/null @@ -1,7594 +0,0 @@ -{ - "contractName": "IexecEscrowNativeDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowNativeDelegate.sol\":\"IexecEscrowNativeDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowNativeDelegate.sol\":{\"keccak256\":\"0x286edecb907dd430ba43f0ba74bd47b7e8a50a27fb665bfe06083e08f4b122e1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a9a0c6d59382410c9789f2e7b8d1c8d8d644e94dd388619757b599f9eedcc843\",\"dweb:/ipfs/QmSiXkvEZZh6NViRwUmdZ2pFPhuRdZGjeNTed1P4wa8bos\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol\":{\"keccak256\":\"0x1da6ba549a888426896d8776ec80cf7f3254e5f7e9883d513bf7fd5a5097b91a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2834ec722717d8f6ffaba683517c985060f089c648f8c723a13d6e7a50626754\",\"dweb:/ipfs/Qmey9FX2XuxnWxW5DEn3e1D5mRKYWNsa1a5YLhwzq6so4L\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610b62833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b0390911690600080516020610b62833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610a448061011e6000396000f3fe60806040526004361061008a5760003560e01c8063aa67c91911610059578063aa67c9191461012c578063c86283c81461013f578063ce7460241461015f578063d0e30db014610181578063f2fde38b14610189576100a1565b80632e1a7d4d146100ac5780633354f8a5146100e2578063715018a6146100f55780638da5cb5b1461010a576100a1565b366100a15761009f61009a6101a9565b6101ad565b005b61009f61009a6101a9565b3480156100b857600080fd5b506100cc6100c736600461084e565b6101e5565b6040516100d991906108a9565b60405180910390f35b6100cc6100f03660046107e5565b610219565b34801561010157600080fd5b5061009f6102e6565b34801561011657600080fd5b5061011f610365565b6040516100d99190610895565b6100cc61013a3660046107ca565b610374565b34801561014b57600080fd5b506100cc61015a366004610866565b61037f565b34801561016b57600080fd5b506101746103ae565b6040516100d99190610a05565b6100cc61041b565b34801561019557600080fd5b5061009f6101a43660046107ca565b61042e565b3390565b6101c4816101bf34633b9aca006104e4565b610506565b6101e26101cf6101a9565b6101dd34633b9aca006105c6565b6105e3565b50565b60006101f86101f26101a9565b83610664565b6102116102036101a9565b6101dd84633b9aca00610715565b506001919050565b60008382146102435760405162461bcd60e51b815260040161023a906108fa565b60405180910390fd5b3460005b858110156102c85761028b85858381811061025e57fe5b905060200201602081019061027391906107ca565b88888481811061027f57fe5b90506020020135610506565b6102be6102b7633b9aca008989858181106102a257fe5b9050602002013561071590919063ffffffff16565b8390610743565b9150600101610247565b506102da6102d46101a9565b826105e3565b50600195945050505050565b6102ee6101a9565b6000546001600160a01b0390811691161461031b5760405162461bcd60e51b815260040161023a90610928565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610211826101ad565b600061039261038c6101a9565b84610664565b6103a4826101dd85633b9aca00610715565b5060015b92915050565b60006103b86101a9565b6000546001600160a01b039081169116146103e55760405162461bcd60e51b815260040161023a90610928565b600c54600090610403906103fd47633b9aca006104e4565b90610743565b9050610416610410610365565b82610506565b905090565b600061042861009a6101a9565b50600190565b6104366101a9565b6000546001600160a01b039081169116146104635760405162461bcd60e51b815260040161023a90610928565b6001600160a01b0381166104895760405162461bcd60e51b815260040161023a906108b4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008082116104f257600080fd5b60008284816104fd57fe5b04949350505050565b6001600160a01b03821661052c5760405162461bcd60e51b815260040161023a906109ce565b6105386000838361065f565b600c546105459082610758565b600c556001600160a01b0382166000908152600d602052604090205461056b9082610758565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105ba908590610a05565b60405180910390a35050565b6000816105d257600080fd5b8183816105db57fe5b069392505050565b6000826001600160a01b0316826040516105fc90610892565b60006040518083038185875af1925050503d8060008114610639576040519150601f19603f3d011682016040523d82523d6000602084013e61063e565b606091505b505090508061065f5760405162461bcd60e51b815260040161023a9061099e565b505050565b6001600160a01b03821661068a5760405162461bcd60e51b815260040161023a9061095d565b6106968260008361065f565b600c546106a39082610743565b600c556001600160a01b0382166000908152600d60205260409020546106c99082610743565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105ba908590610a05565b600082610724575060006103a8565b8282028284828161073157fe5b041461073c57600080fd5b9392505050565b60008282111561075257600080fd5b50900390565b60008282018381101561073c57600080fd5b80356001600160a01b03811681146103a857600080fd5b60008083601f840112610792578182fd5b50813567ffffffffffffffff8111156107a9578182fd5b60208301915083602080830285010111156107c357600080fd5b9250929050565b6000602082840312156107db578081fd5b61073c838361076a565b600080600080604085870312156107fa578283fd5b843567ffffffffffffffff80821115610811578485fd5b61081d88838901610781565b90965094506020870135915080821115610835578384fd5b5061084287828801610781565b95989497509550505050565b60006020828403121561085f578081fd5b5035919050565b60008060408385031215610878578182fd5b82359150610889846020850161076a565b90509250929050565b90565b6001600160a01b0391909116815260200190565b901515815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601490820152730d2dcecc2d8d2c85ac2e4e4c2f25ad8cadccee8d60631b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601690820152751b985d1a5d994b5d1c985b9cd9995c8b59985a5b195960521b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b9081526020019056fea2646970667358221220860871b1bfe5ebd137055521a745cf715a9bc6ce07119c919a2bd3f9550678b364736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x60806040526004361061008a5760003560e01c8063aa67c91911610059578063aa67c9191461012c578063c86283c81461013f578063ce7460241461015f578063d0e30db014610181578063f2fde38b14610189576100a1565b80632e1a7d4d146100ac5780633354f8a5146100e2578063715018a6146100f55780638da5cb5b1461010a576100a1565b366100a15761009f61009a6101a9565b6101ad565b005b61009f61009a6101a9565b3480156100b857600080fd5b506100cc6100c736600461084e565b6101e5565b6040516100d991906108a9565b60405180910390f35b6100cc6100f03660046107e5565b610219565b34801561010157600080fd5b5061009f6102e6565b34801561011657600080fd5b5061011f610365565b6040516100d99190610895565b6100cc61013a3660046107ca565b610374565b34801561014b57600080fd5b506100cc61015a366004610866565b61037f565b34801561016b57600080fd5b506101746103ae565b6040516100d99190610a05565b6100cc61041b565b34801561019557600080fd5b5061009f6101a43660046107ca565b61042e565b3390565b6101c4816101bf34633b9aca006104e4565b610506565b6101e26101cf6101a9565b6101dd34633b9aca006105c6565b6105e3565b50565b60006101f86101f26101a9565b83610664565b6102116102036101a9565b6101dd84633b9aca00610715565b506001919050565b60008382146102435760405162461bcd60e51b815260040161023a906108fa565b60405180910390fd5b3460005b858110156102c85761028b85858381811061025e57fe5b905060200201602081019061027391906107ca565b88888481811061027f57fe5b90506020020135610506565b6102be6102b7633b9aca008989858181106102a257fe5b9050602002013561071590919063ffffffff16565b8390610743565b9150600101610247565b506102da6102d46101a9565b826105e3565b50600195945050505050565b6102ee6101a9565b6000546001600160a01b0390811691161461031b5760405162461bcd60e51b815260040161023a90610928565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610211826101ad565b600061039261038c6101a9565b84610664565b6103a4826101dd85633b9aca00610715565b5060015b92915050565b60006103b86101a9565b6000546001600160a01b039081169116146103e55760405162461bcd60e51b815260040161023a90610928565b600c54600090610403906103fd47633b9aca006104e4565b90610743565b9050610416610410610365565b82610506565b905090565b600061042861009a6101a9565b50600190565b6104366101a9565b6000546001600160a01b039081169116146104635760405162461bcd60e51b815260040161023a90610928565b6001600160a01b0381166104895760405162461bcd60e51b815260040161023a906108b4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008082116104f257600080fd5b60008284816104fd57fe5b04949350505050565b6001600160a01b03821661052c5760405162461bcd60e51b815260040161023a906109ce565b6105386000838361065f565b600c546105459082610758565b600c556001600160a01b0382166000908152600d602052604090205461056b9082610758565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105ba908590610a05565b60405180910390a35050565b6000816105d257600080fd5b8183816105db57fe5b069392505050565b6000826001600160a01b0316826040516105fc90610892565b60006040518083038185875af1925050503d8060008114610639576040519150601f19603f3d011682016040523d82523d6000602084013e61063e565b606091505b505090508061065f5760405162461bcd60e51b815260040161023a9061099e565b505050565b6001600160a01b03821661068a5760405162461bcd60e51b815260040161023a9061095d565b6106968260008361065f565b600c546106a39082610743565b600c556001600160a01b0382166000908152600d60205260409020546106c99082610743565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105ba908590610a05565b600082610724575060006103a8565b8282028284828161073157fe5b041461073c57600080fd5b9392505050565b60008282111561075257600080fd5b50900390565b60008282018381101561073c57600080fd5b80356001600160a01b03811681146103a857600080fd5b60008083601f840112610792578182fd5b50813567ffffffffffffffff8111156107a9578182fd5b60208301915083602080830285010111156107c357600080fd5b9250929050565b6000602082840312156107db578081fd5b61073c838361076a565b600080600080604085870312156107fa578283fd5b843567ffffffffffffffff80821115610811578485fd5b61081d88838901610781565b90965094506020870135915080821115610835578384fd5b5061084287828801610781565b95989497509550505050565b60006020828403121561085f578081fd5b5035919050565b60008060408385031215610878578182fd5b82359150610889846020850161076a565b90509250929050565b90565b6001600160a01b0391909116815260200190565b901515815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601490820152730d2dcecc2d8d2c85ac2e4e4c2f25ad8cadccee8d60631b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601690820152751b985d1a5d994b5d1c985b9cd9995c8b59985a5b195960521b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b9081526020019056fea2646970667358221220860871b1bfe5ebd137055521a745cf715a9bc6ce07119c919a2bd3f9550678b364736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1410:2064:20:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1410:2064:20;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1410:2064:20;;;;;;", - "deployedSourceMap": "1410:2064:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1862:22;1871:12;:10;:12::i;:::-;1862:8;:22::i;:::-;1410:2064;;1934:22;1943:12;:10;:12::i;2623:169::-;;;;;;;;;;-1:-1:-1;2623:169:20;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2194:426;;;;;;:::i;:::-;;:::i;1689:145:83:-;;;;;;;;;;;;;:::i;1066:77::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;2073:118:20:-;;;;;;:::i;:::-;;:::i;2795:181::-;;;;;;;;;;-1:-1:-1;2795:181:20;;;;;:::i;:::-;;:::i;2979:187::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1963:107::-;;;:::i;1983:240:83:-;;;;;;;;;;-1:-1:-1;1983:240:83;;;;;:::i;:::-;;:::i;590:104:81:-;677:10;590:104;:::o;3169:145:20:-;3218:39;3224:6;3232:24;:9;1575:7;3232:13;:24::i;:::-;3218:5;:39::i;:::-;3261:49;3271:12;:10;:12::i;:::-;3285:24;:9;1575:7;3285:13;:24::i;:::-;3261:9;:49::i;:::-;3169:145;:::o;2623:169::-;2685:4;2696:27;2702:12;:10;:12::i;:::-;2716:6;2696:5;:27::i;:::-;2727:46;2737:12;:10;:12::i;:::-;2751:21;:6;1575:7;2751:10;:21::i;2727:46::-;-1:-1:-1;2784:4:20;2623:169;;;:::o;2194:426::-;2311:4;2330:32;;;2322:65;;;;-1:-1:-1;;;2322:65:20;;;;;;;:::i;:::-;;;;;;;;;2411:9;2391:17;2424:140;2441:18;;;2424:140;;;2473:29;2479:7;;2487:1;2479:10;;;;;;;;;;;;;;;;;;;;:::i;:::-;2491:7;;2499:1;2491:10;;;;;;;;;;;;;2473:5;:29::i;:::-;2519:40;2533:25;1575:7;2533;;2541:1;2533:10;;;;;;;;;;;;;:14;;:25;;;;:::i;:::-;2519:9;;:13;:40::i;:::-;2507:52;-1:-1:-1;2461:3:20;;2424:140;;;;2567:34;2577:12;:10;:12::i;:::-;2591:9;2567;:34::i;:::-;-1:-1:-1;2612:4:20;;2194:426;-1:-1:-1;;;;;2194:426:20:o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;2073:118:20:-;2145:4;2156:16;2165:6;2156:8;:16::i;2795:181::-;2875:4;2886:27;2892:12;:10;:12::i;:::-;2906:6;2886:5;:27::i;:::-;2917:40;2927:6;2935:21;:6;1575:7;2935:10;:21::i;2917:40::-;-1:-1:-1;2968:4:20;2795:181;;;;;:::o;2979:187::-;3036:7;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;3107:13:20::1;::::0;3050::::1;::::0;3066:55:::1;::::0;:36:::1;:21;1575:7;3066:25;:36::i;:::-;:40:::0;::::1;:55::i;:::-;3050:71;;3125:21;3131:7;:5;:7::i;:::-;3140:5;3125;:21::i;:::-;3157:5:::0;-1:-1:-1;2979:187:20;:::o;1963:107::-;2018:4;2029:22;2038:12;:10;:12::i;2029:22::-;-1:-1:-1;2062:4:20;1963:107;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;1147:268:77:-;1205:7;1293:1;1289;:5;1281:14;;;;;;1300:9;1316:1;1312;:5;;;;;;;1147:268;-1:-1:-1;;;;1147:268:77:o;2350:335:16:-;-1:-1:-1;;;;;2421:21:16;;2413:65;;;;-1:-1:-1;;;2413:65:16;;;;;;;:::i;:::-;2483:49;2512:1;2516:7;2525:6;2483:20;:49::i;:::-;2553:13;;:25;;2571:6;2553:17;:25::i;:::-;2537:13;:41;-1:-1:-1;;;;;2604:19:16;;;;;;:10;:19;;;;;;:31;;2628:6;2604:23;:31::i;:::-;-1:-1:-1;;;;;2582:19:16;;;;;;:10;:19;;;;;;:53;;;;2644:37;;2582:19;;;2644:37;;;;2674:6;;2644:37;:::i;:::-;;;;;;;;2350:335;;:::o;1552:107:77:-;1610:7;1632:6;1624:15;;;;;;1654:1;1650;:5;;;;;;;1552:107;-1:-1:-1;;;1552:107:77:o;3317:155:20:-;3379:12;3397:2;-1:-1:-1;;;;;3397:7:20;3412:5;3397:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3378:44;;;3434:7;3426:42;;;;-1:-1:-1;;;3426:42:20;;;;;;;:::i;:::-;3317:155;;;:::o;2688:337:16:-;-1:-1:-1;;;;;2759:21:16;;2751:67;;;;-1:-1:-1;;;2751:67:16;;;;;;;:::i;:::-;2823:49;2844:7;2861:1;2865:6;2823:20;:49::i;:::-;2893:13;;:25;;2911:6;2893:17;:25::i;:::-;2877:13;:41;-1:-1:-1;;;;;2944:19:16;;;;;;:10;:19;;;;;;:31;;2968:6;2944:23;:31::i;:::-;-1:-1:-1;;;;;2922:19:16;;;;;;:10;:19;;;;;;:53;;;;2984:37;;;;;;3014:6;;2984:37;:::i;669:362:77:-;727:7;944:6;940:32;;-1:-1:-1;966:1:77;959:8;;940:32;987:5;;;991:1;987;:5;:1;1004:5;;;;;:10;996:19;;;;;;1026:1;669:362;-1:-1:-1;;;669:362:77:o;470:124::-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;227:::-;285:7;311:5;;;328:6;;;;320:15;;;;;5:130:-1;72:20;;-1:-1;;;;;9525:54;;9729:35;;9719:2;;9778:1;;9768:12;160:352;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;1035:241::-;;1139:2;1127:9;1118:7;1114:23;1110:32;1107:2;;;-1:-1;;1145:12;1107:2;1207:53;1252:7;1228:22;1207:53;:::i;1283:678::-;;;;;1474:2;1462:9;1453:7;1449:23;1445:32;1442:2;;;-1:-1;;1480:12;1442:2;1538:17;1525:31;1576:18;;1568:6;1565:30;1562:2;;;-1:-1;;1598:12;1562:2;1636:80;1708:7;1699:6;1688:9;1684:22;1636:80;:::i;:::-;1618:98;;-1:-1;1618:98;-1:-1;1781:2;1766:18;;1753:32;;-1:-1;1794:30;;;1791:2;;;-1:-1;;1827:12;1791:2;;1865:80;1937:7;1928:6;1917:9;1913:22;1865:80;:::i;:::-;1436:525;;;;-1:-1;1847:98;-1:-1;;;;1436:525::o;1968:241::-;;2072:2;2060:9;2051:7;2047:23;2043:32;2040:2;;;-1:-1;;2078:12;2040:2;-1:-1;965:20;;2034:175;-1:-1;2034:175::o;2216:366::-;;;2337:2;2325:9;2316:7;2312:23;2308:32;2305:2;;;-1:-1;;2343:12;2305:2;2426:22;965:20;2395:63;;2513:53;2558:7;2495:2;2538:9;2534:22;2513:53;:::i;:::-;2503:63;;2299:283;;;;;:::o;5349:379::-;5713:10;5537:191::o;5735:222::-;-1:-1;;;;;9525:54;;;;2660:37;;5862:2;5847:18;;5833:124::o;5964:210::-;9437:13;;9430:21;2774:34;;6085:2;6070:18;;6056:118::o;6181:416::-;6381:2;6395:47;;;3045:2;6366:18;;;9205:19;3081:34;9245:14;;;3061:55;-1:-1;;;3136:12;;;3129:30;3178:12;;;6352:245::o;6604:416::-;6804:2;6818:47;;;3429:2;6789:18;;;9205:19;-1:-1;;;9245:14;;;3445:43;3507:12;;;6775:245::o;7027:416::-;7227:2;7241:47;;;7212:18;;;9205:19;3794:34;9245:14;;;3774:55;3848:12;;;7198:245::o;7450:416::-;7650:2;7664:47;;;4099:2;7635:18;;;9205:19;4135:34;9245:14;;;4115:55;-1:-1;;;4190:12;;;4183:25;4227:12;;;7621:245::o;7873:416::-;8073:2;8087:47;;;4783:2;8058:18;;;9205:19;-1:-1;;;9245:14;;;4799:45;4863:12;;;8044:245::o;8296:416::-;8496:2;8510:47;;;5114:2;8481:18;;;9205:19;5150:33;9245:14;;;5130:54;5203:12;;;8467:245::o;8719:222::-;5300:37;;;8846:2;8831:18;;8817:124::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecERC20Core.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecEscrowNative.sol\";\n\n\ncontract IexecEscrowNativeDelegate is IexecEscrowNative, DelegateBase, IexecERC20Core\n{\n\tusing SafeMathExtended for uint256;\n\n\tuint256 internal constant nRLCtoWei = 10 ** 9;\n\t/***************************************************************************\n\t * Escrow methods: public *\n\t ***************************************************************************/\n\treceive()\n\texternal override payable\n\t{\n\t\t_deposit(_msgSender());\n\t}\n\n\tfallback()\n\texternal override payable\n\t{\n\t\t_deposit(_msgSender());\n\t}\n\n\tfunction deposit()\n\texternal override payable returns (bool)\n\t{\n\t\t_deposit(_msgSender());\n\t\treturn true;\n\t}\n\n\tfunction depositFor(address target)\n\texternal override payable returns (bool)\n\t{\n\t\t_deposit(target);\n\t\treturn true;\n\t}\n\n\tfunction depositForArray(uint256[] calldata amounts, address[] calldata targets)\n\texternal override payable returns (bool)\n\t{\n\t\trequire(amounts.length == targets.length, 'invalid-array-length');\n\t\tuint256 remaining = msg.value;\n\t\tfor (uint i = 0; i < amounts.length; ++i)\n\t\t{\n\t\t\t_mint(targets[i], amounts[i]);\n\t\t\tremaining = remaining.sub(amounts[i].mul(nRLCtoWei));\n\t\t}\n\t\t_withdraw(_msgSender(), remaining);\n\t\treturn true;\n\t}\n\n\tfunction withdraw(uint256 amount)\n\texternal override returns (bool)\n\t{\n\t\t_burn(_msgSender(), amount);\n\t\t_withdraw(_msgSender(), amount.mul(nRLCtoWei));\n\t\treturn true;\n\t}\n\n\tfunction withdrawTo(uint256 amount, address target)\n\texternal override returns (bool)\n\t{\n\t\t_burn(_msgSender(), amount);\n\t\t_withdraw(target, amount.mul(nRLCtoWei));\n\t\treturn true;\n\t}\n\n\tfunction recover()\n\texternal override onlyOwner returns (uint256)\n\t{\n\t\tuint256 delta = address(this).balance.div(nRLCtoWei).sub(m_totalSupply);\n\t\t_mint(owner(), delta);\n\t\treturn delta;\n\t}\n\n\tfunction _deposit(address target)\n\tinternal\n\t{\n\t\t_mint(target, msg.value.div(nRLCtoWei));\n\t\t_withdraw(_msgSender(), msg.value.mod(nRLCtoWei));\n\t}\n\n\tfunction _withdraw(address to, uint256 value)\n\tinternal\n\t{\n\t\t(bool success, ) = to.call{value: value}('');\n\t\trequire(success, 'native-transfer-failed');\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowNativeDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowNativeDelegate.sol", - "exportedSymbols": { - "IexecEscrowNativeDelegate": [ - 3497 - ] - }, - "id": 3498, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3229, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:20" - }, - { - "id": 3230, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:20" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3231, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 2940, - "src": "1301:30:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3232, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 1659, - "src": "1332:29:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "../interfaces/IexecEscrowNative.sol", - "id": 3233, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 9342, - "src": "1362:45:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3234, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "1448:17:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 3235, - "nodeType": "InheritanceSpecifier", - "src": "1448:17:20" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3236, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1467:12:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3237, - "nodeType": "InheritanceSpecifier", - "src": "1467:12:20" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3238, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1481:14:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3239, - "nodeType": "InheritanceSpecifier", - "src": "1481:14:20" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9341, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3497, - "linearizedBaseContracts": [ - 3497, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9341 - ], - "name": "IexecEscrowNativeDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3242, - "libraryName": { - "contractScope": null, - "id": 3240, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1505:16:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1499:35:20", - "typeName": { - "id": 3241, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1526:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "constant": true, - "id": 3247, - "mutability": "constant", - "name": "nRLCtoWei", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3497, - "src": "1537:45:20", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1537:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "hexValue": "3130", - "id": 3244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1575:2:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "argumentTypes": null, - "hexValue": "39", - "id": 3245, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1581:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "9" - }, - "src": "1575:7:20", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - } - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9293 - ], - "body": { - "id": 3256, - "nodeType": "Block", - "src": "1858:30:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3252, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1871:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1871:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3251, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "1862:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1862:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3255, - "nodeType": "ExpressionStatement", - "src": "1862:22:20" - } - ] - }, - "documentation": null, - "id": 3257, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3249, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1840:8:20" - }, - "parameters": { - "id": 3248, - "nodeType": "ParameterList", - "parameters": [], - "src": "1827:2:20" - }, - "returnParameters": { - "id": 3250, - "nodeType": "ParameterList", - "parameters": [], - "src": "1858:0:20" - }, - "scope": 3497, - "src": "1820:68:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9296 - ], - "body": { - "id": 3266, - "nodeType": "Block", - "src": "1930:30:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3262, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1943:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1943:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3261, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "1934:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1934:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3265, - "nodeType": "ExpressionStatement", - "src": "1934:22:20" - } - ] - }, - "documentation": null, - "id": 3267, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3259, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1912:8:20" - }, - "parameters": { - "id": 3258, - "nodeType": "ParameterList", - "parameters": [], - "src": "1899:2:20" - }, - "returnParameters": { - "id": 3260, - "nodeType": "ParameterList", - "parameters": [], - "src": "1930:0:20" - }, - "scope": 3497, - "src": "1891:69:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9301 - ], - "body": { - "id": 3280, - "nodeType": "Block", - "src": "2025:45:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3274, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2038:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2038:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3273, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "2029:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2029:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3277, - "nodeType": "ExpressionStatement", - "src": "2029:22:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3272, - "id": 3279, - "nodeType": "Return", - "src": "2055:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "d0e30db0", - "id": 3281, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3269, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1992:8:20" - }, - "parameters": { - "id": 3268, - "nodeType": "ParameterList", - "parameters": [], - "src": "1979:2:20" - }, - "returnParameters": { - "id": 3272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3271, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3281, - "src": "2018:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3270, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2018:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2017:6:20" - }, - "scope": 3497, - "src": "1963:107:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9308 - ], - "body": { - "id": 3295, - "nodeType": "Block", - "src": "2152:39:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3290, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3283, - "src": "2165:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3289, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "2156:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2156:16:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3292, - "nodeType": "ExpressionStatement", - "src": "2156:16:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2183:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3288, - "id": 3294, - "nodeType": "Return", - "src": "2176:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "aa67c919", - "id": 3296, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3285, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2119:8:20" - }, - "parameters": { - "id": 3284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3283, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3296, - "src": "2093:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3282, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2093:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2092:16:20" - }, - "returnParameters": { - "id": 3288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3287, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3296, - "src": "2145:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3286, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2145:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2144:6:20" - }, - "scope": 3497, - "src": "2073:118:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9319 - ], - "body": { - "id": 3364, - "nodeType": "Block", - "src": "2318:302:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3309, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2330:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2330:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3311, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "2348:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2348:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2330:32:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d61727261792d6c656e677468", - "id": 3314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2364:22:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - }, - "value": "invalid-array-length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - } - ], - "id": 3308, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2322:7:20", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2322:65:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3316, - "nodeType": "ExpressionStatement", - "src": "2322:65:20" - }, - { - "assignments": [ - 3318 - ], - "declarations": [ - { - "constant": false, - "id": 3318, - "mutability": "mutable", - "name": "remaining", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3364, - "src": "2391:17:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2391:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3319, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "2411:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2411:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2391:29:20" - }, - { - "body": { - "id": 3354, - "nodeType": "Block", - "src": "2468:96:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3334, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "2479:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3336, - "indexExpression": { - "argumentTypes": null, - "id": 3335, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2487:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2479:10:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3337, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2491:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3339, - "indexExpression": { - "argumentTypes": null, - "id": 3338, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2499:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2491:10:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3333, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2473:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2473:29:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3341, - "nodeType": "ExpressionStatement", - "src": "2473:29:20" - }, - { - "expression": { - "argumentTypes": null, - "id": 3352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 3342, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2507:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3349, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2548:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3345, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2533:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3347, - "indexExpression": { - "argumentTypes": null, - "id": 3346, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2541:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2533:10:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2533:14:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:25:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3343, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2519:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2519:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2519:40:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2507:52:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3353, - "nodeType": "ExpressionStatement", - "src": "2507:52:20" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3326, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2441:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3327, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2445:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2445:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2441:18:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3355, - "initializationExpression": { - "assignments": [ - 3323 - ], - "declarations": [ - { - "constant": false, - "id": 3323, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3355, - "src": "2429:6:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3322, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2429:4:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3325, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 3324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2438:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2429:10:20" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 3331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2461:3:20", - "subExpression": { - "argumentTypes": null, - "id": 3330, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2463:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3332, - "nodeType": "ExpressionStatement", - "src": "2461:3:20" - }, - "nodeType": "ForStatement", - "src": "2424:140:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3357, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2577:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2577:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3359, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2591:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3356, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2567:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2567:34:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3361, - "nodeType": "ExpressionStatement", - "src": "2567:34:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2612:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3307, - "id": 3363, - "nodeType": "Return", - "src": "2605:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 3365, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3304, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2285:8:20" - }, - "parameters": { - "id": 3303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3299, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2219:26:20", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2219:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3298, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2219:9:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2247:26:20", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2247:9:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2218:56:20" - }, - "returnParameters": { - "id": 3307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2311:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3305, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2311:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2310:6:20" - }, - "scope": 3497, - "src": "2194:426:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9326 - ], - "body": { - "id": 3390, - "nodeType": "Block", - "src": "2692:100:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3374, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2702:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2702:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3376, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3367, - "src": "2716:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3373, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2696:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2696:27:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3378, - "nodeType": "ExpressionStatement", - "src": "2696:27:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3380, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2737:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2737:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3384, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2762:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3382, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3367, - "src": "2751:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2751:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2751:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3379, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2727:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2727:46:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3387, - "nodeType": "ExpressionStatement", - "src": "2727:46:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2784:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3372, - "id": 3389, - "nodeType": "Return", - "src": "2777:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 3391, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3369, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2667:8:20" - }, - "parameters": { - "id": 3368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3367, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3391, - "src": "2641:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2641:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2640:16:20" - }, - "returnParameters": { - "id": 3372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3371, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3391, - "src": "2685:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2685:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2684:6:20" - }, - "scope": 3497, - "src": "2623:169:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9335 - ], - "body": { - "id": 3417, - "nodeType": "Block", - "src": "2882:94:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3402, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2892:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2892:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3404, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3393, - "src": "2906:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3401, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2886:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2886:27:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3406, - "nodeType": "ExpressionStatement", - "src": "2886:27:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3408, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "2927:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3411, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2946:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3409, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3393, - "src": "2935:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2935:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2935:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3407, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2917:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2917:40:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3414, - "nodeType": "ExpressionStatement", - "src": "2917:40:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2968:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3400, - "id": 3416, - "nodeType": "Return", - "src": "2961:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "c86283c8", - "id": 3418, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3397, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2857:8:20" - }, - "parameters": { - "id": 3396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3393, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2815:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2815:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2831:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2831:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2814:32:20" - }, - "returnParameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2875:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3398, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2875:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2874:6:20" - }, - "scope": 3497, - "src": "2795:181:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9340 - ], - "body": { - "id": 3448, - "nodeType": "Block", - "src": "3046:120:20", - "statements": [ - { - "assignments": [ - 3427 - ], - "declarations": [ - { - "constant": false, - "id": 3427, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3448, - "src": "3050:13:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3426, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3050:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3439, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3437, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "3107:13:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3434, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3092:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3430, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3074:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNativeDelegate_$3497", - "typeString": "contract IexecEscrowNativeDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowNativeDelegate_$3497", - "typeString": "contract IexecEscrowNativeDelegate" - } - ], - "id": 3429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3066:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3428, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3066:7:20", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:13:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 3432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3066:21:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "3066:25:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:36:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "3066:40:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:55:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3050:71:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3441, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14068, - "src": "3131:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 3442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3131:7:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3443, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "3140:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3440, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3125:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3125:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3445, - "nodeType": "ExpressionStatement", - "src": "3125:21:20" - }, - { - "expression": { - "argumentTypes": null, - "id": 3446, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "3157:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3425, - "id": 3447, - "nodeType": "Return", - "src": "3150:12:20" - } - ] - }, - "documentation": null, - "functionSelector": "ce746024", - "id": 3449, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 3422, - "modifierName": { - "argumentTypes": null, - "id": 3421, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3017:9:20", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3017:9:20" - } - ], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3420, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3008:8:20" - }, - "parameters": { - "id": 3419, - "nodeType": "ParameterList", - "parameters": [], - "src": "2995:2:20" - }, - "returnParameters": { - "id": 3425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3424, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3449, - "src": "3036:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3423, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3036:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3035:9:20" - }, - "scope": 3497, - "src": "2979:187:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3473, - "nodeType": "Block", - "src": "3214:100:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3455, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3451, - "src": "3224:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3459, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3246:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3456, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3232:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3232:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "3232:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3232:24:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3454, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3218:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3218:39:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3462, - "nodeType": "ExpressionStatement", - "src": "3218:39:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3464, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "3271:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3271:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3469, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3299:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3466, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3285:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3285:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mod", - "nodeType": "MemberAccess", - "referencedDeclaration": 13460, - "src": "3285:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3285:24:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3463, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "3261:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3261:49:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3472, - "nodeType": "ExpressionStatement", - "src": "3261:49:20" - } - ] - }, - "documentation": null, - "id": 3474, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3451, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3474, - "src": "3187:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3187:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3186:16:20" - }, - "returnParameters": { - "id": 3453, - "nodeType": "ParameterList", - "parameters": [], - "src": "3214:0:20" - }, - "scope": 3497, - "src": "3169:145:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3495, - "nodeType": "Block", - "src": "3374:98:20", - "statements": [ - { - "assignments": [ - 3482, - null - ], - "declarations": [ - { - "constant": false, - "id": 3482, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3495, - "src": "3379:12:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3379:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 3489, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 3487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3419:2:20", - "subdenomination": null, - "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": { - "argumentTypes": null, - "id": 3483, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3476, - "src": "3397:2:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3397:7:20", - "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": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 3485, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3478, - "src": "3412:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "3397:21:20", - "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": 3488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3397:25:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3378:44:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3491, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3482, - "src": "3434:7:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e61746976652d7472616e736665722d6661696c6564", - "id": 3492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3443:24:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - }, - "value": "native-transfer-failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - } - ], - "id": 3490, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3426:7:20", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3426:42:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3494, - "nodeType": "ExpressionStatement", - "src": "3426:42:20" - } - ] - }, - "documentation": null, - "id": 3496, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3479, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3476, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3496, - "src": "3336:10:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3336:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3478, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3496, - "src": "3348:13:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3348:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3335:27:20" - }, - "returnParameters": { - "id": 3480, - "nodeType": "ParameterList", - "parameters": [], - "src": "3374:0:20" - }, - "scope": 3497, - "src": "3317:155:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 3498, - "src": "1410:2064:20" - } - ], - "src": "1242:2233:20" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowNativeDelegate.sol", - "exportedSymbols": { - "IexecEscrowNativeDelegate": [ - 3497 - ] - }, - "id": 3498, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3229, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:20" - }, - { - "id": 3230, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:20" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3231, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 2940, - "src": "1301:30:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3232, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 1659, - "src": "1332:29:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "../interfaces/IexecEscrowNative.sol", - "id": 3233, - "nodeType": "ImportDirective", - "scope": 3498, - "sourceUnit": 9342, - "src": "1362:45:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3234, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "1448:17:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 3235, - "nodeType": "InheritanceSpecifier", - "src": "1448:17:20" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3236, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1467:12:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3237, - "nodeType": "InheritanceSpecifier", - "src": "1467:12:20" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3238, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1481:14:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3239, - "nodeType": "InheritanceSpecifier", - "src": "1481:14:20" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9341, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3497, - "linearizedBaseContracts": [ - 3497, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9341 - ], - "name": "IexecEscrowNativeDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3242, - "libraryName": { - "contractScope": null, - "id": 3240, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1505:16:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1499:35:20", - "typeName": { - "id": 3241, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1526:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "constant": true, - "id": 3247, - "mutability": "constant", - "name": "nRLCtoWei", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3497, - "src": "1537:45:20", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1537:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "hexValue": "3130", - "id": 3244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1575:2:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "argumentTypes": null, - "hexValue": "39", - "id": 3245, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1581:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "9" - }, - "src": "1575:7:20", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - } - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9293 - ], - "body": { - "id": 3256, - "nodeType": "Block", - "src": "1858:30:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3252, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1871:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1871:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3251, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "1862:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1862:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3255, - "nodeType": "ExpressionStatement", - "src": "1862:22:20" - } - ] - }, - "documentation": null, - "id": 3257, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3249, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1840:8:20" - }, - "parameters": { - "id": 3248, - "nodeType": "ParameterList", - "parameters": [], - "src": "1827:2:20" - }, - "returnParameters": { - "id": 3250, - "nodeType": "ParameterList", - "parameters": [], - "src": "1858:0:20" - }, - "scope": 3497, - "src": "1820:68:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9296 - ], - "body": { - "id": 3266, - "nodeType": "Block", - "src": "1930:30:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3262, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "1943:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1943:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3261, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "1934:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1934:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3265, - "nodeType": "ExpressionStatement", - "src": "1934:22:20" - } - ] - }, - "documentation": null, - "id": 3267, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3259, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1912:8:20" - }, - "parameters": { - "id": 3258, - "nodeType": "ParameterList", - "parameters": [], - "src": "1899:2:20" - }, - "returnParameters": { - "id": 3260, - "nodeType": "ParameterList", - "parameters": [], - "src": "1930:0:20" - }, - "scope": 3497, - "src": "1891:69:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9301 - ], - "body": { - "id": 3280, - "nodeType": "Block", - "src": "2025:45:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3274, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2038:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2038:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3273, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "2029:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2029:22:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3277, - "nodeType": "ExpressionStatement", - "src": "2029:22:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3272, - "id": 3279, - "nodeType": "Return", - "src": "2055:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "d0e30db0", - "id": 3281, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3269, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1992:8:20" - }, - "parameters": { - "id": 3268, - "nodeType": "ParameterList", - "parameters": [], - "src": "1979:2:20" - }, - "returnParameters": { - "id": 3272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3271, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3281, - "src": "2018:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3270, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2018:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2017:6:20" - }, - "scope": 3497, - "src": "1963:107:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9308 - ], - "body": { - "id": 3295, - "nodeType": "Block", - "src": "2152:39:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3290, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3283, - "src": "2165:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 3289, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3474, - "src": "2156:8:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 3291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2156:16:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3292, - "nodeType": "ExpressionStatement", - "src": "2156:16:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2183:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3288, - "id": 3294, - "nodeType": "Return", - "src": "2176:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "aa67c919", - "id": 3296, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3285, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2119:8:20" - }, - "parameters": { - "id": 3284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3283, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3296, - "src": "2093:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3282, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2093:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2092:16:20" - }, - "returnParameters": { - "id": 3288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3287, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3296, - "src": "2145:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3286, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2145:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2144:6:20" - }, - "scope": 3497, - "src": "2073:118:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9319 - ], - "body": { - "id": 3364, - "nodeType": "Block", - "src": "2318:302:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3309, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2330:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2330:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3311, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "2348:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2348:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2330:32:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d61727261792d6c656e677468", - "id": 3314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2364:22:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - }, - "value": "invalid-array-length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - } - ], - "id": 3308, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2322:7:20", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2322:65:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3316, - "nodeType": "ExpressionStatement", - "src": "2322:65:20" - }, - { - "assignments": [ - 3318 - ], - "declarations": [ - { - "constant": false, - "id": 3318, - "mutability": "mutable", - "name": "remaining", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3364, - "src": "2391:17:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2391:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3319, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "2411:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2411:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2391:29:20" - }, - { - "body": { - "id": 3354, - "nodeType": "Block", - "src": "2468:96:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3334, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "2479:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3336, - "indexExpression": { - "argumentTypes": null, - "id": 3335, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2487:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2479:10:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3337, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2491:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3339, - "indexExpression": { - "argumentTypes": null, - "id": 3338, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2499:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2491:10:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3333, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2473:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2473:29:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3341, - "nodeType": "ExpressionStatement", - "src": "2473:29:20" - }, - { - "expression": { - "argumentTypes": null, - "id": 3352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 3342, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2507:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3349, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2548:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3345, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2533:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3347, - "indexExpression": { - "argumentTypes": null, - "id": 3346, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2541:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2533:10:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2533:14:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:25:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3343, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2519:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "2519:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2519:40:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2507:52:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3353, - "nodeType": "ExpressionStatement", - "src": "2507:52:20" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3326, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2441:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3327, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3299, - "src": "2445:7:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2445:14:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2441:18:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3355, - "initializationExpression": { - "assignments": [ - 3323 - ], - "declarations": [ - { - "constant": false, - "id": 3323, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3355, - "src": "2429:6:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3322, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2429:4:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3325, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 3324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2438:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2429:10:20" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 3331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2461:3:20", - "subExpression": { - "argumentTypes": null, - "id": 3330, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "2463:1:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3332, - "nodeType": "ExpressionStatement", - "src": "2461:3:20" - }, - "nodeType": "ForStatement", - "src": "2424:140:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3357, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2577:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2577:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3359, - "name": "remaining", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2591:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3356, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2567:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2567:34:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3361, - "nodeType": "ExpressionStatement", - "src": "2567:34:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2612:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3307, - "id": 3363, - "nodeType": "Return", - "src": "2605:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 3365, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3304, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2285:8:20" - }, - "parameters": { - "id": 3303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3299, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2219:26:20", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2219:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3298, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2219:9:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2247:26:20", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2247:9:20", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2218:56:20" - }, - "returnParameters": { - "id": 3307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3306, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3365, - "src": "2311:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3305, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2311:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2310:6:20" - }, - "scope": 3497, - "src": "2194:426:20", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9326 - ], - "body": { - "id": 3390, - "nodeType": "Block", - "src": "2692:100:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3374, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2702:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2702:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3376, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3367, - "src": "2716:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3373, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2696:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2696:27:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3378, - "nodeType": "ExpressionStatement", - "src": "2696:27:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3380, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2737:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2737:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3384, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2762:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3382, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3367, - "src": "2751:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2751:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2751:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3379, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2727:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2727:46:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3387, - "nodeType": "ExpressionStatement", - "src": "2727:46:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2784:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3372, - "id": 3389, - "nodeType": "Return", - "src": "2777:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 3391, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3369, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2667:8:20" - }, - "parameters": { - "id": 3368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3367, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3391, - "src": "2641:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2641:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2640:16:20" - }, - "returnParameters": { - "id": 3372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3371, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3391, - "src": "2685:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2685:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2684:6:20" - }, - "scope": 3497, - "src": "2623:169:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9335 - ], - "body": { - "id": 3417, - "nodeType": "Block", - "src": "2882:94:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3402, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2892:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2892:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3404, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3393, - "src": "2906:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3401, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2886:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2886:27:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3406, - "nodeType": "ExpressionStatement", - "src": "2886:27:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3408, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "2927:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3411, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "2946:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3409, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3393, - "src": "2935:6:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "2935:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2935:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3407, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "2917:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2917:40:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3414, - "nodeType": "ExpressionStatement", - "src": "2917:40:20" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2968:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3400, - "id": 3416, - "nodeType": "Return", - "src": "2961:11:20" - } - ] - }, - "documentation": null, - "functionSelector": "c86283c8", - "id": 3418, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3397, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2857:8:20" - }, - "parameters": { - "id": 3396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3393, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2815:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2815:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2831:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2831:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2814:32:20" - }, - "returnParameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3418, - "src": "2875:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3398, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2875:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2874:6:20" - }, - "scope": 3497, - "src": "2795:181:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9340 - ], - "body": { - "id": 3448, - "nodeType": "Block", - "src": "3046:120:20", - "statements": [ - { - "assignments": [ - 3427 - ], - "declarations": [ - { - "constant": false, - "id": 3427, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3448, - "src": "3050:13:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3426, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3050:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3439, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3437, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "3107:13:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3434, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3092:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3430, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3074:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNativeDelegate_$3497", - "typeString": "contract IexecEscrowNativeDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowNativeDelegate_$3497", - "typeString": "contract IexecEscrowNativeDelegate" - } - ], - "id": 3429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3066:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3428, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3066:7:20", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:13:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 3432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3066:21:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "3066:25:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:36:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "3066:40:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:55:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3050:71:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3441, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14068, - "src": "3131:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 3442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3131:7:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3443, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "3140:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3440, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3125:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3125:21:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3445, - "nodeType": "ExpressionStatement", - "src": "3125:21:20" - }, - { - "expression": { - "argumentTypes": null, - "id": 3446, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "3157:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3425, - "id": 3447, - "nodeType": "Return", - "src": "3150:12:20" - } - ] - }, - "documentation": null, - "functionSelector": "ce746024", - "id": 3449, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 3422, - "modifierName": { - "argumentTypes": null, - "id": 3421, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3017:9:20", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3017:9:20" - } - ], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3420, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3008:8:20" - }, - "parameters": { - "id": 3419, - "nodeType": "ParameterList", - "parameters": [], - "src": "2995:2:20" - }, - "returnParameters": { - "id": 3425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3424, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3449, - "src": "3036:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3423, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3036:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3035:9:20" - }, - "scope": 3497, - "src": "2979:187:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3473, - "nodeType": "Block", - "src": "3214:100:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3455, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3451, - "src": "3224:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3459, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3246:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3456, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3232:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3232:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "3232:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3232:24:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3454, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3218:5:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3218:39:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3462, - "nodeType": "ExpressionStatement", - "src": "3218:39:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3464, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "3271:10:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3271:12:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3469, - "name": "nRLCtoWei", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3247, - "src": "3299:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3466, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3285:3:20", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 3467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3285:9:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mod", - "nodeType": "MemberAccess", - "referencedDeclaration": 13460, - "src": "3285:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3285:24:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3463, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3496, - "src": "3261:9:20", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3261:49:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3472, - "nodeType": "ExpressionStatement", - "src": "3261:49:20" - } - ] - }, - "documentation": null, - "id": 3474, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3451, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3474, - "src": "3187:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3187:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3186:16:20" - }, - "returnParameters": { - "id": 3453, - "nodeType": "ParameterList", - "parameters": [], - "src": "3214:0:20" - }, - "scope": 3497, - "src": "3169:145:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3495, - "nodeType": "Block", - "src": "3374:98:20", - "statements": [ - { - "assignments": [ - 3482, - null - ], - "declarations": [ - { - "constant": false, - "id": 3482, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3495, - "src": "3379:12:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3379:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 3489, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 3487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3419:2:20", - "subdenomination": null, - "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": { - "argumentTypes": null, - "id": 3483, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3476, - "src": "3397:2:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3397:7:20", - "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": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 3485, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3478, - "src": "3412:5:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "3397:21:20", - "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": 3488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3397:25:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3378:44:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3491, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3482, - "src": "3434:7:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e61746976652d7472616e736665722d6661696c6564", - "id": 3492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3443:24:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - }, - "value": "native-transfer-failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - } - ], - "id": 3490, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3426:7:20", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3426:42:20", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3494, - "nodeType": "ExpressionStatement", - "src": "3426:42:20" - } - ] - }, - "documentation": null, - "id": 3496, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3479, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3476, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3496, - "src": "3336:10:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3336:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3478, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3496, - "src": "3348:13:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3348:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3335:27:20" - }, - "returnParameters": { - "id": 3480, - "nodeType": "ParameterList", - "parameters": [], - "src": "3374:0:20" - }, - "scope": 3497, - "src": "3317:155:20", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 3498, - "src": "1410:2064:20" - } - ], - "src": "1242:2233:20" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.580Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowToken.json b/build/contracts/IexecEscrowToken.json deleted file mode 100644 index 0a5040590..000000000 --- a/build/contracts/IexecEscrowToken.json +++ /dev/null @@ -1,1577 +0,0 @@ -{ - "contractName": "IexecEscrowToken", - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol\":\"IexecEscrowToken\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol\":{\"keccak256\":\"0x35891a5e6747ea3f767461e96c0f83a65083266f2a408ca7d12d3f5f75a95b22\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ab801e62787f65163dc730c778fb470dcf8ec2e294184b54905fc9dcd93d61c9\",\"dweb:/ipfs/QmcVsR97kjqQqaggUokYrKKRSFGbgzRpx9ki2wgJtj8rZc\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecEscrowToken\n{\n\treceive() external payable;\n\tfallback() external payable;\n\n\tfunction deposit(uint256) external returns (bool);\n\tfunction depositFor(uint256,address) external returns (bool);\n\tfunction depositForArray(uint256[] calldata,address[] calldata) external returns (bool);\n\tfunction withdraw(uint256) external returns (bool);\n\tfunction withdrawTo(uint256,address) external returns (bool);\n\tfunction recover() external returns (uint256);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "exportedSymbols": { - "IexecEscrowToken": [ - 9338 - ] - }, - "id": 9339, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9282, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:40" - }, - { - "id": 9283, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:40" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9338, - "linearizedBaseContracts": [ - 9338 - ], - "name": "IexecEscrowToken", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9286, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9284, - "nodeType": "ParameterList", - "parameters": [], - "src": "1339:2:40" - }, - "returnParameters": { - "id": 9285, - "nodeType": "ParameterList", - "parameters": [], - "src": "1358:0:40" - }, - "scope": 9338, - "src": "1332:27:40", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9289, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9287, - "nodeType": "ParameterList", - "parameters": [], - "src": "1369:2:40" - }, - "returnParameters": { - "id": 9288, - "nodeType": "ParameterList", - "parameters": [], - "src": "1388:0:40" - }, - "scope": 9338, - "src": "1361:28:40", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 9296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9291, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9296, - "src": "1409:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1409:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1408:9:40" - }, - "returnParameters": { - "id": 9295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9296, - "src": "1436:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9293, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1436:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1435:6:40" - }, - "scope": 9338, - "src": "1392:50:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "36efd16f", - "id": 9305, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9298, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1464:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1464:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9300, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1472:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1472:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1463:17:40" - }, - "returnParameters": { - "id": 9304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9303, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1499:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9302, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1499:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1498:6:40" - }, - "scope": 9338, - "src": "1444:61:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 9316, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9308, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1532:18:40", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9306, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1532:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9307, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1532:9:40", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9311, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1551:18:40", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1551:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9310, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1551:9:40", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1531:39:40" - }, - "returnParameters": { - "id": 9315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9314, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1589:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9313, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1589:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1588:6:40" - }, - "scope": 9338, - "src": "1507:88:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 9323, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9318, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9323, - "src": "1615:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1615:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1614:9:40" - }, - "returnParameters": { - "id": 9322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9321, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9323, - "src": "1642:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9320, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1642:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1641:6:40" - }, - "scope": 9338, - "src": "1597:51:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c86283c8", - "id": 9332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1670:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1670:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1678:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9326, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1678:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1669:17:40" - }, - "returnParameters": { - "id": 9331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1705:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9329, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1705:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1704:6:40" - }, - "scope": 9338, - "src": "1650:61:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce746024", - "id": 9337, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9333, - "nodeType": "ParameterList", - "parameters": [], - "src": "1729:2:40" - }, - "returnParameters": { - "id": 9336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9335, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9337, - "src": "1750:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1750:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:9:40" - }, - "scope": 9338, - "src": "1713:46:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9339, - "src": "1302:459:40" - } - ], - "src": "1242:520:40" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "exportedSymbols": { - "IexecEscrowToken": [ - 9338 - ] - }, - "id": 9339, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9282, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:40" - }, - { - "id": 9283, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:40" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9338, - "linearizedBaseContracts": [ - 9338 - ], - "name": "IexecEscrowToken", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9286, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9284, - "nodeType": "ParameterList", - "parameters": [], - "src": "1339:2:40" - }, - "returnParameters": { - "id": 9285, - "nodeType": "ParameterList", - "parameters": [], - "src": "1358:0:40" - }, - "scope": 9338, - "src": "1332:27:40", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9289, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9287, - "nodeType": "ParameterList", - "parameters": [], - "src": "1369:2:40" - }, - "returnParameters": { - "id": 9288, - "nodeType": "ParameterList", - "parameters": [], - "src": "1388:0:40" - }, - "scope": 9338, - "src": "1361:28:40", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 9296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9291, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9296, - "src": "1409:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1409:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1408:9:40" - }, - "returnParameters": { - "id": 9295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9296, - "src": "1436:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9293, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1436:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1435:6:40" - }, - "scope": 9338, - "src": "1392:50:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "36efd16f", - "id": 9305, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9298, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1464:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1464:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9300, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1472:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1472:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1463:17:40" - }, - "returnParameters": { - "id": 9304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9303, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9305, - "src": "1499:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9302, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1499:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1498:6:40" - }, - "scope": 9338, - "src": "1444:61:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 9316, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9308, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1532:18:40", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9306, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1532:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9307, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1532:9:40", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9311, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1551:18:40", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 9309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1551:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9310, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1551:9:40", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1531:39:40" - }, - "returnParameters": { - "id": 9315, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9314, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9316, - "src": "1589:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9313, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1589:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1588:6:40" - }, - "scope": 9338, - "src": "1507:88:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 9323, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9318, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9323, - "src": "1615:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1615:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1614:9:40" - }, - "returnParameters": { - "id": 9322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9321, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9323, - "src": "1642:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9320, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1642:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1641:6:40" - }, - "scope": 9338, - "src": "1597:51:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c86283c8", - "id": 9332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1670:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1670:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1678:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9326, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1678:7:40", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1669:17:40" - }, - "returnParameters": { - "id": 9331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9332, - "src": "1705:4:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9329, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1705:4:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1704:6:40" - }, - "scope": 9338, - "src": "1650:61:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ce746024", - "id": 9337, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9333, - "nodeType": "ParameterList", - "parameters": [], - "src": "1729:2:40" - }, - "returnParameters": { - "id": 9336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9335, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9337, - "src": "1750:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1750:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:9:40" - }, - "scope": 9338, - "src": "1713:46:40", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9339, - "src": "1302:459:40" - } - ], - "src": "1242:520:40" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.859Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowTokenDelegate.json b/build/contracts/IexecEscrowTokenDelegate.json deleted file mode 100644 index 79cb966bc..000000000 --- a/build/contracts/IexecEscrowTokenDelegate.json +++ /dev/null @@ -1,7993 +0,0 @@ -{ - "contractName": "IexecEscrowTokenDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenDelegate.sol\":\"IexecEscrowTokenDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenDelegate.sol\":{\"keccak256\":\"0xe6a8a370fadff761430d29e6cbf9c53cf9193948407efbb6ba6faa783c37f2f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4659185da0ae3360923d58770934d2b3f8490c34c1fb4dfe603f9842efcb88a0\",\"dweb:/ipfs/QmcrZpRq6egsTwsHYSrEydNVWJMu1qP3uYUmKxKrwsC9sn\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol\":{\"keccak256\":\"0x35891a5e6747ea3f767461e96c0f83a65083266f2a408ca7d12d3f5f75a95b22\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ab801e62787f65163dc730c778fb470dcf8ec2e294184b54905fc9dcd93d61c9\",\"dweb:/ipfs/QmcVsR97kjqQqaggUokYrKKRSFGbgzRpx9ki2wgJtj8rZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610dfc833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b0390911690600080516020610dfc833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610cde8061011e6000396000f3fe6080604052600436106100955760003560e01c80638f4ffcb1116100595780638f4ffcb114610182578063b6b55f25146101a2578063c86283c8146101c2578063ce746024146101e2578063f2fde38b14610204576100bb565b80632e1a7d4d146100d35780633354f8a51461010957806336efd16f14610129578063715018a6146101495780638da5cb5b14610160576100bb565b366100bb5760405162461bcd60e51b81526004016100b290610bbf565b60405180910390fd5b60405162461bcd60e51b81526004016100b290610bbf565b3480156100df57600080fd5b506100f36100ee366004610a30565b610224565b6040516101009190610add565b60405180910390f35b34801561011557600080fd5b506100f36101243660046109a7565b610250565b34801561013557600080fd5b506100f3610144366004610a60565b6102ef565b34801561015557600080fd5b5061015e610316565b005b34801561016c57600080fd5b50610175610395565b6040516101009190610a8c565b34801561018e57600080fd5b506100f361019d36600461090d565b6103a4565b3480156101ae57600080fd5b506100f36101bd366004610a30565b6103e8565b3480156101ce57600080fd5b506100f36101dd366004610a60565b61040c565b3480156101ee57600080fd5b506101f7610429565b6040516101009190610c87565b34801561021057600080fd5b5061015e61021f3660046108f2565b61050a565b60006102376102316105c0565b836105c4565b6102486102426105c0565b83610681565b506001919050565b60008382146102715760405162461bcd60e51b81526004016100b290610b5c565b60005b848110156102e35761029f6102876105c0565b87878481811061029357fe5b9050602002013561070a565b6102db8484838181106102ae57fe5b90506020020160208101906102c391906108f2565b8787848181106102cf57fe5b905060200201356107b0565b600101610274565b50600195945050505050565b60006103026102fc6105c0565b8461070a565b61030c82846107b0565b5060015b92915050565b61031e6105c0565b6000546001600160a01b0390811691161461034b5760405162461bcd60e51b81526004016100b290610b8a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6008546000906001600160a01b038581169116146103d45760405162461bcd60e51b81526004016100b290610c2b565b6103de868661070a565b6102e386866107b0565b60006103fb6103f56105c0565b8361070a565b6102486104066105c0565b836107b0565b600061041f6104196105c0565b846105c4565b61030c8284610681565b60006104336105c0565b6000546001600160a01b039081169116146104605760405162461bcd60e51b81526004016100b290610b8a565b600c546008546040516370a0823160e01b81526000926104f29290916001600160a01b03909116906370a082319061049c903090600401610a8c565b60206040518083038186803b1580156104b457600080fd5b505afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec9190610a48565b90610864565b90506105056104ff610395565b826107b0565b905090565b6105126105c0565b6000546001600160a01b0390811691161461053f5760405162461bcd60e51b81526004016100b290610b8a565b6001600160a01b0381166105655760405162461bcd60e51b81526004016100b290610ae8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0382166105ea5760405162461bcd60e51b81526004016100b290610bea565b6105f682600083610705565b600c546106039082610864565b600c556001600160a01b0382166000908152600d60205260409020546106299082610864565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610675908590610c87565b60405180910390a35050565b60085460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906106b39085908590600401610ac4565b602060405180830381600087803b1580156106cd57600080fd5b505af11580156106e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190610a10565b505050565b6008546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061073e90859030908690600401610aa0565b602060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107909190610a10565b6107ac5760405162461bcd60e51b81526004016100b290610b2e565b5050565b6001600160a01b0382166107d65760405162461bcd60e51b81526004016100b290610c50565b6107e260008383610705565b600c546107ef9082610879565b600c556001600160a01b0382166000908152600d60205260409020546108159082610879565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610675908590610c87565b60008282111561087357600080fd5b50900390565b60008282018381101561088b57600080fd5b9392505050565b80356001600160a01b038116811461031057600080fd5b60008083601f8401126108ba578182fd5b50813567ffffffffffffffff8111156108d1578182fd5b60208301915083602080830285010111156108eb57600080fd5b9250929050565b600060208284031215610903578081fd5b61088b8383610892565b600080600080600060808688031215610924578081fd5b853561092f81610c90565b945060208601359350604086013561094681610c90565b9250606086013567ffffffffffffffff80821115610962578283fd5b818801915088601f830112610975578283fd5b813581811115610983578384fd5b896020828501011115610994578384fd5b9699959850939650602001949392505050565b600080600080604085870312156109bc578384fd5b843567ffffffffffffffff808211156109d3578586fd5b6109df888389016108a9565b909650945060208701359150808211156109f7578384fd5b50610a04878288016108a9565b95989497509550505050565b600060208284031215610a21578081fd5b8151801515811461088b578182fd5b600060208284031215610a41578081fd5b5035919050565b600060208284031215610a59578081fd5b5051919050565b60008060408385031215610a72578182fd5b82359150610a838460208501610892565b90509250929050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601490820152736661696c6c65642d7472616e7366657246726f6d60601b604082015260600190565b6020808252601490820152730d2dcecc2d8d2c85ac2e4e4c2f25ad8cadccee8d60631b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526011908201527019985b1b189858dacb591a5cd8589b1959607a1b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252600b908201526a3bb937b73396ba37b5b2b760a91b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b6001600160a01b0381168114610ca557600080fd5b5056fea2646970667358221220d6eecb8c3ffe481b0d500bdddf89594cb0b050d8abdd4c8c5aa89f9a4fb8dc5b64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x6080604052600436106100955760003560e01c80638f4ffcb1116100595780638f4ffcb114610182578063b6b55f25146101a2578063c86283c8146101c2578063ce746024146101e2578063f2fde38b14610204576100bb565b80632e1a7d4d146100d35780633354f8a51461010957806336efd16f14610129578063715018a6146101495780638da5cb5b14610160576100bb565b366100bb5760405162461bcd60e51b81526004016100b290610bbf565b60405180910390fd5b60405162461bcd60e51b81526004016100b290610bbf565b3480156100df57600080fd5b506100f36100ee366004610a30565b610224565b6040516101009190610add565b60405180910390f35b34801561011557600080fd5b506100f36101243660046109a7565b610250565b34801561013557600080fd5b506100f3610144366004610a60565b6102ef565b34801561015557600080fd5b5061015e610316565b005b34801561016c57600080fd5b50610175610395565b6040516101009190610a8c565b34801561018e57600080fd5b506100f361019d36600461090d565b6103a4565b3480156101ae57600080fd5b506100f36101bd366004610a30565b6103e8565b3480156101ce57600080fd5b506100f36101dd366004610a60565b61040c565b3480156101ee57600080fd5b506101f7610429565b6040516101009190610c87565b34801561021057600080fd5b5061015e61021f3660046108f2565b61050a565b60006102376102316105c0565b836105c4565b6102486102426105c0565b83610681565b506001919050565b60008382146102715760405162461bcd60e51b81526004016100b290610b5c565b60005b848110156102e35761029f6102876105c0565b87878481811061029357fe5b9050602002013561070a565b6102db8484838181106102ae57fe5b90506020020160208101906102c391906108f2565b8787848181106102cf57fe5b905060200201356107b0565b600101610274565b50600195945050505050565b60006103026102fc6105c0565b8461070a565b61030c82846107b0565b5060015b92915050565b61031e6105c0565b6000546001600160a01b0390811691161461034b5760405162461bcd60e51b81526004016100b290610b8a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6008546000906001600160a01b038581169116146103d45760405162461bcd60e51b81526004016100b290610c2b565b6103de868661070a565b6102e386866107b0565b60006103fb6103f56105c0565b8361070a565b6102486104066105c0565b836107b0565b600061041f6104196105c0565b846105c4565b61030c8284610681565b60006104336105c0565b6000546001600160a01b039081169116146104605760405162461bcd60e51b81526004016100b290610b8a565b600c546008546040516370a0823160e01b81526000926104f29290916001600160a01b03909116906370a082319061049c903090600401610a8c565b60206040518083038186803b1580156104b457600080fd5b505afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec9190610a48565b90610864565b90506105056104ff610395565b826107b0565b905090565b6105126105c0565b6000546001600160a01b0390811691161461053f5760405162461bcd60e51b81526004016100b290610b8a565b6001600160a01b0381166105655760405162461bcd60e51b81526004016100b290610ae8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0382166105ea5760405162461bcd60e51b81526004016100b290610bea565b6105f682600083610705565b600c546106039082610864565b600c556001600160a01b0382166000908152600d60205260409020546106299082610864565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610675908590610c87565b60405180910390a35050565b60085460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906106b39085908590600401610ac4565b602060405180830381600087803b1580156106cd57600080fd5b505af11580156106e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190610a10565b505050565b6008546040516323b872dd60e01b81526001600160a01b03909116906323b872dd9061073e90859030908690600401610aa0565b602060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107909190610a10565b6107ac5760405162461bcd60e51b81526004016100b290610b2e565b5050565b6001600160a01b0382166107d65760405162461bcd60e51b81526004016100b290610c50565b6107e260008383610705565b600c546107ef9082610879565b600c556001600160a01b0382166000908152600d60205260409020546108159082610879565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610675908590610c87565b60008282111561087357600080fd5b50900390565b60008282018381101561088b57600080fd5b9392505050565b80356001600160a01b038116811461031057600080fd5b60008083601f8401126108ba578182fd5b50813567ffffffffffffffff8111156108d1578182fd5b60208301915083602080830285010111156108eb57600080fd5b9250929050565b600060208284031215610903578081fd5b61088b8383610892565b600080600080600060808688031215610924578081fd5b853561092f81610c90565b945060208601359350604086013561094681610c90565b9250606086013567ffffffffffffffff80821115610962578283fd5b818801915088601f830112610975578283fd5b813581811115610983578384fd5b896020828501011115610994578384fd5b9699959850939650602001949392505050565b600080600080604085870312156109bc578384fd5b843567ffffffffffffffff808211156109d3578586fd5b6109df888389016108a9565b909650945060208701359150808211156109f7578384fd5b50610a04878288016108a9565b95989497509550505050565b600060208284031215610a21578081fd5b8151801515811461088b578182fd5b600060208284031215610a41578081fd5b5035919050565b600060208284031215610a59578081fd5b5051919050565b60008060408385031215610a72578182fd5b82359150610a838460208501610892565b90509250929050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601490820152736661696c6c65642d7472616e7366657246726f6d60601b604082015260600190565b6020808252601490820152730d2dcecc2d8d2c85ac2e4e4c2f25ad8cadccee8d60631b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526011908201527019985b1b189858dacb591a5cd8589b1959607a1b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252600b908201526a3bb937b73396ba37b5b2b760a91b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b6001600160a01b0381168114610ca557600080fd5b5056fea2646970667358221220d6eecb8c3ffe481b0d500bdddf89594cb0b050d8abdd4c8c5aa89f9a4fb8dc5b64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1455:2285:21:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1455:2285:21;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1455:2285:21;;;;;;", - "deployedSourceMap": "1455:2285:21:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1876:27;;-1:-1:-1;;;1876:27:21;;;;;;;:::i;:::-;;;;;;;;1455:2285;1953:27;;-1:-1:-1;;;1953:27:21;;;;;;;:::i;2642:154::-;;;;;;;;;;-1:-1:-1;2642:154:21;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2310:329;;;;;;;;;;-1:-1:-1;2310:329:21;;;;;:::i;:::-;;:::i;2142:165::-;;;;;;;;;;-1:-1:-1;2142:165:21;;;;;:::i;:::-;;:::i;1689:145:83:-;;;;;;;;;;;;;:::i;:::-;;1066:77;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3229:252:21:-;;;;;;;;;;-1:-1:-1;3229:252:21;;;;;:::i;:::-;;:::i;1987:152::-;;;;;;;;;;-1:-1:-1;1987:152:21;;;;;:::i;:::-;;:::i;2799:166::-;;;;;;;;;;-1:-1:-1;2799:166:21;;;;;:::i;:::-;;:::i;2968:187::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1983:240:83:-;;;;;;;;;;-1:-1:-1;1983:240:83;;;;;:::i;:::-;;:::i;2642:154:21:-;2704:4;2715:27;2721:12;:10;:12::i;:::-;2735:6;2715:5;:27::i;:::-;2746:31;2756:12;:10;:12::i;:::-;2770:6;2746:9;:31::i;:::-;-1:-1:-1;2788:4:21;2642:154;;;:::o;2310:329::-;2419:4;2438:32;;;2430:65;;;;-1:-1:-1;;;2430:65:21;;;;;;;:::i;:::-;2504:6;2499:122;2516:18;;;2499:122;;;2548:34;2557:12;:10;:12::i;:::-;2571:7;;2579:1;2571:10;;;;;;;;;;;;;2548:8;:34::i;:::-;2587:29;2593:7;;2601:1;2593:10;;;;;;;;;;;;;;;;;;;;:::i;:::-;2605:7;;2613:1;2605:10;;;;;;;;;;;;;2587:5;:29::i;:::-;2536:3;;2499:122;;;-1:-1:-1;2631:4:21;;2310:329;-1:-1:-1;;;;;2310:329:21:o;2142:165::-;2222:4;2233:30;2242:12;:10;:12::i;:::-;2256:6;2233:8;:30::i;:::-;2267:21;2273:6;2281;2267:5;:21::i;:::-;-1:-1:-1;2299:4:21;2142:165;;;;;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;3229:252:21:-;3381:11;;3345:4;;-1:-1:-1;;;;;3364:29:21;;;3381:11;;3364:29;3356:53;;;;-1:-1:-1;;;3356:53:21;;;;;;;:::i;:::-;3413:24;3422:6;3430;3413:8;:24::i;:::-;3441:21;3447:6;3455;3441:5;:21::i;1987:152::-;2048:4;2059:30;2068:12;:10;:12::i;:::-;2082:6;2059:8;:30::i;:::-;2093:27;2099:12;:10;:12::i;:::-;2113:6;2093:5;:27::i;2799:166::-;2879:4;2890:27;2896:12;:10;:12::i;:::-;2910:6;2890:5;:27::i;:::-;2921:25;2931:6;2939;2921:9;:25::i;2968:187::-;3025:7;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;3096:13:21::1;::::0;3055:11:::1;::::0;:36:::1;::::0;-1:-1:-1;;;3055:36:21;;3039:13:::1;::::0;3055:55:::1;::::0;3096:13;;-1:-1:-1;;;;;3055:11:21;;::::1;::::0;:21:::1;::::0;:36:::1;::::0;3085:4:::1;::::0;3055:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40:::0;::::1;:55::i;:::-;3039:71;;3114:21;3120:7;:5;:7::i;:::-;3129:5;3114;:21::i;:::-;3146:5:::0;-1:-1:-1;2968:187:21;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;2688:337:16:-;-1:-1:-1;;;;;2759:21:16;;2751:67;;;;-1:-1:-1;;;2751:67:16;;;;;;;:::i;:::-;2823:49;2844:7;2861:1;2865:6;2823:20;:49::i;:::-;2893:13;;:25;;2911:6;2893:17;:25::i;:::-;2877:13;:41;-1:-1:-1;;;;;2944:19:16;;;;;;:10;:19;;;;;;:31;;2968:6;2944:23;:31::i;:::-;-1:-1:-1;;;;;2922:19:16;;;;;;:10;:19;;;;;;:53;;;;2984:37;;;;;;3014:6;;2984:37;:::i;:::-;;;;;;;;2688:337;;:::o;3640:98:21:-;3702:11;;:32;;-1:-1:-1;;;3702:32:21;;-1:-1:-1;;;;;3702:11:21;;;;:20;;:32;;3723:2;;3727:6;;3702:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3640:98;;:::o;3484:153::-;3555:11;;:53;;-1:-1:-1;;;3555:53:21;;-1:-1:-1;;;;;3555:11:21;;;;:24;;:53;;3580:4;;3594;;3601:6;;3555:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3547:86;;;;-1:-1:-1;;;3547:86:21;;;;;;;:::i;:::-;3484:153;;:::o;2350:335:16:-;-1:-1:-1;;;;;2421:21:16;;2413:65;;;;-1:-1:-1;;;2413:65:16;;;;;;;:::i;:::-;2483:49;2512:1;2516:7;2525:6;2483:20;:49::i;:::-;2553:13;;:25;;2571:6;2553:17;:25::i;:::-;2537:13;:41;-1:-1:-1;;;;;2604:19:16;;;;;;:10;:19;;;;;;:31;;2628:6;2604:23;:31::i;:::-;-1:-1:-1;;;;;2582:19:16;;;;;;:10;:19;;;;;;:53;;;;2644:37;;2582:19;;;2644:37;;;;2674:6;;2644:37;:::i;470:124:77:-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;227:::-;285:7;311:5;;;328:6;;;;320:15;;;;;;346:1;227:124;-1:-1:-1;;;227:124:77:o;5:130:-1:-;72:20;;-1:-1;;;;;13288:54;;13871:35;;13861:2;;13920:1;;13910:12;160:352;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;1669:241::-;;1773:2;1761:9;1752:7;1748:23;1744:32;1741:2;;;-1:-1;;1779:12;1741:2;1841:53;1886:7;1862:22;1841:53;:::i;1917:741::-;;;;;;2091:3;2079:9;2070:7;2066:23;2062:33;2059:2;;;-1:-1;;2098:12;2059:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2150:63;-1:-1;2250:2;2289:22;;1458:20;;-1:-1;2358:2;2397:22;;72:20;97:33;72:20;97:33;:::i;:::-;2366:63;-1:-1;2494:2;2479:18;;2466:32;2518:18;2507:30;;;2504:2;;;-1:-1;;2540:12;2504:2;2625:6;2614:9;2610:22;;;1161:3;1154:4;1146:6;1142:17;1138:27;1128:2;;-1:-1;;1169:12;1128:2;1212:6;1199:20;2518:18;1231:6;1228:30;1225:2;;;-1:-1;;1261:12;1225:2;1356:3;2250:2;1336:17;1297:6;1322:32;;1319:41;1316:2;;;-1:-1;;1363:12;1316:2;2053:605;;;;-1:-1;2053:605;;-1:-1;2250:2;1293:17;;2560:82;2053:605;-1:-1;;;2053:605::o;2665:678::-;;;;;2856:2;2844:9;2835:7;2831:23;2827:32;2824:2;;;-1:-1;;2862:12;2824:2;2920:17;2907:31;2958:18;;2950:6;2947:30;2944:2;;;-1:-1;;2980:12;2944:2;3018:80;3090:7;3081:6;3070:9;3066:22;3018:80;:::i;:::-;3000:98;;-1:-1;3000:98;-1:-1;3163:2;3148:18;;3135:32;;-1:-1;3176:30;;;3173:2;;;-1:-1;;3209:12;3173:2;;3247:80;3319:7;3310:6;3299:9;3295:22;3247:80;:::i;:::-;2818:525;;;;-1:-1;3229:98;-1:-1;;;;2818:525::o;3350:257::-;;3462:2;3450:9;3441:7;3437:23;3433:32;3430:2;;;-1:-1;;3468:12;3430:2;979:6;973:13;14017:5;13200:13;13193:21;13995:5;13992:32;13982:2;;-1:-1;;14028:12;3614:241;;3718:2;3706:9;3697:7;3693:23;3689:32;3686:2;;;-1:-1;;3724:12;3686:2;-1:-1;1458:20;;3680:175;-1:-1;3680:175::o;3862:263::-;;3977:2;3965:9;3956:7;3952:23;3948:32;3945:2;;;-1:-1;;3983:12;3945:2;-1:-1;1606:13;;3939:186;-1:-1;3939:186::o;4132:366::-;;;4253:2;4241:9;4232:7;4228:23;4224:32;4221:2;;;-1:-1;;4259:12;4221:2;1471:6;1458:20;4311:63;;4429:53;4474:7;4411:2;4454:9;4450:22;4429:53;:::i;:::-;4419:63;;4215:283;;;;;:::o;7753:222::-;-1:-1;;;;;13288:54;;;;4725:37;;7880:2;7865:18;;7851:124::o;8227:460::-;-1:-1;;;;;13288:54;;;4725:37;;13288:54;;;;8590:2;8575:18;;4584:58;8673:2;8658:18;;7704:37;;;;8418:2;8403:18;;8389:298::o;8694:333::-;-1:-1;;;;;13288:54;;;;4725:37;;9013:2;8998:18;;7704:37;8849:2;8834:18;;8820:207::o;9034:210::-;13200:13;;13193:21;4839:34;;9155:2;9140:18;;9126:118::o;9251:416::-;9451:2;9465:47;;;5110:2;9436:18;;;12968:19;5146:34;13008:14;;;5126:55;-1:-1;;;5201:12;;;5194:30;5243:12;;;9422:245::o;9674:416::-;9874:2;9888:47;;;5494:2;9859:18;;;12968:19;-1:-1;;;13008:14;;;5510:43;5572:12;;;9845:245::o;10097:416::-;10297:2;10311:47;;;5823:2;10282:18;;;12968:19;-1:-1;;;13008:14;;;5839:43;5901:12;;;10268:245::o;10520:416::-;10720:2;10734:47;;;10705:18;;;12968:19;6188:34;13008:14;;;6168:55;6242:12;;;10691:245::o;10943:416::-;11143:2;11157:47;;;6493:2;11128:18;;;12968:19;-1:-1;;;13008:14;;;6509:40;6568:12;;;11114:245::o;11366:416::-;11566:2;11580:47;;;6819:2;11551:18;;;12968:19;6855:34;13008:14;;;6835:55;-1:-1;;;6910:12;;;6903:25;6947:12;;;11537:245::o;11789:416::-;11989:2;12003:47;;;7198:2;11974:18;;;12968:19;-1:-1;;;13008:14;;;7214:34;7267:12;;;11960:245::o;12212:416::-;12412:2;12426:47;;;7518:2;12397:18;;;12968:19;7554:33;13008:14;;;7534:54;7607:12;;;12383:245::o;12635:222::-;7704:37;;;12762:2;12747:18;;12733:124::o;13812:117::-;-1:-1;;;;;13288:54;;13871:35;;13861:2;;13920:1;;13910:12;13861:2;13855:74;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecERC20Core.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecEscrowToken.sol\";\nimport \"../interfaces/IexecTokenSpender.sol\";\n\n\ncontract IexecEscrowTokenDelegate is IexecEscrowToken, IexecTokenSpender, DelegateBase, IexecERC20Core\n{\n\tusing SafeMathExtended for uint256;\n\n\t/***************************************************************************\n\t * Escrow methods: public *\n\t ***************************************************************************/\n\treceive()\n\texternal override payable\n\t{\n\t\trevert('fallback-disabled');\n\t}\n\n\tfallback()\n\texternal override payable\n\t{\n\t\trevert('fallback-disabled');\n\t}\n\n\tfunction deposit(uint256 amount)\n\texternal override returns (bool)\n\t{\n\t\t_deposit(_msgSender(), amount);\n\t\t_mint(_msgSender(), amount);\n\t\treturn true;\n\t}\n\n\tfunction depositFor(uint256 amount, address target)\n\texternal override returns (bool)\n\t{\n\t\t_deposit(_msgSender(), amount);\n\t\t_mint(target, amount);\n\t\treturn true;\n\t}\n\n\tfunction depositForArray(uint256[] calldata amounts, address[] calldata targets)\n\texternal override returns (bool)\n\t{\n\t\trequire(amounts.length == targets.length, 'invalid-array-length');\n\t\tfor (uint i = 0; i < amounts.length; ++i)\n\t\t{\n\t\t\t_deposit(_msgSender(), amounts[i]);\n\t\t\t_mint(targets[i], amounts[i]);\n\t\t}\n\t\treturn true;\n\t}\n\n\tfunction withdraw(uint256 amount)\n\texternal override returns (bool)\n\t{\n\t\t_burn(_msgSender(), amount);\n\t\t_withdraw(_msgSender(), amount);\n\t\treturn true;\n\t}\n\n\tfunction withdrawTo(uint256 amount, address target)\n\texternal override returns (bool)\n\t{\n\t\t_burn(_msgSender(), amount);\n\t\t_withdraw(target, amount);\n\t\treturn true;\n\t}\n\n\tfunction recover()\n\texternal override onlyOwner returns (uint256)\n\t{\n\t\tuint256 delta = m_baseToken.balanceOf(address(this)).sub(m_totalSupply);\n\t\t_mint(owner(), delta);\n\t\treturn delta;\n\t}\n\n\t// Token Spender (endpoint for approveAndCallback calls to the proxy)\n\tfunction receiveApproval(address sender, uint256 amount, address token, bytes calldata)\n\texternal override returns (bool)\n\t{\n\t\trequire(token == address(m_baseToken), 'wrong-token');\n\t\t_deposit(sender, amount);\n\t\t_mint(sender, amount);\n\t\treturn true;\n\t}\n\n\tfunction _deposit(address from, uint256 amount)\n\tinternal\n\t{\n\t\trequire(m_baseToken.transferFrom(from, address(this), amount), 'failled-transferFrom');\n\t}\n\n\tfunction _withdraw(address to, uint256 amount)\n\tinternal\n\t{\n\t\tm_baseToken.transfer(to, amount);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenDelegate.sol", - "exportedSymbols": { - "IexecEscrowTokenDelegate": [ - 3785 - ] - }, - "id": 3786, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3499, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:21" - }, - { - "id": 3500, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:21" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3501, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 2940, - "src": "1301:30:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3502, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 1659, - "src": "1332:29:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "../interfaces/IexecEscrowToken.sol", - "id": 3503, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 9400, - "src": "1362:44:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../interfaces/IexecTokenSpender.sol", - "id": 3504, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 9973, - "src": "1407:45:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3505, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "1492:16:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 3506, - "nodeType": "InheritanceSpecifier", - "src": "1492:16:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3507, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "1510:17:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 3508, - "nodeType": "InheritanceSpecifier", - "src": "1510:17:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3509, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1529:12:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3510, - "nodeType": "InheritanceSpecifier", - "src": "1529:12:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3511, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1543:14:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3512, - "nodeType": "InheritanceSpecifier", - "src": "1543:14:21" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9399, - 9972, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3785, - "linearizedBaseContracts": [ - 3785, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9972, - 9399 - ], - "name": "IexecEscrowTokenDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3515, - "libraryName": { - "contractScope": null, - "id": 3513, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1567:16:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1561:35:21", - "typeName": { - "id": 3514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1588:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "baseFunctions": [ - 9347 - ], - "body": { - "id": 3523, - "nodeType": "Block", - "src": "1872:35:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 3520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1883:19:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 3519, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "1876:6:21", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 3521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1876:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3522, - "nodeType": "ExpressionStatement", - "src": "1876:27:21" - } - ] - }, - "documentation": null, - "id": 3524, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3517, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1854:8:21" - }, - "parameters": { - "id": 3516, - "nodeType": "ParameterList", - "parameters": [], - "src": "1841:2:21" - }, - "returnParameters": { - "id": 3518, - "nodeType": "ParameterList", - "parameters": [], - "src": "1872:0:21" - }, - "scope": 3785, - "src": "1834:73:21", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350 - ], - "body": { - "id": 3532, - "nodeType": "Block", - "src": "1949:35:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 3529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1960:19:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 3528, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "1953:6:21", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1953:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3531, - "nodeType": "ExpressionStatement", - "src": "1953:27:21" - } - ] - }, - "documentation": null, - "id": 3533, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3526, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1931:8:21" - }, - "parameters": { - "id": 3525, - "nodeType": "ParameterList", - "parameters": [], - "src": "1918:2:21" - }, - "returnParameters": { - "id": 3527, - "nodeType": "ParameterList", - "parameters": [], - "src": "1949:0:21" - }, - "scope": 3785, - "src": "1910:74:21", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9357 - ], - "body": { - "id": 3555, - "nodeType": "Block", - "src": "2055:84:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3542, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2068:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2068:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3544, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3535, - "src": "2082:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3541, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2059:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2059:30:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3546, - "nodeType": "ExpressionStatement", - "src": "2059:30:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3548, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2099:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2099:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3550, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3535, - "src": "2113:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3547, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2093:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2093:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3552, - "nodeType": "ExpressionStatement", - "src": "2093:27:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3553, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2131:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3540, - "id": 3554, - "nodeType": "Return", - "src": "2124:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 3556, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3537, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2030:8:21" - }, - "parameters": { - "id": 3536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3535, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3556, - "src": "2004:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2004:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2003:16:21" - }, - "returnParameters": { - "id": 3540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3539, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3556, - "src": "2048:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3538, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2048:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2047:6:21" - }, - "scope": 3785, - "src": "1987:152:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9366 - ], - "body": { - "id": 3579, - "nodeType": "Block", - "src": "2229:78:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3567, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2242:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2242:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3569, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3558, - "src": "2256:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3566, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2233:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2233:30:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3571, - "nodeType": "ExpressionStatement", - "src": "2233:30:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3573, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3560, - "src": "2273:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3574, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3558, - "src": "2281:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3572, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2267:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2267:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "2267:21:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2299:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3565, - "id": 3578, - "nodeType": "Return", - "src": "2292:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "36efd16f", - "id": 3580, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3562, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2204:8:21" - }, - "parameters": { - "id": 3561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3558, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2162:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2162:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2178:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2178:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:32:21" - }, - "returnParameters": { - "id": 3565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3564, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2222:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3563, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2222:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2221:6:21" - }, - "scope": 3785, - "src": "2142:165:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9377 - ], - "body": { - "id": 3633, - "nodeType": "Block", - "src": "2426:213:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3593, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2438:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2438:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3595, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3586, - "src": "2456:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2456:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2438:32:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d61727261792d6c656e677468", - "id": 3598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2472:22:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - }, - "value": "invalid-array-length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - } - ], - "id": 3592, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2430:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2430:65:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3600, - "nodeType": "ExpressionStatement", - "src": "2430:65:21" - }, - { - "body": { - "id": 3629, - "nodeType": "Block", - "src": "2543:78:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3613, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2557:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2557:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3615, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2571:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3617, - "indexExpression": { - "argumentTypes": null, - "id": 3616, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2579:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2571:10:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3612, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2548:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:34:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3619, - "nodeType": "ExpressionStatement", - "src": "2548:34:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3621, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3586, - "src": "2593:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3623, - "indexExpression": { - "argumentTypes": null, - "id": 3622, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2601:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2593:10:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3624, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2605:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3626, - "indexExpression": { - "argumentTypes": null, - "id": 3625, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2613:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2605:10:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3620, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2587:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2587:29:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3628, - "nodeType": "ExpressionStatement", - "src": "2587:29:21" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2516:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3606, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2520:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2520:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2516:18:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3630, - "initializationExpression": { - "assignments": [ - 3602 - ], - "declarations": [ - { - "constant": false, - "id": 3602, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3630, - "src": "2504:6:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3601, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2504:4:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3604, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 3603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2513:1:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2504:10:21" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 3610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2536:3:21", - "subExpression": { - "argumentTypes": null, - "id": 3609, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2538:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3611, - "nodeType": "ExpressionStatement", - "src": "2536:3:21" - }, - "nodeType": "ForStatement", - "src": "2499:122:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2631:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3591, - "id": 3632, - "nodeType": "Return", - "src": "2624:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 3634, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3588, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2401:8:21" - }, - "parameters": { - "id": 3587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3583, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2335:26:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3581, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3582, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2335:9:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3586, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2363:26:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2363:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3585, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2363:9:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:56:21" - }, - "returnParameters": { - "id": 3591, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3590, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2419:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3589, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2419:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2418:6:21" - }, - "scope": 3785, - "src": "2310:329:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9384 - ], - "body": { - "id": 3656, - "nodeType": "Block", - "src": "2711:85:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3643, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2721:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2721:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3645, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3636, - "src": "2735:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3642, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2715:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2715:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3647, - "nodeType": "ExpressionStatement", - "src": "2715:27:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3649, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2756:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2756:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3651, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3636, - "src": "2770:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3648, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3784, - "src": "2746:9:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2746:31:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3653, - "nodeType": "ExpressionStatement", - "src": "2746:31:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2788:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3641, - "id": 3655, - "nodeType": "Return", - "src": "2781:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 3657, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3638, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2686:8:21" - }, - "parameters": { - "id": 3637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3636, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3657, - "src": "2660:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2660:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2659:16:21" - }, - "returnParameters": { - "id": 3641, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3640, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3657, - "src": "2704:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3639, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2704:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2703:6:21" - }, - "scope": 3785, - "src": "2642:154:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9393 - ], - "body": { - "id": 3680, - "nodeType": "Block", - "src": "2886:79:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3668, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2896:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2896:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3670, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "2910:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3667, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2890:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2890:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3672, - "nodeType": "ExpressionStatement", - "src": "2890:27:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3674, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3661, - "src": "2931:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3675, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "2939:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3673, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3784, - "src": "2921:9:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2921:25:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3677, - "nodeType": "ExpressionStatement", - "src": "2921:25:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2957:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3666, - "id": 3679, - "nodeType": "Return", - "src": "2950:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "c86283c8", - "id": 3681, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3663, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2861:8:21" - }, - "parameters": { - "id": 3662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2819:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2819:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3661, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2835:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2835:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:21" - }, - "returnParameters": { - "id": 3666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3665, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2879:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3664, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2879:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2878:6:21" - }, - "scope": 3785, - "src": "2799:166:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9398 - ], - "body": { - "id": 3710, - "nodeType": "Block", - "src": "3035:120:21", - "statements": [ - { - "assignments": [ - 3690 - ], - "declarations": [ - { - "constant": false, - "id": 3690, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3710, - "src": "3039:13:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3039:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3701, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3699, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "3096:13:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3695, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3085:4:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - ], - "id": 3694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3077:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3693, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3077:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3077:13:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 3691, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3055:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 15327, - "src": "3055:21:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 3697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3055:36:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "3055:40:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3055:55:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3039:71:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3703, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14068, - "src": "3120:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3120:7:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3705, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3690, - "src": "3129:5:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3702, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3114:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3114:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3707, - "nodeType": "ExpressionStatement", - "src": "3114:21:21" - }, - { - "expression": { - "argumentTypes": null, - "id": 3708, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3690, - "src": "3146:5:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3688, - "id": 3709, - "nodeType": "Return", - "src": "3139:12:21" - } - ] - }, - "documentation": null, - "functionSelector": "ce746024", - "id": 3711, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 3685, - "modifierName": { - "argumentTypes": null, - "id": 3684, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3006:9:21", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3006:9:21" - } - ], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3683, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2997:8:21" - }, - "parameters": { - "id": 3682, - "nodeType": "ParameterList", - "parameters": [], - "src": "2984:2:21" - }, - "returnParameters": { - "id": 3688, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3687, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3711, - "src": "3025:7:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3686, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3025:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3024:9:21" - }, - "scope": 3785, - "src": "2968:187:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9971 - ], - "body": { - "id": 3747, - "nodeType": "Block", - "src": "3352:129:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3726, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3717, - "src": "3364:5:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3729, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3381:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3373:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3373:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3373:20:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3364:29:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "77726f6e672d746f6b656e", - "id": 3732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3395:13:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c850bd0defd9074593777b4fbc4abf7d5f6f32ff09f90f9c726524f96d40c30b", - "typeString": "literal_string \"wrong-token\"" - }, - "value": "wrong-token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c850bd0defd9074593777b4fbc4abf7d5f6f32ff09f90f9c726524f96d40c30b", - "typeString": "literal_string \"wrong-token\"" - } - ], - "id": 3725, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3356:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3356:53:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3734, - "nodeType": "ExpressionStatement", - "src": "3356:53:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3736, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "3422:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3737, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3715, - "src": "3430:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3735, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "3413:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3413:24:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3739, - "nodeType": "ExpressionStatement", - "src": "3413:24:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3741, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "3447:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3742, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3715, - "src": "3455:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3740, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3441:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3441:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3744, - "nodeType": "ExpressionStatement", - "src": "3441:21:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3473:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3724, - "id": 3746, - "nodeType": "Return", - "src": "3466:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 3748, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3721, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3327:8:21" - }, - "parameters": { - "id": 3720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3254:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3712, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3254:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3715, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3270:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3714, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3270:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3717, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3286:13:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3286:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3719, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3301:14:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3718, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3301:5:21", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3253:63:21" - }, - "returnParameters": { - "id": 3724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3345:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3345:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3344:6:21" - }, - "scope": 3785, - "src": "3229:252:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3768, - "nodeType": "Block", - "src": "3543:94:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3758, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3750, - "src": "3580:4:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3761, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3594:4:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - ], - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3586:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3586:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3586:13:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3763, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "3601:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3756, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3555:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 15369, - "src": "3555:24:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 3764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3555:53:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6661696c6c65642d7472616e7366657246726f6d", - "id": 3765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3610:22:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75908bb02664dbff8f26f1b8e243c98012c45c9d72481a417d508e6c5a1688ee", - "typeString": "literal_string \"failled-transferFrom\"" - }, - "value": "failled-transferFrom" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_75908bb02664dbff8f26f1b8e243c98012c45c9d72481a417d508e6c5a1688ee", - "typeString": "literal_string \"failled-transferFrom\"" - } - ], - "id": 3755, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3547:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3547:86:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3767, - "nodeType": "ExpressionStatement", - "src": "3547:86:21" - } - ] - }, - "documentation": null, - "id": 3769, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3750, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3769, - "src": "3502:12:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3502:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3769, - "src": "3516:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3751, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3516:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3501:30:21" - }, - "returnParameters": { - "id": 3754, - "nodeType": "ParameterList", - "parameters": [], - "src": "3543:0:21" - }, - "scope": 3785, - "src": "3484:153:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3783, - "nodeType": "Block", - "src": "3698:40:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3779, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3771, - "src": "3723:2:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3780, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3773, - "src": "3727:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3776, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3702:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 15337, - "src": "3702:20:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3702:32:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3782, - "nodeType": "ExpressionStatement", - "src": "3702:32:21" - } - ] - }, - "documentation": null, - "id": 3784, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3774, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3771, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3784, - "src": "3659:10:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3770, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3659:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3773, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3784, - "src": "3671:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3772, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3671:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3658:28:21" - }, - "returnParameters": { - "id": 3775, - "nodeType": "ParameterList", - "parameters": [], - "src": "3698:0:21" - }, - "scope": 3785, - "src": "3640:98:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 3786, - "src": "1455:2285:21" - } - ], - "src": "1242:2499:21" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenDelegate.sol", - "exportedSymbols": { - "IexecEscrowTokenDelegate": [ - 3785 - ] - }, - "id": 3786, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3499, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:21" - }, - { - "id": 3500, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:21" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3501, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 2940, - "src": "1301:30:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3502, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 1659, - "src": "1332:29:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "../interfaces/IexecEscrowToken.sol", - "id": 3503, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 9400, - "src": "1362:44:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../interfaces/IexecTokenSpender.sol", - "id": 3504, - "nodeType": "ImportDirective", - "scope": 3786, - "sourceUnit": 9973, - "src": "1407:45:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3505, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "1492:16:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 3506, - "nodeType": "InheritanceSpecifier", - "src": "1492:16:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3507, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "1510:17:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 3508, - "nodeType": "InheritanceSpecifier", - "src": "1510:17:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3509, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1529:12:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3510, - "nodeType": "InheritanceSpecifier", - "src": "1529:12:21" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3511, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1543:14:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3512, - "nodeType": "InheritanceSpecifier", - "src": "1543:14:21" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 9399, - 9972, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 3785, - "linearizedBaseContracts": [ - 3785, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9972, - 9399 - ], - "name": "IexecEscrowTokenDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3515, - "libraryName": { - "contractScope": null, - "id": 3513, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1567:16:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1561:35:21", - "typeName": { - "id": 3514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1588:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "baseFunctions": [ - 9347 - ], - "body": { - "id": 3523, - "nodeType": "Block", - "src": "1872:35:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 3520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1883:19:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 3519, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "1876:6:21", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 3521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1876:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3522, - "nodeType": "ExpressionStatement", - "src": "1876:27:21" - } - ] - }, - "documentation": null, - "id": 3524, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3517, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1854:8:21" - }, - "parameters": { - "id": 3516, - "nodeType": "ParameterList", - "parameters": [], - "src": "1841:2:21" - }, - "returnParameters": { - "id": 3518, - "nodeType": "ParameterList", - "parameters": [], - "src": "1872:0:21" - }, - "scope": 3785, - "src": "1834:73:21", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350 - ], - "body": { - "id": 3532, - "nodeType": "Block", - "src": "1949:35:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 3529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1960:19:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 3528, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "1953:6:21", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1953:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3531, - "nodeType": "ExpressionStatement", - "src": "1953:27:21" - } - ] - }, - "documentation": null, - "id": 3533, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3526, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1931:8:21" - }, - "parameters": { - "id": 3525, - "nodeType": "ParameterList", - "parameters": [], - "src": "1918:2:21" - }, - "returnParameters": { - "id": 3527, - "nodeType": "ParameterList", - "parameters": [], - "src": "1949:0:21" - }, - "scope": 3785, - "src": "1910:74:21", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9357 - ], - "body": { - "id": 3555, - "nodeType": "Block", - "src": "2055:84:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3542, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2068:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2068:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3544, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3535, - "src": "2082:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3541, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2059:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2059:30:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3546, - "nodeType": "ExpressionStatement", - "src": "2059:30:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3548, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2099:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2099:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3550, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3535, - "src": "2113:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3547, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2093:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2093:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3552, - "nodeType": "ExpressionStatement", - "src": "2093:27:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3553, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2131:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3540, - "id": 3554, - "nodeType": "Return", - "src": "2124:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "b6b55f25", - "id": 3556, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deposit", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3537, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2030:8:21" - }, - "parameters": { - "id": 3536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3535, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3556, - "src": "2004:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2004:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2003:16:21" - }, - "returnParameters": { - "id": 3540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3539, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3556, - "src": "2048:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3538, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2048:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2047:6:21" - }, - "scope": 3785, - "src": "1987:152:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9366 - ], - "body": { - "id": 3579, - "nodeType": "Block", - "src": "2229:78:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3567, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2242:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2242:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3569, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3558, - "src": "2256:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3566, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2233:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2233:30:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3571, - "nodeType": "ExpressionStatement", - "src": "2233:30:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3573, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3560, - "src": "2273:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3574, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3558, - "src": "2281:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3572, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2267:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2267:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "2267:21:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2299:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3565, - "id": 3578, - "nodeType": "Return", - "src": "2292:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "36efd16f", - "id": 3580, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3562, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2204:8:21" - }, - "parameters": { - "id": 3561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3558, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2162:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2162:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2178:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2178:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:32:21" - }, - "returnParameters": { - "id": 3565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3564, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3580, - "src": "2222:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3563, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2222:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2221:6:21" - }, - "scope": 3785, - "src": "2142:165:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9377 - ], - "body": { - "id": 3633, - "nodeType": "Block", - "src": "2426:213:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3597, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3593, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2438:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2438:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3595, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3586, - "src": "2456:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2456:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2438:32:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d61727261792d6c656e677468", - "id": 3598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2472:22:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - }, - "value": "invalid-array-length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_959492cf4adb4564d7ba031ec4c4c1df75802f5ba03366c9133bafd49f9c52f9", - "typeString": "literal_string \"invalid-array-length\"" - } - ], - "id": 3592, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2430:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2430:65:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3600, - "nodeType": "ExpressionStatement", - "src": "2430:65:21" - }, - { - "body": { - "id": 3629, - "nodeType": "Block", - "src": "2543:78:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3613, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2557:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2557:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3615, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2571:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3617, - "indexExpression": { - "argumentTypes": null, - "id": 3616, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2579:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2571:10:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3612, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "2548:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:34:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3619, - "nodeType": "ExpressionStatement", - "src": "2548:34:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3621, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3586, - "src": "2593:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 3623, - "indexExpression": { - "argumentTypes": null, - "id": 3622, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2601:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2593:10:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3624, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2605:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3626, - "indexExpression": { - "argumentTypes": null, - "id": 3625, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2613:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2605:10:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3620, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "2587:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2587:29:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3628, - "nodeType": "ExpressionStatement", - "src": "2587:29:21" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2516:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 3606, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3583, - "src": "2520:7:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 3607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2520:14:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2516:18:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3630, - "initializationExpression": { - "assignments": [ - 3602 - ], - "declarations": [ - { - "constant": false, - "id": 3602, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3630, - "src": "2504:6:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3601, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2504:4:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3604, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 3603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2513:1:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2504:10:21" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 3610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2536:3:21", - "subExpression": { - "argumentTypes": null, - "id": 3609, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "2538:1:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3611, - "nodeType": "ExpressionStatement", - "src": "2536:3:21" - }, - "nodeType": "ForStatement", - "src": "2499:122:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2631:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3591, - "id": 3632, - "nodeType": "Return", - "src": "2624:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "3354f8a5", - "id": 3634, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositForArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3588, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2401:8:21" - }, - "parameters": { - "id": 3587, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3583, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2335:26:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3581, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3582, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2335:9:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3586, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2363:26:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2363:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3585, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2363:9:21", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:56:21" - }, - "returnParameters": { - "id": 3591, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3590, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3634, - "src": "2419:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3589, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2419:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2418:6:21" - }, - "scope": 3785, - "src": "2310:329:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9384 - ], - "body": { - "id": 3656, - "nodeType": "Block", - "src": "2711:85:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3643, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2721:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2721:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3645, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3636, - "src": "2735:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3642, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2715:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2715:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3647, - "nodeType": "ExpressionStatement", - "src": "2715:27:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3649, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2756:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2756:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3651, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3636, - "src": "2770:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3648, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3784, - "src": "2746:9:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2746:31:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3653, - "nodeType": "ExpressionStatement", - "src": "2746:31:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2788:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3641, - "id": 3655, - "nodeType": "Return", - "src": "2781:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "2e1a7d4d", - "id": 3657, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3638, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2686:8:21" - }, - "parameters": { - "id": 3637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3636, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3657, - "src": "2660:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2660:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2659:16:21" - }, - "returnParameters": { - "id": 3641, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3640, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3657, - "src": "2704:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3639, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2704:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2703:6:21" - }, - "scope": 3785, - "src": "2642:154:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9393 - ], - "body": { - "id": 3680, - "nodeType": "Block", - "src": "2886:79:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3668, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2896:10:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 3669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2896:12:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3670, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "2910:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3667, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "2890:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2890:27:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3672, - "nodeType": "ExpressionStatement", - "src": "2890:27:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3674, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3661, - "src": "2931:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3675, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "2939:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3673, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3784, - "src": "2921:9:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2921:25:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3677, - "nodeType": "ExpressionStatement", - "src": "2921:25:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2957:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3666, - "id": 3679, - "nodeType": "Return", - "src": "2950:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "c86283c8", - "id": 3681, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3663, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2861:8:21" - }, - "parameters": { - "id": 3662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2819:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2819:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3661, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2835:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2835:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:21" - }, - "returnParameters": { - "id": 3666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3665, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3681, - "src": "2879:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3664, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2879:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2878:6:21" - }, - "scope": 3785, - "src": "2799:166:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9398 - ], - "body": { - "id": 3710, - "nodeType": "Block", - "src": "3035:120:21", - "statements": [ - { - "assignments": [ - 3690 - ], - "declarations": [ - { - "constant": false, - "id": 3690, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3710, - "src": "3039:13:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3689, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3039:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3701, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3699, - "name": "m_totalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 225, - "src": "3096:13:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3695, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3085:4:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - ], - "id": 3694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3077:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3693, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3077:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3077:13:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 3691, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3055:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 15327, - "src": "3055:21:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 3697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3055:36:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "3055:40:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3055:55:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3039:71:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3703, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14068, - "src": "3120:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3120:7:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3705, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3690, - "src": "3129:5:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3702, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3114:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3114:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3707, - "nodeType": "ExpressionStatement", - "src": "3114:21:21" - }, - { - "expression": { - "argumentTypes": null, - "id": 3708, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3690, - "src": "3146:5:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3688, - "id": 3709, - "nodeType": "Return", - "src": "3139:12:21" - } - ] - }, - "documentation": null, - "functionSelector": "ce746024", - "id": 3711, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 3685, - "modifierName": { - "argumentTypes": null, - "id": 3684, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3006:9:21", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3006:9:21" - } - ], - "name": "recover", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3683, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2997:8:21" - }, - "parameters": { - "id": 3682, - "nodeType": "ParameterList", - "parameters": [], - "src": "2984:2:21" - }, - "returnParameters": { - "id": 3688, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3687, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3711, - "src": "3025:7:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3686, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3025:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3024:9:21" - }, - "scope": 3785, - "src": "2968:187:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9971 - ], - "body": { - "id": 3747, - "nodeType": "Block", - "src": "3352:129:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 3726, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3717, - "src": "3364:5:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3729, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3381:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3373:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3373:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3373:20:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3364:29:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "77726f6e672d746f6b656e", - "id": 3732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3395:13:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c850bd0defd9074593777b4fbc4abf7d5f6f32ff09f90f9c726524f96d40c30b", - "typeString": "literal_string \"wrong-token\"" - }, - "value": "wrong-token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c850bd0defd9074593777b4fbc4abf7d5f6f32ff09f90f9c726524f96d40c30b", - "typeString": "literal_string \"wrong-token\"" - } - ], - "id": 3725, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3356:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3356:53:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3734, - "nodeType": "ExpressionStatement", - "src": "3356:53:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3736, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "3422:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3737, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3715, - "src": "3430:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3735, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3769, - "src": "3413:8:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3413:24:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3739, - "nodeType": "ExpressionStatement", - "src": "3413:24:21" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3741, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "3447:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3742, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3715, - "src": "3455:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3740, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "3441:5:21", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 3743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3441:21:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3744, - "nodeType": "ExpressionStatement", - "src": "3441:21:21" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 3745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3473:4:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 3724, - "id": 3746, - "nodeType": "Return", - "src": "3466:11:21" - } - ] - }, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 3748, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3721, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3327:8:21" - }, - "parameters": { - "id": 3720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3254:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3712, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3254:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3715, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3270:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3714, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3270:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3717, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3286:13:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3286:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3719, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3301:14:21", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3718, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3301:5:21", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3253:63:21" - }, - "returnParameters": { - "id": 3724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3748, - "src": "3345:4:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3345:4:21", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3344:6:21" - }, - "scope": 3785, - "src": "3229:252:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3768, - "nodeType": "Block", - "src": "3543:94:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3758, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3750, - "src": "3580:4:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3761, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3594:4:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenDelegate_$3785", - "typeString": "contract IexecEscrowTokenDelegate" - } - ], - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3586:7:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3586:7:21", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3586:13:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 3763, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "3601:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3756, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3555:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 15369, - "src": "3555:24:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 3764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3555:53:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6661696c6c65642d7472616e7366657246726f6d", - "id": 3765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3610:22:21", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75908bb02664dbff8f26f1b8e243c98012c45c9d72481a417d508e6c5a1688ee", - "typeString": "literal_string \"failled-transferFrom\"" - }, - "value": "failled-transferFrom" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_75908bb02664dbff8f26f1b8e243c98012c45c9d72481a417d508e6c5a1688ee", - "typeString": "literal_string \"failled-transferFrom\"" - } - ], - "id": 3755, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3547:7:21", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3547:86:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3767, - "nodeType": "ExpressionStatement", - "src": "3547:86:21" - } - ] - }, - "documentation": null, - "id": 3769, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3750, - "mutability": "mutable", - "name": "from", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3769, - "src": "3502:12:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3502:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3769, - "src": "3516:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3751, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3516:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3501:30:21" - }, - "returnParameters": { - "id": 3754, - "nodeType": "ParameterList", - "parameters": [], - "src": "3543:0:21" - }, - "scope": 3785, - "src": "3484:153:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3783, - "nodeType": "Block", - "src": "3698:40:21", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3779, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3771, - "src": "3723:2:21", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 3780, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3773, - "src": "3727:6:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 3776, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3702:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 15337, - "src": "3702:20:21", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3702:32:21", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3782, - "nodeType": "ExpressionStatement", - "src": "3702:32:21" - } - ] - }, - "documentation": null, - "id": 3784, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3774, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3771, - "mutability": "mutable", - "name": "to", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3784, - "src": "3659:10:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3770, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3659:7:21", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3773, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3784, - "src": "3671:14:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3772, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3671:7:21", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3658:28:21" - }, - "returnParameters": { - "id": 3775, - "nodeType": "ParameterList", - "parameters": [], - "src": "3698:0:21" - }, - "scope": 3785, - "src": "3640:98:21", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 3786, - "src": "1455:2285:21" - } - ], - "src": "1242:2499:21" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.583Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowTokenSwap.json b/build/contracts/IexecEscrowTokenSwap.json deleted file mode 100644 index 2818fd71f..000000000 --- a/build/contracts/IexecEscrowTokenSwap.json +++ /dev/null @@ -1,3430 +0,0 @@ -{ - "contractName": "IexecEscrowTokenSwap", - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"UniswapV2Router\",\"outputs\":[{\"internalType\":\"contract IUniswapV2Router02\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositEthSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositTokenWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawEthWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawTokenSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrdersWithEth\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"requestToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"requestTokenFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeDepositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeDepositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeWithdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeWithdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol\":\"IexecEscrowTokenSwap\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol\":{\"keccak256\":\"0xdfe6663ac036a9501d278f7ba1e6144ad59aabee8c289b28c2d800663495ab0f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d6d75060a1464e965ede31661b229fde479df1a860def0e06096fb9067904bdb\",\"dweb:/ipfs/QmQKfbEdiWqXFxVzBgox9TaHzfshQtFRVg5gVu6AZRZx5x\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":{\"keccak256\":\"0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d\",\"urls\":[\"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c\",\"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\";\nimport \"../../libs/IexecLibOrders_v5.sol\";\n\n\ninterface IexecEscrowTokenSwap\n{\n\treceive() external payable;\n\tfallback() external payable;\n\n\tfunction UniswapV2Router () external view returns (IUniswapV2Router02);\n\tfunction estimateDepositEthSent (uint256) external view returns (uint256);\n\tfunction estimateDepositTokenWanted(uint256) external view returns (uint256);\n\tfunction estimateWithdrawTokenSent (uint256) external view returns (uint256);\n\tfunction estimateWithdrawEthWanted (uint256) external view returns (uint256);\n\n\tfunction depositEth ( ) external payable;\n\tfunction depositEthFor ( address) external payable;\n\tfunction safeDepositEth ( uint256 ) external payable;\n\tfunction safeDepositEthFor( uint256, address) external payable;\n\tfunction requestToken (uint256 ) external payable;\n\tfunction requestTokenFor (uint256, address) external payable;\n\tfunction withdrawEth (uint256 ) external;\n\tfunction withdrawEthTo (uint256, address) external;\n\tfunction safeWithdrawEth (uint256, uint256 ) external;\n\tfunction safeWithdrawEthTo(uint256, uint256, address) external;\n\n\tfunction matchOrdersWithEth(\n\t\tIexecLibOrders_v5.AppOrder memory,\n\t\tIexecLibOrders_v5.DatasetOrder memory,\n\t\tIexecLibOrders_v5.WorkerpoolOrder memory,\n\t\tIexecLibOrders_v5.RequestOrder memory)\n\texternal payable returns (bytes32);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "exportedSymbols": { - "IexecEscrowTokenSwap": [ - 9456 - ] - }, - "id": 9457, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9340, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:41" - }, - { - "id": 9341, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:41" - }, - { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "file": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "id": 9342, - "nodeType": "ImportDirective", - "scope": 9457, - "sourceUnit": 18231, - "src": "1301:75:41", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9343, - "nodeType": "ImportDirective", - "scope": 9457, - "sourceUnit": 1569, - "src": "1377:42:41", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9456, - "linearizedBaseContracts": [ - 9456 - ], - "name": "IexecEscrowTokenSwap", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9346, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9344, - "nodeType": "ParameterList", - "parameters": [], - "src": "1463:2:41" - }, - "returnParameters": { - "id": 9345, - "nodeType": "ParameterList", - "parameters": [], - "src": "1482:0:41" - }, - "scope": 9456, - "src": "1456:27:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9349, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9347, - "nodeType": "ParameterList", - "parameters": [], - "src": "1493:2:41" - }, - "returnParameters": { - "id": 9348, - "nodeType": "ParameterList", - "parameters": [], - "src": "1512:0:41" - }, - "scope": 9456, - "src": "1485:28:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "055add0d", - "id": 9354, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "UniswapV2Router", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9350, - "nodeType": "ParameterList", - "parameters": [], - "src": "1551:2:41" - }, - "returnParameters": { - "id": 9353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9352, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9354, - "src": "1584:18:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18230", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 9351, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18230, - "src": "1584:18:41", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18230", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1583:20:41" - }, - "scope": 9456, - "src": "1516:88:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1cdec20c", - "id": 9361, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateDepositEthSent", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9361, - "src": "1642:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1642:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1641:9:41" - }, - "returnParameters": { - "id": 9360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9359, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9361, - "src": "1674:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9358, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1674:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:9:41" - }, - "scope": 9456, - "src": "1606:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "97eb9764", - "id": 9368, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateDepositTokenWanted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9363, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9368, - "src": "1721:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9362, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1721:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1720:9:41" - }, - "returnParameters": { - "id": 9367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9366, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9368, - "src": "1753:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1753:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1752:9:41" - }, - "scope": 9456, - "src": "1685:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a885d19a", - "id": 9375, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawTokenSent", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9370, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9375, - "src": "1800:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1800:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1799:9:41" - }, - "returnParameters": { - "id": 9374, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9373, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9375, - "src": "1832:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9372, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1832:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1831:9:41" - }, - "scope": 9456, - "src": "1764:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1991f410", - "id": 9382, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawEthWanted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9378, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9377, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9382, - "src": "1879:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9376, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1879:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1878:9:41" - }, - "returnParameters": { - "id": 9381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9380, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9382, - "src": "1911:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1911:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1910:9:41" - }, - "scope": 9456, - "src": "1843:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "439370b1", - "id": 9385, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9383, - "nodeType": "ParameterList", - "parameters": [], - "src": "1949:27:41" - }, - "returnParameters": { - "id": 9384, - "nodeType": "ParameterList", - "parameters": [], - "src": "1993:0:41" - }, - "scope": 9456, - "src": "1923:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "eee3f07a", - "id": 9390, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositEthFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9387, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9390, - "src": "2041:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9386, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2041:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2022:27:41" - }, - "returnParameters": { - "id": 9389, - "nodeType": "ParameterList", - "parameters": [], - "src": "2066:0:41" - }, - "scope": 9456, - "src": "1996:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a1ac77ed", - "id": 9395, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeDepositEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9392, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9395, - "src": "2105:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9391, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2105:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2095:27:41" - }, - "returnParameters": { - "id": 9394, - "nodeType": "ParameterList", - "parameters": [], - "src": "2139:0:41" - }, - "scope": 9456, - "src": "2069:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "350d3d30", - "id": 9402, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeDepositEthFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9397, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9402, - "src": "2178:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2178:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9399, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9402, - "src": "2187:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9398, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2187:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2168:27:41" - }, - "returnParameters": { - "id": 9401, - "nodeType": "ParameterList", - "parameters": [], - "src": "2212:0:41" - }, - "scope": 9456, - "src": "2142:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2b4df9d3", - "id": 9407, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "requestToken", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9404, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9407, - "src": "2242:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2242:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2241:27:41" - }, - "returnParameters": { - "id": 9406, - "nodeType": "ParameterList", - "parameters": [], - "src": "2285:0:41" - }, - "scope": 9456, - "src": "2215:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "235e7ab1", - "id": 9414, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "requestTokenFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9409, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9414, - "src": "2315:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9408, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2315:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9411, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9414, - "src": "2333:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9410, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2333:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2314:27:41" - }, - "returnParameters": { - "id": 9413, - "nodeType": "ParameterList", - "parameters": [], - "src": "2358:0:41" - }, - "scope": 9456, - "src": "2288:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c311d049", - "id": 9419, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9416, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9419, - "src": "2388:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9415, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2388:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2387:27:41" - }, - "returnParameters": { - "id": 9418, - "nodeType": "ParameterList", - "parameters": [], - "src": "2423:0:41" - }, - "scope": 9456, - "src": "2361:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "602881da", - "id": 9426, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9421, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9426, - "src": "2453:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9420, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2453:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9423, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9426, - "src": "2471:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9422, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2471:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2452:27:41" - }, - "returnParameters": { - "id": 9425, - "nodeType": "ParameterList", - "parameters": [], - "src": "2488:0:41" - }, - "scope": 9456, - "src": "2426:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "42f32b80", - "id": 9433, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9431, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9428, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9433, - "src": "2518:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9427, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2518:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9430, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9433, - "src": "2527:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9429, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2527:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2517:27:41" - }, - "returnParameters": { - "id": 9432, - "nodeType": "ParameterList", - "parameters": [], - "src": "2553:0:41" - }, - "scope": 9456, - "src": "2491:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ed52d5cb", - "id": 9442, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9435, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2583:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9437, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2592:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2592:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9439, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2601:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2601:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2582:27:41" - }, - "returnParameters": { - "id": 9441, - "nodeType": "ParameterList", - "parameters": [], - "src": "2618:0:41" - }, - "scope": 9456, - "src": "2556:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3bec2cbc", - "id": 9455, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrdersWithEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9451, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9444, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2653:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9443, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "2653:26:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9446, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2697:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9445, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "2697:30:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9448, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2741:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9447, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "2741:33:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9450, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2785:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9449, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "2785:30:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2649:177:41" - }, - "returnParameters": { - "id": 9454, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9453, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2854:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2854:7:41", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2853:9:41" - }, - "scope": 9456, - "src": "2622:241:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9457, - "src": "1422:1443:41" - } - ], - "src": "1242:1624:41" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "exportedSymbols": { - "IexecEscrowTokenSwap": [ - 9456 - ] - }, - "id": 9457, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9340, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:41" - }, - { - "id": 9341, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:41" - }, - { - "absolutePath": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "file": "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol", - "id": 9342, - "nodeType": "ImportDirective", - "scope": 9457, - "sourceUnit": 18231, - "src": "1301:75:41", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9343, - "nodeType": "ImportDirective", - "scope": 9457, - "sourceUnit": 1569, - "src": "1377:42:41", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9456, - "linearizedBaseContracts": [ - 9456 - ], - "name": "IexecEscrowTokenSwap", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 9346, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9344, - "nodeType": "ParameterList", - "parameters": [], - "src": "1463:2:41" - }, - "returnParameters": { - "id": 9345, - "nodeType": "ParameterList", - "parameters": [], - "src": "1482:0:41" - }, - "scope": 9456, - "src": "1456:27:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "id": 9349, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9347, - "nodeType": "ParameterList", - "parameters": [], - "src": "1493:2:41" - }, - "returnParameters": { - "id": 9348, - "nodeType": "ParameterList", - "parameters": [], - "src": "1512:0:41" - }, - "scope": 9456, - "src": "1485:28:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "055add0d", - "id": 9354, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "UniswapV2Router", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9350, - "nodeType": "ParameterList", - "parameters": [], - "src": "1551:2:41" - }, - "returnParameters": { - "id": 9353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9352, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9354, - "src": "1584:18:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18230", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 9351, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18230, - "src": "1584:18:41", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18230", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1583:20:41" - }, - "scope": 9456, - "src": "1516:88:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1cdec20c", - "id": 9361, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateDepositEthSent", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9361, - "src": "1642:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1642:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1641:9:41" - }, - "returnParameters": { - "id": 9360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9359, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9361, - "src": "1674:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9358, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1674:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:9:41" - }, - "scope": 9456, - "src": "1606:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "97eb9764", - "id": 9368, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateDepositTokenWanted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9363, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9368, - "src": "1721:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9362, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1721:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1720:9:41" - }, - "returnParameters": { - "id": 9367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9366, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9368, - "src": "1753:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1753:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1752:9:41" - }, - "scope": 9456, - "src": "1685:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a885d19a", - "id": 9375, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawTokenSent", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9370, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9375, - "src": "1800:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1800:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1799:9:41" - }, - "returnParameters": { - "id": 9374, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9373, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9375, - "src": "1832:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9372, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1832:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1831:9:41" - }, - "scope": 9456, - "src": "1764:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1991f410", - "id": 9382, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawEthWanted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9378, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9377, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9382, - "src": "1879:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9376, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1879:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1878:9:41" - }, - "returnParameters": { - "id": 9381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9380, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9382, - "src": "1911:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1911:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1910:9:41" - }, - "scope": 9456, - "src": "1843:77:41", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "439370b1", - "id": 9385, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9383, - "nodeType": "ParameterList", - "parameters": [], - "src": "1949:27:41" - }, - "returnParameters": { - "id": 9384, - "nodeType": "ParameterList", - "parameters": [], - "src": "1993:0:41" - }, - "scope": 9456, - "src": "1923:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "eee3f07a", - "id": 9390, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "depositEthFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9387, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9390, - "src": "2041:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9386, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2041:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2022:27:41" - }, - "returnParameters": { - "id": 9389, - "nodeType": "ParameterList", - "parameters": [], - "src": "2066:0:41" - }, - "scope": 9456, - "src": "1996:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a1ac77ed", - "id": 9395, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeDepositEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9392, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9395, - "src": "2105:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9391, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2105:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2095:27:41" - }, - "returnParameters": { - "id": 9394, - "nodeType": "ParameterList", - "parameters": [], - "src": "2139:0:41" - }, - "scope": 9456, - "src": "2069:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "350d3d30", - "id": 9402, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeDepositEthFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9397, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9402, - "src": "2178:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2178:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9399, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9402, - "src": "2187:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9398, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2187:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2168:27:41" - }, - "returnParameters": { - "id": 9401, - "nodeType": "ParameterList", - "parameters": [], - "src": "2212:0:41" - }, - "scope": 9456, - "src": "2142:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "2b4df9d3", - "id": 9407, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "requestToken", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9404, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9407, - "src": "2242:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2242:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2241:27:41" - }, - "returnParameters": { - "id": 9406, - "nodeType": "ParameterList", - "parameters": [], - "src": "2285:0:41" - }, - "scope": 9456, - "src": "2215:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "235e7ab1", - "id": 9414, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "requestTokenFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9409, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9414, - "src": "2315:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9408, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2315:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9411, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9414, - "src": "2333:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9410, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2333:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2314:27:41" - }, - "returnParameters": { - "id": 9413, - "nodeType": "ParameterList", - "parameters": [], - "src": "2358:0:41" - }, - "scope": 9456, - "src": "2288:71:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c311d049", - "id": 9419, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9416, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9419, - "src": "2388:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9415, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2388:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2387:27:41" - }, - "returnParameters": { - "id": 9418, - "nodeType": "ParameterList", - "parameters": [], - "src": "2423:0:41" - }, - "scope": 9456, - "src": "2361:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "602881da", - "id": 9426, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "withdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9421, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9426, - "src": "2453:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9420, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2453:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9423, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9426, - "src": "2471:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9422, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2471:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2452:27:41" - }, - "returnParameters": { - "id": 9425, - "nodeType": "ParameterList", - "parameters": [], - "src": "2488:0:41" - }, - "scope": 9456, - "src": "2426:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "42f32b80", - "id": 9433, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9431, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9428, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9433, - "src": "2518:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9427, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2518:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9430, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9433, - "src": "2527:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9429, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2527:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2517:27:41" - }, - "returnParameters": { - "id": 9432, - "nodeType": "ParameterList", - "parameters": [], - "src": "2553:0:41" - }, - "scope": 9456, - "src": "2491:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "ed52d5cb", - "id": 9442, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9435, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2583:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9437, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2592:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2592:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9439, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9442, - "src": "2601:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2601:7:41", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2582:27:41" - }, - "returnParameters": { - "id": 9441, - "nodeType": "ParameterList", - "parameters": [], - "src": "2618:0:41" - }, - "scope": 9456, - "src": "2556:63:41", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3bec2cbc", - "id": 9455, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrdersWithEth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9451, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9444, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2653:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9443, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "2653:26:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9446, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2697:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9445, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "2697:30:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9448, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2741:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9447, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "2741:33:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9450, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2785:40:41", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9449, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "2785:30:41", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2649:177:41" - }, - "returnParameters": { - "id": 9454, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9453, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9455, - "src": "2854:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2854:7:41", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2853:9:41" - }, - "scope": 9456, - "src": "2622:241:41", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9457, - "src": "1422:1443:41" - } - ], - "src": "1242:1624:41" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.859Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecEscrowTokenSwapDelegate.json b/build/contracts/IexecEscrowTokenSwapDelegate.json deleted file mode 100644 index 8b4efa657..000000000 --- a/build/contracts/IexecEscrowTokenSwapDelegate.json +++ /dev/null @@ -1,18894 +0,0 @@ -{ - "contractName": "IexecEscrowTokenSwapDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "eth", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "token", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minimum", - "type": "uint256" - }, - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"UniswapV2Router\",\"outputs\":[{\"internalType\":\"contract IUniswapV2Router02\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"depositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eth\",\"type\":\"uint256\"}],\"name\":\"estimateDepositEthSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"estimateDepositTokenWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"eth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eth\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawEthWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawTokenSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"eth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"matchOrdersWithEth\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"requestToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"requestTokenFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"}],\"name\":\"safeDepositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"safeDepositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"}],\"name\":\"safeWithdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"safeWithdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"withdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenSwapDelegate.sol\":\"IexecEscrowTokenSwapDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenSwapDelegate.sol\":{\"keccak256\":\"0x8d1d3f64d1a5853fd57900394b4f23c7794d52b3e6c4d208f1cd587cf28c958b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0042c64bc0b7ec6940341ed553151ff4ba5f9d82f82ec96aff4ec0312c397c6f\",\"dweb:/ipfs/QmPfP41RJHUodPacoPsSk6pjuVTq8MKs34qq7zr2P9JCeC\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":{\"keccak256\":\"0xba769d239982db0002541e750395aaceda605036bc1a7a1bb9982780c3cc206d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d7404ee2d2a812df8af1b31efa41c40a4576fb361beccd044320a8bd3fe778e6\",\"dweb:/ipfs/QmaxWP1sWGHahrUBdfvrvTJJAuyoWoGRQ1Pz68qAJhLzZw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol\":{\"keccak256\":\"0xdfe6663ac036a9501d278f7ba1e6144ad59aabee8c289b28c2d800663495ab0f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d6d75060a1464e965ede31661b229fde479df1a860def0e06096fb9067904bdb\",\"dweb:/ipfs/QmQKfbEdiWqXFxVzBgox9TaHzfshQtFRVg5gVu6AZRZx5x\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]},\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":{\"keccak256\":\"0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d\",\"urls\":[\"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c\",\"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062001fba833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b039091169060008051602062001fba833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b611e8e806200012c6000396000f3fe6080604052600436106101185760003560e01c8063602881da116100a0578063a885d19a11610064578063a885d19a146102e8578063c311d04914610308578063ed52d5cb14610328578063eee3f07a14610348578063f2fde38b1461035b5761015c565b8063602881da1461026b578063715018a61461028b5780638da5cb5b146102a057806397eb9764146102b5578063a1ac77ed146102d55761015c565b80632b4df9d3116100e75780632b4df9d31461020a578063350d3d301461021d5780633bec2cbc1461023057806342f32b8014610243578063439370b1146102635761015c565b8063055add0d1461017d5780631991f410146101a85780631cdec20c146101d5578063235e7ab1146101f55761015c565b3661015c57600061012761037b565b90506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14610159576101598134600061037f565b50005b60405162461bcd60e51b8152600401610174906119dc565b60405180910390fd5b34801561018957600080fd5b50610192610445565b60405161019f919061192b565b60405180910390f35b3480156101b457600080fd5b506101c86101c336600461164c565b61045d565b60405161019f9190611958565b3480156101e157600080fd5b506101c86101f036600461164c565b61050e565b610208610203366004611664565b6105b0565b005b61020861021836600461164c565b6105bf565b61020861022b366004611664565b6105d4565b6101c861023e3660046114e8565b6105df565b34801561024f57600080fd5b5061020861025e366004611693565b6108d0565b6102086108e2565b34801561027757600080fd5b50610208610286366004611664565b6108f7565b34801561029757600080fd5b50610208610903565b3480156102ac57600080fd5b50610192610982565b3480156102c157600080fd5b506101c86102d036600461164c565b610991565b6102086102e336600461164c565b6109b6565b3480156102f457600080fd5b506101c861030336600461164c565b6109c8565b34801561031457600080fd5b5061020861032336600461164c565b6109ed565b34801561033457600080fd5b506102086103433660046116b4565b610a00565b6102086103563660046113e3565b610a10565b34801561036757600080fd5b506102086103763660046113e3565b610a1c565b3390565b6060737a250d5630b4cf539739df2c5dacb4c659f2488d637ff36ab584846103a5610ad2565b30426001016040518663ffffffff1660e01b81526004016103c99493929190611d8b565b6000604051808303818588803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405261041f919081019061141b565b905061043f848260018151811061043257fe5b6020026020010151610bd0565b50505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d90565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d631f00ca7483610482610c90565b6040518363ffffffff1660e01b815260040161049f929190611d72565b60006040518083038186803b1580156104b757600080fd5b505afa1580156104cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104f3919081019061141b565b6000815181106104ff57fe5b60200260200101519050919050565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f83610533610ad2565b6040518363ffffffff1660e01b8152600401610550929190611d72565b60006040518083038186803b15801561056857600080fd5b505afa15801561057c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a4919081019061141b565b6001815181106104ff57fe5b6105bb813484610d80565b5050565b6105d16105ca61037b565b3483610d80565b50565b6105bb81348461037f565b6000806106a66012600061067d8973__IexecLibOrders_v5_____________________637c0d54d390916040518263ffffffff1660e01b81526004016106259190611aaf565b60206040518083038186803b15801561063d57600080fd5b505af4158015610651573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067591906114d0565b601054610ee3565b805190602001208152602001908152602001600020548760400151610f1090919063ffffffff16565b85519091506001600160a01b031615610709576107066106ff6012600061067d8973__IexecLibOrders_v5_____________________6311b2eee290916040518263ffffffff1660e01b81526004016106259190611aaf565b8290610f25565b90505b6107786106ff6012600061074f8873__IexecLibOrders_v5_____________________63fed985fe90916040518263ffffffff1660e01b81526004016106259190611cc2565b805190602001208152602001908152602001600020548660400151610f1090919063ffffffff16565b90506107e96106ff601260006107c08773__IexecLibOrders_v5_____________________638ac03f3390916040518263ffffffff1660e01b81526004016106259190611bb2565b805190602001208152602001908152602001600020548560e00151610f1090919063ffffffff16565b905061084b8360c001513461084684610840896020015161083a60006001600160a01b03168d600001516001600160a01b0316141561082957600061082f565b8c602001515b60208f015190610f3d565b90610f3d565b90610f4f565b610d80565b604051630558653560e21b8152309063156194d490610874908990899089908990600401611ac2565b602060405180830381600087803b15801561088e57600080fd5b505af11580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c691906114d0565b9695505050505050565b6105bb6108db61037b565b8383610f76565b6108f56108ed61037b565b34600061037f565b565b6105bb81836000610f76565b61090b61037b565b6000546001600160a01b039081169116146109385760405162461bcd60e51b8152600401610174906119a7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d631f00ca7483610482610ad2565b6105d16109c161037b565b348361037f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f83610533610c90565b6105d16109f861037b565b826000610f76565b610a0b818484610f76565b505050565b6105d18134600061037f565b610a2461037b565b6000546001600160a01b03908116911614610a515760405162461bcd60e51b8152600401610174906119a7565b6001600160a01b038116610a775760405162461bcd60e51b815260040161017490611961565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516002808252606080830184529283929190602083019080368337019050509050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b91906113ff565b81600081518110610b8857fe5b6001600160a01b039283166020918202929092010152600854825191169082906001908110610bb357fe5b6001600160a01b0390921660209283029190910190910152905090565b6001600160a01b038216610bf65760405162461bcd60e51b815260040161017490611a78565b610c0260008383610a0b565b600c54610c0f9082610f3d565b600c556001600160a01b0382166000908152600d6020526040902054610c359082610f3d565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c84908590611958565b60405180910390a35050565b604080516002808252606080830184529283929190602083019080368337505060085482519293506001600160a01b031691839150600090610cce57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3b57600080fd5b505afa158015610d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7391906113ff565b81600181518110610bb357fe5b6060737a250d5630b4cf539739df2c5dacb4c659f2488d63fb3bdb418484610da6610ad2565b30426001016040518663ffffffff1660e01b8152600401610dca9493929190611d8b565b6000604051808303818588803b158015610de357600080fd5b505af1158015610df7573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610e20919081019061141b565b9050610e33848260018151811061043257fe5b6000610e3d61037b565b6001600160a01b0316610e6d83600081518110610e5657fe5b602002602001015186610f1090919063ffffffff16565b604051610e7990611928565b60006040518083038185875af1925050503d8060008114610eb6576040519150601f19603f3d011682016040523d82523d6000602084013e610ebb565b606091505b5050905080610edc5760405162461bcd60e51b815260040161017490611a48565b5050505050565b60608183604051602001610ef892919061190d565b60405160208183030381529060405290505b92915050565b600082821115610f1f57600080fd5b50900390565b6000818310610f345781610f36565b825b9392505050565b600082820183811015610f3657600080fd5b600082610f5e57506000610f0a565b82820282848281610f6b57fe5b0414610f3657600080fd5b60085460405163095ea7b360e01b81526001600160a01b039091169063095ea7b390610fbc90737a250d5630b4cf539739df2c5dacb4c659f2488d90869060040161193f565b602060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e91906114b0565b506060737a250d5630b4cf539739df2c5dacb4c659f2488d6318cbafe58484611035610c90565b88426001016040518663ffffffff1660e01b815260040161105a959493929190611dc0565b600060405180830381600087803b15801561107457600080fd5b505af1158015611088573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110b0919081019061141b565b905061043f6110bd61037b565b826000815181106110ca57fe5b60200260200101516001600160a01b0382166110f85760405162461bcd60e51b815260040161017490611a07565b61110482600083610a0b565b600c546111119082610f10565b600c556001600160a01b0382166000908152600d60205260409020546111379082610f10565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c84908590611958565b8035610f0a81611e43565b600082601f83011261119e578081fd5b813567ffffffffffffffff8111156111b4578182fd5b6111c7601f8201601f1916602001611dfc565b91508082528360208285010111156111de57600080fd5b8060208401602084013760009082016020015292915050565b600061012080838503121561120a578182fd5b61121381611dfc565b9150506112208383611183565b815260208201356020820152604082013560408201526060820135606082015261124d8360808401611183565b608082015261125f8360a08401611183565b60a08201526112718360c08401611183565b60c082015260e082013560e08201526101008083013567ffffffffffffffff81111561129c57600080fd5b6112a88582860161118e565b82840152505092915050565b60006102008083850312156112c7578182fd5b6112d081611dfc565b9150506112dd8383611183565b8152602082013560208201526112f68360408401611183565b6040820152606082013560608201526113128360808401611183565b608082015260a082013560a082015261132e8360c08401611183565b60c082015260e0828101359082015261010080830135908201526101208083013590820152610140808301359082015261016061136d84828501611183565b9082015261018061138084848301611183565b908201526101a08281013567ffffffffffffffff808211156113a157600080fd5b6113ad8683870161118e565b838501526101c0925082850135838501526101e09250828501359150808211156113d657600080fd5b506112a88582860161118e565b6000602082840312156113f4578081fd5b8135610f3681611e43565b600060208284031215611410578081fd5b8151610f3681611e43565b6000602080838503121561142d578182fd5b825167ffffffffffffffff811115611443578283fd5b8301601f81018513611453578283fd5b805161146661146182611e23565b611dfc565b8181528381019083850185840285018601891015611482578687fd5b8694505b838510156114a4578051835260019490940193918501918501611486565b50979650505050505050565b6000602082840312156114c1578081fd5b81518015158114610f36578182fd5b6000602082840312156114e1578081fd5b5051919050565b600080600080608085870312156114fd578283fd5b843567ffffffffffffffff80821115611514578485fd5b611520888389016111f7565b95506020870135915080821115611535578485fd5b611541888389016111f7565b94506040870135915080821115611556578384fd5b818701915061016080838a03121561156c578485fd5b61157581611dfc565b90506115818984611183565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526115c28960c08501611183565b60c08201526115d48960e08501611183565b60e08201526101006115e88a828601611183565b908201526101208381013590820152610140808401358381111561160a578687fd5b6116168b82870161118e565b828401525050809450506060870135915080821115611633578283fd5b50611640878288016112b4565b91505092959194509250565b60006020828403121561165d578081fd5b5035919050565b60008060408385031215611676578182fd5b82359150602083013561168881611e43565b809150509250929050565b600080604083850312156116a5578182fd5b50508035926020909101359150565b6000806000606084860312156116c8578081fd5b833592506020840135915060408401356116e181611e43565b809150509250925092565b6001600160a01b03169052565b6000815180845260208085019450808401835b838110156117315781516001600160a01b03168752958201959082019060010161170c565b509495945050505050565b60008151808452815b8181101561176157602081850181015186830182015201611745565b818111156117725782602083870101525b50601f01601f19169290920160200192915050565b600061012060018060a01b03835116845260208301516020850152604083015160408501526060830151606085015260808301516117c860808601826116ec565b5060a08301516117db60a08601826116ec565b5060c08301516117ee60c08601826116ec565b5060e083015160e08501526101008084015182828701526108c68387018261173c565b60006102006118218484516116ec565b60208301516020850152604083015161183d60408601826116ec565b5060608301516060850152608083015161185a60808601826116ec565b5060a083015160a085015260c083015161187760c08601826116ec565b5060e08381015190850152610100808401519085015261012080840151908501526101408084015190850152610160808401516118b6828701826116ec565b5050610180808401516118cb828701826116ec565b50506101a08084015182828701526118e58387018261173c565b925050506101c08084015181860152506101e080840151858303828701526108c6838261173c565b61190160f01b81526002810192909252602282015260420190565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526011908201527019985b1b189858dacb591a5cd8589b1959607a1b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601690820152751b985d1a5d994b5d1c985b9cd9995c8b59985a5b195960521b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b600060208252610f366020830184611787565b600060808252611ad56080830187611787565b8281036020840152611ae78187611787565b90508281036040840152610160611aff8287516116ec565b6020860151602083015260408601516040830152606086015160608301526080860151608083015260a086015160a083015260c0860151611b4360c08401826116ec565b5060e0860151611b5660e08401826116ec565b5061010080870151611b6a828501826116ec565b5050610120808701518184015250610140808701518282850152611b908385018261173c565b93505050508281036060840152611ba78185611811565b979650505050505050565b600060208252611bc66020830184516116ec565b602083015160408301526040830151611be260608401826116ec565b50606083015160808301526080830151611bff60a08401826116ec565b5060a083015160c083015260c0830151611c1c60e08401826116ec565b5060e083015161010083810191909152830151610120808401919091528301516101408084019190915283015161016080840191909152830151610180611c65818501836116ec565b84015190506101a0611c79848201836116ec565b808501519150506102006101c08181860152611c9961022086018461173c565b908601516101e086810191909152860151858203601f1901838701529092506108c6838261173c565b600060208252611cd66020830184516116ec565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c0830151611d1a60e08401826116ec565b5060e0830151610100611d2f818501836116ec565b8401519050610120611d43848201836116ec565b84015161014084810191909152840151610160808501529050611d6a61018084018261173c565b949350505050565b600083825260406020830152611d6a60408301846116f9565b600085825260806020830152611da460808301866116f9565b6001600160a01b03949094166040830152506060015292915050565b600086825285602083015260a06040830152611ddf60a08301866116f9565b6001600160a01b0394909416606083015250608001529392505050565b60405181810167ffffffffffffffff81118282101715611e1b57600080fd5b604052919050565b600067ffffffffffffffff821115611e39578081fd5b5060209081020190565b6001600160a01b03811681146105d157600080fdfea264697066735822122033117cabf81ccb8b2265ab3758f572c423941fbe962ccb149294acda08f1c1a964736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x6080604052600436106101185760003560e01c8063602881da116100a0578063a885d19a11610064578063a885d19a146102e8578063c311d04914610308578063ed52d5cb14610328578063eee3f07a14610348578063f2fde38b1461035b5761015c565b8063602881da1461026b578063715018a61461028b5780638da5cb5b146102a057806397eb9764146102b5578063a1ac77ed146102d55761015c565b80632b4df9d3116100e75780632b4df9d31461020a578063350d3d301461021d5780633bec2cbc1461023057806342f32b8014610243578063439370b1146102635761015c565b8063055add0d1461017d5780631991f410146101a85780631cdec20c146101d5578063235e7ab1146101f55761015c565b3661015c57600061012761037b565b90506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14610159576101598134600061037f565b50005b60405162461bcd60e51b8152600401610174906119dc565b60405180910390fd5b34801561018957600080fd5b50610192610445565b60405161019f919061192b565b60405180910390f35b3480156101b457600080fd5b506101c86101c336600461164c565b61045d565b60405161019f9190611958565b3480156101e157600080fd5b506101c86101f036600461164c565b61050e565b610208610203366004611664565b6105b0565b005b61020861021836600461164c565b6105bf565b61020861022b366004611664565b6105d4565b6101c861023e3660046114e8565b6105df565b34801561024f57600080fd5b5061020861025e366004611693565b6108d0565b6102086108e2565b34801561027757600080fd5b50610208610286366004611664565b6108f7565b34801561029757600080fd5b50610208610903565b3480156102ac57600080fd5b50610192610982565b3480156102c157600080fd5b506101c86102d036600461164c565b610991565b6102086102e336600461164c565b6109b6565b3480156102f457600080fd5b506101c861030336600461164c565b6109c8565b34801561031457600080fd5b5061020861032336600461164c565b6109ed565b34801561033457600080fd5b506102086103433660046116b4565b610a00565b6102086103563660046113e3565b610a10565b34801561036757600080fd5b506102086103763660046113e3565b610a1c565b3390565b6060737a250d5630b4cf539739df2c5dacb4c659f2488d637ff36ab584846103a5610ad2565b30426001016040518663ffffffff1660e01b81526004016103c99493929190611d8b565b6000604051808303818588803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405261041f919081019061141b565b905061043f848260018151811061043257fe5b6020026020010151610bd0565b50505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d90565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d631f00ca7483610482610c90565b6040518363ffffffff1660e01b815260040161049f929190611d72565b60006040518083038186803b1580156104b757600080fd5b505afa1580156104cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104f3919081019061141b565b6000815181106104ff57fe5b60200260200101519050919050565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f83610533610ad2565b6040518363ffffffff1660e01b8152600401610550929190611d72565b60006040518083038186803b15801561056857600080fd5b505afa15801561057c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a4919081019061141b565b6001815181106104ff57fe5b6105bb813484610d80565b5050565b6105d16105ca61037b565b3483610d80565b50565b6105bb81348461037f565b6000806106a66012600061067d8973__IexecLibOrders_v5_____________________637c0d54d390916040518263ffffffff1660e01b81526004016106259190611aaf565b60206040518083038186803b15801561063d57600080fd5b505af4158015610651573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067591906114d0565b601054610ee3565b805190602001208152602001908152602001600020548760400151610f1090919063ffffffff16565b85519091506001600160a01b031615610709576107066106ff6012600061067d8973__IexecLibOrders_v5_____________________6311b2eee290916040518263ffffffff1660e01b81526004016106259190611aaf565b8290610f25565b90505b6107786106ff6012600061074f8873__IexecLibOrders_v5_____________________63fed985fe90916040518263ffffffff1660e01b81526004016106259190611cc2565b805190602001208152602001908152602001600020548660400151610f1090919063ffffffff16565b90506107e96106ff601260006107c08773__IexecLibOrders_v5_____________________638ac03f3390916040518263ffffffff1660e01b81526004016106259190611bb2565b805190602001208152602001908152602001600020548560e00151610f1090919063ffffffff16565b905061084b8360c001513461084684610840896020015161083a60006001600160a01b03168d600001516001600160a01b0316141561082957600061082f565b8c602001515b60208f015190610f3d565b90610f3d565b90610f4f565b610d80565b604051630558653560e21b8152309063156194d490610874908990899089908990600401611ac2565b602060405180830381600087803b15801561088e57600080fd5b505af11580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c691906114d0565b9695505050505050565b6105bb6108db61037b565b8383610f76565b6108f56108ed61037b565b34600061037f565b565b6105bb81836000610f76565b61090b61037b565b6000546001600160a01b039081169116146109385760405162461bcd60e51b8152600401610174906119a7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d631f00ca7483610482610ad2565b6105d16109c161037b565b348361037f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d63d06ca61f83610533610c90565b6105d16109f861037b565b826000610f76565b610a0b818484610f76565b505050565b6105d18134600061037f565b610a2461037b565b6000546001600160a01b03908116911614610a515760405162461bcd60e51b8152600401610174906119a7565b6001600160a01b038116610a775760405162461bcd60e51b815260040161017490611961565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516002808252606080830184529283929190602083019080368337019050509050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b91906113ff565b81600081518110610b8857fe5b6001600160a01b039283166020918202929092010152600854825191169082906001908110610bb357fe5b6001600160a01b0390921660209283029190910190910152905090565b6001600160a01b038216610bf65760405162461bcd60e51b815260040161017490611a78565b610c0260008383610a0b565b600c54610c0f9082610f3d565b600c556001600160a01b0382166000908152600d6020526040902054610c359082610f3d565b6001600160a01b0383166000818152600d60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c84908590611958565b60405180910390a35050565b604080516002808252606080830184529283929190602083019080368337505060085482519293506001600160a01b031691839150600090610cce57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3b57600080fd5b505afa158015610d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7391906113ff565b81600181518110610bb357fe5b6060737a250d5630b4cf539739df2c5dacb4c659f2488d63fb3bdb418484610da6610ad2565b30426001016040518663ffffffff1660e01b8152600401610dca9493929190611d8b565b6000604051808303818588803b158015610de357600080fd5b505af1158015610df7573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610e20919081019061141b565b9050610e33848260018151811061043257fe5b6000610e3d61037b565b6001600160a01b0316610e6d83600081518110610e5657fe5b602002602001015186610f1090919063ffffffff16565b604051610e7990611928565b60006040518083038185875af1925050503d8060008114610eb6576040519150601f19603f3d011682016040523d82523d6000602084013e610ebb565b606091505b5050905080610edc5760405162461bcd60e51b815260040161017490611a48565b5050505050565b60608183604051602001610ef892919061190d565b60405160208183030381529060405290505b92915050565b600082821115610f1f57600080fd5b50900390565b6000818310610f345781610f36565b825b9392505050565b600082820183811015610f3657600080fd5b600082610f5e57506000610f0a565b82820282848281610f6b57fe5b0414610f3657600080fd5b60085460405163095ea7b360e01b81526001600160a01b039091169063095ea7b390610fbc90737a250d5630b4cf539739df2c5dacb4c659f2488d90869060040161193f565b602060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e91906114b0565b506060737a250d5630b4cf539739df2c5dacb4c659f2488d6318cbafe58484611035610c90565b88426001016040518663ffffffff1660e01b815260040161105a959493929190611dc0565b600060405180830381600087803b15801561107457600080fd5b505af1158015611088573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110b0919081019061141b565b905061043f6110bd61037b565b826000815181106110ca57fe5b60200260200101516001600160a01b0382166110f85760405162461bcd60e51b815260040161017490611a07565b61110482600083610a0b565b600c546111119082610f10565b600c556001600160a01b0382166000908152600d60205260409020546111379082610f10565b6001600160a01b0383166000818152600d60205260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c84908590611958565b8035610f0a81611e43565b600082601f83011261119e578081fd5b813567ffffffffffffffff8111156111b4578182fd5b6111c7601f8201601f1916602001611dfc565b91508082528360208285010111156111de57600080fd5b8060208401602084013760009082016020015292915050565b600061012080838503121561120a578182fd5b61121381611dfc565b9150506112208383611183565b815260208201356020820152604082013560408201526060820135606082015261124d8360808401611183565b608082015261125f8360a08401611183565b60a08201526112718360c08401611183565b60c082015260e082013560e08201526101008083013567ffffffffffffffff81111561129c57600080fd5b6112a88582860161118e565b82840152505092915050565b60006102008083850312156112c7578182fd5b6112d081611dfc565b9150506112dd8383611183565b8152602082013560208201526112f68360408401611183565b6040820152606082013560608201526113128360808401611183565b608082015260a082013560a082015261132e8360c08401611183565b60c082015260e0828101359082015261010080830135908201526101208083013590820152610140808301359082015261016061136d84828501611183565b9082015261018061138084848301611183565b908201526101a08281013567ffffffffffffffff808211156113a157600080fd5b6113ad8683870161118e565b838501526101c0925082850135838501526101e09250828501359150808211156113d657600080fd5b506112a88582860161118e565b6000602082840312156113f4578081fd5b8135610f3681611e43565b600060208284031215611410578081fd5b8151610f3681611e43565b6000602080838503121561142d578182fd5b825167ffffffffffffffff811115611443578283fd5b8301601f81018513611453578283fd5b805161146661146182611e23565b611dfc565b8181528381019083850185840285018601891015611482578687fd5b8694505b838510156114a4578051835260019490940193918501918501611486565b50979650505050505050565b6000602082840312156114c1578081fd5b81518015158114610f36578182fd5b6000602082840312156114e1578081fd5b5051919050565b600080600080608085870312156114fd578283fd5b843567ffffffffffffffff80821115611514578485fd5b611520888389016111f7565b95506020870135915080821115611535578485fd5b611541888389016111f7565b94506040870135915080821115611556578384fd5b818701915061016080838a03121561156c578485fd5b61157581611dfc565b90506115818984611183565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526115c28960c08501611183565b60c08201526115d48960e08501611183565b60e08201526101006115e88a828601611183565b908201526101208381013590820152610140808401358381111561160a578687fd5b6116168b82870161118e565b828401525050809450506060870135915080821115611633578283fd5b50611640878288016112b4565b91505092959194509250565b60006020828403121561165d578081fd5b5035919050565b60008060408385031215611676578182fd5b82359150602083013561168881611e43565b809150509250929050565b600080604083850312156116a5578182fd5b50508035926020909101359150565b6000806000606084860312156116c8578081fd5b833592506020840135915060408401356116e181611e43565b809150509250925092565b6001600160a01b03169052565b6000815180845260208085019450808401835b838110156117315781516001600160a01b03168752958201959082019060010161170c565b509495945050505050565b60008151808452815b8181101561176157602081850181015186830182015201611745565b818111156117725782602083870101525b50601f01601f19169290920160200192915050565b600061012060018060a01b03835116845260208301516020850152604083015160408501526060830151606085015260808301516117c860808601826116ec565b5060a08301516117db60a08601826116ec565b5060c08301516117ee60c08601826116ec565b5060e083015160e08501526101008084015182828701526108c68387018261173c565b60006102006118218484516116ec565b60208301516020850152604083015161183d60408601826116ec565b5060608301516060850152608083015161185a60808601826116ec565b5060a083015160a085015260c083015161187760c08601826116ec565b5060e08381015190850152610100808401519085015261012080840151908501526101408084015190850152610160808401516118b6828701826116ec565b5050610180808401516118cb828701826116ec565b50506101a08084015182828701526118e58387018261173c565b925050506101c08084015181860152506101e080840151858303828701526108c6838261173c565b61190160f01b81526002810192909252602282015260420190565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526011908201527019985b1b189858dacb591a5cd8589b1959607a1b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601690820152751b985d1a5d994b5d1c985b9cd9995c8b59985a5b195960521b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b600060208252610f366020830184611787565b600060808252611ad56080830187611787565b8281036020840152611ae78187611787565b90508281036040840152610160611aff8287516116ec565b6020860151602083015260408601516040830152606086015160608301526080860151608083015260a086015160a083015260c0860151611b4360c08401826116ec565b5060e0860151611b5660e08401826116ec565b5061010080870151611b6a828501826116ec565b5050610120808701518184015250610140808701518282850152611b908385018261173c565b93505050508281036060840152611ba78185611811565b979650505050505050565b600060208252611bc66020830184516116ec565b602083015160408301526040830151611be260608401826116ec565b50606083015160808301526080830151611bff60a08401826116ec565b5060a083015160c083015260c0830151611c1c60e08401826116ec565b5060e083015161010083810191909152830151610120808401919091528301516101408084019190915283015161016080840191909152830151610180611c65818501836116ec565b84015190506101a0611c79848201836116ec565b808501519150506102006101c08181860152611c9961022086018461173c565b908601516101e086810191909152860151858203601f1901838701529092506108c6838261173c565b600060208252611cd66020830184516116ec565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c0830151611d1a60e08401826116ec565b5060e0830151610100611d2f818501836116ec565b8401519050610120611d43848201836116ec565b84015161014084810191909152840151610160808501529050611d6a61018084018261173c565b949350505050565b600083825260406020830152611d6a60408301846116f9565b600085825260806020830152611da460808301866116f9565b6001600160a01b03949094166040830152506060015292915050565b600086825285602083015260a06040830152611ddf60a08301866116f9565b6001600160a01b0394909416606083015250608001529392505050565b60405181810167ffffffffffffffff81118282101715611e1b57600080fd5b604052919050565b600067ffffffffffffffff821115611e39578081fd5b5060209081020190565b6001600160a01b03811681146105d157600080fdfea264697066735822122033117cabf81ccb8b2265ab3758f572c423941fbe962ccb149294acda08f1c1a964736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1486:6942:23:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1486:6942:23;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1486:6942:23;;;;;;", - "deployedSourceMap": "1486:6942:23:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4090:14;4107:12;:10;:12::i;:::-;4090:29;-1:-1:-1;;;;;;4127:25:23;;1947:42;4127:25;4123:73;;4161:30;4170:6;4178:9;4189:1;4161:8;:30::i;:::-;4048:151;1486:6942;;4245:27;;-1:-1:-1;;;4245:27:23;;;;;;;:::i;:::-;;;;;;;;2229:102;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3656:154;;;;;;;;;;-1:-1:-1;3656:154:23;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3188:::-;;;;;;;;;;-1:-1:-1;3188:154:23;;;;;:::i;:::-;;:::i;5044:151::-;;;;;;:::i;:::-;;:::i;:::-;;4891;;;;;;:::i;:::-;;:::i;4738:::-;;;;;;:::i;:::-;;:::i;7160:1266::-;;;;;;:::i;:::-;;:::i;5503:151::-;;;;;;;;;;-1:-1:-1;5503:151:23;;;;;:::i;:::-;;:::i;4279:::-;;;:::i;5350:::-;;;;;;;;;;-1:-1:-1;5350:151:23;;;;;:::i;:::-;;:::i;1689:145:83:-;;;;;;;;;;;;;:::i;1066:77::-;;;;;;;;;;;;;:::i;3344:154:23:-;;;;;;;;;;-1:-1:-1;3344:154:23;;;;;:::i;:::-;;:::i;4585:151::-;;;;;;:::i;:::-;;:::i;3500:154::-;;;;;;;;;;-1:-1:-1;3500:154:23;;;;;:::i;:::-;;:::i;5197:151::-;;;;;;;;;;-1:-1:-1;5197:151:23;;;;;:::i;:::-;;:::i;5656:::-;;;;;;;;;;-1:-1:-1;5656:151:23;;;;;:::i;:::-;;:::i;4432:::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;;;;;-1:-1:-1;1983:240:83;;;;;:::i;:::-;;:::i;590:104:81:-;677:10;590:104;:::o;6045:228:23:-;6126:24;1947:42;6153:28;6189:5;6196:7;6205:12;:10;:12::i;:::-;6227:4;6234:3;6238:1;6234:5;6153:87;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6153:87:23;;;;;;;;;;;;:::i;:::-;6126:114;;6244:25;6250:6;6258:7;6266:1;6258:10;;;;;;;;;;;;;;6244:5;:25::i;:::-;6045:228;;;;:::o;2229:102::-;1947:42;2229:102;:::o;3656:154::-;3739:13;1947:42;3763:19;3784:3;3791:12;:10;:12::i;:::-;3763:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3763:41:23;;;;;;;;;;;;:::i;:::-;3805:1;3763:44;;;;;;;;;;;;;;3756:51;;3656:154;;;:::o;3188:::-;3271:13;1947:42;3295:20;3316:3;3323:12;:10;:12::i;:::-;3295:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3295:41:23;;;;;;;;;;;;:::i;:::-;3337:1;3295:44;;;;;;;5044:151;5150:42;5159:6;5173:9;5184:6;5150:8;:42::i;:::-;5044:151;;:::o;4891:::-;4997:42;5006:12;:10;:12::i;:::-;5020:9;5031:6;4997:8;:42::i;:::-;4891:151;:::o;4738:::-;4844:42;4853:6;4867:9;4878:7;4844:8;:42::i;7160:1266::-;7454:7;7468:14;7513:111;7534:10;:89;7555:66;7580:9;:14;;;;:16;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7598:22;;7555:17;:66::i;:::-;7545:77;;;;;;7534:89;;;;;;;;;;;;7513:9;:16;;;:20;;:111;;;;:::i;:::-;7632:21;;7486:138;;-1:-1:-1;;;;;;7632:35:23;;7628:182;;7680:130;7694:115;7719:10;:89;7740:66;7761:13;:18;;;;:20;;;;;;;;;;;;;;;:::i;7694:115::-;7680:6;;:10;:130::i;:::-;7671:139;;7628:182;7823:130;7834:118;7862:10;:89;7883:66;7901:16;:21;;;;:23;;;;;;;;;;;;;;;:::i;7883:66::-;7873:77;;;;;;7862:89;;;;;;;;;;;;7834:16;:23;;;:27;;:118;;;;:::i;7823:130::-;7814:139;;7966:130;7980:115;8005:10;:89;8026:66;8047:13;:18;;;;:20;;;;;;;;;;;;;;;:::i;8026:66::-;8016:77;;;;;;8005:89;;;;;;;;;;;;7980:13;:20;;;:24;;:115;;;;:::i;7966:130::-;7957:139;;8101:213;8114:13;:23;;;8142:9;8156:154;8303:6;8156:138;8261:16;:32;;;8156:96;8216:1;-1:-1:-1;;;;;8183:35:23;:13;:21;;;-1:-1:-1;;;;;8183:35:23;;;:68;;8250:1;8183:68;;;8221:13;:26;;;8183:68;8156:18;;;;;:26;:96::i;:::-;:104;;:138::i;:::-;:146;;:154::i;:::-;8101:8;:213::i;:::-;8326:96;;-1:-1:-1;;;8326:96:23;;8345:4;;8326:37;;:96;;8364:9;;8375:13;;8390:16;;8408:13;;8326:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8319:103;7160:1266;-1:-1:-1;;;;;;7160:1266:23:o;5503:151::-;5608:43;5618:12;:10;:12::i;:::-;5632:6;5643:7;5608:9;:43::i;4279:151::-;4385:42;4394:12;:10;:12::i;:::-;4408:9;4419:1;4385:8;:42::i;:::-;4279:151::o;5350:::-;5455:43;5465:6;5479;5490:1;5455:9;:43::i;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;3344:154:23:-;3427:11;1947:42;3451:19;3472:5;3479:12;:10;:12::i;4585:151::-;4691:42;4700:12;:10;:12::i;:::-;4714:9;4725:7;4691:8;:42::i;3500:154::-;3583:11;1947:42;3607:20;3628:5;3635:12;:10;:12::i;5197:151::-;5302:43;5312:12;:10;:12::i;:::-;5326:6;5337:1;5302:9;:43::i;5656:151::-;5761:43;5771:6;5785;5796:7;5761:9;:43::i;:::-;5656:151;;;:::o;4432:::-;4538:42;4547:6;4561:9;4572:1;4538:8;:42::i;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;2569:189:23:-;2662:16;;;2676:1;2662:16;;;2615;2662;;;;;2615;;;2662;2676:1;2662:16;;;;;;;;;;-1:-1:-1;2662:16:23;2638:40;;1947:42;-1:-1:-1;;;;;2692:11:23;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2682:4;2687:1;2682:7;;;;;;;;-1:-1:-1;;;;;2682:23:23;;;:7;;;;;;;;;:23;2727:11;;2709:7;;2727:11;;;2709:4;;2727:11;;2709:7;;;;;;-1:-1:-1;;;;;2709:30:23;;;:7;;;;;;;;;;;:30;2750:4;-1:-1:-1;2569:189:23;:::o;2350:335:16:-;-1:-1:-1;;;;;2421:21:16;;2413:65;;;;-1:-1:-1;;;2413:65:16;;;;;;;:::i;:::-;2483:49;2512:1;2516:7;2525:6;2483:20;:49::i;:::-;2553:13;;:25;;2571:6;2553:17;:25::i;:::-;2537:13;:41;-1:-1:-1;;;;;2604:19:16;;;;;;:10;:19;;;;;;:31;;2628:6;2604:23;:31::i;:::-;-1:-1:-1;;;;;2582:19:16;;;;;;:10;:19;;;;;;:53;;;;2644:37;;2582:19;;;2644:37;;;;2674:6;;2644:37;:::i;:::-;;;;;;;;2350:335;;:::o;2761:189:23:-;2854:16;;;2868:1;2854:16;;;2807;2854;;;;;2807;;;2854;2868:1;2854:16;;;;;;;;-1:-1:-1;;2892:11:23;;2874:7;;;;-1:-1:-1;;;;;;2892:11:23;;2874:7;;-1:-1:-1;2892:11:23;;2874:7;;;;;;;;;:30;-1:-1:-1;;;;;2874:30:23;;;-1:-1:-1;;;;;2874:30:23;;;;;1947:42;-1:-1:-1;;;;;2918:11:23;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2908:4;2913:1;2908:7;;;;;;;6276:372;6356:24;1947:42;6383:28;6419:5;6426:6;6434:12;:10;:12::i;:::-;6456:4;6463:3;6467:1;6463:5;6383:86;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6383:86:23;;;;;;;;;;;;:::i;:::-;6356:113;;6473:25;6479:6;6487:7;6495:1;6487:10;;;;;;;6473:25;6529:12;6547;:10;:12::i;:::-;-1:-1:-1;;;;;6547:17:23;6572:21;6582:7;6590:1;6582:10;;;;;;;;;;;;;;6572:5;:9;;:21;;;;:::i;:::-;6547:51;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6528:70;;;6610:7;6602:42;;;;-1:-1:-1;;;6602:42:23;;;;;;;:::i;:::-;6276:372;;;;;:::o;1780:177:32:-;1873:12;1928:11;1941;1899:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1892:61;;1780:177;;;;;:::o;470:124:77:-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;1869:96::-;1927:7;1952:1;1948;:5;:13;;1960:1;1948:13;;;1956:1;1948:13;1941:20;1869:96;-1:-1:-1;;;1869:96:77:o;227:124::-;285:7;311:5;;;328:6;;;;320:15;;;;;669:362;727:7;944:6;940:32;;-1:-1:-1;966:1:77;959:8;;940:32;987:5;;;991:1;987;:5;:1;1004:5;;;;;:10;996:19;;;;;6651:271:23;6734:11;;:44;;-1:-1:-1;;;6734:44:23;;-1:-1:-1;;;;;6734:11:23;;;;:19;;:44;;1947:42;;6771:6;;6734:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;6782:24:23;1947:42;6809:28;6838:6;6846:7;6855:12;:10;:12::i;:::-;6869:6;6877:3;6881:1;6877:5;6809:74;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6809:74:23;;;;;;;;;;;;:::i;:::-;6782:101;;6887:31;6893:12;:10;:12::i;:::-;6907:7;6915:1;6907:10;;;;;;;;;;;;;;-1:-1:-1;;;;;2759:21:16;;2751:67;;;;-1:-1:-1;;;2751:67:16;;;;;;;:::i;:::-;2823:49;2844:7;2861:1;2865:6;2823:20;:49::i;:::-;2893:13;;:25;;2911:6;2893:17;:25::i;:::-;2877:13;:41;-1:-1:-1;;;;;2944:19:16;;;;;;:10;:19;;;;;;:31;;2968:6;2944:23;:31::i;:::-;-1:-1:-1;;;;;2922:19:16;;;;;;:10;:19;;;;;;:53;;;;2984:37;;;;;;3014:6;;2984:37;:::i;5:130:-1:-;72:20;;97:33;72:20;97:33;:::i;1445:440::-;;1546:3;1539:4;1531:6;1527:17;1523:27;1513:2;;-1:-1;;1554:12;1513:2;1601:6;1588:20;49935:18;49927:6;49924:30;49921:2;;;-1:-1;;49957:12;49921:2;1623:64;50030:9;50011:17;;-1:-1;;50007:33;50098:4;50088:15;1623:64;:::i;:::-;1614:73;;1707:6;1700:5;1693:21;1811:3;50098:4;1802:6;1735;1793:16;;1790:25;1787:2;;;1828:1;;1818:12;1787:2;53715:6;50098:4;1735:6;1731:17;50098:4;1769:5;1765:16;53692:30;53771:1;53753:16;;;50098:4;53753:16;53746:27;1769:5;1506:379;-1:-1;;1506:379::o;2384:1624::-;;2499:6;;2487:9;2482:3;2478:19;2474:32;2471:2;;;-1:-1;;2509:12;2471:2;2537:22;2499:6;2537:22;:::i;:::-;2528:31;;;2640:49;2685:3;2661:22;2640:49;:::i;:::-;2622:16;2615:75;2755:2;2813:9;2809:22;10582:20;2755:2;2774:5;2770:16;2763:75;2901:2;2959:9;2955:22;10582:20;2901:2;2920:5;2916:16;2909:75;3044:2;3102:9;3098:22;1233:20;3044:2;3063:5;3059:16;3052:75;3233:49;3278:3;3199;3258:9;3254:22;3233:49;:::i;:::-;3199:3;3219:5;3215:16;3208:75;3392:49;3437:3;3358;3417:9;3413:22;3392:49;:::i;:::-;3358:3;3378:5;3374:16;3367:75;3550:49;3595:3;3516;3575:9;3571:22;3550:49;:::i;:::-;3516:3;3536:5;3532:16;3525:75;3661:3;3720:9;3716:22;1233:20;3661:3;3681:5;3677:16;3670:75;3834:3;;3823:9;3819:19;3806:33;3859:18;3851:6;3848:30;3845:2;;;2608:1;;3881:12;3845:2;3928:58;3982:3;3973:6;3962:9;3958:22;3928:58;:::i;:::-;3834:3;3912:5;3908:18;3901:86;;;2465:1543;;;;:::o;5742:2775::-;;5861:6;;5849:9;5844:3;5840:19;5836:32;5833:2;;;-1:-1;;5871:12;5833:2;5899:22;5861:6;5899:22;:::i;:::-;5890:31;;;6002:49;6047:3;6023:22;6002:49;:::i;:::-;5984:16;5977:75;6120:2;6178:9;6174:22;10582:20;6120:2;6139:5;6135:16;6128:75;6300:49;6345:3;6267:2;6325:9;6321:22;6300:49;:::i;:::-;6267:2;6286:5;6282:16;6275:75;6422:2;6480:9;6476:22;10582:20;6422:2;6441:5;6437:16;6430:75;6606:49;6651:3;6572;6631:9;6627:22;6606:49;:::i;:::-;6572:3;6592:5;6588:16;6581:75;6731:3;6790:9;6786:22;10582:20;6731:3;6751:5;6747:16;6740:75;6915:49;6960:3;6881;6940:9;6936:22;6915:49;:::i;:::-;6881:3;6897:16;;6890:75;7028:3;7083:22;;;10582:20;7044:16;;;7037:75;7172:3;7229:22;;;1233:20;7188:18;;;7181:77;7323:3;7380:22;;;10582:20;7339:18;;;7332:77;7471:3;7528:22;;;10582:20;7487:18;;;7480:77;7625:3;7661:49;7706:3;7682:22;;;7661:49;:::i;:::-;7641:18;;;7634:77;7776:3;7812:49;7857:3;7833:22;;;7812:49;:::i;:::-;7792:18;;;7785:77;7953:3;7938:19;;;7925:33;7978:18;7967:30;;;7964:2;;;5970:1;;8000:12;7964:2;8047:59;8102:3;8093:6;8082:9;8078:22;8047:59;:::i;:::-;7953:3;8031:5;8027:18;8020:87;8168:3;;;;8229:9;8225:22;1233:20;8168:3;8188:5;8184:18;8177:77;8343:3;;;;8332:9;8328:19;8315:33;8301:47;;7978:18;8360:6;8357:30;8354:2;;;5970:1;;8390:12;8354:2;;8437:58;8491:3;8482:6;8471:9;8467:22;8437:58;:::i;10793:241::-;;10897:2;10885:9;10876:7;10872:23;10868:32;10865:2;;;-1:-1;;10903:12;10865:2;85:6;72:20;97:33;124:5;97:33;:::i;11041:263::-;;11156:2;11144:9;11135:7;11131:23;11127:32;11124:2;;;-1:-1;;11162:12;11124:2;226:6;220:13;238:33;265:5;238:33;:::i;11311:392::-;;11451:2;;11439:9;11430:7;11426:23;11422:32;11419:2;;;-1:-1;;11457:12;11419:2;11508:17;11502:24;11546:18;11538:6;11535:30;11532:2;;;-1:-1;;11568:12;11532:2;11655:22;;422:4;410:17;;406:27;-1:-1;396:2;;-1:-1;;437:12;396:2;477:6;471:13;499:80;514:64;571:6;514:64;:::i;:::-;499:80;:::i;:::-;607:21;;;664:14;;;;639:17;;;753;;;744:27;;;;741:36;-1:-1;738:2;;;-1:-1;;780:12;738:2;-1:-1;806:10;;800:217;825:6;822:1;819:13;800:217;;;10730:13;;893:61;;847:1;840:9;;;;;968:14;;;;996;;800:217;;;-1:-1;11588:99;11413:290;-1:-1;;;;;;;11413:290::o;11710:257::-;;11822:2;11810:9;11801:7;11797:23;11793:32;11790:2;;;-1:-1;;11828:12;11790:2;1112:6;1106:13;54455:5;52615:13;52608:21;54433:5;54430:32;54420:2;;-1:-1;;54466:12;11974:263;;12089:2;12077:9;12068:7;12064:23;12060:32;12057:2;;;-1:-1;;12095:12;12057:2;-1:-1;1381:13;;12051:186;-1:-1;12051:186::o;12244:1199::-;;;;;12518:3;12506:9;12497:7;12493:23;12489:33;12486:2;;;-1:-1;;12525:12;12486:2;12583:17;12570:31;12621:18;;12613:6;12610:30;12607:2;;;-1:-1;;12643:12;12607:2;12673:79;12744:7;12735:6;12724:9;12720:22;12673:79;:::i;:::-;12663:89;;12817:2;12806:9;12802:18;12789:32;12775:46;;12621:18;12833:6;12830:30;12827:2;;;-1:-1;;12863:12;12827:2;12893:83;12968:7;12959:6;12948:9;12944:22;12893:83;:::i;:::-;12883:93;;13041:2;13030:9;13026:18;13013:32;12999:46;;12621:18;13057:6;13054:30;13051:2;;;-1:-1;;13087:12;13051:2;13186:6;13175:9;13171:22;;;8693:6;;8681:9;8676:3;8672:19;8668:32;8665:2;;;-1:-1;;8703:12;8665:2;8731:22;8693:6;8731:22;:::i;:::-;8722:31;;8841:49;8886:3;8862:22;8841:49;:::i;:::-;8823:16;8816:75;12817:2;9021:9;9017:22;10582:20;12817:2;8982:5;8978:16;8971:75;13041:2;9167:9;9163:22;10582:20;13041:2;9128:5;9124:16;9117:75;9252:2;9310:9;9306:22;1233:20;9252:2;9271:5;9267:16;9260:75;12518:3;9459:9;9455:22;10582:20;12518:3;9420:5;9416:16;9409:75;9546:3;9605:9;9601:22;10582:20;9546:3;9566:5;9562:16;9555:75;9732:49;9777:3;9698;9757:9;9753:22;9732:49;:::i;:::-;9698:3;9718:5;9714:16;9707:75;9888:49;9933:3;9854;9913:9;9909:22;9888:49;:::i;:::-;9854:3;9874:5;9870:16;9863:75;10012:3;10048:49;10093:3;10012;10073:9;10069:22;10048:49;:::i;:::-;10028:18;;;10021:77;10159:3;10216:22;;;1233:20;10175:18;;;10168:77;10334:3;10319:19;;;10306:33;10348:30;;;10345:2;;;-1:-1;;10381:12;10345:2;10428:58;10482:3;10473:6;10462:9;10458:22;10428:58;:::i;:::-;10334:3;10412:5;10408:18;10401:86;;;13107:96;;;;9252:2;13257:9;13253:18;13240:32;13226:46;;12621:18;13284:6;13281:30;13278:2;;;-1:-1;;13314:12;13278:2;;13344:83;13419:7;13410:6;13399:9;13395:22;13344:83;:::i;:::-;13334:93;;;12480:963;;;;;;;:::o;13450:241::-;;13554:2;13542:9;13533:7;13529:23;13525:32;13522:2;;;-1:-1;;13560:12;13522:2;-1:-1;10582:20;;13516:175;-1:-1;13516:175::o;13698:366::-;;;13819:2;13807:9;13798:7;13794:23;13790:32;13787:2;;;-1:-1;;13825:12;13787:2;10595:6;10582:20;13877:63;;13977:2;14020:9;14016:22;72:20;97:33;124:5;97:33;:::i;:::-;13985:63;;;;13781:283;;;;;:::o;14071:366::-;;;14192:2;14180:9;14171:7;14167:23;14163:32;14160:2;;;-1:-1;;14198:12;14160:2;-1:-1;;10582:20;;;14350:2;14389:22;;;10582:20;;-1:-1;14154:283::o;14444:491::-;;;;14582:2;14570:9;14561:7;14557:23;14553:32;14550:2;;;-1:-1;;14588:12;14550:2;10595:6;10582:20;14640:63;;14740:2;14783:9;14779:22;10582:20;14748:63;;14848:2;14891:9;14887:22;72:20;97:33;124:5;97:33;:::i;:::-;14856:63;;;;14544:391;;;;;:::o;15273:103::-;-1:-1;;;;;52782:54;15334:37;;15328:48::o;15652:690::-;;15845:5;50710:12;51254:6;51249:3;51242:19;51291:4;;51286:3;51282:14;15857:93;;51291:4;16021:5;50564:14;-1:-1;16060:260;16085:6;16082:1;16079:13;16060:260;;;16146:13;;-1:-1;;;;;52782:54;15334:37;;15096:14;;;;51097;;;;49935:18;16100:9;16060:260;;;-1:-1;16326:10;;15776:566;-1:-1;;;;;15776:566::o;16857:323::-;;16989:5;50710:12;51254:6;51249:3;51242:19;-1:-1;53860:101;53874:6;53871:1;53868:13;53860:101;;;51291:4;53941:11;;;;;53935:18;53922:11;;;;;53915:39;53889:10;53860:101;;;53976:6;53973:1;53970:13;53967:2;;;-1:-1;51291:4;54032:6;51286:3;54023:16;;54016:27;53967:2;-1:-1;50030:9;54213:14;-1:-1;;54209:28;17136:39;;;;51291:4;17136:39;;16937:243;-1:-1;;16937:243::o;21296:1697::-;;21449:6;49935:18;;52793:42;;;21522:16;21516:23;52782:54;15341:3;15334:37;21691:4;21684:5;21680:16;21674:23;21691:4;21755:3;21751:14;16411:37;21847:4;21840:5;21836:16;21830:23;21847:4;21911:3;21907:14;16411:37;22000:4;21993:5;21989:16;21983:23;22000:4;22064:3;22060:14;16411:37;22165:4;22158:5;22154:16;22148:23;22177:63;22165:4;22229:3;22225:14;22211:12;22177:63;:::i;:::-;;22333:4;22326:5;22322:16;22316:23;22345:63;22333:4;22397:3;22393:14;22379:12;22345:63;:::i;:::-;;22500:4;22493:5;22489:16;22483:23;22512:63;22500:4;22564:3;22560:14;22546:12;22512:63;:::i;:::-;;22654:4;22647:5;22643:16;22637:23;22654:4;22718:3;22714:14;16411:37;22808:6;;22801:5;22797:18;22791:25;21449:6;22808;22840:3;22836:16;22829:40;22884:71;21449:6;21444:3;21440:16;22936:12;22884:71;:::i;28628:2909::-;;28789:6;28885:63;28933:14;28862:16;28856:23;28885:63;:::i;:::-;29034:4;29027:5;29023:16;29017:23;29034:4;29098:3;29094:14;16411:37;29191:4;29184:5;29180:16;29174:23;29203:63;29191:4;29255:3;29251:14;29237:12;29203:63;:::i;:::-;;29356:4;29349:5;29345:16;29339:23;29356:4;29420:3;29416:14;16411:37;29516:4;29509:5;29505:16;29499:23;29528:63;29516:4;29580:3;29576:14;29562:12;29528:63;:::i;:::-;;29684:4;29677:5;29673:16;29667:23;29684:4;29748:3;29744:14;16411:37;29843:4;29836:5;29832:16;29826:23;29855:63;29843:4;29907:3;29903:14;29889:12;29855:63;:::i;:::-;-1:-1;29999:4;29988:16;;;29982:23;30059:14;;;16411:37;30152:6;30141:18;;;30135:25;30214:16;;;16411:37;30314:6;30303:18;;;30297:25;30376:16;;;16411:37;30473:6;30462:18;;;30456:25;30535:16;;;16411:37;30638:6;30627:18;;;30621:25;30652:65;30700:16;;;30621:25;30652:65;:::i;:::-;;;30800:6;;30793:5;30789:18;30783:25;30814:65;30800:6;30866:3;30862:16;30848:12;30814:65;:::i;:::-;;;30960:6;;30953:5;30949:18;30943:25;28789:6;30960;30992:3;30988:16;30981:40;31036:73;28789:6;28784:3;28780:16;31090:12;31036:73;:::i;:::-;31028:81;;;;31194:6;;31187:5;31183:18;31177:25;31194:6;31260:3;31256:16;16411:37;;31352:6;;31345:5;31341:18;31335:25;31408:3;31402:4;31398:14;31352:6;31384:3;31380:16;31373:40;31428:71;31494:4;31480:12;31428:71;:::i;39399:659::-;-1:-1;;;19066:87;;19051:1;19172:11;;16411:37;;;;39910:12;;;16411:37;40021:12;;;39644:414::o;40065:379::-;40429:10;40253:191::o;40451:222::-;-1:-1;;;;;52782:54;;;;15334:37;;40578:2;40563:18;;40549:124::o;40680:333::-;-1:-1;;;;;52782:54;;;;15334:37;;40999:2;40984:18;;16411:37;40835:2;40820:18;;40806:207::o;41020:222::-;16411:37;;;41147:2;41132:18;;41118:124::o;41534:416::-;41734:2;41748:47;;;18631:2;41719:18;;;51242:19;18667:34;51282:14;;;18647:55;-1:-1;;;18722:12;;;18715:30;18764:12;;;41705:245::o;41957:416::-;42157:2;42171:47;;;42142:18;;;51242:19;19458:34;51282:14;;;19438:55;19512:12;;;42128:245::o;42380:416::-;42580:2;42594:47;;;19763:2;42565:18;;;51242:19;-1:-1;;;51282:14;;;19779:40;19838:12;;;42551:245::o;42803:416::-;43003:2;43017:47;;;20089:2;42988:18;;;51242:19;20125:34;51282:14;;;20105:55;-1:-1;;;20180:12;;;20173:25;20217:12;;;42974:245::o;43226:416::-;43426:2;43440:47;;;20773:2;43411:18;;;51242:19;-1:-1;;;51282:14;;;20789:45;20853:12;;;43397:245::o;43649:416::-;43849:2;43863:47;;;21104:2;43834:18;;;51242:19;21140:33;51282:14;;;21120:54;21193:12;;;43820:245::o;44072:390::-;;44259:2;44280:17;44273:47;44334:118;44259:2;44248:9;44244:18;44438:6;44334:118;:::i;44469:1224::-;;44918:3;44940:17;44933:47;44994:110;44918:3;44907:9;44903:19;45090:6;44994:110;:::i;:::-;45152:9;45146:4;45142:20;45137:2;45126:9;45122:18;45115:48;45177:118;45290:4;45281:6;45177:118;:::i;:::-;45169:126;;45343:9;45337:4;45333:20;45328:2;45317:9;45313:18;45306:48;34939:6;35042:63;35090:14;35019:16;35013:23;35042:63;:::i;:::-;45137:2;35188:5;35184:16;35178:23;45137:2;35259:3;35255:14;16411:37;45328:2;35344:5;35340:16;35334:23;45328:2;35415:3;35411:14;16411:37;35504:4;35497:5;35493:16;35487:23;35504:4;35568:3;35564:14;16411:37;44918:3;35655:5;35651:16;35645:23;44918:3;35726;35722:14;16411:37;35817:4;35810:5;35806:16;35800:23;35817:4;35881:3;35877:14;16411:37;35978:4;35971:5;35967:16;35961:23;35990:63;35978:4;36042:3;36038:14;36024:12;35990:63;:::i;:::-;;36143:4;36136:5;36132:16;36126:23;36155:63;36143:4;36207:3;36203:14;36189:12;36155:63;:::i;:::-;;36310:6;;36303:5;36299:18;36293:25;36324:65;36310:6;36376:3;36372:16;36358:12;36324:65;:::i;:::-;;;36468:6;;36461:5;36457:18;36451:25;36468:6;36534:3;36530:16;16411:37;;36626:6;;36619:5;36615:18;36609:25;34939:6;36626;36658:3;36654:16;36647:40;36702:71;34939:6;34934:3;34930:16;36754:12;36702:71;:::i;:::-;36795:11;;;;;45540:9;45534:4;45530:20;35504:4;45514:9;45510:18;45503:48;45565:118;45678:4;45669:6;45565:118;:::i;:::-;45557:126;44889:804;-1:-1;;;;;;;44889:804::o;46113:406::-;;46308:2;46329:17;46322:47;31894:71;46308:2;46297:9;46293:18;31871:16;31865:23;31894:71;:::i;:::-;46308:2;32044:5;32040:16;32034:23;32119:14;46297:9;32119:14;16411:37;32119:14;32209:5;32205:16;32199:23;32228:71;32284:14;46297:9;32284:14;32270:12;32228:71;:::i;:::-;;32284:14;32382:5;32378:16;32372:23;32457:14;46297:9;32457:14;16411:37;32457:14;32550:5;32546:16;32540:23;32569:71;32625:14;46297:9;32625:14;32611:12;32569:71;:::i;:::-;;32625:14;32726:5;32722:16;32716:23;32801:14;46297:9;32801:14;16411:37;32801:14;32893:5;32889:16;32883:23;32912:71;32968:14;46297:9;32968:14;32954:12;32912:71;:::i;:::-;-1:-1;32968:14;33053:16;;33047:23;33132:14;;;;16411:37;;;;33214:18;;33208:25;33295:16;;;;16411:37;;;;33384:18;;33378:25;33465:16;;;;16411:37;;;;33551:18;;33545:25;33632:16;;;;16411:37;;;;33724:18;;33718:25;33805:16;33749:73;33805:16;;;33718:25;33749:73;:::i;:::-;33894:18;;33888:25;;-1:-1;33975:16;33919:73;33975:16;;;33888:25;33919:73;:::i;:::-;33975:16;34066:5;34062:18;34056:25;34036:45;;;31798:6;34101:16;31798:6;34101:16;46297:9;34101:16;34094:40;34149:81;31789:16;46297:9;31789:16;34211:12;34149:81;:::i;:::-;34304:18;;;34298:25;34385:16;;;;16411:37;;;;34470:18;;34464:25;34527:14;;;-1:-1;;34527:14;34509:16;;;34502:40;34141:89;;-1:-1;34557:79;34141:89;34464:25;34557:79;:::i;46526:418::-;;46727:2;46748:17;46741:47;37187:71;46727:2;46716:9;46712:18;37164:16;37158:23;37187:71;:::i;:::-;46727:2;37341:5;37337:16;37331:23;37416:14;46716:9;37416:14;16411:37;37416:14;37505:5;37501:16;37495:23;37580:14;46716:9;37580:14;16411:37;37580:14;37666:5;37662:16;37656:23;37741:14;46716:9;37741:14;16411:37;37741:14;37832:5;37828:16;37822:23;37907:14;46716:9;37907:14;16411:37;37907:14;37995:5;37991:16;37985:23;38070:14;46716:9;38070:14;16411:37;38070:14;38164:5;38160:16;38154:23;38183:71;38239:14;46716:9;38239:14;38225:12;38183:71;:::i;:::-;;38239:14;38337:5;38333:16;38327:23;38412:14;38356:71;38412:14;46716:9;38412:14;38398:12;38356:71;:::i;:::-;38508:18;;38502:25;;-1:-1;38589:16;38533:73;38589:16;;;38502:25;38533:73;:::i;:::-;38674:18;;38668:25;38755:16;;;;16411:37;;;;38840:18;;38834:25;37084:6;38879:16;;;38872:40;38834:25;-1:-1;38927:79;37075:16;;;38834:25;38927:79;:::i;:::-;46794:140;46698:246;-1:-1;;;;46698:246::o;47180:481::-;;16441:5;16418:3;16411:37;47385:2;47503;47492:9;47488:18;47481:48;47543:108;47385:2;47374:9;47370:18;47637:6;47543:108;:::i;47668:720::-;;16441:5;16418:3;16411:37;47937:3;48056:2;48045:9;48041:18;48034:48;48096:108;47937:3;47926:9;47922:19;48190:6;48096:108;:::i;:::-;-1:-1;;;;;52782:54;;;;48291:2;48276:18;;15203:58;-1:-1;48374:2;48359:18;16411:37;48088:116;47908:480;-1:-1;;47908:480::o;48395:816::-;;16441:5;16418:3;16411:37;16441:5;48849:2;48838:9;48834:18;16411:37;48684:3;48886:2;48875:9;48871:18;48864:48;48926:108;48684:3;48673:9;48669:19;49020:6;48926:108;:::i;:::-;-1:-1;;;;;52782:54;;;;49113:2;49098:18;;15334:37;-1:-1;49196:3;49181:19;16411:37;48918:116;48655:556;-1:-1;;;48655:556::o;49218:256::-;49280:2;49274:9;49306:17;;;49381:18;49366:34;;49402:22;;;49363:62;49360:2;;;49438:1;;49428:12;49360:2;49280;49447:22;49258:216;;-1:-1;49258:216::o;49481:304::-;;49640:18;49632:6;49629:30;49626:2;;;-1:-1;;49662:12;49626:2;-1:-1;49707:4;49695:17;;;49760:15;;49563:222::o;54250:117::-;-1:-1;;;;;52782:54;;54309:35;;54299:2;;54358:1;;54348:12", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecERC20Core.sol\";\nimport \"./SignatureVerifier.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecEscrowTokenSwap.sol\";\nimport \"../interfaces/IexecPoco1.sol\";\n\n\ncontract IexecEscrowTokenSwapDelegate is IexecEscrowTokenSwap, DelegateBase, IexecERC20Core, SignatureVerifier\n{\n\tusing SafeMathExtended for uint256;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.AppOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.DatasetOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.WorkerpoolOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.RequestOrder;\n\n\tIUniswapV2Router02 internal constant router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);\n\n\t/***************************************************************************\n\t * Accessor *\n\t ***************************************************************************/\n\tfunction UniswapV2Router()\n\texternal view override returns (IUniswapV2Router02)\n\t{\n\t\treturn router;\n\t}\n\n\t/***************************************************************************\n\t * Uniswap path - Internal *\n\t ***************************************************************************/\n\tfunction _eth2token()\n\tinternal view returns (address[] memory)\n\t{\n\t\taddress[] memory path = new address[](2);\n\t\tpath[0] = router.WETH();\n\t\tpath[1] = address(m_baseToken);\n\t\treturn path;\n\t}\n\n\tfunction _token2eth()\n\tinternal view returns (address[] memory)\n\t{\n\t\taddress[] memory path = new address[](2);\n\t\tpath[0] = address(m_baseToken);\n\t\tpath[1] = router.WETH();\n\t\treturn path;\n\t}\n\n\t/***************************************************************************\n\t * Prediction methods - Public *\n\t ***************************************************************************/\n\tfunction estimateDepositEthSent (uint256 eth ) external view override returns (uint256 token) { return router.getAmountsOut(eth, _eth2token())[1]; }\n\tfunction estimateDepositTokenWanted(uint256 token) external view override returns (uint256 eth ) { return router.getAmountsIn (token, _eth2token())[0]; }\n\tfunction estimateWithdrawTokenSent (uint256 token) external view override returns (uint256 eth ) { return router.getAmountsOut(token, _token2eth())[1]; }\n\tfunction estimateWithdrawEthWanted (uint256 eth ) external view override returns (uint256 token) { return router.getAmountsIn (eth, _token2eth())[0]; }\n\n\t/***************************************************************************\n\t * Swapping methods - Public *\n\t ***************************************************************************/\n\treceive()\n\texternal override payable\n\t{\n\t\taddress sender = _msgSender();\n\t\tif (sender != address(router))\n\t\t{\n\t\t\t_deposit(sender, msg.value, 0);\n\t\t}\n\t}\n\n\tfallback()\n\texternal override payable\n\t{\n\t\trevert('fallback-disabled');\n\t}\n\n\tfunction depositEth ( ) external override payable { _deposit(_msgSender(), msg.value, 0 ); }\n\tfunction depositEthFor ( address target) external override payable { _deposit(target, msg.value, 0 ); }\n\tfunction safeDepositEth ( uint256 minimum ) external override payable { _deposit(_msgSender(), msg.value, minimum); }\n\tfunction safeDepositEthFor( uint256 minimum, address target) external override payable { _deposit(target, msg.value, minimum); }\n\tfunction requestToken (uint256 amount ) external override payable { _request(_msgSender(), msg.value, amount ); }\n\tfunction requestTokenFor (uint256 amount, address target) external override payable { _request(target, msg.value, amount ); }\n\tfunction withdrawEth (uint256 amount ) external override { _withdraw(_msgSender(), amount, 0 ); }\n\tfunction withdrawEthTo (uint256 amount, address target) external override { _withdraw(target, amount, 0 ); }\n\tfunction safeWithdrawEth (uint256 amount, uint256 minimum ) external override { _withdraw(_msgSender(), amount, minimum); }\n\tfunction safeWithdrawEthTo(uint256 amount, uint256 minimum, address target) external override { _withdraw(target, amount, minimum); }\n\n\t/***************************************************************************\n\t * Swapping methods - Internal *\n\t ***************************************************************************/\n\tfunction _deposit(address target, uint256 value, uint256 minimum)\n\tinternal\n\t{\n\t\tuint256[] memory amounts = router.swapExactETHForTokens{value: value}(minimum, _eth2token(), address(this), now+1);\n\t\t_mint(target, amounts[1]);\n\t}\n\n\tfunction _request(address target, uint256 value, uint256 amount)\n\tinternal\n\t{\n\t\tuint256[] memory amounts = router.swapETHForExactTokens{value: value}(amount, _eth2token(), address(this), now+1);\n\t\t_mint(target, amounts[1]);\n\t\t// Refund remaining ETH\n\t\t(bool success, ) = _msgSender().call{value: value.sub(amounts[0])}('');\n\t\trequire(success, 'native-transfer-failed');\n\t}\n\n\tfunction _withdraw(address target, uint256 amount, uint256 minimum)\n\tinternal\n\t{\n\t\tm_baseToken.approve(address(router), amount);\n\t\tuint256[] memory amounts = router.swapExactTokensForETH(amount, minimum, _token2eth(), target, now+1);\n\t\t_burn(_msgSender(), amounts[0]);\n\t}\n\n\t/***************************************************************************\n\t * Extra public methods *\n\t ***************************************************************************/\n\tfunction matchOrdersWithEth(\n\t\tIexecLibOrders_v5.AppOrder memory _apporder,\n\t\tIexecLibOrders_v5.DatasetOrder memory _datasetorder,\n\t\tIexecLibOrders_v5.WorkerpoolOrder memory _workerpoolorder,\n\t\tIexecLibOrders_v5.RequestOrder memory _requestorder)\n\tpublic payable override returns (bytes32)\n\t{\n\t\tuint256 volume;\n\t\tvolume = _apporder.volume.sub(m_consumed[keccak256(_toEthTypedStruct( _apporder.hash(), EIP712DOMAIN_SEPARATOR))]);\n\t\tif (_datasetorder.dataset != address(0))\n\t\tvolume = volume.min( _datasetorder.volume.sub(m_consumed[keccak256(_toEthTypedStruct( _datasetorder.hash(), EIP712DOMAIN_SEPARATOR))]));\n\t\tvolume = volume.min(_workerpoolorder.volume.sub(m_consumed[keccak256(_toEthTypedStruct(_workerpoolorder.hash(), EIP712DOMAIN_SEPARATOR))]));\n\t\tvolume = volume.min( _requestorder.volume.sub(m_consumed[keccak256(_toEthTypedStruct( _requestorder.hash(), EIP712DOMAIN_SEPARATOR))]));\n\n\t\t_request(\n\t\t\t_requestorder.requester,\n\t\t\tmsg.value,\n\t\t\t_apporder.appprice\n\t\t\t.add(_datasetorder.dataset != address(0) ? _datasetorder.datasetprice : 0)\n\t\t\t.add(_workerpoolorder.workerpoolprice)\n\t\t\t.mul(volume)\n\t\t);\n\n\t\treturn IexecPoco1(address(this)).matchOrders(_apporder, _datasetorder, _workerpoolorder, _requestorder);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenSwapDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenSwapDelegate.sol", - "exportedSymbols": { - "IexecEscrowTokenSwapDelegate": [ - 4495 - ] - }, - "id": 4496, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3834, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:23" - }, - { - "id": 3835, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:23" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3836, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 2940, - "src": "1301:30:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 3837, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 8802, - "src": "1332:33:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3838, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 1659, - "src": "1366:29:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "../interfaces/IexecEscrowTokenSwap.sol", - "id": 3839, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 9518, - "src": "1396:48:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "../interfaces/IexecPoco1.sol", - "id": 3840, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 9732, - "src": "1445:38:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3841, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "1527:20:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 3842, - "nodeType": "InheritanceSpecifier", - "src": "1527:20:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3843, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1549:12:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3844, - "nodeType": "InheritanceSpecifier", - "src": "1549:12:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3845, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1563:14:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3846, - "nodeType": "InheritanceSpecifier", - "src": "1563:14:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3847, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1579:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 3848, - "nodeType": "InheritanceSpecifier", - "src": "1579:17:23" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9517, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4495, - "linearizedBaseContracts": [ - 4495, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9517 - ], - "name": "IexecEscrowTokenSwapDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3851, - "libraryName": { - "contractScope": null, - "id": 3849, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1606:16:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1600:36:23", - "typeName": { - "id": 3850, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1628:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 3854, - "libraryName": { - "contractScope": null, - "id": 3852, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1644:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1638:55:23", - "typeName": { - "contractScope": null, - "id": 3853, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1666:26:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 3857, - "libraryName": { - "contractScope": null, - "id": 3855, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1701:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1695:59:23", - "typeName": { - "contractScope": null, - "id": 3856, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1723:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 3860, - "libraryName": { - "contractScope": null, - "id": 3858, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1762:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1756:62:23", - "typeName": { - "contractScope": null, - "id": 3859, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1784:33:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 3863, - "libraryName": { - "contractScope": null, - "id": 3861, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1826:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1820:59:23", - "typeName": { - "contractScope": null, - "id": 3862, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1848:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "constant": true, - "id": 3868, - "mutability": "constant", - "name": "router", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4495, - "src": "1882:108:23", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 3864, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18291, - "src": "1882:18:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307837613235306435363330423463463533393733396446324335644163623463363539463234383844", - "id": 3866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1947:42:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "value": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3865, - "name": "IUniswapV2Router02", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18291, - "src": "1928:18:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IUniswapV2Router02_$18291_$", - "typeString": "type(contract IUniswapV2Router02)" - } - }, - "id": 3867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1928:62:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9415 - ], - "body": { - "id": 3876, - "nodeType": "Block", - "src": "2310:21:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 3874, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2321:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "functionReturnParameters": 3873, - "id": 3875, - "nodeType": "Return", - "src": "2314:13:23" - } - ] - }, - "documentation": null, - "functionSelector": "055add0d", - "id": 3877, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "UniswapV2Router", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3870, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2271:8:23" - }, - "parameters": { - "id": 3869, - "nodeType": "ParameterList", - "parameters": [], - "src": "2253:2:23" - }, - "returnParameters": { - "id": 3873, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3872, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3877, - "src": "2289:18:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 3871, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18291, - "src": "2289:18:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2288:20:23" - }, - "scope": 4495, - "src": "2229:102:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3913, - "nodeType": "Block", - "src": "2634:124:23", - "statements": [ - { - "assignments": [ - 3887 - ], - "declarations": [ - { - "constant": false, - "id": 3887, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3913, - "src": "2638:21:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2638:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3886, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2638:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3893, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2676:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 3890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2662:13:23", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 3888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2666:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3889, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2666:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2662:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2638:40:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3894, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2682:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3896, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2687:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2682:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 3897, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2692:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "WETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 17907, - "src": "2692:11:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$__$returns$_t_address_$", - "typeString": "function () pure external returns (address)" - } - }, - "id": 3899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2692:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2682:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3901, - "nodeType": "ExpressionStatement", - "src": "2682:23:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3902, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2709:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3904, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2714:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2709:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3907, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2727:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2719:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3905, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2719:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2719:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2709:30:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3910, - "nodeType": "ExpressionStatement", - "src": "2709:30:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3911, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2750:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 3882, - "id": 3912, - "nodeType": "Return", - "src": "2743:11:23" - } - ] - }, - "documentation": null, - "id": 3914, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_eth2token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3878, - "nodeType": "ParameterList", - "parameters": [], - "src": "2588:2:23" - }, - "returnParameters": { - "id": 3882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3881, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3914, - "src": "2615:16:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3879, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2615:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3880, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2615:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2614:18:23" - }, - "scope": 4495, - "src": "2569:189:23", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3950, - "nodeType": "Block", - "src": "2826:124:23", - "statements": [ - { - "assignments": [ - 3924 - ], - "declarations": [ - { - "constant": false, - "id": 3924, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3950, - "src": "2830:21:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2830:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3923, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2830:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3930, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2868:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 3927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2854:13:23", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 3925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2858:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3926, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2858:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2854:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2830:40:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3931, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2874:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3933, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2879:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2874:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3936, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2892:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2884:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3934, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2884:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2884:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2874:30:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3939, - "nodeType": "ExpressionStatement", - "src": "2874:30:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3940, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2908:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3942, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2913:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2908:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 3943, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2918:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "WETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 17907, - "src": "2918:11:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$__$returns$_t_address_$", - "typeString": "function () pure external returns (address)" - } - }, - "id": 3945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2918:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2908:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3947, - "nodeType": "ExpressionStatement", - "src": "2908:23:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3948, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2942:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 3919, - "id": 3949, - "nodeType": "Return", - "src": "2935:11:23" - } - ] - }, - "documentation": null, - "id": 3951, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_token2eth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3915, - "nodeType": "ParameterList", - "parameters": [], - "src": "2780:2:23" - }, - "returnParameters": { - "id": 3919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3918, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3951, - "src": "2807:16:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2807:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3917, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2807:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2806:18:23" - }, - "scope": 4495, - "src": "2761:189:23", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9422 - ], - "body": { - "id": 3968, - "nodeType": "Block", - "src": "3286:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3961, - "name": "eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3953, - "src": "3316:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3962, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "3323:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3323:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3959, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3295:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsOut", - "nodeType": "MemberAccess", - "referencedDeclaration": 18191, - "src": "3295:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 3964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3295:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 3966, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3295:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3958, - "id": 3967, - "nodeType": "Return", - "src": "3288:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "1cdec20c", - "id": 3969, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateDepositEthSent", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3955, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3253:8:23" - }, - "parameters": { - "id": 3954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3953, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3969, - "src": "3224:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3223:15:23" - }, - "returnParameters": { - "id": 3958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3957, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3969, - "src": "3271:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3271:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3270:15:23" - }, - "scope": 4495, - "src": "3188:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9429 - ], - "body": { - "id": 3986, - "nodeType": "Block", - "src": "3442:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3979, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3971, - "src": "3472:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3980, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "3479:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3479:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3977, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3451:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsIn", - "nodeType": "MemberAccess", - "referencedDeclaration": 18202, - "src": "3451:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3451:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 3984, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3493:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3451:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3976, - "id": 3985, - "nodeType": "Return", - "src": "3444:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "97eb9764", - "id": 3987, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateDepositTokenWanted", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3973, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3409:8:23" - }, - "parameters": { - "id": 3972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3971, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3987, - "src": "3380:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3970, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3380:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3379:15:23" - }, - "returnParameters": { - "id": 3976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3975, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3987, - "src": "3427:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3427:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3426:15:23" - }, - "scope": 4495, - "src": "3344:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9436 - ], - "body": { - "id": 4004, - "nodeType": "Block", - "src": "3598:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3997, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3989, - "src": "3628:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3998, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "3635:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3635:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3995, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3607:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsOut", - "nodeType": "MemberAccess", - "referencedDeclaration": 18191, - "src": "3607:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3607:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4002, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3649:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3607:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3994, - "id": 4003, - "nodeType": "Return", - "src": "3600:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "a885d19a", - "id": 4005, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawTokenSent", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3991, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3565:8:23" - }, - "parameters": { - "id": 3990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3989, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4005, - "src": "3536:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3988, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3536:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3535:15:23" - }, - "returnParameters": { - "id": 3994, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3993, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4005, - "src": "3583:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3992, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3583:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3582:15:23" - }, - "scope": 4495, - "src": "3500:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9443 - ], - "body": { - "id": 4022, - "nodeType": "Block", - "src": "3754:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4015, - "name": "eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4007, - "src": "3784:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4016, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "3791:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3791:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 4013, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3763:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsIn", - "nodeType": "MemberAccess", - "referencedDeclaration": 18202, - "src": "3763:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 4018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3763:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4020, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3805:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3763:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 4012, - "id": 4021, - "nodeType": "Return", - "src": "3756:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "1991f410", - "id": 4023, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawEthWanted", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4009, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3721:8:23" - }, - "parameters": { - "id": 4008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4007, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4023, - "src": "3692:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4006, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3692:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3691:15:23" - }, - "returnParameters": { - "id": 4012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4011, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4023, - "src": "3739:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3739:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3738:15:23" - }, - "scope": 4495, - "src": "3656:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9407 - ], - "body": { - "id": 4047, - "nodeType": "Block", - "src": "4086:113:23", - "statements": [ - { - "assignments": [ - 4028 - ], - "declarations": [ - { - "constant": false, - "id": 4028, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4047, - "src": "4090:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4027, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4090:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4029, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4107:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4107:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4090:29:23" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4032, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4028, - "src": "4127:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4035, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "4145:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - ], - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4137:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4137:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4137:15:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4127:25:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4046, - "nodeType": "IfStatement", - "src": "4123:73:23", - "trueBody": { - "id": 4045, - "nodeType": "Block", - "src": "4156:40:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4039, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4028, - "src": "4170:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4040, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4178:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4178:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4189:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4038, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4161:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4161:30:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4044, - "nodeType": "ExpressionStatement", - "src": "4161:30:23" - } - ] - } - } - ] - }, - "documentation": null, - "id": 4048, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4025, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4068:8:23" - }, - "parameters": { - "id": 4024, - "nodeType": "ParameterList", - "parameters": [], - "src": "4055:2:23" - }, - "returnParameters": { - "id": 4026, - "nodeType": "ParameterList", - "parameters": [], - "src": "4086:0:23" - }, - "scope": 4495, - "src": "4048:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9410 - ], - "body": { - "id": 4056, - "nodeType": "Block", - "src": "4241:35:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 4053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4252:19:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 4052, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "4245:6:23", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 4054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4245:27:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4055, - "nodeType": "ExpressionStatement", - "src": "4245:27:23" - } - ] - }, - "documentation": null, - "id": 4057, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4050, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4223:8:23" - }, - "parameters": { - "id": 4049, - "nodeType": "ParameterList", - "parameters": [], - "src": "4210:2:23" - }, - "returnParameters": { - "id": 4051, - "nodeType": "ParameterList", - "parameters": [], - "src": "4241:0:23" - }, - "scope": 4495, - "src": "4202:74:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9446 - ], - "body": { - "id": 4069, - "nodeType": "Block", - "src": "4382:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4062, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4394:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4394:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4064, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4408:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4408:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4419:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4061, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4385:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4385:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4068, - "nodeType": "ExpressionStatement", - "src": "4385:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "439370b1", - "id": 4070, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4059, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4365:8:23" - }, - "parameters": { - "id": 4058, - "nodeType": "ParameterList", - "parameters": [], - "src": "4305:50:23" - }, - "returnParameters": { - "id": 4060, - "nodeType": "ParameterList", - "parameters": [], - "src": "4382:0:23" - }, - "scope": 4495, - "src": "4279:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9451 - ], - "body": { - "id": 4083, - "nodeType": "Block", - "src": "4535:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4077, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4072, - "src": "4547:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4078, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4561:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4561:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4572:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4076, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4538:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4538:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "ExpressionStatement", - "src": "4538:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "eee3f07a", - "id": 4084, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositEthFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4074, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4518:8:23" - }, - "parameters": { - "id": 4073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4072, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4084, - "src": "4493:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4493:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4458:50:23" - }, - "returnParameters": { - "id": 4075, - "nodeType": "ParameterList", - "parameters": [], - "src": "4535:0:23" - }, - "scope": 4495, - "src": "4432:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9456 - ], - "body": { - "id": 4098, - "nodeType": "Block", - "src": "4688:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4091, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4700:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4700:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4093, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4714:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4714:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4095, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4086, - "src": "4725:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4090, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4691:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4691:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4097, - "nodeType": "ExpressionStatement", - "src": "4691:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "a1ac77ed", - "id": 4099, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeDepositEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4088, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4671:8:23" - }, - "parameters": { - "id": 4087, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4086, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4099, - "src": "4629:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4629:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4611:50:23" - }, - "returnParameters": { - "id": 4089, - "nodeType": "ParameterList", - "parameters": [], - "src": "4688:0:23" - }, - "scope": 4495, - "src": "4585:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9463 - ], - "body": { - "id": 4114, - "nodeType": "Block", - "src": "4841:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4108, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "4853:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4109, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4867:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4867:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4111, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "4878:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4107, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4844:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4844:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4113, - "nodeType": "ExpressionStatement", - "src": "4844:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "350d3d30", - "id": 4115, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeDepositEthFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4105, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4824:8:23" - }, - "parameters": { - "id": 4104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4115, - "src": "4782:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4100, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4782:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4115, - "src": "4799:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4102, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4799:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4764:50:23" - }, - "returnParameters": { - "id": 4106, - "nodeType": "ParameterList", - "parameters": [], - "src": "4841:0:23" - }, - "scope": 4495, - "src": "4738:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9468 - ], - "body": { - "id": 4129, - "nodeType": "Block", - "src": "4994:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4122, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5006:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5006:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4124, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5020:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5020:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4126, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4117, - "src": "5031:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4121, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "4997:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4997:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4128, - "nodeType": "ExpressionStatement", - "src": "4997:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "2b4df9d3", - "id": 4130, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "requestToken", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4119, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4977:8:23" - }, - "parameters": { - "id": 4118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4117, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4130, - "src": "4918:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4116, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4918:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4917:50:23" - }, - "returnParameters": { - "id": 4120, - "nodeType": "ParameterList", - "parameters": [], - "src": "4994:0:23" - }, - "scope": 4495, - "src": "4891:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9475 - ], - "body": { - "id": 4145, - "nodeType": "Block", - "src": "5147:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4139, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4134, - "src": "5159:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4140, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5173:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5173:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4142, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4132, - "src": "5184:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4138, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "5150:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5150:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4144, - "nodeType": "ExpressionStatement", - "src": "5150:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "235e7ab1", - "id": 4146, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "requestTokenFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4136, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5130:8:23" - }, - "parameters": { - "id": 4135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4132, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4146, - "src": "5071:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4131, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5071:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4134, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4146, - "src": "5105:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4133, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5105:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5070:50:23" - }, - "returnParameters": { - "id": 4137, - "nodeType": "ParameterList", - "parameters": [], - "src": "5147:0:23" - }, - "scope": 4495, - "src": "5044:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9480 - ], - "body": { - "id": 4159, - "nodeType": "Block", - "src": "5300:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4153, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5312:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5312:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4155, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4148, - "src": "5326:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5337:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4152, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5302:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5302:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4158, - "nodeType": "ExpressionStatement", - "src": "5302:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "c311d049", - "id": 4160, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4150, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5283:8:23" - }, - "parameters": { - "id": 4149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4148, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4160, - "src": "5224:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5224:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5223:50:23" - }, - "returnParameters": { - "id": 4151, - "nodeType": "ParameterList", - "parameters": [], - "src": "5300:0:23" - }, - "scope": 4495, - "src": "5197:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9487 - ], - "body": { - "id": 4174, - "nodeType": "Block", - "src": "5453:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4169, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4164, - "src": "5465:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4170, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4162, - "src": "5479:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5490:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4168, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5455:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5455:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4173, - "nodeType": "ExpressionStatement", - "src": "5455:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "602881da", - "id": 4175, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4166, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5436:8:23" - }, - "parameters": { - "id": 4165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4162, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4175, - "src": "5377:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4161, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5377:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4164, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4175, - "src": "5411:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4163, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5411:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5376:50:23" - }, - "returnParameters": { - "id": 4167, - "nodeType": "ParameterList", - "parameters": [], - "src": "5453:0:23" - }, - "scope": 4495, - "src": "5350:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9494 - ], - "body": { - "id": 4190, - "nodeType": "Block", - "src": "5606:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4184, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5618:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5618:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4186, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4177, - "src": "5632:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4187, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4179, - "src": "5643:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4183, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5608:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5608:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "ExpressionStatement", - "src": "5608:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "42f32b80", - "id": 4191, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4181, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5589:8:23" - }, - "parameters": { - "id": 4180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4177, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4191, - "src": "5530:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4176, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5530:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4179, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4191, - "src": "5547:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5547:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5529:50:23" - }, - "returnParameters": { - "id": 4182, - "nodeType": "ParameterList", - "parameters": [], - "src": "5606:0:23" - }, - "scope": 4495, - "src": "5503:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9503 - ], - "body": { - "id": 4207, - "nodeType": "Block", - "src": "5759:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4202, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4197, - "src": "5771:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4203, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "5785:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4204, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "5796:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4201, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5761:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5761:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4206, - "nodeType": "ExpressionStatement", - "src": "5761:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "ed52d5cb", - "id": 4208, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4199, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5742:8:23" - }, - "parameters": { - "id": 4198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4193, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5683:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4192, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5683:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4195, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5700:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4194, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5700:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4197, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5717:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4196, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5717:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5682:50:23" - }, - "returnParameters": { - "id": 4200, - "nodeType": "ParameterList", - "parameters": [], - "src": "5759:0:23" - }, - "scope": 4495, - "src": "5656:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 4245, - "nodeType": "Block", - "src": "6122:151:23", - "statements": [ - { - "assignments": [ - 4221 - ], - "declarations": [ - { - "constant": false, - "id": 4221, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4245, - "src": "6126:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4219, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6126:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4220, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6126:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4237, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4226, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4214, - "src": "6196:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4227, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "6205:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6205:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4231, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6227:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6219:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6219:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6219:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4233, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6234:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6238:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6234:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4222, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6153:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapExactETHForTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 18098, - "src": "6153:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 4224, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4212, - "src": "6189:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6153:42:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$value", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6153:87:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6126:114:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4239, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4210, - "src": "6250:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4240, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4221, - "src": "6258:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4242, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6266:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6258:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4238, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "6244:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6244:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4244, - "nodeType": "ExpressionStatement", - "src": "6244:25:23" - } - ] - }, - "documentation": null, - "id": 4246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4210, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6063:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6063:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4212, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6079:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4211, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6079:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4214, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6094:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4213, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6094:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6062:48:23" - }, - "returnParameters": { - "id": 4216, - "nodeType": "ParameterList", - "parameters": [], - "src": "6122:0:23" - }, - "scope": 4495, - "src": "6045:228:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4303, - "nodeType": "Block", - "src": "6352:296:23", - "statements": [ - { - "assignments": [ - 4259 - ], - "declarations": [ - { - "constant": false, - "id": 4259, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4303, - "src": "6356:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6356:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4258, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6356:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4275, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4264, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4252, - "src": "6426:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4265, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "6434:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6434:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4269, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6456:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6448:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6448:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6448:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4271, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6463:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6467:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6463:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4260, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6383:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapETHForExactTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 18147, - "src": "6383:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 4262, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4250, - "src": "6419:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6383:42:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$value", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6383:86:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6356:113:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4277, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "6479:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4278, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4259, - "src": "6487:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4280, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6495:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6487:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4276, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "6473:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6473:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4282, - "nodeType": "ExpressionStatement", - "src": "6473:25:23" - }, - { - "assignments": [ - 4284, - null - ], - "declarations": [ - { - "constant": false, - "id": 4284, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4303, - "src": "6529:12:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4283, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6529:4:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 4297, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6595:2:23", - "subdenomination": null, - "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": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4285, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6547:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6547:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 4287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6547:17:23", - "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": 4294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4290, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4259, - "src": "6582:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4292, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6590:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6582:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4288, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4250, - "src": "6572:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "6572:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6572:21:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6547:47:23", - "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": 4296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6547:51:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6528:70:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4299, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4284, - "src": "6610:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e61746976652d7472616e736665722d6661696c6564", - "id": 4300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6619:24:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - }, - "value": "native-transfer-failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - } - ], - "id": 4298, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6602:7:23", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6602:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4302, - "nodeType": "ExpressionStatement", - "src": "6602:42:23" - } - ] - }, - "documentation": null, - "id": 4304, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_request", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6294:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4247, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6294:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4250, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6310:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6310:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4252, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6325:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6325:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6293:47:23" - }, - "returnParameters": { - "id": 4254, - "nodeType": "ParameterList", - "parameters": [], - "src": "6352:0:23" - }, - "scope": 4495, - "src": "6276:372:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4348, - "nodeType": "Block", - "src": "6730:192:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4318, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6762:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - ], - "id": 4317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6754:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4316, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6754:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6754:15:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4320, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4308, - "src": "6771:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4313, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "6734:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "approve", - "nodeType": "MemberAccess", - "referencedDeclaration": 15357, - "src": "6734:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 4321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6734:44:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "ExpressionStatement", - "src": "6734:44:23" - }, - { - "assignments": [ - 4327 - ], - "declarations": [ - { - "constant": false, - "id": 4327, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4348, - "src": "6782:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4325, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6782:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4326, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6782:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4339, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4330, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4308, - "src": "6838:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4331, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4310, - "src": "6846:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4332, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "6855:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6855:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "id": 4334, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4306, - "src": "6869:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4335, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6877:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4336, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6881:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6877:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4328, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6809:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapExactTokensForETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 18132, - "src": "6809:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,uint256,address[] memory,address,uint256) external returns (uint256[] memory)" - } - }, - "id": 4338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6809:74:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6782:101:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4341, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6893:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6893:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4343, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4327, - "src": "6907:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4345, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6915:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6907:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4340, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "6887:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6887:31:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4347, - "nodeType": "ExpressionStatement", - "src": "6887:31:23" - } - ] - }, - "documentation": null, - "id": 4349, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4306, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6670:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6670:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4308, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6686:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6686:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4310, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6702:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6702:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6669:49:23" - }, - "returnParameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [], - "src": "6730:0:23" - }, - "scope": 4495, - "src": "6651:271:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9516 - ], - "body": { - "id": 4493, - "nodeType": "Block", - "src": "7464:962:23", - "statements": [ - { - "assignments": [ - 4364 - ], - "declarations": [ - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4493, - "src": "7468:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4363, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7468:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4365, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "7468:14:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 4381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4366, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7486:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4370, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7534:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4379, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4373, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "7580:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4374, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "7580:14:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 4375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7580:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4376, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7598:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4372, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7555:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7555:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4371, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7545:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7545:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7534:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4367, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "7513:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4368, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "7513:16:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7513:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7513:111:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7486:138:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4382, - "nodeType": "ExpressionStatement", - "src": "7486:138:23" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4383, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7632:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4384, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7632:21:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7665:1:23", - "subdenomination": null, - "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": 4386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7657:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7657:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7657:10:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7632:35:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4410, - "nodeType": "IfStatement", - "src": "7628:182:23", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 4408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4390, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7671:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4396, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7719:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4405, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4399, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7761:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "7761:18:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 4401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7761:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4402, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7783:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4398, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7740:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7740:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4397, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7730:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7730:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7719:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4393, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7694:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4394, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "7694:20:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7694:24:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7694:115:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4391, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7680:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7680:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7680:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7671:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4409, - "nodeType": "ExpressionStatement", - "src": "7671:139:23" - } - }, - { - "expression": { - "argumentTypes": null, - "id": 4429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4411, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7814:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4417, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7862:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4426, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4420, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "7901:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4421, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "7901:21:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 4422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7901:23:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4423, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7926:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4419, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7883:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7883:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4418, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7873:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7873:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7862:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4414, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "7834:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4415, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "7834:23:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7834:27:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7834:118:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4412, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7823:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7823:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7823:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7814:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4430, - "nodeType": "ExpressionStatement", - "src": "7814:139:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 4449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4431, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7957:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4437, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "8005:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4446, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4440, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8047:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "8047:18:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 4442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8047:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4443, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "8069:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4439, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "8026:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8026:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4438, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8016:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8016:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8005:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4434, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "7980:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4435, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "7980:20:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7980:24:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7980:115:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4432, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7966:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7966:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7966:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7957:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4450, - "nodeType": "ExpressionStatement", - "src": "7957:139:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4452, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8114:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4453, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "8114:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4454, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "8142:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8142:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4476, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "8303:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4472, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "8261:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4473, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "8261:32:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4459, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8183:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "8183:21:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8216:1:23", - "subdenomination": null, - "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": 4462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8208:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8208:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8208:10:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "8183:35:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8250:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 4469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8183:68:23", - "trueExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4466, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8221:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "8221:26:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4456, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "8156:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4457, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "8156:18:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "8156:26:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:96:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "8156:104:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:138:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "8156:146:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:154:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4451, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "8101:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8101:213:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4479, - "nodeType": "ExpressionStatement", - "src": "8101:213:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4487, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "8364:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4488, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8375:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4489, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "8390:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4490, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8408:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - }, - { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - }, - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - }, - { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4483, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8345:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8337:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8337:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8337:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 4480, - "name": "IexecPoco1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9731, - "src": "8326:10:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecPoco1_$9731_$", - "typeString": "type(contract IexecPoco1)" - } - }, - "id": 4485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8326:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 4486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "matchOrders", - "nodeType": "MemberAccess", - "referencedDeclaration": 9730, - "src": "8326:37:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_AppOrder_$1255_memory_ptr_$_t_struct$_DatasetOrder_$1274_memory_ptr_$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory,struct IexecLibOrders_v5.DatasetOrder memory,struct IexecLibOrders_v5.WorkerpoolOrder memory,struct IexecLibOrders_v5.RequestOrder memory) external returns (bytes32)" - } - }, - "id": 4491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8326:96:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 4362, - "id": 4492, - "nodeType": "Return", - "src": "8319:103:23" - } - ] - }, - "documentation": null, - "functionSelector": "3bec2cbc", - "id": 4494, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "matchOrdersWithEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4359, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7436:8:23" - }, - "parameters": { - "id": 4358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7191:50:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 4350, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "7191:26:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7245:54:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 4352, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "7245:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7303:57:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 4354, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "7303:33:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7364:54:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 4356, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "7364:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7187:232:23" - }, - "returnParameters": { - "id": 4362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7454:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4360, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7454:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7453:9:23" - }, - "scope": 4495, - "src": "7160:1266:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 4496, - "src": "1486:6942:23" - } - ], - "src": "1242:7187:23" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecEscrowTokenSwapDelegate.sol", - "exportedSymbols": { - "IexecEscrowTokenSwapDelegate": [ - 4495 - ] - }, - "id": 4496, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3834, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:23" - }, - { - "id": 3835, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:23" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 3836, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 2940, - "src": "1301:30:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 3837, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 8802, - "src": "1332:33:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 3838, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 1659, - "src": "1366:29:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "../interfaces/IexecEscrowTokenSwap.sol", - "id": 3839, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 9518, - "src": "1396:48:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "../interfaces/IexecPoco1.sol", - "id": 3840, - "nodeType": "ImportDirective", - "scope": 4496, - "sourceUnit": 9732, - "src": "1445:38:23", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3841, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "1527:20:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 3842, - "nodeType": "InheritanceSpecifier", - "src": "1527:20:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3843, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1549:12:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 3844, - "nodeType": "InheritanceSpecifier", - "src": "1549:12:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3845, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1563:14:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 3846, - "nodeType": "InheritanceSpecifier", - "src": "1563:14:23" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 3847, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1579:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 3848, - "nodeType": "InheritanceSpecifier", - "src": "1579:17:23" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9517, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4495, - "linearizedBaseContracts": [ - 4495, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9517 - ], - "name": "IexecEscrowTokenSwapDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 3851, - "libraryName": { - "contractScope": null, - "id": 3849, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1606:16:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1600:36:23", - "typeName": { - "id": 3850, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1628:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 3854, - "libraryName": { - "contractScope": null, - "id": 3852, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1644:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1638:55:23", - "typeName": { - "contractScope": null, - "id": 3853, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1666:26:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 3857, - "libraryName": { - "contractScope": null, - "id": 3855, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1701:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1695:59:23", - "typeName": { - "contractScope": null, - "id": 3856, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1723:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 3860, - "libraryName": { - "contractScope": null, - "id": 3858, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1762:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1756:62:23", - "typeName": { - "contractScope": null, - "id": 3859, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1784:33:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 3863, - "libraryName": { - "contractScope": null, - "id": 3861, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1826:17:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1820:59:23", - "typeName": { - "contractScope": null, - "id": 3862, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1848:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "constant": true, - "id": 3868, - "mutability": "constant", - "name": "router", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4495, - "src": "1882:108:23", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 3864, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18291, - "src": "1882:18:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307837613235306435363330423463463533393733396446324335644163623463363539463234383844", - "id": 3866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1947:42:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "value": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 3865, - "name": "IUniswapV2Router02", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18291, - "src": "1928:18:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IUniswapV2Router02_$18291_$", - "typeString": "type(contract IUniswapV2Router02)" - } - }, - "id": 3867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1928:62:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9415 - ], - "body": { - "id": 3876, - "nodeType": "Block", - "src": "2310:21:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 3874, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2321:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "functionReturnParameters": 3873, - "id": 3875, - "nodeType": "Return", - "src": "2314:13:23" - } - ] - }, - "documentation": null, - "functionSelector": "055add0d", - "id": 3877, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "UniswapV2Router", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3870, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2271:8:23" - }, - "parameters": { - "id": 3869, - "nodeType": "ParameterList", - "parameters": [], - "src": "2253:2:23" - }, - "returnParameters": { - "id": 3873, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3872, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3877, - "src": "2289:18:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - }, - "typeName": { - "contractScope": null, - "id": 3871, - "name": "IUniswapV2Router02", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18291, - "src": "2289:18:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2288:20:23" - }, - "scope": 4495, - "src": "2229:102:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 3913, - "nodeType": "Block", - "src": "2634:124:23", - "statements": [ - { - "assignments": [ - 3887 - ], - "declarations": [ - { - "constant": false, - "id": 3887, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3913, - "src": "2638:21:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2638:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3886, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2638:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3893, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2676:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 3890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2662:13:23", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 3888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2666:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3889, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2666:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2662:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2638:40:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3894, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2682:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3896, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2687:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2682:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 3897, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2692:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "WETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 17907, - "src": "2692:11:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$__$returns$_t_address_$", - "typeString": "function () pure external returns (address)" - } - }, - "id": 3899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2692:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2682:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3901, - "nodeType": "ExpressionStatement", - "src": "2682:23:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3902, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2709:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3904, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2714:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2709:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3907, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2727:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2719:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3905, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2719:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2719:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2709:30:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3910, - "nodeType": "ExpressionStatement", - "src": "2709:30:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3911, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3887, - "src": "2750:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 3882, - "id": 3912, - "nodeType": "Return", - "src": "2743:11:23" - } - ] - }, - "documentation": null, - "id": 3914, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_eth2token", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3878, - "nodeType": "ParameterList", - "parameters": [], - "src": "2588:2:23" - }, - "returnParameters": { - "id": 3882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3881, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3914, - "src": "2615:16:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3879, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2615:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3880, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2615:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2614:18:23" - }, - "scope": 4495, - "src": "2569:189:23", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3950, - "nodeType": "Block", - "src": "2826:124:23", - "statements": [ - { - "assignments": [ - 3924 - ], - "declarations": [ - { - "constant": false, - "id": 3924, - "mutability": "mutable", - "name": "path", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3950, - "src": "2830:21:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2830:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3923, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2830:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 3930, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2868:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 3927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2854:13:23", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 3925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2858:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3926, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2858:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2854:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2830:40:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3931, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2874:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3933, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2879:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2874:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3936, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2892:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - ], - "id": 3935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2884:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3934, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2884:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 3937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2884:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2874:30:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3939, - "nodeType": "ExpressionStatement", - "src": "2874:30:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 3940, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2908:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 3942, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2913:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2908:7:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 3943, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "2918:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "WETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 17907, - "src": "2918:11:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_pure$__$returns$_t_address_$", - "typeString": "function () pure external returns (address)" - } - }, - "id": 3945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2918:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2908:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3947, - "nodeType": "ExpressionStatement", - "src": "2908:23:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 3948, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3924, - "src": "2942:4:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 3919, - "id": 3949, - "nodeType": "Return", - "src": "2935:11:23" - } - ] - }, - "documentation": null, - "id": 3951, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_token2eth", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 3915, - "nodeType": "ParameterList", - "parameters": [], - "src": "2780:2:23" - }, - "returnParameters": { - "id": 3919, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3918, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3951, - "src": "2807:16:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2807:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3917, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2807:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2806:18:23" - }, - "scope": 4495, - "src": "2761:189:23", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9422 - ], - "body": { - "id": 3968, - "nodeType": "Block", - "src": "3286:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3961, - "name": "eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3953, - "src": "3316:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3962, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "3323:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3323:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3959, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3295:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsOut", - "nodeType": "MemberAccess", - "referencedDeclaration": 18191, - "src": "3295:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 3964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3295:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 3966, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 3965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3295:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3958, - "id": 3967, - "nodeType": "Return", - "src": "3288:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "1cdec20c", - "id": 3969, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateDepositEthSent", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3955, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3253:8:23" - }, - "parameters": { - "id": 3954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3953, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3969, - "src": "3224:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3223:15:23" - }, - "returnParameters": { - "id": 3958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3957, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3969, - "src": "3271:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3271:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3270:15:23" - }, - "scope": 4495, - "src": "3188:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9429 - ], - "body": { - "id": 3986, - "nodeType": "Block", - "src": "3442:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3979, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3971, - "src": "3472:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3980, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "3479:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3479:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3977, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3451:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsIn", - "nodeType": "MemberAccess", - "referencedDeclaration": 18202, - "src": "3451:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3451:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 3984, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 3983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3493:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3451:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3976, - "id": 3985, - "nodeType": "Return", - "src": "3444:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "97eb9764", - "id": 3987, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateDepositTokenWanted", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3973, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3409:8:23" - }, - "parameters": { - "id": 3972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3971, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3987, - "src": "3380:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3970, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3380:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3379:15:23" - }, - "returnParameters": { - "id": 3976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3975, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 3987, - "src": "3427:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3427:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3426:15:23" - }, - "scope": 4495, - "src": "3344:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9436 - ], - "body": { - "id": 4004, - "nodeType": "Block", - "src": "3598:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 3997, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3989, - "src": "3628:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3998, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "3635:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 3999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3635:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 3995, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3607:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 3996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsOut", - "nodeType": "MemberAccess", - "referencedDeclaration": 18191, - "src": "3607:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3607:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4002, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3649:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3607:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 3994, - "id": 4003, - "nodeType": "Return", - "src": "3600:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "a885d19a", - "id": 4005, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawTokenSent", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 3991, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3565:8:23" - }, - "parameters": { - "id": 3990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3989, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4005, - "src": "3536:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3988, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3536:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3535:15:23" - }, - "returnParameters": { - "id": 3994, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3993, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4005, - "src": "3583:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3992, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3583:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3582:15:23" - }, - "scope": 4495, - "src": "3500:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9443 - ], - "body": { - "id": 4022, - "nodeType": "Block", - "src": "3754:56:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4015, - "name": "eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4007, - "src": "3784:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4016, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "3791:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3791:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 4013, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "3763:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "getAmountsIn", - "nodeType": "MemberAccess", - "referencedDeclaration": 18202, - "src": "3763:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory) view external returns (uint256[] memory)" - } - }, - "id": 4018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3763:41:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4020, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3805:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3763:44:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 4012, - "id": 4021, - "nodeType": "Return", - "src": "3756:51:23" - } - ] - }, - "documentation": null, - "functionSelector": "1991f410", - "id": 4023, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "estimateWithdrawEthWanted", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4009, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3721:8:23" - }, - "parameters": { - "id": 4008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4007, - "mutability": "mutable", - "name": "eth", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4023, - "src": "3692:11:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4006, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3692:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3691:15:23" - }, - "returnParameters": { - "id": 4012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4011, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4023, - "src": "3739:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3739:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3738:15:23" - }, - "scope": 4495, - "src": "3656:154:23", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9407 - ], - "body": { - "id": 4047, - "nodeType": "Block", - "src": "4086:113:23", - "statements": [ - { - "assignments": [ - 4028 - ], - "declarations": [ - { - "constant": false, - "id": 4028, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4047, - "src": "4090:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4027, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4090:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4029, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4107:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4107:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4090:29:23" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4032, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4028, - "src": "4127:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4035, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "4145:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - ], - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4137:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4137:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4137:15:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4127:25:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4046, - "nodeType": "IfStatement", - "src": "4123:73:23", - "trueBody": { - "id": 4045, - "nodeType": "Block", - "src": "4156:40:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4039, - "name": "sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4028, - "src": "4170:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4040, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4178:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4178:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4189:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4038, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4161:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4161:30:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4044, - "nodeType": "ExpressionStatement", - "src": "4161:30:23" - } - ] - } - } - ] - }, - "documentation": null, - "id": 4048, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4025, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4068:8:23" - }, - "parameters": { - "id": 4024, - "nodeType": "ParameterList", - "parameters": [], - "src": "4055:2:23" - }, - "returnParameters": { - "id": 4026, - "nodeType": "ParameterList", - "parameters": [], - "src": "4086:0:23" - }, - "scope": 4495, - "src": "4048:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9410 - ], - "body": { - "id": 4056, - "nodeType": "Block", - "src": "4241:35:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "66616c6c6261636b2d64697361626c6564", - "id": 4053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4252:19:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - }, - "value": "fallback-disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a06610098dacb9c1b0b93efa1a73725c6a69922a546198f3ad36f0f68f471719", - "typeString": "literal_string \"fallback-disabled\"" - } - ], - "id": 4052, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "4245:6:23", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 4054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4245:27:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4055, - "nodeType": "ExpressionStatement", - "src": "4245:27:23" - } - ] - }, - "documentation": null, - "id": 4057, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4050, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4223:8:23" - }, - "parameters": { - "id": 4049, - "nodeType": "ParameterList", - "parameters": [], - "src": "4210:2:23" - }, - "returnParameters": { - "id": 4051, - "nodeType": "ParameterList", - "parameters": [], - "src": "4241:0:23" - }, - "scope": 4495, - "src": "4202:74:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9446 - ], - "body": { - "id": 4069, - "nodeType": "Block", - "src": "4382:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4062, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4394:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4394:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4064, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4408:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4408:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4419:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4061, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4385:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4385:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4068, - "nodeType": "ExpressionStatement", - "src": "4385:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "439370b1", - "id": 4070, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4059, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4365:8:23" - }, - "parameters": { - "id": 4058, - "nodeType": "ParameterList", - "parameters": [], - "src": "4305:50:23" - }, - "returnParameters": { - "id": 4060, - "nodeType": "ParameterList", - "parameters": [], - "src": "4382:0:23" - }, - "scope": 4495, - "src": "4279:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9451 - ], - "body": { - "id": 4083, - "nodeType": "Block", - "src": "4535:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4077, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4072, - "src": "4547:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4078, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4561:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4561:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4572:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4076, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4538:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4538:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "ExpressionStatement", - "src": "4538:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "eee3f07a", - "id": 4084, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depositEthFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4074, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4518:8:23" - }, - "parameters": { - "id": 4073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4072, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4084, - "src": "4493:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4493:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4458:50:23" - }, - "returnParameters": { - "id": 4075, - "nodeType": "ParameterList", - "parameters": [], - "src": "4535:0:23" - }, - "scope": 4495, - "src": "4432:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9456 - ], - "body": { - "id": 4098, - "nodeType": "Block", - "src": "4688:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4091, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4700:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4700:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4093, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4714:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4714:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4095, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4086, - "src": "4725:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4090, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4691:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4691:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4097, - "nodeType": "ExpressionStatement", - "src": "4691:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "a1ac77ed", - "id": 4099, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeDepositEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4088, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4671:8:23" - }, - "parameters": { - "id": 4087, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4086, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4099, - "src": "4629:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4085, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4629:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4611:50:23" - }, - "returnParameters": { - "id": 4089, - "nodeType": "ParameterList", - "parameters": [], - "src": "4688:0:23" - }, - "scope": 4495, - "src": "4585:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9463 - ], - "body": { - "id": 4114, - "nodeType": "Block", - "src": "4841:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4108, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "4853:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4109, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4867:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4867:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4111, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "4878:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4107, - "name": "_deposit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "4844:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4844:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4113, - "nodeType": "ExpressionStatement", - "src": "4844:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "350d3d30", - "id": 4115, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeDepositEthFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4105, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4824:8:23" - }, - "parameters": { - "id": 4104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4115, - "src": "4782:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4100, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4782:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4115, - "src": "4799:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4102, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4799:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4764:50:23" - }, - "returnParameters": { - "id": 4106, - "nodeType": "ParameterList", - "parameters": [], - "src": "4841:0:23" - }, - "scope": 4495, - "src": "4738:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9468 - ], - "body": { - "id": 4129, - "nodeType": "Block", - "src": "4994:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4122, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5006:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5006:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4124, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5020:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5020:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4126, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4117, - "src": "5031:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4121, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "4997:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4997:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4128, - "nodeType": "ExpressionStatement", - "src": "4997:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "2b4df9d3", - "id": 4130, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "requestToken", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4119, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4977:8:23" - }, - "parameters": { - "id": 4118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4117, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4130, - "src": "4918:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4116, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4918:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4917:50:23" - }, - "returnParameters": { - "id": 4120, - "nodeType": "ParameterList", - "parameters": [], - "src": "4994:0:23" - }, - "scope": 4495, - "src": "4891:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9475 - ], - "body": { - "id": 4145, - "nodeType": "Block", - "src": "5147:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4139, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4134, - "src": "5159:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4140, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5173:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5173:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4142, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4132, - "src": "5184:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4138, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "5150:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5150:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4144, - "nodeType": "ExpressionStatement", - "src": "5150:42:23" - } - ] - }, - "documentation": null, - "functionSelector": "235e7ab1", - "id": 4146, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "requestTokenFor", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4136, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5130:8:23" - }, - "parameters": { - "id": 4135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4132, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4146, - "src": "5071:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4131, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5071:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4134, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4146, - "src": "5105:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4133, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5105:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5070:50:23" - }, - "returnParameters": { - "id": 4137, - "nodeType": "ParameterList", - "parameters": [], - "src": "5147:0:23" - }, - "scope": 4495, - "src": "5044:151:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9480 - ], - "body": { - "id": 4159, - "nodeType": "Block", - "src": "5300:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4153, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5312:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5312:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4155, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4148, - "src": "5326:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5337:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4152, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5302:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5302:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4158, - "nodeType": "ExpressionStatement", - "src": "5302:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "c311d049", - "id": 4160, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4150, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5283:8:23" - }, - "parameters": { - "id": 4149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4148, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4160, - "src": "5224:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5224:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5223:50:23" - }, - "returnParameters": { - "id": 4151, - "nodeType": "ParameterList", - "parameters": [], - "src": "5300:0:23" - }, - "scope": 4495, - "src": "5197:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9487 - ], - "body": { - "id": 4174, - "nodeType": "Block", - "src": "5453:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4169, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4164, - "src": "5465:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4170, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4162, - "src": "5479:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5490:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4168, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5455:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5455:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4173, - "nodeType": "ExpressionStatement", - "src": "5455:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "602881da", - "id": 4175, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4166, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5436:8:23" - }, - "parameters": { - "id": 4165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4162, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4175, - "src": "5377:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4161, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5377:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4164, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4175, - "src": "5411:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4163, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5411:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5376:50:23" - }, - "returnParameters": { - "id": 4167, - "nodeType": "ParameterList", - "parameters": [], - "src": "5453:0:23" - }, - "scope": 4495, - "src": "5350:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9494 - ], - "body": { - "id": 4190, - "nodeType": "Block", - "src": "5606:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4184, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5618:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5618:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4186, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4177, - "src": "5632:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4187, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4179, - "src": "5643:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4183, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5608:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5608:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "ExpressionStatement", - "src": "5608:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "42f32b80", - "id": 4191, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4181, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5589:8:23" - }, - "parameters": { - "id": 4180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4177, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4191, - "src": "5530:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4176, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5530:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4179, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4191, - "src": "5547:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5547:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5529:50:23" - }, - "returnParameters": { - "id": 4182, - "nodeType": "ParameterList", - "parameters": [], - "src": "5606:0:23" - }, - "scope": 4495, - "src": "5503:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9503 - ], - "body": { - "id": 4207, - "nodeType": "Block", - "src": "5759:48:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4202, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4197, - "src": "5771:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4203, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "5785:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4204, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "5796:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4201, - "name": "_withdraw", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4349, - "src": "5761:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5761:43:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4206, - "nodeType": "ExpressionStatement", - "src": "5761:43:23" - } - ] - }, - "documentation": null, - "functionSelector": "ed52d5cb", - "id": 4208, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeWithdrawEthTo", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4199, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5742:8:23" - }, - "parameters": { - "id": 4198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4193, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5683:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4192, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5683:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4195, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5700:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4194, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5700:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4197, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4208, - "src": "5717:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4196, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5717:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5682:50:23" - }, - "returnParameters": { - "id": 4200, - "nodeType": "ParameterList", - "parameters": [], - "src": "5759:0:23" - }, - "scope": 4495, - "src": "5656:151:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 4245, - "nodeType": "Block", - "src": "6122:151:23", - "statements": [ - { - "assignments": [ - 4221 - ], - "declarations": [ - { - "constant": false, - "id": 4221, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4245, - "src": "6126:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4219, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6126:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4220, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6126:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4237, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4226, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4214, - "src": "6196:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4227, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "6205:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6205:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4231, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6227:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6219:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6219:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6219:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4233, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6234:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6238:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6234:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4222, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6153:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapExactETHForTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 18098, - "src": "6153:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 4224, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4212, - "src": "6189:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6153:42:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$value", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6153:87:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6126:114:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4239, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4210, - "src": "6250:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4240, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4221, - "src": "6258:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4242, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6266:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6258:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4238, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "6244:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6244:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4244, - "nodeType": "ExpressionStatement", - "src": "6244:25:23" - } - ] - }, - "documentation": null, - "id": 4246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_deposit", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4210, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6063:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6063:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4212, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6079:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4211, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6079:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4214, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4246, - "src": "6094:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4213, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6094:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6062:48:23" - }, - "returnParameters": { - "id": 4216, - "nodeType": "ParameterList", - "parameters": [], - "src": "6122:0:23" - }, - "scope": 4495, - "src": "6045:228:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4303, - "nodeType": "Block", - "src": "6352:296:23", - "statements": [ - { - "assignments": [ - 4259 - ], - "declarations": [ - { - "constant": false, - "id": 4259, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4303, - "src": "6356:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6356:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4258, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6356:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4275, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4264, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4252, - "src": "6426:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4265, - "name": "_eth2token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3914, - "src": "6434:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6434:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4269, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6456:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6448:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6448:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6448:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4271, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6463:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6467:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6463:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4260, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6383:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapETHForExactTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 18147, - "src": "6383:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 4262, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4250, - "src": "6419:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6383:42:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$value", - "typeString": "function (uint256,address[] memory,address,uint256) payable external returns (uint256[] memory)" - } - }, - "id": 4274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6383:86:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6356:113:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4277, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "6479:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4278, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4259, - "src": "6487:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4280, - "indexExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6495:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6487:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4276, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2607, - "src": "6473:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6473:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4282, - "nodeType": "ExpressionStatement", - "src": "6473:25:23" - }, - { - "assignments": [ - 4284, - null - ], - "declarations": [ - { - "constant": false, - "id": 4284, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4303, - "src": "6529:12:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4283, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6529:4:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 4297, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "", - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6595:2:23", - "subdenomination": null, - "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": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4285, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6547:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6547:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 4287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6547:17:23", - "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": 4294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4290, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4259, - "src": "6582:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4292, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6590:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6582:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4288, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4250, - "src": "6572:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "6572:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6572:21:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "6547:47:23", - "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": 4296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6547:51:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6528:70:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4299, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4284, - "src": "6610:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e61746976652d7472616e736665722d6661696c6564", - "id": 4300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6619:24:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - }, - "value": "native-transfer-failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_de07cb3ead0c986945ec544fe231ef0ec178e43c28531af9f65090fff0281e9c", - "typeString": "literal_string \"native-transfer-failed\"" - } - ], - "id": 4298, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6602:7:23", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6602:42:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4302, - "nodeType": "ExpressionStatement", - "src": "6602:42:23" - } - ] - }, - "documentation": null, - "id": 4304, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_request", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6294:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4247, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6294:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4250, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6310:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6310:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4252, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4304, - "src": "6325:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6325:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6293:47:23" - }, - "returnParameters": { - "id": 4254, - "nodeType": "ParameterList", - "parameters": [], - "src": "6352:0:23" - }, - "scope": 4495, - "src": "6276:372:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4348, - "nodeType": "Block", - "src": "6730:192:23", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4318, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6762:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - ], - "id": 4317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6754:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4316, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6754:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6754:15:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4320, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4308, - "src": "6771:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4313, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "6734:11:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "approve", - "nodeType": "MemberAccess", - "referencedDeclaration": 15357, - "src": "6734:19:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 4321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6734:44:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "ExpressionStatement", - "src": "6734:44:23" - }, - { - "assignments": [ - 4327 - ], - "declarations": [ - { - "constant": false, - "id": 4327, - "mutability": "mutable", - "name": "amounts", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4348, - "src": "6782:24:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 4325, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6782:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4326, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6782:9:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4339, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4330, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4308, - "src": "6838:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4331, - "name": "minimum", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4310, - "src": "6846:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4332, - "name": "_token2eth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3951, - "src": "6855:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function () view returns (address[] memory)" - } - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6855:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "argumentTypes": null, - "id": 4334, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4306, - "src": "6869:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4335, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "6877:3:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 4336, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6881:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "6877:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4328, - "name": "router", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3868, - "src": "6809:6:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IUniswapV2Router02_$18291", - "typeString": "contract IUniswapV2Router02" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "swapExactTokensForETH", - "nodeType": "MemberAccess", - "referencedDeclaration": 18132, - "src": "6809:28:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256,uint256,address[] memory,address,uint256) external returns (uint256[] memory)" - } - }, - "id": 4338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6809:74:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6782:101:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4341, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6893:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6893:12:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4343, - "name": "amounts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4327, - "src": "6907:7:23", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 4345, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6915:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6907:10:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4340, - "name": "_burn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2661, - "src": "6887:5:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 4346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6887:31:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4347, - "nodeType": "ExpressionStatement", - "src": "6887:31:23" - } - ] - }, - "documentation": null, - "id": 4349, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_withdraw", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4306, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6670:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6670:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4308, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6686:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6686:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4310, - "mutability": "mutable", - "name": "minimum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4349, - "src": "6702:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6702:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6669:49:23" - }, - "returnParameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [], - "src": "6730:0:23" - }, - "scope": 4495, - "src": "6651:271:23", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9516 - ], - "body": { - "id": 4493, - "nodeType": "Block", - "src": "7464:962:23", - "statements": [ - { - "assignments": [ - 4364 - ], - "declarations": [ - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4493, - "src": "7468:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4363, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7468:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4365, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "7468:14:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 4381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4366, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7486:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4370, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7534:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4379, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4373, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "7580:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4374, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "7580:14:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 4375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7580:16:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4376, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7598:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4372, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7555:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7555:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4371, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7545:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7545:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7534:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4367, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "7513:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4368, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "7513:16:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7513:20:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7513:111:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7486:138:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4382, - "nodeType": "ExpressionStatement", - "src": "7486:138:23" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4383, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7632:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4384, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7632:21:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7665:1:23", - "subdenomination": null, - "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": 4386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7657:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7657:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7657:10:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7632:35:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4410, - "nodeType": "IfStatement", - "src": "7628:182:23", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 4408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4390, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7671:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4396, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7719:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4405, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4399, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7761:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "7761:18:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 4401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7761:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4402, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7783:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4398, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7740:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7740:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4397, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7730:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7730:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7719:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4393, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "7694:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4394, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "7694:20:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7694:24:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7694:115:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4391, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7680:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7680:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7680:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7671:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4409, - "nodeType": "ExpressionStatement", - "src": "7671:139:23" - } - }, - { - "expression": { - "argumentTypes": null, - "id": 4429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4411, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7814:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4417, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "7862:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4426, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4420, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "7901:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4421, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "7901:21:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 4422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7901:23:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4423, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7926:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4419, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7883:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7883:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4418, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7873:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7873:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7862:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4414, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "7834:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4415, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "7834:23:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7834:27:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7834:118:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4412, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7823:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7823:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7823:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7814:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4430, - "nodeType": "ExpressionStatement", - "src": "7814:139:23" - }, - { - "expression": { - "argumentTypes": null, - "id": 4449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4431, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7957:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4437, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "8005:10:23", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4446, - "indexExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4440, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8047:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "8047:18:23", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 4442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8047:20:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4443, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "8069:22:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4439, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "8026:17:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8026:66:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4438, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8016:9:23", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8016:77:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8005:89:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4434, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "7980:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4435, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "7980:20:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7980:24:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7980:115:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 4432, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "7966:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "7966:10:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7966:130:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7957:139:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4450, - "nodeType": "ExpressionStatement", - "src": "7957:139:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4452, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8114:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 4453, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "8114:23:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4454, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "8142:3:23", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8142:9:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4476, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4364, - "src": "8303:6:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4472, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "8261:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4473, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "8261:32:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4459, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8183:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "8183:21:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8216:1:23", - "subdenomination": null, - "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": 4462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8208:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8208:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8208:10:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "8183:35:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 4468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8250:1:23", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 4469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8183:68:23", - "trueExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4466, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8221:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "8221:26:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4456, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "8156:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4457, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "8156:18:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "8156:26:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:96:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "8156:104:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:138:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "8156:146:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8156:154:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4451, - "name": "_request", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4304, - "src": "8101:8:23", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 4478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8101:213:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4479, - "nodeType": "ExpressionStatement", - "src": "8101:213:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4487, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4351, - "src": "8364:9:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4488, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4353, - "src": "8375:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4489, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4355, - "src": "8390:16:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - { - "argumentTypes": null, - "id": 4490, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4357, - "src": "8408:13:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - }, - { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - }, - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - }, - { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4483, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8345:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwapDelegate_$4495", - "typeString": "contract IexecEscrowTokenSwapDelegate" - } - ], - "id": 4482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8337:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8337:7:23", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8337:13:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 4480, - "name": "IexecPoco1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9731, - "src": "8326:10:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecPoco1_$9731_$", - "typeString": "type(contract IexecPoco1)" - } - }, - "id": 4485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8326:25:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 4486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "matchOrders", - "nodeType": "MemberAccess", - "referencedDeclaration": 9730, - "src": "8326:37:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_AppOrder_$1255_memory_ptr_$_t_struct$_DatasetOrder_$1274_memory_ptr_$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory,struct IexecLibOrders_v5.DatasetOrder memory,struct IexecLibOrders_v5.WorkerpoolOrder memory,struct IexecLibOrders_v5.RequestOrder memory) external returns (bytes32)" - } - }, - "id": 4491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8326:96:23", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 4362, - "id": 4492, - "nodeType": "Return", - "src": "8319:103:23" - } - ] - }, - "documentation": null, - "functionSelector": "3bec2cbc", - "id": 4494, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "matchOrdersWithEth", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4359, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "7436:8:23" - }, - "parameters": { - "id": 4358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7191:50:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 4350, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "7191:26:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7245:54:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 4352, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "7245:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7303:57:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 4354, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "7303:33:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7364:54:23", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 4356, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "7364:30:23", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7187:232:23" - }, - "returnParameters": { - "id": 4362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4494, - "src": "7454:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4360, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7454:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7453:9:23" - }, - "scope": 4495, - "src": "7160:1266:23", - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 4496, - "src": "1486:6942:23" - } - ], - "src": "1242:7187:23" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.591Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecHubInterface.json b/build/contracts/IexecHubInterface.json deleted file mode 100644 index d16b79ce7..000000000 --- a/build/contracts/IexecHubInterface.json +++ /dev/null @@ -1,8796 +0,0 @@ -{ - "contractName": "IexecHubInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecODBLibCore.Category", - "name": "category", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "count", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "CONSENSUS_DURATION_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REVEAL_DURATION_RATIO", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "iexecclerk", - "outputs": [ - { - "internalType": "contract IexecClerkInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract AppRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract DatasetRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract WorkerpoolRegistryInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_iexecclerkAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - } - ], - "name": "attachContracts", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecODBLibCore.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibCore.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecODBLibCore.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - } - ], - "internalType": "struct IexecODBLibCore.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "checkResources", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_workerpoolSign", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_taskid", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecODBLibCore.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecODBLibCore.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CONSENSUS_DURATION_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REVEAL_DURATION_RATIO\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract AppRegistryInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_iexecclerkAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_appregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_datasetregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_workerpoolregistryAddress\",\"type\":\"address\"}],\"name\":\"attachContracts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"checkResources\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_taskid\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_enclaveSign\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_workerpoolSign\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract DatasetRegistryInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_results\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"iexecclerk\",\"outputs\":[{\"internalType\":\"contract IexecClerkInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_dealid\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_idx\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_dealid\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_idx\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultDigest\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecODBLibCore.Category\",\"name\":\"category\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategoryABILegacy\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecODBLibCore.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"}],\"internalType\":\"struct IexecODBLibCore.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContributionABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecODBLibCore.ContributionStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecODBLibCore.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibCore.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTaskABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecODBLibCore.TaskStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract WorkerpoolRegistryInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecHub.sol\":\"IexecHubInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecRegistries.sol\";\nimport \"./IexecClerk.sol\";\nimport \"./libs/IexecODBLibCore.sol\";\n\n\ninterface IexecHubInterface\n{\n\t/***************************************************************************\n\t * CATEGORY MANAGER *\n\t ***************************************************************************/\n\tevent CreateCategory(\n\t\tuint256 catid,\n\t\tstring name,\n\t\tstring description,\n\t\tuint256 workClockTimeRef);\n\n\tfunction viewCategory(\n\t\tuint256 _catid)\n\texternal view returns (IexecODBLibCore.Category memory category);\n\n\tfunction countCategory()\n\texternal view returns (uint256 count);\n\n\tfunction createCategory(\n\t\tstring calldata name,\n\t\tstring calldata description,\n\t\tuint256 workClockTimeRef)\n\texternal returns (uint256);\n\n\t/***************************************************************************\n\t * IEXECHUB *\n\t ***************************************************************************/\n\tevent TaskInitialize(bytes32 indexed taskid, address indexed workerpool );\n\tevent TaskContribute(bytes32 indexed taskid, address indexed worker, bytes32 hash );\n\tevent TaskConsensus (bytes32 indexed taskid, bytes32 consensus);\n\tevent TaskReveal (bytes32 indexed taskid, address indexed worker, bytes32 digest );\n\tevent TaskReopen (bytes32 indexed taskid );\n\tevent TaskFinalize (bytes32 indexed taskid, bytes results );\n\tevent TaskClaimed (bytes32 indexed taskid );\n\n\tevent AccurateContribution(address indexed worker, bytes32 indexed taskid);\n\tevent FaultyContribution (address indexed worker, bytes32 indexed taskid);\n\n\tfunction CONSENSUS_DURATION_RATIO() external view returns (uint256);\n\tfunction REVEAL_DURATION_RATIO () external view returns (uint256);\n\tfunction iexecclerk () external view returns (IexecClerkInterface);\n\tfunction appregistry () external view returns (AppRegistryInterface);\n\tfunction datasetregistry () external view returns (DatasetRegistryInterface);\n\tfunction workerpoolregistry () external view returns (WorkerpoolRegistryInterface);\n\n\tfunction attachContracts(\n\t\taddress _iexecclerkAddress,\n\t\taddress _appregistryAddress,\n\t\taddress _datasetregistryAddress,\n\t\taddress _workerpoolregistryAddress)\n\texternal;\n\n\tfunction viewTask(\n\t\tbytes32 _taskid)\n\texternal view returns (IexecODBLibCore.Task memory);\n\n\tfunction viewContribution(\n\t\tbytes32 _taskid,\n\t\taddress _worker)\n\texternal view returns (IexecODBLibCore.Contribution memory);\n\n\tfunction viewScore(\n\t\taddress _worker)\n\texternal view returns (uint256);\n\n\tfunction checkResources(\n\t\taddress app,\n\t\taddress dataset,\n\t\taddress workerpool)\n\texternal view returns (bool);\n\n\tfunction resultFor(\n\t\tbytes32 id)\n\texternal view returns (bytes memory);\n\n\tfunction initialize(\n\t\tbytes32 _dealid,\n\t\tuint256 idx)\n\texternal returns (bytes32);\n\n\tfunction contribute(\n\t\tbytes32 _taskid,\n\t\tbytes32 _resultHash,\n\t\tbytes32 _resultSeal,\n\t\taddress _enclaveChallenge,\n\t\tbytes calldata _enclaveSign,\n\t\tbytes calldata _workerpoolSign)\n\texternal;\n\n\tfunction reveal(\n\t\tbytes32 _taskid,\n\t\tbytes32 _resultDigest)\n\texternal;\n\n\tfunction reopen(\n\t\tbytes32 _taskid)\n\texternal;\n\n\tfunction finalize(\n\t\tbytes32 _taskid,\n\t\tbytes calldata _results)\n\texternal;\n\n\tfunction claim(\n\t\tbytes32 _taskid)\n\texternal;\n\n\tfunction initializeArray(\n\t\tbytes32[] calldata _dealid,\n\t\tuint256[] calldata _idx)\n\texternal returns (bool);\n\n\tfunction claimArray(\n\t\tbytes32[] calldata _taskid)\n\texternal returns (bool);\n\n\tfunction initializeAndClaimArray(\n\t\tbytes32[] calldata _dealid,\n\t\tuint256[] calldata _idx)\n\texternal returns (bool);\n\n\tfunction viewTaskABILegacy(bytes32 _taskid)\n\texternal view returns\n\t( IexecODBLibCore.TaskStatusEnum\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, uint256\n\t, bytes32\n\t, uint256\n\t, uint256\n\t, address[] memory\n\t, bytes memory\n\t);\n\n\tfunction viewContributionABILegacy(bytes32 _taskid, address _worker)\n\texternal view returns\n\t( IexecODBLibCore.ContributionStatusEnum\n\t, bytes32\n\t, bytes32\n\t, address\n\t);\n\n\tfunction viewCategoryABILegacy(uint256 _catid)\n\texternal view returns (string memory, string memory, uint256);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecHub.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecHub.sol", - "exportedSymbols": { - "IexecHubInterface": [ - 12279 - ] - }, - "id": 12280, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11971, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:63" - }, - { - "id": 11972, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:63" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "file": "./IexecRegistries.sol", - "id": 11973, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 12503, - "src": "66:31:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecClerk.sol", - "file": "./IexecClerk.sol", - "id": 11974, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 11970, - "src": "98:26:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "file": "./libs/IexecODBLibCore.sol", - "id": 11975, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 12604, - "src": "125:36:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12279, - "linearizedBaseContracts": [ - 12279 - ], - "name": "IexecHubInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11985, - "name": "CreateCategory", - "nodeType": "EventDefinition", - "parameters": { - "id": 11984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11977, - "indexed": false, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "454:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "454:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11979, - "indexed": false, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "471:12:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11978, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "471:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11981, - "indexed": false, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "487:19:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11980, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "487:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11983, - "indexed": false, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "510:24:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11982, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "510:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "450:85:63" - }, - "src": "430:106:63" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 11992, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11988, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11987, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11992, - "src": "564:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11986, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "564:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "560:19:63" - }, - "returnParameters": { - "id": 11991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11990, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11992, - "src": "604:40:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$12516_memory_ptr", - "typeString": "struct IexecODBLibCore.Category" - }, - "typeName": { - "contractScope": null, - "id": 11989, - "name": "IexecODBLibCore.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12516, - "src": "604:24:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$12516_storage_ptr", - "typeString": "struct IexecODBLibCore.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "603:42:63" - }, - "scope": 12279, - "src": "539:107:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c140996f", - "id": 11997, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11993, - "nodeType": "ParameterList", - "parameters": [], - "src": "671:2:63" - }, - "returnParameters": { - "id": 11996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11995, - "mutability": "mutable", - "name": "count", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11997, - "src": "698:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11994, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "698:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "697:15:63" - }, - "scope": 12279, - "src": "649:64:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "298503d9", - "id": 12008, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11999, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "743:21:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "743:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12001, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "768:28:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12000, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "768:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12003, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "800:33:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12002, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "739:95:63" - }, - "returnParameters": { - "id": 12007, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12006, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "854:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12005, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "854:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "853:9:63" - }, - "scope": 12279, - "src": "716:147:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 12014, - "name": "TaskInitialize", - "nodeType": "EventDefinition", - "parameters": { - "id": 12013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12010, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12014, - "src": "1122:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12009, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1122:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12012, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12014, - "src": "1146:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12011, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1146:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1121:67:63" - }, - "src": "1101:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12022, - "name": "TaskContribute", - "nodeType": "EventDefinition", - "parameters": { - "id": 12021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12016, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1212:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12015, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1212:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12018, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1236:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12017, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1236:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12020, - "indexed": false, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1260:12:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12019, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1260:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1211:67:63" - }, - "src": "1191:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12028, - "name": "TaskConsensus", - "nodeType": "EventDefinition", - "parameters": { - "id": 12027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12024, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12028, - "src": "1302:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12023, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1302:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12026, - "indexed": false, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12028, - "src": "1350:17:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12025, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1350:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1301:67:63" - }, - "src": "1281:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12036, - "name": "TaskReveal", - "nodeType": "EventDefinition", - "parameters": { - "id": 12035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12030, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1392:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12029, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1392:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12032, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1416:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12031, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1416:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12034, - "indexed": false, - "mutability": "mutable", - "name": "digest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1440:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12033, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1440:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1391:67:63" - }, - "src": "1371:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12040, - "name": "TaskReopen", - "nodeType": "EventDefinition", - "parameters": { - "id": 12039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12038, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12040, - "src": "1482:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12037, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1482:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1481:67:63" - }, - "src": "1461:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12046, - "name": "TaskFinalize", - "nodeType": "EventDefinition", - "parameters": { - "id": 12045, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12042, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12046, - "src": "1572:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12041, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1572:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12044, - "indexed": false, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12046, - "src": "1620:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12043, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1620:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1571:67:63" - }, - "src": "1551:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12050, - "name": "TaskClaimed", - "nodeType": "EventDefinition", - "parameters": { - "id": 12049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12048, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12050, - "src": "1662:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12047, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1662:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1661:67:63" - }, - "src": "1641:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12056, - "name": "AccurateContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 12055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12052, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12056, - "src": "1759:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12051, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1759:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12054, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12056, - "src": "1783:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12053, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1783:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1758:48:63" - }, - "src": "1732:75:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12062, - "name": "FaultyContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 12061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12058, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12062, - "src": "1836:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12057, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1836:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12060, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12062, - "src": "1860:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12059, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1860:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1835:48:63" - }, - "src": "1809:75:63" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b99d28", - "id": 12067, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "CONSENSUS_DURATION_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12063, - "nodeType": "ParameterList", - "parameters": [], - "src": "1920:2:63" - }, - "returnParameters": { - "id": 12066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12065, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12067, - "src": "1946:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12064, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1946:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1945:9:63" - }, - "scope": 12279, - "src": "1887:68:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e9ebbaf8", - "id": 12072, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "REVEAL_DURATION_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12068, - "nodeType": "ParameterList", - "parameters": [], - "src": "1990:2:63" - }, - "returnParameters": { - "id": 12071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12070, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12072, - "src": "2016:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2016:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2015:9:63" - }, - "scope": 12279, - "src": "1957:68:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b01c6846", - "id": 12077, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "iexecclerk", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12073, - "nodeType": "ParameterList", - "parameters": [], - "src": "2060:2:63" - }, - "returnParameters": { - "id": 12076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12075, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12077, - "src": "2086:19:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecClerkInterface_$11969", - "typeString": "contract IexecClerkInterface" - }, - "typeName": { - "contractScope": null, - "id": 12074, - "name": "IexecClerkInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 11969, - "src": "2086:19:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecClerkInterface_$11969", - "typeString": "contract IexecClerkInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2085:21:63" - }, - "scope": 12279, - "src": "2027:80:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b637a9", - "id": 12082, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12078, - "nodeType": "ParameterList", - "parameters": [], - "src": "2142:2:63" - }, - "returnParameters": { - "id": 12081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12082, - "src": "2168:20:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppRegistryInterface_$12418", - "typeString": "contract AppRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12079, - "name": "AppRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12418, - "src": "2168:20:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppRegistryInterface_$12418", - "typeString": "contract AppRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2167:22:63" - }, - "scope": 12279, - "src": "2109:81:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 12087, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12083, - "nodeType": "ParameterList", - "parameters": [], - "src": "2225:2:63" - }, - "returnParameters": { - "id": 12086, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12085, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12087, - "src": "2251:24:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetRegistryInterface_$12461", - "typeString": "contract DatasetRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12084, - "name": "DatasetRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12461, - "src": "2251:24:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetRegistryInterface_$12461", - "typeString": "contract DatasetRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2250:26:63" - }, - "scope": 12279, - "src": "2192:85:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "90a0f546", - "id": 12092, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12088, - "nodeType": "ParameterList", - "parameters": [], - "src": "2312:2:63" - }, - "returnParameters": { - "id": 12091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12090, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12092, - "src": "2338:27:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolRegistryInterface_$12502", - "typeString": "contract WorkerpoolRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12089, - "name": "WorkerpoolRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12502, - "src": "2338:27:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolRegistryInterface_$12502", - "typeString": "contract WorkerpoolRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2337:29:63" - }, - "scope": 12279, - "src": "2279:88:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4704511d", - "id": 12103, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "attachContracts", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12094, - "mutability": "mutable", - "name": "_iexecclerkAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2398:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2398:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12096, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2428:27:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12095, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2428:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12098, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2459:31:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12097, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2459:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12100, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2494:34:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12099, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2494:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2394:135:63" - }, - "returnParameters": { - "id": 12102, - "nodeType": "ParameterList", - "parameters": [], - "src": "2539:0:63" - }, - "scope": 12279, - "src": "2370:170:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 12110, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12105, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12110, - "src": "2564:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12104, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2564:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2560:20:63" - }, - "returnParameters": { - "id": 12109, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12108, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12110, - "src": "2605:27:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$12588_memory_ptr", - "typeString": "struct IexecODBLibCore.Task" - }, - "typeName": { - "contractScope": null, - "id": 12107, - "name": "IexecODBLibCore.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12588, - "src": "2605:20:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$12588_storage_ptr", - "typeString": "struct IexecODBLibCore.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2604:29:63" - }, - "scope": 12279, - "src": "2543:91:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e741363b", - "id": 12119, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12112, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2666:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12111, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2666:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12114, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2685:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2685:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2662:39:63" - }, - "returnParameters": { - "id": 12118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12117, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2726:35:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$12602_memory_ptr", - "typeString": "struct IexecODBLibCore.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 12116, - "name": "IexecODBLibCore.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12602, - "src": "2726:28:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$12602_storage_ptr", - "typeString": "struct IexecODBLibCore.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2725:37:63" - }, - "scope": 12279, - "src": "2637:126:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db230b52", - "id": 12126, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12121, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12126, - "src": "2788:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2788:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2784:20:63" - }, - "returnParameters": { - "id": 12125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12124, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12126, - "src": "2829:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2829:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2828:9:63" - }, - "scope": 12279, - "src": "2766:72:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "097d630d", - "id": 12137, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "checkResources", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12128, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2868:11:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12127, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2868:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12130, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2883:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2883:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12132, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2902:18:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2902:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2864:57:63" - }, - "returnParameters": { - "id": 12136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12135, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2946:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12134, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2946:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2945:6:63" - }, - "scope": 12279, - "src": "2841:111:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 12144, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12139, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12144, - "src": "2977:10:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12138, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2977:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2973:15:63" - }, - "returnParameters": { - "id": 12143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12142, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12144, - "src": "3013:12:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12141, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3013:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3012:14:63" - }, - "scope": 12279, - "src": "2955:72:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 12153, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12146, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3053:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3053:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12148, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3072:11:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3072:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3049:35:63" - }, - "returnParameters": { - "id": 12152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12151, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3104:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12150, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3104:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3103:9:63" - }, - "scope": 12279, - "src": "3030:83:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "34623484", - "id": 12168, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12166, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12155, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3139:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12154, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3139:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12157, - "mutability": "mutable", - "name": "_resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3165:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12156, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3165:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12159, - "mutability": "mutable", - "name": "_resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3195:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12158, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3195:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12161, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3225:32:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12160, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3225:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12163, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3261:27:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12162, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3261:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12165, - "mutability": "mutable", - "name": "_workerpoolSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3292:30:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3292:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3135:188:63" - }, - "returnParameters": { - "id": 12167, - "nodeType": "ParameterList", - "parameters": [], - "src": "3333:0:63" - }, - "scope": 12279, - "src": "3116:218:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 12175, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12173, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12170, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12175, - "src": "3356:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12169, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3356:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12172, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12175, - "src": "3375:21:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12171, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3375:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3352:45:63" - }, - "returnParameters": { - "id": 12174, - "nodeType": "ParameterList", - "parameters": [], - "src": "3407:0:63" - }, - "scope": 12279, - "src": "3337:71:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 12180, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12177, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12180, - "src": "3430:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12176, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3430:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3426:20:63" - }, - "returnParameters": { - "id": 12179, - "nodeType": "ParameterList", - "parameters": [], - "src": "3456:0:63" - }, - "scope": 12279, - "src": "3411:46:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c037f13e", - "id": 12187, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12182, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12187, - "src": "3481:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12181, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3481:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12184, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12187, - "src": "3500:24:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12183, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3500:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3477:48:63" - }, - "returnParameters": { - "id": 12186, - "nodeType": "ParameterList", - "parameters": [], - "src": "3535:0:63" - }, - "scope": 12279, - "src": "3460:76:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd66528a", - "id": 12192, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12190, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12189, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12192, - "src": "3557:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12188, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3557:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3553:20:63" - }, - "returnParameters": { - "id": 12191, - "nodeType": "ParameterList", - "parameters": [], - "src": "3583:0:63" - }, - "scope": 12279, - "src": "3539:45:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b504681d", - "id": 12203, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12195, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3615:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12193, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3615:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12194, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3615:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12198, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3645:23:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 12196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3645:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12197, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3645:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3611:58:63" - }, - "returnParameters": { - "id": 12202, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12201, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3689:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12200, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3689:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3688:6:63" - }, - "scope": 12279, - "src": "3587:108:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 12211, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12206, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12211, - "src": "3721:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12204, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3721:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12205, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3721:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3717:31:63" - }, - "returnParameters": { - "id": 12210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12209, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12211, - "src": "3768:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12208, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3768:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3767:6:63" - }, - "scope": 12279, - "src": "3698:76:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f722cb32", - "id": 12222, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12214, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3813:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12212, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3813:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12213, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3813:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12217, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3843:23:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 12215, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3843:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12216, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3843:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3809:58:63" - }, - "returnParameters": { - "id": 12221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12220, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3887:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12219, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3887:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3886:6:63" - }, - "scope": 12279, - "src": "3777:116:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 12252, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12224, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "3923:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12223, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3923:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3922:17:63" - }, - "returnParameters": { - "id": 12251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12227, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "3966:30:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12226, - "name": "IexecODBLibCore.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12560, - "src": "3966:30:63", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12229, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4000:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12228, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4000:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12231, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4011:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4011:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12233, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4022:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12232, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4022:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12235, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4033:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12234, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4033:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12237, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4044:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12236, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4044:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12239, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4055:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12238, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4055:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12241, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4066:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12240, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4066:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12243, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4077:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12242, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4077:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12245, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4088:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12244, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4088:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12248, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4099:16:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 12246, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4099:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 12247, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4099:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4119:16:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12249, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3964:174:63" - }, - "scope": 12279, - "src": "3896:243:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "11e35aba", - "id": 12267, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12254, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4177:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12253, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4177:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12256, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4194:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12255, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4194:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4176:34:63" - }, - "returnParameters": { - "id": 12266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12259, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4237:38:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12258, - "name": "IexecODBLibCore.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12593, - "src": "4237:38:63", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12261, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4279:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12260, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4279:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12263, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4290:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12262, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4290:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12265, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4301:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12264, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4301:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4235:76:63" - }, - "scope": 12279, - "src": "4142:170:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 12278, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12269, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4346:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4346:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4345:16:63" - }, - "returnParameters": { - "id": 12277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12272, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4386:13:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12271, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4386:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12274, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4401:13:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12273, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4401:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12276, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4416:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12275, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4416:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4385:39:63" - }, - "scope": 12279, - "src": "4315:110:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12280, - "src": "164:4263:63" - } - ], - "src": "0:4428:63" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecHub.sol", - "exportedSymbols": { - "IexecHubInterface": [ - 12279 - ] - }, - "id": 12280, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11971, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:63" - }, - { - "id": 11972, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:63" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "file": "./IexecRegistries.sol", - "id": 11973, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 12503, - "src": "66:31:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecClerk.sol", - "file": "./IexecClerk.sol", - "id": 11974, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 11970, - "src": "98:26:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "file": "./libs/IexecODBLibCore.sol", - "id": 11975, - "nodeType": "ImportDirective", - "scope": 12280, - "sourceUnit": 12604, - "src": "125:36:63", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12279, - "linearizedBaseContracts": [ - 12279 - ], - "name": "IexecHubInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11985, - "name": "CreateCategory", - "nodeType": "EventDefinition", - "parameters": { - "id": 11984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11977, - "indexed": false, - "mutability": "mutable", - "name": "catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "454:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "454:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11979, - "indexed": false, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "471:12:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11978, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "471:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11981, - "indexed": false, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "487:19:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11980, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "487:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11983, - "indexed": false, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11985, - "src": "510:24:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11982, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "510:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "450:85:63" - }, - "src": "430:106:63" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4f5f44ec", - "id": 11992, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11988, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11987, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11992, - "src": "564:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11986, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "564:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "560:19:63" - }, - "returnParameters": { - "id": 11991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11990, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11992, - "src": "604:40:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$12516_memory_ptr", - "typeString": "struct IexecODBLibCore.Category" - }, - "typeName": { - "contractScope": null, - "id": 11989, - "name": "IexecODBLibCore.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12516, - "src": "604:24:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$12516_storage_ptr", - "typeString": "struct IexecODBLibCore.Category" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "603:42:63" - }, - "scope": 12279, - "src": "539:107:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c140996f", - "id": 11997, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "countCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11993, - "nodeType": "ParameterList", - "parameters": [], - "src": "671:2:63" - }, - "returnParameters": { - "id": 11996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11995, - "mutability": "mutable", - "name": "count", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11997, - "src": "698:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11994, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "698:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "697:15:63" - }, - "scope": 12279, - "src": "649:64:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "298503d9", - "id": 12008, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createCategory", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11999, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "743:21:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "743:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12001, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "768:28:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12000, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "768:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12003, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "800:33:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12002, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "739:95:63" - }, - "returnParameters": { - "id": 12007, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12006, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12008, - "src": "854:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12005, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "854:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "853:9:63" - }, - "scope": 12279, - "src": "716:147:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 12014, - "name": "TaskInitialize", - "nodeType": "EventDefinition", - "parameters": { - "id": 12013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12010, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12014, - "src": "1122:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12009, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1122:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12012, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12014, - "src": "1146:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12011, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1146:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1121:67:63" - }, - "src": "1101:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12022, - "name": "TaskContribute", - "nodeType": "EventDefinition", - "parameters": { - "id": 12021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12016, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1212:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12015, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1212:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12018, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1236:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12017, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1236:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12020, - "indexed": false, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12022, - "src": "1260:12:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12019, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1260:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1211:67:63" - }, - "src": "1191:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12028, - "name": "TaskConsensus", - "nodeType": "EventDefinition", - "parameters": { - "id": 12027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12024, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12028, - "src": "1302:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12023, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1302:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12026, - "indexed": false, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12028, - "src": "1350:17:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12025, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1350:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1301:67:63" - }, - "src": "1281:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12036, - "name": "TaskReveal", - "nodeType": "EventDefinition", - "parameters": { - "id": 12035, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12030, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1392:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12029, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1392:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12032, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1416:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12031, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1416:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12034, - "indexed": false, - "mutability": "mutable", - "name": "digest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12036, - "src": "1440:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12033, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1440:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1391:67:63" - }, - "src": "1371:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12040, - "name": "TaskReopen", - "nodeType": "EventDefinition", - "parameters": { - "id": 12039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12038, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12040, - "src": "1482:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12037, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1482:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1481:67:63" - }, - "src": "1461:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12046, - "name": "TaskFinalize", - "nodeType": "EventDefinition", - "parameters": { - "id": 12045, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12042, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12046, - "src": "1572:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12041, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1572:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12044, - "indexed": false, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12046, - "src": "1620:13:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12043, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1620:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1571:67:63" - }, - "src": "1551:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12050, - "name": "TaskClaimed", - "nodeType": "EventDefinition", - "parameters": { - "id": 12049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12048, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12050, - "src": "1662:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12047, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1662:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1661:67:63" - }, - "src": "1641:88:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12056, - "name": "AccurateContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 12055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12052, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12056, - "src": "1759:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12051, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1759:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12054, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12056, - "src": "1783:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12053, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1783:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1758:48:63" - }, - "src": "1732:75:63" - }, - { - "anonymous": false, - "documentation": null, - "id": 12062, - "name": "FaultyContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 12061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12058, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12062, - "src": "1836:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12057, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1836:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12060, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12062, - "src": "1860:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12059, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1860:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1835:48:63" - }, - "src": "1809:75:63" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b99d28", - "id": 12067, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "CONSENSUS_DURATION_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12063, - "nodeType": "ParameterList", - "parameters": [], - "src": "1920:2:63" - }, - "returnParameters": { - "id": 12066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12065, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12067, - "src": "1946:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12064, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1946:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1945:9:63" - }, - "scope": 12279, - "src": "1887:68:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e9ebbaf8", - "id": 12072, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "REVEAL_DURATION_RATIO", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12068, - "nodeType": "ParameterList", - "parameters": [], - "src": "1990:2:63" - }, - "returnParameters": { - "id": 12071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12070, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12072, - "src": "2016:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2016:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2015:9:63" - }, - "scope": 12279, - "src": "1957:68:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b01c6846", - "id": 12077, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "iexecclerk", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12073, - "nodeType": "ParameterList", - "parameters": [], - "src": "2060:2:63" - }, - "returnParameters": { - "id": 12076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12075, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12077, - "src": "2086:19:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecClerkInterface_$11969", - "typeString": "contract IexecClerkInterface" - }, - "typeName": { - "contractScope": null, - "id": 12074, - "name": "IexecClerkInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 11969, - "src": "2086:19:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecClerkInterface_$11969", - "typeString": "contract IexecClerkInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2085:21:63" - }, - "scope": 12279, - "src": "2027:80:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "45b637a9", - "id": 12082, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "appregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12078, - "nodeType": "ParameterList", - "parameters": [], - "src": "2142:2:63" - }, - "returnParameters": { - "id": 12081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12080, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12082, - "src": "2168:20:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppRegistryInterface_$12418", - "typeString": "contract AppRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12079, - "name": "AppRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12418, - "src": "2168:20:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppRegistryInterface_$12418", - "typeString": "contract AppRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2167:22:63" - }, - "scope": 12279, - "src": "2109:81:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b1b11d2c", - "id": 12087, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "datasetregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12083, - "nodeType": "ParameterList", - "parameters": [], - "src": "2225:2:63" - }, - "returnParameters": { - "id": 12086, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12085, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12087, - "src": "2251:24:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetRegistryInterface_$12461", - "typeString": "contract DatasetRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12084, - "name": "DatasetRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12461, - "src": "2251:24:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetRegistryInterface_$12461", - "typeString": "contract DatasetRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2250:26:63" - }, - "scope": 12279, - "src": "2192:85:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "90a0f546", - "id": 12092, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "workerpoolregistry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12088, - "nodeType": "ParameterList", - "parameters": [], - "src": "2312:2:63" - }, - "returnParameters": { - "id": 12091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12090, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12092, - "src": "2338:27:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolRegistryInterface_$12502", - "typeString": "contract WorkerpoolRegistryInterface" - }, - "typeName": { - "contractScope": null, - "id": 12089, - "name": "WorkerpoolRegistryInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12502, - "src": "2338:27:63", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolRegistryInterface_$12502", - "typeString": "contract WorkerpoolRegistryInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2337:29:63" - }, - "scope": 12279, - "src": "2279:88:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4704511d", - "id": 12103, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "attachContracts", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12094, - "mutability": "mutable", - "name": "_iexecclerkAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2398:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2398:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12096, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2428:27:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12095, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2428:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12098, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2459:31:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12097, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2459:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12100, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12103, - "src": "2494:34:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12099, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2494:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2394:135:63" - }, - "returnParameters": { - "id": 12102, - "nodeType": "ParameterList", - "parameters": [], - "src": "2539:0:63" - }, - "scope": 12279, - "src": "2370:170:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "adccf0d5", - "id": 12110, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTask", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12105, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12110, - "src": "2564:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12104, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2564:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2560:20:63" - }, - "returnParameters": { - "id": 12109, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12108, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12110, - "src": "2605:27:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$12588_memory_ptr", - "typeString": "struct IexecODBLibCore.Task" - }, - "typeName": { - "contractScope": null, - "id": 12107, - "name": "IexecODBLibCore.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12588, - "src": "2605:20:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$12588_storage_ptr", - "typeString": "struct IexecODBLibCore.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2604:29:63" - }, - "scope": 12279, - "src": "2543:91:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e741363b", - "id": 12119, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContribution", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12112, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2666:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12111, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2666:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12114, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2685:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2685:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2662:39:63" - }, - "returnParameters": { - "id": 12118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12117, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12119, - "src": "2726:35:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$12602_memory_ptr", - "typeString": "struct IexecODBLibCore.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 12116, - "name": "IexecODBLibCore.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12602, - "src": "2726:28:63", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$12602_storage_ptr", - "typeString": "struct IexecODBLibCore.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2725:37:63" - }, - "scope": 12279, - "src": "2637:126:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "db230b52", - "id": 12126, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12121, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12126, - "src": "2788:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2788:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2784:20:63" - }, - "returnParameters": { - "id": 12125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12124, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12126, - "src": "2829:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2829:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2828:9:63" - }, - "scope": 12279, - "src": "2766:72:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "097d630d", - "id": 12137, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "checkResources", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12128, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2868:11:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12127, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2868:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12130, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2883:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2883:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12132, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2902:18:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2902:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2864:57:63" - }, - "returnParameters": { - "id": 12136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12135, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12137, - "src": "2946:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12134, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2946:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2945:6:63" - }, - "scope": 12279, - "src": "2841:111:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "d09cc57e", - "id": 12144, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resultFor", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12139, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12144, - "src": "2977:10:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12138, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2977:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2973:15:63" - }, - "returnParameters": { - "id": 12143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12142, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12144, - "src": "3013:12:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12141, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3013:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3012:14:63" - }, - "scope": 12279, - "src": "2955:72:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 12153, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12149, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12146, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3053:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12145, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3053:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12148, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3072:11:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12147, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3072:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3049:35:63" - }, - "returnParameters": { - "id": 12152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12151, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12153, - "src": "3104:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12150, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3104:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3103:9:63" - }, - "scope": 12279, - "src": "3030:83:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "34623484", - "id": 12168, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12166, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12155, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3139:22:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12154, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3139:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12157, - "mutability": "mutable", - "name": "_resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3165:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12156, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3165:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12159, - "mutability": "mutable", - "name": "_resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3195:26:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12158, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3195:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12161, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3225:32:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12160, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3225:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12163, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3261:27:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12162, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3261:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12165, - "mutability": "mutable", - "name": "_workerpoolSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12168, - "src": "3292:30:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3292:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3135:188:63" - }, - "returnParameters": { - "id": 12167, - "nodeType": "ParameterList", - "parameters": [], - "src": "3333:0:63" - }, - "scope": 12279, - "src": "3116:218:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 12175, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12173, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12170, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12175, - "src": "3356:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12169, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3356:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12172, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12175, - "src": "3375:21:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12171, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3375:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3352:45:63" - }, - "returnParameters": { - "id": 12174, - "nodeType": "ParameterList", - "parameters": [], - "src": "3407:0:63" - }, - "scope": 12279, - "src": "3337:71:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 12180, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12177, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12180, - "src": "3430:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12176, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3430:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3426:20:63" - }, - "returnParameters": { - "id": 12179, - "nodeType": "ParameterList", - "parameters": [], - "src": "3456:0:63" - }, - "scope": 12279, - "src": "3411:46:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c037f13e", - "id": 12187, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12182, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12187, - "src": "3481:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12181, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3481:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12184, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12187, - "src": "3500:24:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12183, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3500:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3477:48:63" - }, - "returnParameters": { - "id": 12186, - "nodeType": "ParameterList", - "parameters": [], - "src": "3535:0:63" - }, - "scope": 12279, - "src": "3460:76:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd66528a", - "id": 12192, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12190, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12189, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12192, - "src": "3557:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12188, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3557:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3553:20:63" - }, - "returnParameters": { - "id": 12191, - "nodeType": "ParameterList", - "parameters": [], - "src": "3583:0:63" - }, - "scope": 12279, - "src": "3539:45:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b504681d", - "id": 12203, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12195, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3615:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12193, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3615:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12194, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3615:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12198, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3645:23:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 12196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3645:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12197, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3645:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3611:58:63" - }, - "returnParameters": { - "id": 12202, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12201, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12203, - "src": "3689:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12200, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3689:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3688:6:63" - }, - "scope": 12279, - "src": "3587:108:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 12211, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12206, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12211, - "src": "3721:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12204, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3721:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12205, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3721:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3717:31:63" - }, - "returnParameters": { - "id": 12210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12209, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12211, - "src": "3768:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12208, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3768:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3767:6:63" - }, - "scope": 12279, - "src": "3698:76:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f722cb32", - "id": 12222, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12214, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3813:26:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 12212, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3813:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 12213, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3813:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12217, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3843:23:63", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 12215, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3843:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 12216, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3843:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3809:58:63" - }, - "returnParameters": { - "id": 12221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12220, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12222, - "src": "3887:4:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12219, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3887:4:63", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3886:6:63" - }, - "scope": 12279, - "src": "3777:116:63", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "248ad6a0", - "id": 12252, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewTaskABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12224, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "3923:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12223, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3923:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3922:17:63" - }, - "returnParameters": { - "id": 12251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12227, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "3966:30:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12226, - "name": "IexecODBLibCore.TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12560, - "src": "3966:30:63", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12229, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4000:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12228, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4000:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12231, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4011:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12230, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4011:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12233, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4022:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12232, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4022:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12235, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4033:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12234, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4033:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12237, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4044:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12236, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4044:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12239, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4055:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12238, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4055:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12241, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4066:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12240, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4066:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12243, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4077:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12242, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4077:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12245, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4088:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12244, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4088:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12248, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4099:16:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 12246, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4099:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 12247, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4099:9:63", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12252, - "src": "4119:16:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12249, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3964:174:63" - }, - "scope": 12279, - "src": "3896:243:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "11e35aba", - "id": 12267, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewContributionABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12254, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4177:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12253, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4177:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12256, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4194:15:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12255, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4194:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4176:34:63" - }, - "returnParameters": { - "id": 12266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12259, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4237:38:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12258, - "name": "IexecODBLibCore.ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12593, - "src": "4237:38:63", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12261, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4279:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12260, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4279:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12263, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4290:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12262, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4290:7:63", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12265, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12267, - "src": "4301:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12264, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4301:7:63", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4235:76:63" - }, - "scope": 12279, - "src": "4142:170:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f9353b8d", - "id": 12278, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCategoryABILegacy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12269, - "mutability": "mutable", - "name": "_catid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4346:14:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4346:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4345:16:63" - }, - "returnParameters": { - "id": 12277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12272, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4386:13:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12271, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4386:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12274, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4401:13:63", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12273, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4401:6:63", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12276, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12278, - "src": "4416:7:63", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12275, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4416:7:63", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4385:39:63" - }, - "scope": 12279, - "src": "4315:110:63", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12280, - "src": "164:4263:63" - } - ], - "src": "0:4428:63" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.882Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecInterfaceNative.json b/build/contracts/IexecInterfaceNative.json deleted file mode 100644 index 87a0f5b6d..000000000 --- a/build/contracts/IexecInterfaceNative.json +++ /dev/null @@ -1,4196 +0,0 @@ -{ - "contractName": "IexecInterfaceNative", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNative.sol\":\"IexecInterfaceNative\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNative.sol\":{\"keccak256\":\"0x59bfc695c16baa60e3cf5c6b82712c7e98495e491fbef8d903aab9d2bc26d167\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://cfae15bdc80728f487e2668704f774f3ed0a6571bed3e9c347fdb13742025aa2\",\"dweb:/ipfs/Qmcq4oZJyErSZRjube33wR4DjF4hoDfdPD4suN6HKc8Ngw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":{\"keccak256\":\"0x0fc7a7e8b0369534d786936faa191e1009d52546663f41fb38a902417de86013\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f4e507d9a833e7c9e02cb58b7abcc7042d13301f6f4a171ba6b18f29e49424b6\",\"dweb:/ipfs/QmbtStaZGTFtdHUXETXNhzRqYYHp1PWxNbnZbQiJwig9V2\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol\":{\"keccak256\":\"0x1da6ba549a888426896d8776ec80cf7f3254e5f7e9883d513bf7fd5a5097b91a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2834ec722717d8f6ffaba683517c985060f089c648f8c723a13d6e7a50626754\",\"dweb:/ipfs/Qmey9FX2XuxnWxW5DEn3e1D5mRKYWNsa1a5YLhwzq6so4L\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./modules/interfaces/IOwnable.sol\";\nimport \"./modules/interfaces/IexecAccessors.sol\";\nimport \"./modules/interfaces/IexecCategoryManager.sol\";\nimport \"./modules/interfaces/IexecERC20.sol\";\nimport \"./modules/interfaces/IexecEscrowNative.sol\";\nimport \"./modules/interfaces/IexecMaintenance.sol\";\nimport \"./modules/interfaces/IexecOrderManagement.sol\";\nimport \"./modules/interfaces/IexecPoco1.sol\";\nimport \"./modules/interfaces/IexecPoco2.sol\";\nimport \"./modules/interfaces/IexecRelay.sol\";\nimport \"./modules/interfaces/IexecTokenSpender.sol\";\nimport \"./modules/interfaces/ENSIntegration.sol\";\n\n\ninterface IexecInterfaceNative is\n\tIOwnable,\n\tIexecAccessors,\n\tIexecCategoryManager,\n\tIexecERC20,\n\tIexecEscrowNative,\n\tIexecMaintenance,\n\tIexecOrderManagement,\n\tIexecPoco1,\n\tIexecPoco2,\n\tIexecRelay,\n\tIexecTokenSpender,\n\tENSIntegration\n{\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNative.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNative.sol", - "exportedSymbols": { - "IexecInterfaceNative": [ - 39 - ] - }, - "id": 40, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:0" - }, - { - "id": 2, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:0" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 3, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 8836, - "src": "1301:43:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 4, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9026, - "src": "1345:49:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 5, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9178, - "src": "1395:55:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 6, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9256, - "src": "1451:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "./modules/interfaces/IexecEscrowNative.sol", - "id": 7, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9342, - "src": "1497:52:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 8, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9565, - "src": "1550:51:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 9, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9635, - "src": "1602:55:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 10, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9732, - "src": "1658:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 11, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9915, - "src": "1704:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 12, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9956, - "src": "1750:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 13, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9973, - "src": "1796:52:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 14, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 8813, - "src": "1849:49:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "1936:8:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 16, - "nodeType": "InheritanceSpecifier", - "src": "1936:8:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 17, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "1947:14:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 18, - "nodeType": "InheritanceSpecifier", - "src": "1947:14:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 19, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "1964:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 20, - "nodeType": "InheritanceSpecifier", - "src": "1964:20:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 21, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "1987:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 22, - "nodeType": "InheritanceSpecifier", - "src": "1987:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 23, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "2000:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 24, - "nodeType": "InheritanceSpecifier", - "src": "2000:17:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 25, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2020:16:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 26, - "nodeType": "InheritanceSpecifier", - "src": "2020:16:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 27, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2039:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 28, - "nodeType": "InheritanceSpecifier", - "src": "2039:20:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 29, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2062:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 30, - "nodeType": "InheritanceSpecifier", - "src": "2062:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 31, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2075:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 32, - "nodeType": "InheritanceSpecifier", - "src": "2075:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 33, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2088:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 34, - "nodeType": "InheritanceSpecifier", - "src": "2088:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 35, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2101:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 36, - "nodeType": "InheritanceSpecifier", - "src": "2101:17:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 37, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2121:14:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 38, - "nodeType": "InheritanceSpecifier", - "src": "2121:14:0" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9177, - 9255, - 9341, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 39, - "linearizedBaseContracts": [ - 39, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9341, - 9255, - 9177, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceNative", - "nodeType": "ContractDefinition", - "nodes": [], - "scope": 40, - "src": "1901:238:0" - } - ], - "src": "1242:898:0" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNative.sol", - "exportedSymbols": { - "IexecInterfaceNative": [ - 39 - ] - }, - "id": 40, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:0" - }, - { - "id": 2, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:0" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 3, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 8836, - "src": "1301:43:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 4, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9026, - "src": "1345:49:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 5, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9178, - "src": "1395:55:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 6, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9256, - "src": "1451:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "./modules/interfaces/IexecEscrowNative.sol", - "id": 7, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9342, - "src": "1497:52:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 8, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9565, - "src": "1550:51:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 9, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9635, - "src": "1602:55:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 10, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9732, - "src": "1658:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 11, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9915, - "src": "1704:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 12, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9956, - "src": "1750:45:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 13, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 9973, - "src": "1796:52:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 14, - "nodeType": "ImportDirective", - "scope": 40, - "sourceUnit": 8813, - "src": "1849:49:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 15, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "1936:8:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 16, - "nodeType": "InheritanceSpecifier", - "src": "1936:8:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 17, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "1947:14:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 18, - "nodeType": "InheritanceSpecifier", - "src": "1947:14:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 19, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "1964:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 20, - "nodeType": "InheritanceSpecifier", - "src": "1964:20:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 21, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "1987:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 22, - "nodeType": "InheritanceSpecifier", - "src": "1987:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 23, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "2000:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 24, - "nodeType": "InheritanceSpecifier", - "src": "2000:17:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 25, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2020:16:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 26, - "nodeType": "InheritanceSpecifier", - "src": "2020:16:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 27, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2039:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 28, - "nodeType": "InheritanceSpecifier", - "src": "2039:20:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 29, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2062:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 30, - "nodeType": "InheritanceSpecifier", - "src": "2062:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 31, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2075:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 32, - "nodeType": "InheritanceSpecifier", - "src": "2075:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 33, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2088:10:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 34, - "nodeType": "InheritanceSpecifier", - "src": "2088:10:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 35, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2101:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 36, - "nodeType": "InheritanceSpecifier", - "src": "2101:17:0" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 37, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2121:14:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 38, - "nodeType": "InheritanceSpecifier", - "src": "2121:14:0" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9177, - 9255, - 9341, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 39, - "linearizedBaseContracts": [ - 39, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9341, - 9255, - 9177, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceNative", - "nodeType": "ContractDefinition", - "nodes": [], - "scope": 40, - "src": "1901:238:0" - } - ], - "src": "1242:898:0" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.512Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecInterfaceNativeABILegacy.json b/build/contracts/IexecInterfaceNativeABILegacy.json deleted file mode 100644 index 997babefe..000000000 --- a/build/contracts/IexecInterfaceNativeABILegacy.json +++ /dev/null @@ -1,4571 +0,0 @@ -{ - "contractName": "IexecInterfaceNativeABILegacy", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"viewAccountABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategoryABILegacy\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConfigABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContributionABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTaskABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNativeABILegacy.sol\":\"IexecInterfaceNativeABILegacy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNativeABILegacy.sol\":{\"keccak256\":\"0xd54eb7d7ea6c303f5c51710e7995b9f18011a1d9ed3aa81cbb9077a209bb641a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://57df985a88a60c6a582976891c087ba556332ab511d76d2bbe7f1600414ec42e\",\"dweb:/ipfs/QmTVYD33EpB85FT2mxp1paB4jojqDPekTXbKyxm3SbU1Cw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":{\"keccak256\":\"0x0fc7a7e8b0369534d786936faa191e1009d52546663f41fb38a902417de86013\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f4e507d9a833e7c9e02cb58b7abcc7042d13301f6f4a171ba6b18f29e49424b6\",\"dweb:/ipfs/QmbtStaZGTFtdHUXETXNhzRqYYHp1PWxNbnZbQiJwig9V2\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol\":{\"keccak256\":\"0xed2b960274f874bcf7d158e48743ec35db7633dd124b3a660a5b1653f59518ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://5320f4611eaaf8eb7378592f70d5c5645366705acf2548664254b90ca8e44f78\",\"dweb:/ipfs/QmY6f9mukn7zUZWnTxHoVoPyXQ5d2VS3Q9NrubRzSyoQxu\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol\":{\"keccak256\":\"0x1da6ba549a888426896d8776ec80cf7f3254e5f7e9883d513bf7fd5a5097b91a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2834ec722717d8f6ffaba683517c985060f089c648f8c723a13d6e7a50626754\",\"dweb:/ipfs/Qmey9FX2XuxnWxW5DEn3e1D5mRKYWNsa1a5YLhwzq6so4L\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./modules/interfaces/IOwnable.sol\";\nimport \"./modules/interfaces/IexecAccessors.sol\";\nimport \"./modules/interfaces/IexecAccessorsABILegacy.sol\";\nimport \"./modules/interfaces/IexecCategoryManager.sol\";\nimport \"./modules/interfaces/IexecERC20.sol\";\nimport \"./modules/interfaces/IexecEscrowNative.sol\";\nimport \"./modules/interfaces/IexecMaintenance.sol\";\nimport \"./modules/interfaces/IexecOrderManagement.sol\";\nimport \"./modules/interfaces/IexecPoco1.sol\";\nimport \"./modules/interfaces/IexecPoco2.sol\";\nimport \"./modules/interfaces/IexecRelay.sol\";\nimport \"./modules/interfaces/IexecTokenSpender.sol\";\nimport \"./modules/interfaces/ENSIntegration.sol\";\n\n\ninterface IexecInterfaceNativeABILegacy is\n\tIOwnable,\n\tIexecAccessors,\n\tIexecAccessorsABILegacy,\n\tIexecCategoryManager,\n\tIexecERC20,\n\tIexecEscrowNative,\n\tIexecMaintenance,\n\tIexecOrderManagement,\n\tIexecPoco1,\n\tIexecPoco2,\n\tIexecRelay,\n\tIexecTokenSpender,\n\tENSIntegration\n{\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNativeABILegacy.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNativeABILegacy.sol", - "exportedSymbols": { - "IexecInterfaceNativeABILegacy": [ - 82 - ] - }, - "id": 83, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 41, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:1" - }, - { - "id": 42, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:1" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 43, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 8836, - "src": "1301:43:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 44, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9026, - "src": "1345:49:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "./modules/interfaces/IexecAccessorsABILegacy.sol", - "id": 45, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9153, - "src": "1395:58:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 46, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9178, - "src": "1454:55:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 47, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9256, - "src": "1510:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "./modules/interfaces/IexecEscrowNative.sol", - "id": 48, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9342, - "src": "1556:52:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 49, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9565, - "src": "1609:51:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 50, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9635, - "src": "1661:55:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 51, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9732, - "src": "1717:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 52, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9915, - "src": "1763:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 53, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9956, - "src": "1809:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 54, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9973, - "src": "1855:52:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 55, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 8813, - "src": "1908:49:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 56, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "2004:8:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 57, - "nodeType": "InheritanceSpecifier", - "src": "2004:8:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 58, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2015:14:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 59, - "nodeType": "InheritanceSpecifier", - "src": "2015:14:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 60, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "2032:23:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 61, - "nodeType": "InheritanceSpecifier", - "src": "2032:23:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 62, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2058:20:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 63, - "nodeType": "InheritanceSpecifier", - "src": "2058:20:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 64, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2081:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 65, - "nodeType": "InheritanceSpecifier", - "src": "2081:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 66, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "2094:17:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 67, - "nodeType": "InheritanceSpecifier", - "src": "2094:17:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 68, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2114:16:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 69, - "nodeType": "InheritanceSpecifier", - "src": "2114:16:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 70, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2133:20:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 71, - "nodeType": "InheritanceSpecifier", - "src": "2133:20:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 72, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2156:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 73, - "nodeType": "InheritanceSpecifier", - "src": "2156:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 74, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2169:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 75, - "nodeType": "InheritanceSpecifier", - "src": "2169:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 76, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2182:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 77, - "nodeType": "InheritanceSpecifier", - "src": "2182:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 78, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2195:17:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 79, - "nodeType": "InheritanceSpecifier", - "src": "2195:17:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 80, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2215:14:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 81, - "nodeType": "InheritanceSpecifier", - "src": "2215:14:1" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9152, - 9177, - 9255, - 9341, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 82, - "linearizedBaseContracts": [ - 82, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9341, - 9255, - 9177, - 9152, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceNativeABILegacy", - "nodeType": "ContractDefinition", - "nodes": [], - "scope": 83, - "src": "1960:273:1" - } - ], - "src": "1242:992:1" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceNativeABILegacy.sol", - "exportedSymbols": { - "IexecInterfaceNativeABILegacy": [ - 82 - ] - }, - "id": 83, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 41, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:1" - }, - { - "id": 42, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:1" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 43, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 8836, - "src": "1301:43:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 44, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9026, - "src": "1345:49:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "./modules/interfaces/IexecAccessorsABILegacy.sol", - "id": 45, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9153, - "src": "1395:58:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 46, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9178, - "src": "1454:55:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 47, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9256, - "src": "1510:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowNative.sol", - "file": "./modules/interfaces/IexecEscrowNative.sol", - "id": 48, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9342, - "src": "1556:52:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 49, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9565, - "src": "1609:51:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 50, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9635, - "src": "1661:55:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 51, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9732, - "src": "1717:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 52, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9915, - "src": "1763:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 53, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9956, - "src": "1809:45:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 54, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 9973, - "src": "1855:52:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 55, - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 8813, - "src": "1908:49:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 56, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "2004:8:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 57, - "nodeType": "InheritanceSpecifier", - "src": "2004:8:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 58, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2015:14:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 59, - "nodeType": "InheritanceSpecifier", - "src": "2015:14:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 60, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "2032:23:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 61, - "nodeType": "InheritanceSpecifier", - "src": "2032:23:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 62, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2058:20:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 63, - "nodeType": "InheritanceSpecifier", - "src": "2058:20:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 64, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2081:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 65, - "nodeType": "InheritanceSpecifier", - "src": "2081:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 66, - "name": "IexecEscrowNative", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9341, - "src": "2094:17:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowNative_$9341", - "typeString": "contract IexecEscrowNative" - } - }, - "id": 67, - "nodeType": "InheritanceSpecifier", - "src": "2094:17:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 68, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2114:16:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 69, - "nodeType": "InheritanceSpecifier", - "src": "2114:16:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 70, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2133:20:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 71, - "nodeType": "InheritanceSpecifier", - "src": "2133:20:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 72, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2156:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 73, - "nodeType": "InheritanceSpecifier", - "src": "2156:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 74, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2169:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 75, - "nodeType": "InheritanceSpecifier", - "src": "2169:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 76, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2182:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 77, - "nodeType": "InheritanceSpecifier", - "src": "2182:10:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 78, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2195:17:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 79, - "nodeType": "InheritanceSpecifier", - "src": "2195:17:1" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 80, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2215:14:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 81, - "nodeType": "InheritanceSpecifier", - "src": "2215:14:1" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9152, - 9177, - 9255, - 9341, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 82, - "linearizedBaseContracts": [ - 82, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9341, - 9255, - 9177, - 9152, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceNativeABILegacy", - "nodeType": "ContractDefinition", - "nodes": [], - "scope": 83, - "src": "1960:273:1" - } - ], - "src": "1242:992:1" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.514Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecInterfaceToken.json b/build/contracts/IexecInterfaceToken.json deleted file mode 100644 index 709f98c36..000000000 --- a/build/contracts/IexecInterfaceToken.json +++ /dev/null @@ -1,5029 +0,0 @@ -{ - "contractName": "IexecInterfaceToken", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"UniswapV2Router\",\"outputs\":[{\"internalType\":\"contract IUniswapV2Router02\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositEthSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositTokenWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawEthWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawTokenSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrdersWithEth\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"requestToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"requestTokenFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeDepositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeDepositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeWithdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeWithdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceToken.sol\":\"IexecInterfaceToken\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceToken.sol\":{\"keccak256\":\"0x5ff3f4f6a1756a259fb8385dd3a221fb55235323a30c6a350a2bf8440e0e8a1f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7d2c40c2f7a9529a7d786a8da6aa694d0262b840e235ba82139b20ccfc396f5b\",\"dweb:/ipfs/QmdxqcLNsBZnwnGanxLyxUqsi4kYbJnN839CxENwopCEbF\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":{\"keccak256\":\"0x0fc7a7e8b0369534d786936faa191e1009d52546663f41fb38a902417de86013\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f4e507d9a833e7c9e02cb58b7abcc7042d13301f6f4a171ba6b18f29e49424b6\",\"dweb:/ipfs/QmbtStaZGTFtdHUXETXNhzRqYYHp1PWxNbnZbQiJwig9V2\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol\":{\"keccak256\":\"0x35891a5e6747ea3f767461e96c0f83a65083266f2a408ca7d12d3f5f75a95b22\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ab801e62787f65163dc730c778fb470dcf8ec2e294184b54905fc9dcd93d61c9\",\"dweb:/ipfs/QmcVsR97kjqQqaggUokYrKKRSFGbgzRpx9ki2wgJtj8rZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol\":{\"keccak256\":\"0xdfe6663ac036a9501d278f7ba1e6144ad59aabee8c289b28c2d800663495ab0f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d6d75060a1464e965ede31661b229fde479df1a860def0e06096fb9067904bdb\",\"dweb:/ipfs/QmQKfbEdiWqXFxVzBgox9TaHzfshQtFRVg5gVu6AZRZx5x\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":{\"keccak256\":\"0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d\",\"urls\":[\"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c\",\"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./modules/interfaces/IOwnable.sol\";\nimport \"./modules/interfaces/IexecAccessors.sol\";\nimport \"./modules/interfaces/IexecCategoryManager.sol\";\nimport \"./modules/interfaces/IexecERC20.sol\";\nimport \"./modules/interfaces/IexecEscrowToken.sol\";\nimport \"./modules/interfaces/IexecEscrowTokenSwap.sol\";\nimport \"./modules/interfaces/IexecMaintenance.sol\";\nimport \"./modules/interfaces/IexecOrderManagement.sol\";\nimport \"./modules/interfaces/IexecPoco1.sol\";\nimport \"./modules/interfaces/IexecPoco2.sol\";\nimport \"./modules/interfaces/IexecRelay.sol\";\nimport \"./modules/interfaces/IexecTokenSpender.sol\";\nimport \"./modules/interfaces/ENSIntegration.sol\";\n\n\ninterface IexecInterfaceToken is\n\tIOwnable,\n\tIexecAccessors,\n\tIexecCategoryManager,\n\tIexecERC20,\n\tIexecEscrowToken,\n\tIexecEscrowTokenSwap,\n\tIexecMaintenance,\n\tIexecOrderManagement,\n\tIexecPoco1,\n\tIexecPoco2,\n\tIexecRelay,\n\tIexecTokenSpender,\n\tENSIntegration\n{\n\treceive() external override(IexecEscrowToken, IexecEscrowTokenSwap) payable;\n\tfallback() external override(IexecEscrowToken, IexecEscrowTokenSwap) payable;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceToken.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceToken.sol", - "exportedSymbols": { - "IexecInterfaceToken": [ - 137 - ] - }, - "id": 138, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 84, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:2" - }, - { - "id": 85, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:2" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 86, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 8836, - "src": "1301:43:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 87, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9026, - "src": "1345:49:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 88, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9178, - "src": "1395:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 89, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9256, - "src": "1451:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "./modules/interfaces/IexecEscrowToken.sol", - "id": 90, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9400, - "src": "1497:51:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "./modules/interfaces/IexecEscrowTokenSwap.sol", - "id": 91, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9518, - "src": "1549:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 92, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9565, - "src": "1605:51:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 93, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9635, - "src": "1657:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 94, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9732, - "src": "1713:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 95, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9915, - "src": "1759:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 96, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9956, - "src": "1805:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 97, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9973, - "src": "1851:52:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 98, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 8813, - "src": "1904:49:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 99, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "1990:8:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 100, - "nodeType": "InheritanceSpecifier", - "src": "1990:8:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 101, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2001:14:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 102, - "nodeType": "InheritanceSpecifier", - "src": "2001:14:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 103, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2018:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 104, - "nodeType": "InheritanceSpecifier", - "src": "2018:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 105, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2041:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 106, - "nodeType": "InheritanceSpecifier", - "src": "2041:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 107, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2054:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 108, - "nodeType": "InheritanceSpecifier", - "src": "2054:16:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 109, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2073:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 110, - "nodeType": "InheritanceSpecifier", - "src": "2073:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 111, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2096:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 112, - "nodeType": "InheritanceSpecifier", - "src": "2096:16:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 113, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2115:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 114, - "nodeType": "InheritanceSpecifier", - "src": "2115:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 115, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2138:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 116, - "nodeType": "InheritanceSpecifier", - "src": "2138:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 117, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2151:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 118, - "nodeType": "InheritanceSpecifier", - "src": "2151:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 119, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2164:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 120, - "nodeType": "InheritanceSpecifier", - "src": "2164:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 121, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2177:17:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 122, - "nodeType": "InheritanceSpecifier", - "src": "2177:17:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 123, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2197:14:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 124, - "nodeType": "InheritanceSpecifier", - "src": "2197:14:2" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9177, - 9255, - 9399, - 9517, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 137, - "linearizedBaseContracts": [ - 137, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9517, - 9399, - 9255, - 9177, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceToken", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9347, - 9407 - ], - "body": null, - "documentation": null, - "id": 130, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 128, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 126, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2244:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 127, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2262:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2235:48:2" - }, - "parameters": { - "id": 125, - "nodeType": "ParameterList", - "parameters": [], - "src": "2222:2:2" - }, - "returnParameters": { - "id": 129, - "nodeType": "ParameterList", - "parameters": [], - "src": "2291:0:2" - }, - "scope": 137, - "src": "2215:77:2", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350, - 9410 - ], - "body": null, - "documentation": null, - "id": 136, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 134, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 132, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2323:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 133, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2341:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2314:48:2" - }, - "parameters": { - "id": 131, - "nodeType": "ParameterList", - "parameters": [], - "src": "2302:2:2" - }, - "returnParameters": { - "id": 135, - "nodeType": "ParameterList", - "parameters": [], - "src": "2370:0:2" - }, - "scope": 137, - "src": "2294:77:2", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 138, - "src": "1956:417:2" - } - ], - "src": "1242:1132:2" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceToken.sol", - "exportedSymbols": { - "IexecInterfaceToken": [ - 137 - ] - }, - "id": 138, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 84, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:2" - }, - { - "id": 85, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:2" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 86, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 8836, - "src": "1301:43:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 87, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9026, - "src": "1345:49:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 88, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9178, - "src": "1395:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 89, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9256, - "src": "1451:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "./modules/interfaces/IexecEscrowToken.sol", - "id": 90, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9400, - "src": "1497:51:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "./modules/interfaces/IexecEscrowTokenSwap.sol", - "id": 91, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9518, - "src": "1549:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 92, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9565, - "src": "1605:51:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 93, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9635, - "src": "1657:55:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 94, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9732, - "src": "1713:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 95, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9915, - "src": "1759:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 96, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9956, - "src": "1805:45:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 97, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 9973, - "src": "1851:52:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 98, - "nodeType": "ImportDirective", - "scope": 138, - "sourceUnit": 8813, - "src": "1904:49:2", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 99, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "1990:8:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 100, - "nodeType": "InheritanceSpecifier", - "src": "1990:8:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 101, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2001:14:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 102, - "nodeType": "InheritanceSpecifier", - "src": "2001:14:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 103, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2018:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 104, - "nodeType": "InheritanceSpecifier", - "src": "2018:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 105, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2041:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 106, - "nodeType": "InheritanceSpecifier", - "src": "2041:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 107, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2054:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 108, - "nodeType": "InheritanceSpecifier", - "src": "2054:16:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 109, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2073:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 110, - "nodeType": "InheritanceSpecifier", - "src": "2073:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 111, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2096:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 112, - "nodeType": "InheritanceSpecifier", - "src": "2096:16:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 113, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2115:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 114, - "nodeType": "InheritanceSpecifier", - "src": "2115:20:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 115, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2138:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 116, - "nodeType": "InheritanceSpecifier", - "src": "2138:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 117, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2151:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 118, - "nodeType": "InheritanceSpecifier", - "src": "2151:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 119, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2164:10:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 120, - "nodeType": "InheritanceSpecifier", - "src": "2164:10:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 121, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2177:17:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 122, - "nodeType": "InheritanceSpecifier", - "src": "2177:17:2" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 123, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2197:14:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 124, - "nodeType": "InheritanceSpecifier", - "src": "2197:14:2" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9177, - 9255, - 9399, - 9517, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 137, - "linearizedBaseContracts": [ - 137, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9517, - 9399, - 9255, - 9177, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceToken", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9347, - 9407 - ], - "body": null, - "documentation": null, - "id": 130, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 128, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 126, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2244:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 127, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2262:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2235:48:2" - }, - "parameters": { - "id": 125, - "nodeType": "ParameterList", - "parameters": [], - "src": "2222:2:2" - }, - "returnParameters": { - "id": 129, - "nodeType": "ParameterList", - "parameters": [], - "src": "2291:0:2" - }, - "scope": 137, - "src": "2215:77:2", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350, - 9410 - ], - "body": null, - "documentation": null, - "id": 136, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 134, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 132, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2323:16:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 133, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2341:20:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2314:48:2" - }, - "parameters": { - "id": 131, - "nodeType": "ParameterList", - "parameters": [], - "src": "2302:2:2" - }, - "returnParameters": { - "id": 135, - "nodeType": "ParameterList", - "parameters": [], - "src": "2370:0:2" - }, - "scope": 137, - "src": "2294:77:2", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 138, - "src": "1956:417:2" - } - ], - "src": "1242:1132:2" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.516Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecInterfaceTokenABILegacy.json b/build/contracts/IexecInterfaceTokenABILegacy.json deleted file mode 100644 index d62504ab1..000000000 --- a/build/contracts/IexecInterfaceTokenABILegacy.json +++ /dev/null @@ -1,5404 +0,0 @@ -{ - "contractName": "IexecInterfaceTokenABILegacy", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "catid", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "name": "CreateCategory", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [], - "name": "UniswapV2Router", - "outputs": [ - { - "internalType": "contract IUniswapV2Router02", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "appregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "callbackgas", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contribution_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "countCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createCategory", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "datasetregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "depositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "depositFor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "depositForArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "eip712domain_separator", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositEthSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateDepositTokenWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawEthWanted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "estimateWithdrawTokenSent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "final_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "frozenOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "groupmember_purpose", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_address", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_min", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "kitty_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrdersWithEth", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recover", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "requestToken", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "requestTokenFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "resultFor", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "reveal_deadline_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeDepositEth", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeDepositEthFor", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "safeWithdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "safeWithdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "ens", - "type": "address" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "teebroker", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "token", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewAccount", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "stake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "locked", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Account", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "viewAccountABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "viewCategory", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256", - "name": "workClockTimeRef", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Category", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_catid", - "type": "uint256" - } - ], - "name": "viewCategoryABILegacy", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewConfigABILegacy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewConsumed", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewContribution", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "enclaveChallenge", - "type": "address" - }, - { - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Contribution", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "viewContributionABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.ContributionStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewDeal", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "app", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "dataset", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "pointer", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "price", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Resource", - "name": "workerpool", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "uint256", - "name": "startTime", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botFirst", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "botSize", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "workerStake", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "schedulerRewardRatio", - "type": "uint256" - } - ], - "internalType": "struct IexecLibCore_v5.Deal", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt1", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_id", - "type": "bytes32" - } - ], - "name": "viewDealABILegacy_pt2", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewPresigned", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "viewScore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "viewTask", - "outputs": [ - { - "components": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timeref", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "contributionDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "revealDeadline", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "finalDeadline", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "consensusValue", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "revealCounter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "winnerCounter", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "contributors", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "results", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "resultsTimestamp", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "resultsCallback", - "type": "bytes" - } - ], - "internalType": "struct IexecLibCore_v5.Task", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "viewTaskABILegacy", - "outputs": [ - { - "internalType": "enum IexecLibCore_v5.TaskStatusEnum", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "withdrawEth", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawEthTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "withdrawTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "workerpool_stake_ratio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "workerpoolregistry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"catid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"name\":\"CreateCategory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"UniswapV2Router\",\"outputs\":[{\"internalType\":\"contract IUniswapV2Router02\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"appregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackgas\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contribution_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"countCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createCategory\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"datasetregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"depositForArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712domain_separator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositEthSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateDepositTokenWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawEthWanted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"estimateWithdrawTokenSent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"final_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"groupmember_purpose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kitty_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrdersWithEth\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"requestToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"requestTokenFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"resultFor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reveal_deadline_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeDepositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeDepositEthFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"safeWithdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeWithdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teebroker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"locked\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Account\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"viewAccountABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"viewCategory\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"workClockTimeRef\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Category\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_catid\",\"type\":\"uint256\"}],\"name\":\"viewCategoryABILegacy\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewConfigABILegacy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewConsumed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewContribution\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Contribution\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"viewContributionABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.ContributionStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewDeal\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"app\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"dataset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"pointer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Resource\",\"name\":\"workerpool\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botFirst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"botSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"workerStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"schedulerRewardRatio\",\"type\":\"uint256\"}],\"internalType\":\"struct IexecLibCore_v5.Deal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"viewDealABILegacy_pt2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewPresigned\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"viewScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"viewTask\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeref\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contributionDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"revealDeadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"finalDeadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"consensusValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"revealCounter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winnerCounter\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"contributors\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"resultsTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"resultsCallback\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibCore_v5.Task\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"viewTaskABILegacy\",\"outputs\":[{\"internalType\":\"enum IexecLibCore_v5.TaskStatusEnum\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawEthTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpool_stake_ratio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerpoolregistry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceTokenABILegacy.sol\":\"IexecInterfaceTokenABILegacy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceTokenABILegacy.sol\":{\"keccak256\":\"0x4558196221d8a91212d1328f18f0bf6ade4b91567543d8f6b1800a63b8bd9486\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://04805a66222034a7925b097242713b6548e0609b172fc2a3e11c15c949fc12da\",\"dweb:/ipfs/QmXZVfrbJ927EMit3z3CwBEbWrJ6piKFFKcvtkgfexq9mG\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol\":{\"keccak256\":\"0x42793f9e2a355f6141d35e020ab171c765432d01c5985eaa8a4836a59b425d45\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0d2d6682dd3cc397377d58c78333642a89d93ef8253fd078bedb98c42ffd823e\",\"dweb:/ipfs/QmRhHceCaNuvkhTQEE7wExfNJ9xLHasLiNrYmHJ6zGU5ye\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol\":{\"keccak256\":\"0x0fc7a7e8b0369534d786936faa191e1009d52546663f41fb38a902417de86013\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f4e507d9a833e7c9e02cb58b7abcc7042d13301f6f4a171ba6b18f29e49424b6\",\"dweb:/ipfs/QmbtStaZGTFtdHUXETXNhzRqYYHp1PWxNbnZbQiJwig9V2\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol\":{\"keccak256\":\"0x8fd873d47d70a0627c3b8c0ad7d07d9f812c88bf579d6661accf773c6c7d573e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b3178bf6f47bcfca7514a1a88188c5243de38f3fb3d8608b5769bc9c1629009f\",\"dweb:/ipfs/QmUVYe5uu5NTSZywGVbasmsHL5y32v7F7w5iuXgyzpWCEj\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol\":{\"keccak256\":\"0xed2b960274f874bcf7d158e48743ec35db7633dd124b3a660a5b1653f59518ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://5320f4611eaaf8eb7378592f70d5c5645366705acf2548664254b90ca8e44f78\",\"dweb:/ipfs/QmY6f9mukn7zUZWnTxHoVoPyXQ5d2VS3Q9NrubRzSyoQxu\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol\":{\"keccak256\":\"0xefb1eae4d1089857cd7123cd1ed96495c591f9853335687591c72c8dd6ebaafc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bad0e1a8935d0319b7322d592fef1c2147486960375c53712ea789686b4367f2\",\"dweb:/ipfs/QmVxDamvZMxHGc6rvrgvUj6m3HxZFkr92WLpgQruYQzk7m\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol\":{\"keccak256\":\"0x48a3d6b87e89223fc9e3858342fabd761b55883cdbbcb8b95e0f87c92de758b0\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e1e033e1509c4d7560b214f24301a1748033697c662d2ef2d25ff2e4b0dc1e0e\",\"dweb:/ipfs/Qmaa1XduJbBDEXn9kd1ZqWo8TBi5aiafUFpkFMXQqz3by7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol\":{\"keccak256\":\"0x35891a5e6747ea3f767461e96c0f83a65083266f2a408ca7d12d3f5f75a95b22\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ab801e62787f65163dc730c778fb470dcf8ec2e294184b54905fc9dcd93d61c9\",\"dweb:/ipfs/QmcVsR97kjqQqaggUokYrKKRSFGbgzRpx9ki2wgJtj8rZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol\":{\"keccak256\":\"0xdfe6663ac036a9501d278f7ba1e6144ad59aabee8c289b28c2d800663495ab0f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d6d75060a1464e965ede31661b229fde479df1a860def0e06096fb9067904bdb\",\"dweb:/ipfs/QmQKfbEdiWqXFxVzBgox9TaHzfshQtFRVg5gVu6AZRZx5x\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\":{\"keccak256\":\"0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2\",\"urls\":[\"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb\",\"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG\"]},\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\":{\"keccak256\":\"0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d\",\"urls\":[\"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c\",\"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./modules/interfaces/IOwnable.sol\";\nimport \"./modules/interfaces/IexecAccessors.sol\";\nimport \"./modules/interfaces/IexecAccessorsABILegacy.sol\";\nimport \"./modules/interfaces/IexecCategoryManager.sol\";\nimport \"./modules/interfaces/IexecERC20.sol\";\nimport \"./modules/interfaces/IexecEscrowToken.sol\";\nimport \"./modules/interfaces/IexecEscrowTokenSwap.sol\";\nimport \"./modules/interfaces/IexecMaintenance.sol\";\nimport \"./modules/interfaces/IexecOrderManagement.sol\";\nimport \"./modules/interfaces/IexecPoco1.sol\";\nimport \"./modules/interfaces/IexecPoco2.sol\";\nimport \"./modules/interfaces/IexecRelay.sol\";\nimport \"./modules/interfaces/IexecTokenSpender.sol\";\nimport \"./modules/interfaces/ENSIntegration.sol\";\n\n\ninterface IexecInterfaceTokenABILegacy is\n\tIOwnable,\n\tIexecAccessors,\n\tIexecAccessorsABILegacy,\n\tIexecCategoryManager,\n\tIexecERC20,\n\tIexecEscrowToken,\n\tIexecEscrowTokenSwap,\n\tIexecMaintenance,\n\tIexecOrderManagement,\n\tIexecPoco1,\n\tIexecPoco2,\n\tIexecRelay,\n\tIexecTokenSpender,\n\tENSIntegration\n{\n\treceive() external override(IexecEscrowToken, IexecEscrowTokenSwap) payable;\n\tfallback() external override(IexecEscrowToken, IexecEscrowTokenSwap) payable;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceTokenABILegacy.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceTokenABILegacy.sol", - "exportedSymbols": { - "IexecInterfaceTokenABILegacy": [ - 195 - ] - }, - "id": 196, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 139, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:3" - }, - { - "id": 140, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:3" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 141, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 8836, - "src": "1301:43:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 142, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9026, - "src": "1345:49:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "./modules/interfaces/IexecAccessorsABILegacy.sol", - "id": 143, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9153, - "src": "1395:58:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 144, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9178, - "src": "1454:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 145, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9256, - "src": "1510:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "./modules/interfaces/IexecEscrowToken.sol", - "id": 146, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9400, - "src": "1556:51:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "./modules/interfaces/IexecEscrowTokenSwap.sol", - "id": 147, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9518, - "src": "1608:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 148, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9565, - "src": "1664:51:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 149, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9635, - "src": "1716:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 150, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9732, - "src": "1772:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 151, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9915, - "src": "1818:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 152, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9956, - "src": "1864:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 153, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9973, - "src": "1910:52:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 154, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 8813, - "src": "1963:49:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 155, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "2058:8:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 156, - "nodeType": "InheritanceSpecifier", - "src": "2058:8:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 157, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2069:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 158, - "nodeType": "InheritanceSpecifier", - "src": "2069:14:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 159, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "2086:23:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 160, - "nodeType": "InheritanceSpecifier", - "src": "2086:23:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 161, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2112:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 162, - "nodeType": "InheritanceSpecifier", - "src": "2112:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 163, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2135:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 164, - "nodeType": "InheritanceSpecifier", - "src": "2135:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 165, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2148:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 166, - "nodeType": "InheritanceSpecifier", - "src": "2148:16:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 167, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2167:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 168, - "nodeType": "InheritanceSpecifier", - "src": "2167:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 169, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2190:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 170, - "nodeType": "InheritanceSpecifier", - "src": "2190:16:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 171, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2209:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 172, - "nodeType": "InheritanceSpecifier", - "src": "2209:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 173, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2232:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 174, - "nodeType": "InheritanceSpecifier", - "src": "2232:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 175, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2245:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 176, - "nodeType": "InheritanceSpecifier", - "src": "2245:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 177, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2258:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 178, - "nodeType": "InheritanceSpecifier", - "src": "2258:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 179, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2271:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 180, - "nodeType": "InheritanceSpecifier", - "src": "2271:17:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 181, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2291:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 182, - "nodeType": "InheritanceSpecifier", - "src": "2291:14:3" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9152, - 9177, - 9255, - 9399, - 9517, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 195, - "linearizedBaseContracts": [ - 195, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9517, - 9399, - 9255, - 9177, - 9152, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceTokenABILegacy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9347, - 9407 - ], - "body": null, - "documentation": null, - "id": 188, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 186, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 184, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2338:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 185, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2356:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2329:48:3" - }, - "parameters": { - "id": 183, - "nodeType": "ParameterList", - "parameters": [], - "src": "2316:2:3" - }, - "returnParameters": { - "id": 187, - "nodeType": "ParameterList", - "parameters": [], - "src": "2385:0:3" - }, - "scope": 195, - "src": "2309:77:3", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350, - 9410 - ], - "body": null, - "documentation": null, - "id": 194, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 192, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 190, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2417:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 191, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2435:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2408:48:3" - }, - "parameters": { - "id": 189, - "nodeType": "ParameterList", - "parameters": [], - "src": "2396:2:3" - }, - "returnParameters": { - "id": 193, - "nodeType": "ParameterList", - "parameters": [], - "src": "2464:0:3" - }, - "scope": 195, - "src": "2388:77:3", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 196, - "src": "2015:452:3" - } - ], - "src": "1242:1226:3" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/IexecInterfaceTokenABILegacy.sol", - "exportedSymbols": { - "IexecInterfaceTokenABILegacy": [ - 195 - ] - }, - "id": 196, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 139, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:3" - }, - { - "id": 140, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:3" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IOwnable.sol", - "file": "./modules/interfaces/IOwnable.sol", - "id": 141, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 8836, - "src": "1301:43:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessors.sol", - "file": "./modules/interfaces/IexecAccessors.sol", - "id": 142, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9026, - "src": "1345:49:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecAccessorsABILegacy.sol", - "file": "./modules/interfaces/IexecAccessorsABILegacy.sol", - "id": 143, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9153, - "src": "1395:58:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecCategoryManager.sol", - "file": "./modules/interfaces/IexecCategoryManager.sol", - "id": 144, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9178, - "src": "1454:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecERC20.sol", - "file": "./modules/interfaces/IexecERC20.sol", - "id": 145, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9256, - "src": "1510:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowToken.sol", - "file": "./modules/interfaces/IexecEscrowToken.sol", - "id": 146, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9400, - "src": "1556:51:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecEscrowTokenSwap.sol", - "file": "./modules/interfaces/IexecEscrowTokenSwap.sol", - "id": 147, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9518, - "src": "1608:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "./modules/interfaces/IexecMaintenance.sol", - "id": 148, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9565, - "src": "1664:51:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "./modules/interfaces/IexecOrderManagement.sol", - "id": 149, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9635, - "src": "1716:55:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "./modules/interfaces/IexecPoco1.sol", - "id": 150, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9732, - "src": "1772:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "./modules/interfaces/IexecPoco2.sol", - "id": 151, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9915, - "src": "1818:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "./modules/interfaces/IexecRelay.sol", - "id": 152, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9956, - "src": "1864:45:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "./modules/interfaces/IexecTokenSpender.sol", - "id": 153, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 9973, - "src": "1910:52:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/ENSIntegration.sol", - "file": "./modules/interfaces/ENSIntegration.sol", - "id": 154, - "nodeType": "ImportDirective", - "scope": 196, - "sourceUnit": 8813, - "src": "1963:49:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 155, - "name": "IOwnable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8835, - "src": "2058:8:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOwnable_$8835", - "typeString": "contract IOwnable" - } - }, - "id": 156, - "nodeType": "InheritanceSpecifier", - "src": "2058:8:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 157, - "name": "IexecAccessors", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9025, - "src": "2069:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessors_$9025", - "typeString": "contract IexecAccessors" - } - }, - "id": 158, - "nodeType": "InheritanceSpecifier", - "src": "2069:14:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 159, - "name": "IexecAccessorsABILegacy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9152, - "src": "2086:23:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecAccessorsABILegacy_$9152", - "typeString": "contract IexecAccessorsABILegacy" - } - }, - "id": 160, - "nodeType": "InheritanceSpecifier", - "src": "2086:23:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 161, - "name": "IexecCategoryManager", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9177, - "src": "2112:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecCategoryManager_$9177", - "typeString": "contract IexecCategoryManager" - } - }, - "id": 162, - "nodeType": "InheritanceSpecifier", - "src": "2112:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 163, - "name": "IexecERC20", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9255, - "src": "2135:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20_$9255", - "typeString": "contract IexecERC20" - } - }, - "id": 164, - "nodeType": "InheritanceSpecifier", - "src": "2135:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 165, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2148:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - "id": 166, - "nodeType": "InheritanceSpecifier", - "src": "2148:16:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 167, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2167:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - }, - "id": 168, - "nodeType": "InheritanceSpecifier", - "src": "2167:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 169, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "2190:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 170, - "nodeType": "InheritanceSpecifier", - "src": "2190:16:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 171, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "2209:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 172, - "nodeType": "InheritanceSpecifier", - "src": "2209:20:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 173, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "2232:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 174, - "nodeType": "InheritanceSpecifier", - "src": "2232:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 175, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "2245:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 176, - "nodeType": "InheritanceSpecifier", - "src": "2245:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 177, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "2258:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 178, - "nodeType": "InheritanceSpecifier", - "src": "2258:10:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 179, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9972, - "src": "2271:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9972", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 180, - "nodeType": "InheritanceSpecifier", - "src": "2271:17:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 181, - "name": "ENSIntegration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8812, - "src": "2291:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSIntegration_$8812", - "typeString": "contract ENSIntegration" - } - }, - "id": 182, - "nodeType": "InheritanceSpecifier", - "src": "2291:14:3" - } - ], - "contractDependencies": [ - 8812, - 8835, - 9025, - 9152, - 9177, - 9255, - 9399, - 9517, - 9564, - 9634, - 9731, - 9914, - 9955, - 9972, - 13136 - ], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 195, - "linearizedBaseContracts": [ - 195, - 8812, - 9972, - 9955, - 9914, - 9731, - 9634, - 9564, - 9517, - 9399, - 9255, - 9177, - 9152, - 9025, - 13136, - 8835 - ], - "name": "IexecInterfaceTokenABILegacy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9347, - 9407 - ], - "body": null, - "documentation": null, - "id": 188, - "implemented": false, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 186, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 184, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2338:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 185, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2356:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2329:48:3" - }, - "parameters": { - "id": 183, - "nodeType": "ParameterList", - "parameters": [], - "src": "2316:2:3" - }, - "returnParameters": { - "id": 187, - "nodeType": "ParameterList", - "parameters": [], - "src": "2385:0:3" - }, - "scope": 195, - "src": "2309:77:3", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9350, - 9410 - ], - "body": null, - "documentation": null, - "id": 194, - "implemented": false, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 192, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "contractScope": null, - "id": 190, - "name": "IexecEscrowToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9399, - "src": "2417:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowToken_$9399", - "typeString": "contract IexecEscrowToken" - } - }, - { - "contractScope": null, - "id": 191, - "name": "IexecEscrowTokenSwap", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9517, - "src": "2435:20:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecEscrowTokenSwap_$9517", - "typeString": "contract IexecEscrowTokenSwap" - } - } - ], - "src": "2408:48:3" - }, - "parameters": { - "id": 189, - "nodeType": "ParameterList", - "parameters": [], - "src": "2396:2:3" - }, - "returnParameters": { - "id": 193, - "nodeType": "ParameterList", - "parameters": [], - "src": "2464:0:3" - }, - "scope": 195, - "src": "2388:77:3", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 196, - "src": "2015:452:3" - } - ], - "src": "1242:1226:3" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.520Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecLibCore_v5.json b/build/contracts/IexecLibCore_v5.json deleted file mode 100644 index b9e89742f..000000000 --- a/build/contracts/IexecLibCore_v5.json +++ /dev/null @@ -1,3025 +0,0 @@ -{ - "contractName": "IexecLibCore_v5", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":\"IexecLibCore_v5\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ab00ce399cf940e898acdb98cc6c874a0e6a00efc91421673eca33ad2981a87e64736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ab00ce399cf940e898acdb98cc6c874a0e6a00efc91421673eca33ad2981a87e64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1268:1797:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1268:1797:8:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\n\nlibrary IexecLibCore_v5\n{\n\t/**\n\t* Tools\n\t*/\n\tstruct Account\n\t{\n\t\tuint256 stake;\n\t\tuint256 locked;\n\t}\n\tstruct Category\n\t{\n\t\tstring name;\n\t\tstring description;\n\t\tuint256 workClockTimeRef;\n\t}\n\n\t/**\n\t * Clerk - Deals\n\t */\n\tstruct Resource\n\t{\n\t\taddress pointer;\n\t\taddress owner;\n\t\tuint256 price;\n\t}\n\tstruct Deal\n\t{\n\t\t// Ressources\n\t\tResource app;\n\t\tResource dataset;\n\t\tResource workerpool;\n\t\tuint256 trust;\n\t\tuint256 category;\n\t\tbytes32 tag;\n\t\t// execution details\n\t\taddress requester;\n\t\taddress beneficiary;\n\t\taddress callback;\n\t\tstring params;\n\t\t// execution settings\n\t\tuint256 startTime;\n\t\tuint256 botFirst;\n\t\tuint256 botSize;\n\t\t// consistency\n\t\tuint256 workerStake;\n\t\tuint256 schedulerRewardRatio;\n\t}\n\n\t/**\n\t * Tasks\n\t */\n\tenum TaskStatusEnum\n\t{\n\t\tUNSET, // Work order not yet initialized (invalid address)\n\t\tACTIVE, // Marketed → constributions are open\n\t\tREVEALING, // Starting consensus reveal\n\t\tCOMPLETED, // Consensus achieved\n\t\tFAILED // Failed consensus\n\t}\n\tstruct Task\n\t{\n\t\tTaskStatusEnum status;\n\t\tbytes32 dealid;\n\t\tuint256 idx;\n\t\tuint256 timeref;\n\t\tuint256 contributionDeadline;\n\t\tuint256 revealDeadline;\n\t\tuint256 finalDeadline;\n\t\tbytes32 consensusValue;\n\t\tuint256 revealCounter;\n\t\tuint256 winnerCounter;\n\t\taddress[] contributors;\n\t\tbytes32 resultDigest;\n\t\tbytes results;\n\t\tuint256 resultsTimestamp;\n\t\tbytes resultsCallback; // Expansion - result separation\n\t}\n\n\t/**\n\t * Consensus\n\t */\n\tstruct Consensus\n\t{\n\t\tmapping(bytes32 => uint256) group;\n\t\tuint256 total;\n\t}\n\n\t/**\n\t * Consensus\n\t */\n\tenum ContributionStatusEnum\n\t{\n\t\tUNSET,\n\t\tCONTRIBUTED,\n\t\tPROVED,\n\t\tREJECTED\n\t}\n\tstruct Contribution\n\t{\n\t\tContributionStatusEnum status;\n\t\tbytes32 resultHash;\n\t\tbytes32 resultSeal;\n\t\taddress enclaveChallenge;\n\t\tuint256 weight;\n\t}\n\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "exportedSymbols": { - "IexecLibCore_v5": [ - 1133 - ] - }, - "id": 1134, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1021, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:8" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 1133, - "linearizedBaseContracts": [ - 1133 - ], - "name": "IexecLibCore_v5", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "IexecLibCore_v5.Account", - "id": 1026, - "members": [ - { - "constant": false, - "id": 1023, - "mutability": "mutable", - "name": "stake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1026, - "src": "1333:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1022, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1333:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1025, - "mutability": "mutable", - "name": "locked", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1026, - "src": "1350:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1350:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Account", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1313:55:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Category", - "id": 1033, - "members": [ - { - "constant": false, - "id": 1028, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1391:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1027, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1391:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1030, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1407:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1029, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1407:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1032, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1430:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1430:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Category", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1370:88:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Resource", - "id": 1040, - "members": [ - { - "constant": false, - "id": 1035, - "mutability": "mutable", - "name": "pointer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1510:15:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1034, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1510:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1037, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1529:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1529:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1039, - "mutability": "mutable", - "name": "price", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1546:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1038, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1546:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Resource", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1489:74:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Deal", - "id": 1071, - "members": [ - { - "constant": false, - "id": 1042, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1598:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1041, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1598:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1044, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1614:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1043, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1614:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1046, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1634:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1045, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1634:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1048, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1657:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1047, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1657:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1050, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1674:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1049, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1674:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1052, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1694:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1051, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1694:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1054, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1732:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1732:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1056, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1753:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1055, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1058, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1776:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1057, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1776:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1060, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1796:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1059, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1796:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1062, - "mutability": "mutable", - "name": "startTime", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1838:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1061, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1064, - "mutability": "mutable", - "name": "botFirst", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1859:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1859:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1066, - "mutability": "mutable", - "name": "botSize", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1879:15:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1065, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1879:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1068, - "mutability": "mutable", - "name": "workerStake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1915:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1915:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1070, - "mutability": "mutable", - "name": "schedulerRewardRatio", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1938:28:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1938:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Deal", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1565:405:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.TaskStatusEnum", - "id": 1077, - "members": [ - { - "id": 1072, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "2018:5:8" - }, - { - "id": 1073, - "name": "ACTIVE", - "nodeType": "EnumValue", - "src": "2083:6:8" - }, - { - "id": 1074, - "name": "REVEALING", - "nodeType": "EnumValue", - "src": "2136:9:8" - }, - { - "id": 1075, - "name": "COMPLETED", - "nodeType": "EnumValue", - "src": "2178:9:8" - }, - { - "id": 1076, - "name": "FAILED", - "nodeType": "EnumValue", - "src": "2213:6:8" - } - ], - "name": "TaskStatusEnum", - "nodeType": "EnumDefinition", - "src": "1993:253:8" - }, - { - "canonicalName": "IexecLibCore_v5.Task", - "id": 1109, - "members": [ - { - "constant": false, - "id": 1079, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2265:21:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1078, - "name": "TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1077, - "src": "2265:14:8", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1081, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2290:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1080, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2290:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1083, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2310:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1082, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2310:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1085, - "mutability": "mutable", - "name": "timeref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2327:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1084, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2327:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1087, - "mutability": "mutable", - "name": "contributionDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2348:30:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2348:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1089, - "mutability": "mutable", - "name": "revealDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2382:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1088, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2382:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1091, - "mutability": "mutable", - "name": "finalDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2410:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2410:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1093, - "mutability": "mutable", - "name": "consensusValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2437:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1092, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2437:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1095, - "mutability": "mutable", - "name": "revealCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2465:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2465:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1097, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2492:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1096, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2492:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1100, - "mutability": "mutable", - "name": "contributors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2519:22:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 1098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1099, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2519:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1102, - "mutability": "mutable", - "name": "resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2545:22:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1101, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2545:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1104, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2571:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1103, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2571:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1106, - "mutability": "mutable", - "name": "resultsTimestamp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2592:26:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1105, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2592:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1108, - "mutability": "mutable", - "name": "resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2622:25:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1107, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2622:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Task", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2248:436:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Consensus", - "id": 1116, - "members": [ - { - "constant": false, - "id": 1113, - "mutability": "mutable", - "name": "group", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1116, - "src": "2733:33:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 1112, - "keyType": { - "id": 1110, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2741:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "2733:27:8", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 1111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2752:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1115, - "mutability": "mutable", - "name": "total", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1116, - "src": "2770:33:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2770:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Consensus", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2711:96:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.ContributionStatusEnum", - "id": 1121, - "members": [ - { - "id": 1117, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "2867:5:8" - }, - { - "id": 1118, - "name": "CONTRIBUTED", - "nodeType": "EnumValue", - "src": "2876:11:8" - }, - { - "id": 1119, - "name": "PROVED", - "nodeType": "EnumValue", - "src": "2891:6:8" - }, - { - "id": 1120, - "name": "REJECTED", - "nodeType": "EnumValue", - "src": "2901:8:8" - } - ], - "name": "ContributionStatusEnum", - "nodeType": "EnumDefinition", - "src": "2834:78:8" - }, - { - "canonicalName": "IexecLibCore_v5.Contribution", - "id": 1132, - "members": [ - { - "constant": false, - "id": 1123, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2939:29:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1122, - "name": "ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1121, - "src": "2939:22:8", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1125, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2972:18:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1124, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2972:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1127, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2994:18:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1126, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2994:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1129, - "mutability": "mutable", - "name": "enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "3016:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3016:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1131, - "mutability": "mutable", - "name": "weight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "3044:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3044:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Contribution", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2914:148:8", - "visibility": "public" - } - ], - "scope": 1134, - "src": "1268:1797:8" - } - ], - "src": "1242:1824:8" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "exportedSymbols": { - "IexecLibCore_v5": [ - 1133 - ] - }, - "id": 1134, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1021, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:8" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 1133, - "linearizedBaseContracts": [ - 1133 - ], - "name": "IexecLibCore_v5", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "IexecLibCore_v5.Account", - "id": 1026, - "members": [ - { - "constant": false, - "id": 1023, - "mutability": "mutable", - "name": "stake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1026, - "src": "1333:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1022, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1333:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1025, - "mutability": "mutable", - "name": "locked", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1026, - "src": "1350:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1350:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Account", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1313:55:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Category", - "id": 1033, - "members": [ - { - "constant": false, - "id": 1028, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1391:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1027, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1391:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1030, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1407:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1029, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1407:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1032, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1033, - "src": "1430:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1430:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Category", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1370:88:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Resource", - "id": 1040, - "members": [ - { - "constant": false, - "id": 1035, - "mutability": "mutable", - "name": "pointer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1510:15:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1034, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1510:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1037, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1529:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1529:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1039, - "mutability": "mutable", - "name": "price", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1040, - "src": "1546:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1038, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1546:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Resource", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1489:74:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Deal", - "id": 1071, - "members": [ - { - "constant": false, - "id": 1042, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1598:12:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1041, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1598:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1044, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1614:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1043, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1614:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1046, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1634:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - }, - "typeName": { - "contractScope": null, - "id": 1045, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1040, - "src": "1634:8:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1040_storage_ptr", - "typeString": "struct IexecLibCore_v5.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1048, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1657:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1047, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1657:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1050, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1674:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1049, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1674:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1052, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1694:11:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1051, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1694:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1054, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1732:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1732:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1056, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1753:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1055, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1058, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1776:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1057, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1776:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1060, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1796:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1059, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1796:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1062, - "mutability": "mutable", - "name": "startTime", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1838:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1061, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1064, - "mutability": "mutable", - "name": "botFirst", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1859:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1859:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1066, - "mutability": "mutable", - "name": "botSize", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1879:15:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1065, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1879:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1068, - "mutability": "mutable", - "name": "workerStake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1915:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1915:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1070, - "mutability": "mutable", - "name": "schedulerRewardRatio", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1071, - "src": "1938:28:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1938:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Deal", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "1565:405:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.TaskStatusEnum", - "id": 1077, - "members": [ - { - "id": 1072, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "2018:5:8" - }, - { - "id": 1073, - "name": "ACTIVE", - "nodeType": "EnumValue", - "src": "2083:6:8" - }, - { - "id": 1074, - "name": "REVEALING", - "nodeType": "EnumValue", - "src": "2136:9:8" - }, - { - "id": 1075, - "name": "COMPLETED", - "nodeType": "EnumValue", - "src": "2178:9:8" - }, - { - "id": 1076, - "name": "FAILED", - "nodeType": "EnumValue", - "src": "2213:6:8" - } - ], - "name": "TaskStatusEnum", - "nodeType": "EnumDefinition", - "src": "1993:253:8" - }, - { - "canonicalName": "IexecLibCore_v5.Task", - "id": 1109, - "members": [ - { - "constant": false, - "id": 1079, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2265:21:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1078, - "name": "TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1077, - "src": "2265:14:8", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1077", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1081, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2290:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1080, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2290:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1083, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2310:13:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1082, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2310:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1085, - "mutability": "mutable", - "name": "timeref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2327:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1084, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2327:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1087, - "mutability": "mutable", - "name": "contributionDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2348:30:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2348:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1089, - "mutability": "mutable", - "name": "revealDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2382:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1088, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2382:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1091, - "mutability": "mutable", - "name": "finalDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2410:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2410:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1093, - "mutability": "mutable", - "name": "consensusValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2437:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1092, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2437:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1095, - "mutability": "mutable", - "name": "revealCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2465:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2465:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1097, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2492:23:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1096, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2492:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1100, - "mutability": "mutable", - "name": "contributors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2519:22:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 1098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 1099, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2519:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1102, - "mutability": "mutable", - "name": "resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2545:22:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1101, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2545:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1104, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2571:17:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1103, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2571:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1106, - "mutability": "mutable", - "name": "resultsTimestamp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2592:26:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1105, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2592:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1108, - "mutability": "mutable", - "name": "resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1109, - "src": "2622:25:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1107, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2622:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Task", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2248:436:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.Consensus", - "id": 1116, - "members": [ - { - "constant": false, - "id": 1113, - "mutability": "mutable", - "name": "group", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1116, - "src": "2733:33:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 1112, - "keyType": { - "id": 1110, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2741:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "2733:27:8", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 1111, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2752:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1115, - "mutability": "mutable", - "name": "total", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1116, - "src": "2770:33:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2770:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Consensus", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2711:96:8", - "visibility": "public" - }, - { - "canonicalName": "IexecLibCore_v5.ContributionStatusEnum", - "id": 1121, - "members": [ - { - "id": 1117, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "2867:5:8" - }, - { - "id": 1118, - "name": "CONTRIBUTED", - "nodeType": "EnumValue", - "src": "2876:11:8" - }, - { - "id": 1119, - "name": "PROVED", - "nodeType": "EnumValue", - "src": "2891:6:8" - }, - { - "id": 1120, - "name": "REJECTED", - "nodeType": "EnumValue", - "src": "2901:8:8" - } - ], - "name": "ContributionStatusEnum", - "nodeType": "EnumDefinition", - "src": "2834:78:8" - }, - { - "canonicalName": "IexecLibCore_v5.Contribution", - "id": 1132, - "members": [ - { - "constant": false, - "id": 1123, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2939:29:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 1122, - "name": "ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1121, - "src": "2939:22:8", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1121", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1125, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2972:18:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1124, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2972:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1127, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "2994:18:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1126, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2994:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1129, - "mutability": "mutable", - "name": "enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "3016:24:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1128, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3016:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1131, - "mutability": "mutable", - "name": "weight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1132, - "src": "3044:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1130, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3044:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Contribution", - "nodeType": "StructDefinition", - "scope": 1133, - "src": "2914:148:8", - "visibility": "public" - } - ], - "scope": 1134, - "src": "1268:1797:8" - } - ], - "src": "1242:1824:8" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.780Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecLibOrders_v5.json b/build/contracts/IexecLibOrders_v5.json deleted file mode 100644 index 702b1cebc..000000000 --- a/build/contracts/IexecLibOrders_v5.json +++ /dev/null @@ -1,13819 +0,0 @@ -{ - "contractName": "IexecLibOrders_v5", - "abi": [ - { - "inputs": [], - "name": "APPORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "APPORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "DATASETORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "DATASETORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "EIP712DOMAIN_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "REQUESTORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "REQUESTORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "WORKERPOOLORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "datasethash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "_requestorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "_datasetorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "_workerpoolorderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "IexecLibOrders_v5.OrderOperationEnum" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "_apporderoperation", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "_domain", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "domainhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "apphash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "requesthash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "workerpoolhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function", - "constant": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"APPORDEROPERATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"APPORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DATASETORDEROPERATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DATASETORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REQUESTORDEROPERATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REQUESTORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WORKERPOOLORDEROPERATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WORKERPOOLORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"datasethash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"IexecLibOrders_v5.OrderOperationEnum\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"_requestorderoperation\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"IexecLibOrders_v5.OrderOperationEnum\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"_datasetorderoperation\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"IexecLibOrders_v5.OrderOperationEnum\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"_workerpoolorderoperation\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"IexecLibOrders_v5.OrderOperationEnum\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"_apporderoperation\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"_domain\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"domainhash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"apphash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"requesthash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"workerpoolhash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":\"IexecLibOrders_v5\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]}},\"version\":1}", - "bytecode": "0x610f46610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c8063735f5619116100ac5780639a6f72ee1161007b5780639a6f72ee146101fb578063b75cdd5314610203578063c49f91d31461020b578063c4b7bfc314610213578063fed985fe1461021b57610120565b8063735f5619146101ba57806374147c4d146101c25780637c0d54d3146101d55780638ac03f33146101e857610120565b806359b123db116100f357806359b123db1461017c5780635b559f6a1461018457806365db1dbb146101975780636cf30b8b1461019f5780636f84d2da146101b257610120565b806311b2eee214610125578063207dbbfe1461014e57806320aabe53146101565780634118eb9814610169575b600080fd5b610138610133366004610aba565b61022e565b6040516101459190610d79565b60405180910390f35b6101386102ac565b610138610164366004610b95565b6102d0565b610138610177366004610a80565b610315565b610138610345565b610138610192366004610c66565b610369565b610138610399565b6101386101ad366004610a80565b6103bd565b6101386103ed565b610138610411565b6101386101d0366004610aec565b610435565b6101386101e3366004610aba565b610491565b6101386101f6366004610c34565b6104f2565b6101386105c0565b6101386105e4565b610138610608565b61013861062c565b610138610229366004610cc4565b610650565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955160009961028f997f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c9991989197969594939201610dbd565b604051602081830303815290604052805190602001209050919050565b7f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00881565b80516000907f0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c790610300906104f2565b60208085015160405161028f94939201610e94565b80516000907f075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec906103009061022e565b7f322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c864438881565b80516000907f322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c86443889061030090610650565b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb81565b80516000907f0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee09061030090610491565b7f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c81565b7f0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c781565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b8260000151805190602001208360200151805190602001208460400151856060015160405160200161028f959493929190610e68565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955160009961028f997f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d0089991989197969594939201610dbd565b80516020808301516040808501516060860151608087015160a08801519351600097610547977ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0979196919594939201610d82565b60408051601f198184030181529082905260c084015160e08501516101008601516101208701516101408801516101608901516101808a01516101a08b015180516020918201206101c08d0151999a6105a29a919201610d25565b60408051601f198184030181529082905261028f9291602001610cf6565b7ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae081565b7f0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee081565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b7f075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec81565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b01516101208c0151975160009b61028f9b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb9b919a91999897969594939201610e0b565b80356001600160a01b03811681146106d657600080fd5b92915050565b600082601f8301126106ec578081fd5b81356001600160401b03811115610701578182fd5b610714601f8201601f1916602001610eba565b915080825283602082850101111561072b57600080fd5b8060208401602084013760009082016020015292915050565b8035600281106106d657600080fd5b600060608284031215610764578081fd5b61076e6060610eba565b905081356001600160401b038082111561078757600080fd5b610793858386016107dc565b835260208401359150600282106107a957600080fd5b81602084015260408401359150808211156107c357600080fd5b506107d0848285016106dc565b60408301525092915050565b60006101208083850312156107ef578182fd5b6107f881610eba565b91505061080583836106bf565b815260208201356020820152604082013560408201526060820135606082015261083283608084016106bf565b60808201526108448360a084016106bf565b60a08201526108568360c084016106bf565b60c082015260e082013560e0820152610100808301356001600160401b0381111561088057600080fd5b61088c858286016106dc565b82840152505092915050565b60006102008083850312156108ab578182fd5b6108b481610eba565b9150506108c183836106bf565b8152602082013560208201526108da83604084016106bf565b6040820152606082013560608201526108f683608084016106bf565b608082015260a082013560a08201526109128360c084016106bf565b60c082015260e08281013590820152610100808301359082015261012080830135908201526101408083013590820152610160610951848285016106bf565b90820152610180610964848483016106bf565b908201526101a0828101356001600160401b038082111561098457600080fd5b610990868387016106dc565b838501526101c0925082850135838501526101e09250828501359150808211156109b957600080fd5b5061088c858286016106dc565b60006101608083850312156109d9578182fd5b6109e281610eba565b9150506109ef83836106bf565b81526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a0820152610a308360c084016106bf565b60c0820152610a428360e084016106bf565b60e0820152610100610a56848285016106bf565b908201526101208281013590820152610140808301356001600160401b0381111561088057600080fd5b600060208284031215610a91578081fd5b81356001600160401b03811115610aa6578182fd5b610ab284828501610753565b949350505050565b600060208284031215610acb578081fd5b81356001600160401b03811115610ae0578182fd5b610ab2848285016107dc565b600060208284031215610afd578081fd5b81356001600160401b0380821115610b13578283fd5b9083019060808286031215610b26578283fd5b610b306080610eba565b823582811115610b3e578485fd5b610b4a878286016106dc565b825250602083013582811115610b5e578485fd5b610b6a878286016106dc565b60208301525060408301356040820152610b8786606085016106bf565b606082015295945050505050565b600060208284031215610ba6578081fd5b81356001600160401b0380821115610bbc578283fd5b9083019060608286031215610bcf578283fd5b610bd96060610eba565b823582811115610be7578485fd5b610bf387828601610898565b825250610c038660208501610744565b6020820152604083013582811115610c19578485fd5b610c25878286016106dc565b60408301525095945050505050565b600060208284031215610c45578081fd5b81356001600160401b03811115610c5a578182fd5b610ab284828501610898565b600060208284031215610c77578081fd5b81356001600160401b0380821115610c8d578283fd5b9083019060608286031215610ca0578283fd5b610caa6060610eba565b823582811115610cb8578485fd5b610bf3878286016109c6565b600060208284031215610cd5578081fd5b81356001600160401b03811115610cea578182fd5b610ab2848285016109c6565b60008351610d08818460208801610ee0565b835190830190610d1c818360208801610ee0565b01949350505050565b6001600160a01b03998a1681526020810198909852604088019690965260608701949094526080860192909252851660a085015290931660c083015260e08201929092526101008101919091526101200190565b90815260200190565b9687526001600160a01b03958616602088015260408701949094529184166060860152608085015290911660a083015260c082015260e00190565b9889526001600160a01b0397881660208a0152604089019690965260608801949094526080870192909252841660a0860152831660c085015290911660e08301526101008201526101200190565b9a8b526001600160a01b03998a1660208c015260408b019890985260608a0196909652608089019490945260a088019290925260c0870152841660e086015283166101008501529091166101208301526101408201526101600190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b838152602081018390526060810160028310610eac57fe5b826040830152949350505050565b6040518181016001600160401b0381118282101715610ed857600080fd5b604052919050565b60005b83811015610efb578181015183820152602001610ee3565b83811115610f0a576000848401525b5050505056fea26469706673582212204e0ff161cb35e3296a6cde51a786e16d82e77376289bb11df57bef40aa440af764736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c8063735f5619116100ac5780639a6f72ee1161007b5780639a6f72ee146101fb578063b75cdd5314610203578063c49f91d31461020b578063c4b7bfc314610213578063fed985fe1461021b57610120565b8063735f5619146101ba57806374147c4d146101c25780637c0d54d3146101d55780638ac03f33146101e857610120565b806359b123db116100f357806359b123db1461017c5780635b559f6a1461018457806365db1dbb146101975780636cf30b8b1461019f5780636f84d2da146101b257610120565b806311b2eee214610125578063207dbbfe1461014e57806320aabe53146101565780634118eb9814610169575b600080fd5b610138610133366004610aba565b61022e565b6040516101459190610d79565b60405180910390f35b6101386102ac565b610138610164366004610b95565b6102d0565b610138610177366004610a80565b610315565b610138610345565b610138610192366004610c66565b610369565b610138610399565b6101386101ad366004610a80565b6103bd565b6101386103ed565b610138610411565b6101386101d0366004610aec565b610435565b6101386101e3366004610aba565b610491565b6101386101f6366004610c34565b6104f2565b6101386105c0565b6101386105e4565b610138610608565b61013861062c565b610138610229366004610cc4565b610650565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955160009961028f997f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c9991989197969594939201610dbd565b604051602081830303815290604052805190602001209050919050565b7f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00881565b80516000907f0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c790610300906104f2565b60208085015160405161028f94939201610e94565b80516000907f075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec906103009061022e565b7f322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c864438881565b80516000907f322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c86443889061030090610650565b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb81565b80516000907f0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee09061030090610491565b7f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c81565b7f0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c781565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b8260000151805190602001208360200151805190602001208460400151856060015160405160200161028f959493929190610e68565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955160009961028f997f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d0089991989197969594939201610dbd565b80516020808301516040808501516060860151608087015160a08801519351600097610547977ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0979196919594939201610d82565b60408051601f198184030181529082905260c084015160e08501516101008601516101208701516101408801516101608901516101808a01516101a08b015180516020918201206101c08d0151999a6105a29a919201610d25565b60408051601f198184030181529082905261028f9291602001610cf6565b7ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae081565b7f0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee081565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b7f075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec81565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b01516101208c0151975160009b61028f9b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb9b919a91999897969594939201610e0b565b80356001600160a01b03811681146106d657600080fd5b92915050565b600082601f8301126106ec578081fd5b81356001600160401b03811115610701578182fd5b610714601f8201601f1916602001610eba565b915080825283602082850101111561072b57600080fd5b8060208401602084013760009082016020015292915050565b8035600281106106d657600080fd5b600060608284031215610764578081fd5b61076e6060610eba565b905081356001600160401b038082111561078757600080fd5b610793858386016107dc565b835260208401359150600282106107a957600080fd5b81602084015260408401359150808211156107c357600080fd5b506107d0848285016106dc565b60408301525092915050565b60006101208083850312156107ef578182fd5b6107f881610eba565b91505061080583836106bf565b815260208201356020820152604082013560408201526060820135606082015261083283608084016106bf565b60808201526108448360a084016106bf565b60a08201526108568360c084016106bf565b60c082015260e082013560e0820152610100808301356001600160401b0381111561088057600080fd5b61088c858286016106dc565b82840152505092915050565b60006102008083850312156108ab578182fd5b6108b481610eba565b9150506108c183836106bf565b8152602082013560208201526108da83604084016106bf565b6040820152606082013560608201526108f683608084016106bf565b608082015260a082013560a08201526109128360c084016106bf565b60c082015260e08281013590820152610100808301359082015261012080830135908201526101408083013590820152610160610951848285016106bf565b90820152610180610964848483016106bf565b908201526101a0828101356001600160401b038082111561098457600080fd5b610990868387016106dc565b838501526101c0925082850135838501526101e09250828501359150808211156109b957600080fd5b5061088c858286016106dc565b60006101608083850312156109d9578182fd5b6109e281610eba565b9150506109ef83836106bf565b81526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a0820152610a308360c084016106bf565b60c0820152610a428360e084016106bf565b60e0820152610100610a56848285016106bf565b908201526101208281013590820152610140808301356001600160401b0381111561088057600080fd5b600060208284031215610a91578081fd5b81356001600160401b03811115610aa6578182fd5b610ab284828501610753565b949350505050565b600060208284031215610acb578081fd5b81356001600160401b03811115610ae0578182fd5b610ab2848285016107dc565b600060208284031215610afd578081fd5b81356001600160401b0380821115610b13578283fd5b9083019060808286031215610b26578283fd5b610b306080610eba565b823582811115610b3e578485fd5b610b4a878286016106dc565b825250602083013582811115610b5e578485fd5b610b6a878286016106dc565b60208301525060408301356040820152610b8786606085016106bf565b606082015295945050505050565b600060208284031215610ba6578081fd5b81356001600160401b0380821115610bbc578283fd5b9083019060608286031215610bcf578283fd5b610bd96060610eba565b823582811115610be7578485fd5b610bf387828601610898565b825250610c038660208501610744565b6020820152604083013582811115610c19578485fd5b610c25878286016106dc565b60408301525095945050505050565b600060208284031215610c45578081fd5b81356001600160401b03811115610c5a578182fd5b610ab284828501610898565b600060208284031215610c77578081fd5b81356001600160401b0380821115610c8d578283fd5b9083019060608286031215610ca0578283fd5b610caa6060610eba565b823582811115610cb8578485fd5b610bf3878286016109c6565b600060208284031215610cd5578081fd5b81356001600160401b03811115610cea578182fd5b610ab2848285016109c6565b60008351610d08818460208801610ee0565b835190830190610d1c818360208801610ee0565b01949350505050565b6001600160a01b03998a1681526020810198909852604088019690965260608701949094526080860192909252851660a085015290931660c083015260e08201929092526101008101919091526101200190565b90815260200190565b9687526001600160a01b03958616602088015260408701949094529184166060860152608085015290911660a083015260c082015260e00190565b9889526001600160a01b0397881660208a0152604089019690965260608801949094526080870192909252841660a0860152831660c085015290911660e08301526101008201526101200190565b9a8b526001600160a01b03998a1660208c015260408b019890985260608a0196909652608089019490945260a088019290925260c0870152841660e086015283166101008501529091166101208301526101408201526101600190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b838152602081018390526060810160028310610eac57fe5b826040830152949350505050565b6040518181016001600160401b0381118282101715610ed857600080fd5b604052919050565b60005b83811015610efb578181015183820152602001610ee3565b83811115610f0a576000848401525b5050505056fea26469706673582212204e0ff161cb35e3296a6cde51a786e16d82e77376289bb11df57bef40aa440af764736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1302:8847:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1302:8847:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7489:430;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4065:126;;;:::i;9897:250::-;;;;;;:::i;:::-;;:::i;9376:::-;;;;;;:::i;:::-;;:::i;4839:126::-;;;:::i;9629:265::-;;;;;;:::i;:::-;;:::i;4323:126::-;;;:::i;9143:230::-;;;;;;:::i;:::-;;:::i;4194:126::-;;;:::i;4968:::-;;;:::i;6789:316::-;;;;;;:::i;:::-;;:::i;7108:378::-;;;;;;:::i;:::-;;:::i;8451:689::-;;;;;;:::i;:::-;;:::i;4452:126::-;;;:::i;4581:::-;;;:::i;3936:::-;;;:::i;4710:::-;;;:::i;7922:526::-;;;;;;:::i;:::-;;:::i;7489:430::-;7685:21;;7711:26;;;;;7742:20;;;;;7767:17;;;;7789:25;;;;7819:32;;;;7856:31;;;;7892:18;;;;7644:270;;7560:19;;7644:270;;4254:66;;7685:21;;7711:26;;7742:20;7767:17;7789:25;7819:32;7856:31;7644:270;;:::i;:::-;;;;;;;;;;;;;7634:281;;;;;;7627:288;;7489:430;;;:::o;4065:126::-;4125:66;4065:126;:::o;9897:250::-;10072:28;;9986:7;;5028:66;;10067:34;;:4;:34::i;:::-;10106:32;;;;;10017:125;;;;;;;;:::i;9376:250::-;9551:28;;9465:7;;4770:66;;9546:34;;:4;:34::i;4839:126::-;4899:66;4839:126;:::o;9629:265::-;9813:31;;9724:7;;4899:66;;9808:37;;:4;:37::i;4323:126::-;4383:66;4323:126;:::o;9143:230::-;9306:24;;9224:7;;4641:66;;9301:30;;:4;:30::i;4194:126::-;4254:66;4194:126;:::o;4968:::-;5028:66;4968:126;:::o;6789:316::-;6854:18;3996:66;6952:21;;6994:7;:12;;;6978:30;;;;;;7029:7;:15;;;7013:33;;;;;;7051:7;:15;;;7071:7;:25;;;6937:163;;;;;;;;;;;;:::i;7108:378::-;7288:13;;7306:18;;;;;7329:16;;;;;7350:13;;;;7368:25;;;;7398:28;;;;7431:27;;;;7463:14;;;;7251:230;;7171:15;;7251:230;;4125:66;;7288:13;;7306:18;;7329:16;7350:13;7368:25;7398:28;7431:27;7251:230;;:::i;8451:689::-;8670:17;;8693:25;;;;;8724:21;;;;;8751:29;;;;8786:24;;;;8816:32;;;;8627:226;;8522:19;;8627:226;;4512:66;;8670:17;;8693:25;;8724:21;8751:29;8786:24;8627:226;;:::i;:::-;;;;-1:-1:-1;;8627:226:9;;;;;;;;;;8874:23;;;;8903:20;;;;8929:17;;;;8952:22;;;;8980:19;;;;9005:25;;;;9036:22;;;;9080:20;;;;9064:38;;8627:226;9064:38;;;;9108:18;;;;8627:226;;8858:273;;9064:38;;8858:273;;:::i;:::-;;;;-1:-1:-1;;8858:273:9;;;;;;;;;;8606:529;;;8858:273;8606:529;;:::i;4452:126::-;4512:66;4452:126;:::o;4581:::-;4641:66;4581:126;:::o;3936:::-;3996:66;3936:126;:::o;4710:::-;4770:66;4710:126;:::o;7922:526::-;8130:27;;8162:32;;;;;8199:23;;;;;8227:20;;;;8252:25;;;;8282:22;;;;8309:28;;;;8342:32;;;;8379:34;;;;8418:21;;;;8086:357;;7999:22;;8086:357;;4383:66;;8130:27;;8162:32;;8199:23;8227:20;8252:25;8282:22;8309:28;8342:32;8379:34;8086:357;;:::i;5:130:-1:-;72:20;;-1:-1;;;;;26970:54;;27885:35;;27875:2;;27934:1;;27924:12;27875:2;57:78;;;;:::o;280:440::-;;381:3;374:4;366:6;362:17;358:27;348:2;;-1:-1;;389:12;348:2;436:6;423:20;-1:-1;;;;;25769:6;25766:30;25763:2;;;-1:-1;;25799:12;25763:2;458:64;25872:9;25853:17;;-1:-1;;25849:33;25940:4;25930:15;458:64;:::i;:::-;449:73;;542:6;535:5;528:21;646:3;25940:4;637:6;570;628:16;;625:25;622:2;;;663:1;;653:12;622:2;27356:6;25940:4;570:6;566:17;25940:4;604:5;600:16;27333:30;27412:1;27394:16;;;25940:4;27394:16;27387:27;604:5;341:379;-1:-1;;341:379::o;728:176::-;818:20;;28166:1;28156:12;;28146:2;;28182:1;;28172:12;1411:857;;1535:4;1523:9;1518:3;1514:19;1510:30;1507:2;;;-1:-1;;1543:12;1507:2;1571:20;1535:4;1571:20;:::i;:::-;1562:29;;1655:17;1642:31;-1:-1;;;;;1693:18;1685:6;1682:30;1679:2;;;1670:1;;1715:12;1679:2;1760:75;1831:3;1822:6;1811:9;1807:22;1760:75;:::i;:::-;1742:16;1735:101;1902:2;1983:9;1979:22;818:20;809:29;;28166:1;28159:5;28156:12;28146:2;;28182:1;;28172:12;28146:2;1935:72;1902:2;1921:5;1917:16;1910:98;2097:2;2086:9;2082:18;2069:32;2055:46;;1693:18;2113:6;2110:30;2107:2;;;-1:-1;;2143:12;2107:2;;2188:58;2242:3;2233:6;2222:9;2218:22;2188:58;:::i;:::-;2097:2;2174:5;2170:16;2163:84;;1501:767;;;;:::o;2315:1624::-;;2430:6;;2418:9;2413:3;2409:19;2405:32;2402:2;;;-1:-1;;2440:12;2402:2;2468:22;2430:6;2468:22;:::i;:::-;2459:31;;;2571:49;2616:3;2592:22;2571:49;:::i;:::-;2553:16;2546:75;2686:2;2744:9;2740:22;14319:20;2686:2;2705:5;2701:16;2694:75;2832:2;2890:9;2886:22;14319:20;2832:2;2851:5;2847:16;2840:75;2975:2;3033:9;3029:22;209:20;2975:2;2994:5;2990:16;2983:75;3164:49;3209:3;3130;3189:9;3185:22;3164:49;:::i;:::-;3130:3;3150:5;3146:16;3139:75;3323:49;3368:3;3289;3348:9;3344:22;3323:49;:::i;:::-;3289:3;3309:5;3305:16;3298:75;3481:49;3526:3;3447;3506:9;3502:22;3481:49;:::i;:::-;3447:3;3467:5;3463:16;3456:75;3592:3;3651:9;3647:22;209:20;3592:3;3612:5;3608:16;3601:75;3765:3;;3754:9;3750:19;3737:33;-1:-1;;;;;3782:6;3779:30;3776:2;;;2539:1;;3812:12;3776:2;3859:58;3913:3;3904:6;3893:9;3889:22;3859:58;:::i;:::-;3765:3;3843:5;3839:18;3832:86;;;2396:1543;;;;:::o;8545:2775::-;;8664:6;;8652:9;8647:3;8643:19;8639:32;8636:2;;;-1:-1;;8674:12;8636:2;8702:22;8664:6;8702:22;:::i;:::-;8693:31;;;8805:49;8850:3;8826:22;8805:49;:::i;:::-;8787:16;8780:75;8923:2;8981:9;8977:22;14319:20;8923:2;8942:5;8938:16;8931:75;9103:49;9148:3;9070:2;9128:9;9124:22;9103:49;:::i;:::-;9070:2;9089:5;9085:16;9078:75;9225:2;9283:9;9279:22;14319:20;9225:2;9244:5;9240:16;9233:75;9409:49;9454:3;9375;9434:9;9430:22;9409:49;:::i;:::-;9375:3;9395:5;9391:16;9384:75;9534:3;9593:9;9589:22;14319:20;9534:3;9554:5;9550:16;9543:75;9718:49;9763:3;9684;9743:9;9739:22;9718:49;:::i;:::-;9684:3;9700:16;;9693:75;9831:3;9886:22;;;14319:20;9847:16;;;9840:75;9975:3;10032:22;;;209:20;9991:18;;;9984:77;10126:3;10183:22;;;14319:20;10142:18;;;10135:77;10274:3;10331:22;;;14319:20;10290:18;;;10283:77;10428:3;10464:49;10509:3;10485:22;;;10464:49;:::i;:::-;10444:18;;;10437:77;10579:3;10615:49;10660:3;10636:22;;;10615:49;:::i;:::-;10595:18;;;10588:77;10756:3;10741:19;;;10728:33;-1:-1;;;;;10770:30;;;10767:2;;;8773:1;;10803:12;10767:2;10850:59;10905:3;10896:6;10885:9;10881:22;10850:59;:::i;:::-;10756:3;10834:5;10830:18;10823:87;10971:3;;;;11032:9;11028:22;209:20;10971:3;10991:5;10987:18;10980:77;11146:3;;;;11135:9;11131:19;11118:33;11104:47;;10781:18;11163:6;11160:30;11157:2;;;8773:1;;11193:12;11157:2;;11240:58;11294:3;11285:6;11274:9;11270:22;11240:58;:::i;12308:1937::-;;12430:6;;12418:9;12413:3;12409:19;12405:32;12402:2;;;-1:-1;;12440:12;12402:2;12468:22;12430:6;12468:22;:::i;:::-;12459:31;;;12578:49;12623:3;12599:22;12578:49;:::i;:::-;12560:16;12553:75;12700:2;12758:9;12754:22;14319:20;12700:2;12719:5;12715:16;12708:75;12846:2;12904:9;12900:22;14319:20;12846:2;12865:5;12861:16;12854:75;12989:2;13047:9;13043:22;209:20;12989:2;13008:5;13004:16;12997:75;13137:3;13196:9;13192:22;14319:20;13137:3;13157:5;13153:16;13146:75;13283:3;13342:9;13338:22;14319:20;13283:3;13303:5;13299:16;13292:75;13469:49;13514:3;13435;13494:9;13490:22;13469:49;:::i;:::-;13435:3;13455:5;13451:16;13444:75;13625:49;13670:3;13591;13650:9;13646:22;13625:49;:::i;:::-;13591:3;13611:5;13607:16;13600:75;13749:3;13785:49;13830:3;13749;13810:9;13806:22;13785:49;:::i;:::-;13765:18;;;13758:77;13896:3;13953:22;;;209:20;13912:18;;;13905:77;14071:3;14056:19;;;14043:33;-1:-1;;;;;14085:30;;14082:2;;;12546:1;;14118:12;14389:397;;14528:2;14516:9;14507:7;14503:23;14499:32;14496:2;;;-1:-1;;14534:12;14496:2;14592:17;14579:31;-1:-1;;;;;14622:6;14619:30;14616:2;;;-1:-1;;14652:12;14616:2;14682:88;14762:7;14753:6;14742:9;14738:22;14682:88;:::i;:::-;14672:98;14490:296;-1:-1;;;;14490:296::o;14793:379::-;;14923:2;14911:9;14902:7;14898:23;14894:32;14891:2;;;-1:-1;;14929:12;14891:2;14987:17;14974:31;-1:-1;;;;;15017:6;15014:30;15011:2;;;-1:-1;;15047:12;15011:2;15077:79;15148:7;15139:6;15128:9;15124:22;15077:79;:::i;15985:387::-;;16119:2;16107:9;16098:7;16094:23;16090:32;16087:2;;;-1:-1;;16125:12;16087:2;16183:17;16170:31;-1:-1;;;;;16221:18;16213:6;16210:30;16207:2;;;-1:-1;;16243:12;16207:2;16324:22;;;;6717:4;6696:19;;;6692:30;6689:2;;;-1:-1;;6725:12;6689:2;6753:20;6717:4;6753:20;:::i;:::-;6836:17;6823:31;16221:18;6866:6;6863:30;6860:2;;;-1:-1;;6896:12;6860:2;6941:59;6996:3;6987:6;6976:9;6972:22;6941:59;:::i;:::-;6923:16;6916:85;;16119:2;7082:9;7078:18;7065:32;16221:18;7109:6;7106:30;7103:2;;;-1:-1;;7139:12;7103:2;7184:59;7239:3;7230:6;7219:9;7215:22;7184:59;:::i;:::-;16119:2;7170:5;7166:16;7159:85;;7308:2;7366:9;7362:22;14319:20;7308:2;7327:5;7323:16;7316:75;7498:49;7543:3;7465:2;7523:9;7519:22;7498:49;:::i;:::-;7465:2;7480:16;;7473:75;7484:5;16081:291;-1:-1;;;;;16081:291::o;16379:405::-;;16522:2;16510:9;16501:7;16497:23;16493:32;16490:2;;;-1:-1;;16528:12;16490:2;16586:17;16573:31;-1:-1;;;;;16624:18;16616:6;16613:30;16610:2;;;-1:-1;;16646:12;16610:2;16736:22;;;;7757:4;7736:19;;;7732:30;7729:2;;;-1:-1;;7765:12;7729:2;7793:20;7757:4;7793:20;:::i;:::-;7877:17;7864:31;16624:18;7907:6;7904:30;7901:2;;;-1:-1;;7937:12;7901:2;7982:79;8057:3;8048:6;8037:9;8033:22;7982:79;:::i;:::-;7964:16;7957:105;;8161:72;8229:3;16522:2;8209:9;8205:22;8161:72;:::i;:::-;16522:2;8147:5;8143:16;8136:98;8323:2;8312:9;8308:18;8295:32;16624:18;8339:6;8336:30;8333:2;;;-1:-1;;8369:12;8333:2;8414:58;8468:3;8459:6;8448:9;8444:22;8414:58;:::i;:::-;8323:2;8396:16;;8389:84;-1:-1;8400:5;16484:300;-1:-1;;;;;16484:300::o;16791:387::-;;16925:2;16913:9;16904:7;16900:23;16896:32;16893:2;;;-1:-1;;16931:12;16893:2;16989:17;16976:31;-1:-1;;;;;17019:6;17016:30;17013:2;;;-1:-1;;17049:12;17013:2;17079:83;17154:7;17145:6;17134:9;17130:22;17079:83;:::i;17185:411::-;;17331:2;17319:9;17310:7;17306:23;17302:32;17299:2;;;-1:-1;;17337:12;17299:2;17395:17;17382:31;-1:-1;;;;;17433:18;17425:6;17422:30;17419:2;;;-1:-1;;17455:12;17419:2;17548:22;;;;11514:4;11493:19;;;11489:30;11486:2;;;-1:-1;;11522:12;11486:2;11550:20;11514:4;11550:20;:::i;:::-;11634:17;11621:31;17433:18;11664:6;11661:30;11658:2;;;-1:-1;;11694:12;11658:2;11739:82;11817:3;11808:6;11797:9;11793:22;11739:82;:::i;17603:393::-;;17740:2;17728:9;17719:7;17715:23;17711:32;17708:2;;;-1:-1;;17746:12;17708:2;17804:17;17791:31;-1:-1;;;;;17834:6;17831:30;17828:2;;;-1:-1;;17864:12;17828:2;17894:86;17972:7;17963:6;17952:9;17948:22;17894:86;:::i;19029:428::-;;18531:5;26378:12;18642:52;18687:6;18682:3;18675:4;18668:5;18664:16;18642:52;:::i;:::-;26378:12;;18706:16;;;;18642:52;26378:12;18706:16;18675:4;18664:16;;18642:52;:::i;:::-;18706:16;;19209:248;-1:-1;;;;19209:248::o;19464:1116::-;-1:-1;;;;;26970:54;;;18074:37;;19980:2;19965:18;;18194:37;;;;20063:2;20048:18;;18194:37;;;;20146:2;20131:18;;18194:37;;;;20229:3;20214:19;;18194:37;;;;26970:54;;26981:42;20298:19;;18074:37;26970:54;;;20397:3;20382:19;;18074:37;20481:3;20466:19;;18194:37;;;;20565:3;20550:19;;18194:37;;;;19815:3;19800:19;;19786:794::o;20587:238::-;18194:37;;;20722:2;20707:18;;20693:132::o;20832:892::-;18194:37;;;-1:-1;;;;;26970:54;;;21292:2;21277:18;;18074:37;21375:2;21360:18;;18194:37;;;;26970:54;;;21458:2;21443:18;;18074:37;21541:3;21526:19;;18194:37;26970:54;;;26981:42;21610:19;;18074:37;21709:3;21694:19;;18194:37;21127:3;21112:19;;21098:626::o;21731:1116::-;18194:37;;;-1:-1;;;;;26970:54;;;22247:2;22232:18;;18074:37;22330:2;22315:18;;18194:37;;;;22413:2;22398:18;;18194:37;;;;22496:3;22481:19;;18194:37;;;;26970:54;;26981:42;22565:19;;18074:37;26970:54;;22664:3;22649:19;;18074:37;26970:54;;;22748:3;22733:19;;18074:37;22832:3;22817:19;;18194:37;22082:3;22067:19;;22053:794::o;22854:1342::-;18194:37;;;-1:-1;;;;;26970:54;;;23427:2;23412:18;;18074:37;23510:2;23495:18;;18194:37;;;;23593:2;23578:18;;18194:37;;;;23676:3;23661:19;;18194:37;;;;26981:42;23745:19;;18194:37;;;;23844:3;23829:19;;18194:37;26970:54;;23928:3;23913:19;;18074:37;26970:54;;24012:3;23997:19;;18074:37;26970:54;;;24096:3;24081:19;;18074:37;24181:3;24166:19;;18194:37;23262:3;23247:19;;23233:963::o;24203:668::-;18194:37;;;24607:2;24592:18;;18194:37;;;;24690:2;24675:18;;18194:37;;;;24773:2;24758:18;;18194:37;-1:-1;;;;;26970:54;24856:3;24841:19;;18074:37;24442:3;24427:19;;24413:458::o;24878:486::-;18194:37;;;25246:2;25231:18;;18194:37;;;25082:2;25067:18;;27797:1;27787:12;;27777:2;;27803:9;27777:2;27215:47;25350:2;25339:9;25335:18;18826:71;25053:311;;;;;;:::o;25371:256::-;25433:2;25427:9;25459:17;;;-1:-1;;;;;25519:34;;25555:22;;;25516:62;25513:2;;;25591:1;;25581:12;25513:2;25433;25600:22;25411:216;;-1:-1;25411:216::o;27429:268::-;27494:1;27501:101;27515:6;27512:1;27509:13;27501:101;;;27582:11;;;27576:18;27563:11;;;27556:39;27537:2;27530:10;27501:101;;;27617:6;27614:1;27611:13;27608:2;;;27494:1;27673:6;27668:3;27664:16;27657:27;27608:2;;27478:219;;;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\nlibrary IexecLibOrders_v5\n{\n\t// bytes32 public constant EIP712DOMAIN_TYPEHASH = keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)');\n\t// bytes32 public constant APPORDER_TYPEHASH = keccak256('AppOrder(address app,uint256 appprice,uint256 volume,bytes32 tag,address datasetrestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant DATASETORDER_TYPEHASH = keccak256('DatasetOrder(address dataset,uint256 datasetprice,uint256 volume,bytes32 tag,address apprestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant WORKERPOOLORDER_TYPEHASH = keccak256('WorkerpoolOrder(address workerpool,uint256 workerpoolprice,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address apprestrict,address datasetrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant REQUESTORDER_TYPEHASH = keccak256('RequestOrder(address app,uint256 appmaxprice,address dataset,uint256 datasetmaxprice,address workerpool,uint256 workerpoolmaxprice,address requester,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address beneficiary,address callback,string params,bytes32 salt)');\n\t// bytes32 public constant APPORDEROPERATION_TYPEHASH = keccak256('AppOrderOperation(AppOrder order,uint256 operation)AppOrder(address app,uint256 appprice,uint256 volume,bytes32 tag,address datasetrestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant DATASETORDEROPERATION_TYPEHASH = keccak256('DatasetOrderOperation(DatasetOrder order,uint256 operation)DatasetOrder(address dataset,uint256 datasetprice,uint256 volume,bytes32 tag,address apprestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant WORKERPOOLORDEROPERATION_TYPEHASH = keccak256('WorkerpoolOrderOperation(WorkerpoolOrder order,uint256 operation)WorkerpoolOrder(address workerpool,uint256 workerpoolprice,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address apprestrict,address datasetrestrict,address requesterrestrict,bytes32 salt)');\n\t// bytes32 public constant REQUESTORDEROPERATION_TYPEHASH = keccak256('RequestOrderOperation(RequestOrder order,uint256 operation)RequestOrder(address app,uint256 appmaxprice,address dataset,uint256 datasetmaxprice,address workerpool,uint256 workerpoolmaxprice,address requester,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address beneficiary,address callback,string params,bytes32 salt)');\n\tbytes32 public constant EIP712DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;\n\tbytes32 public constant APPORDER_TYPEHASH = 0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008;\n\tbytes32 public constant DATASETORDER_TYPEHASH = 0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c;\n\tbytes32 public constant WORKERPOOLORDER_TYPEHASH = 0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb;\n\tbytes32 public constant REQUESTORDER_TYPEHASH = 0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0;\n\tbytes32 public constant APPORDEROPERATION_TYPEHASH = 0x0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee0;\n\tbytes32 public constant DATASETORDEROPERATION_TYPEHASH = 0x075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec;\n\tbytes32 public constant WORKERPOOLORDEROPERATION_TYPEHASH = 0x322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c8644388;\n\tbytes32 public constant REQUESTORDEROPERATION_TYPEHASH = 0x0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c7;\n\n\tenum OrderOperationEnum\n\t{\n\t\tSIGN,\n\t\tCLOSE\n\t}\n\n\tstruct EIP712Domain\n\t{\n\t\tstring name;\n\t\tstring version;\n\t\tuint256 chainId;\n\t\taddress verifyingContract;\n\t}\n\n\tstruct AppOrder\n\t{\n\t\taddress app;\n\t\tuint256 appprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\taddress datasetrestrict;\n\t\taddress workerpoolrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\n\tstruct DatasetOrder\n\t{\n\t\taddress dataset;\n\t\tuint256 datasetprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\taddress apprestrict;\n\t\taddress workerpoolrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\n\tstruct WorkerpoolOrder\n\t{\n\t\taddress workerpool;\n\t\tuint256 workerpoolprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\tuint256 category;\n\t\tuint256 trust;\n\t\taddress apprestrict;\n\t\taddress datasetrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\n\tstruct RequestOrder\n\t{\n\t\taddress app;\n\t\tuint256 appmaxprice;\n\t\taddress dataset;\n\t\tuint256 datasetmaxprice;\n\t\taddress workerpool;\n\t\tuint256 workerpoolmaxprice;\n\t\taddress requester;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\tuint256 category;\n\t\tuint256 trust;\n\t\taddress beneficiary;\n\t\taddress callback;\n\t\tstring params;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\n\tstruct AppOrderOperation\n\t{\n\t\tAppOrder order;\n\t\tOrderOperationEnum operation;\n\t\tbytes sign;\n\t}\n\n\tstruct DatasetOrderOperation\n\t{\n\t\tDatasetOrder order;\n\t\tOrderOperationEnum operation;\n\t\tbytes sign;\n\t}\n\n\tstruct WorkerpoolOrderOperation\n\t{\n\t\tWorkerpoolOrder order;\n\t\tOrderOperationEnum operation;\n\t\tbytes sign;\n\t}\n\n\tstruct RequestOrderOperation\n\t{\n\t\tRequestOrder order;\n\t\tOrderOperationEnum operation;\n\t\tbytes sign;\n\t}\n\n\tfunction hash(EIP712Domain memory _domain)\n\tpublic pure returns (bytes32 domainhash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\treturn keccak256(abi.encode(\n\t\t\tEIP712DOMAIN_TYPEHASH\n\t\t,\tkeccak256(bytes(_domain.name))\n\t\t,\tkeccak256(bytes(_domain.version))\n\t\t,\t_domain.chainId\n\t\t,\t_domain.verifyingContract\n\t\t));\n\t}\n\n\tfunction hash(AppOrder memory _apporder)\n\tpublic pure returns (bytes32 apphash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\treturn keccak256(abi.encode(\n\t\t\tAPPORDER_TYPEHASH\n\t\t,\t_apporder.app\n\t\t,\t_apporder.appprice\n\t\t,\t_apporder.volume\n\t\t,\t_apporder.tag\n\t\t,\t_apporder.datasetrestrict\n\t\t,\t_apporder.workerpoolrestrict\n\t\t,\t_apporder.requesterrestrict\n\t\t,\t_apporder.salt\n\t\t));\n\t}\n\n\tfunction hash(DatasetOrder memory _datasetorder)\n\tpublic pure returns (bytes32 datasethash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\treturn keccak256(abi.encode(\n\t\t\tDATASETORDER_TYPEHASH\n\t\t,\t_datasetorder.dataset\n\t\t,\t_datasetorder.datasetprice\n\t\t,\t_datasetorder.volume\n\t\t,\t_datasetorder.tag\n\t\t,\t_datasetorder.apprestrict\n\t\t,\t_datasetorder.workerpoolrestrict\n\t\t,\t_datasetorder.requesterrestrict\n\t\t,\t_datasetorder.salt\n\t\t));\n\t}\n\n\tfunction hash(WorkerpoolOrder memory _workerpoolorder)\n\tpublic pure returns (bytes32 workerpoolhash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\treturn keccak256(abi.encode(\n\t\t\tWORKERPOOLORDER_TYPEHASH\n\t\t,\t_workerpoolorder.workerpool\n\t\t,\t_workerpoolorder.workerpoolprice\n\t\t,\t_workerpoolorder.volume\n\t\t,\t_workerpoolorder.tag\n\t\t,\t_workerpoolorder.category\n\t\t,\t_workerpoolorder.trust\n\t\t,\t_workerpoolorder.apprestrict\n\t\t,\t_workerpoolorder.datasetrestrict\n\t\t,\t_workerpoolorder.requesterrestrict\n\t\t,\t_workerpoolorder.salt\n\t\t));\n\t}\n\n\tfunction hash(RequestOrder memory _requestorder)\n\tpublic pure returns (bytes32 requesthash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\treturn keccak256(abi.encodePacked(\n\t\t\tabi.encode(\n\t\t\t\tREQUESTORDER_TYPEHASH\n\t\t\t,\t_requestorder.app\n\t\t\t,\t_requestorder.appmaxprice\n\t\t\t,\t_requestorder.dataset\n\t\t\t,\t_requestorder.datasetmaxprice\n\t\t\t,\t_requestorder.workerpool\n\t\t\t,\t_requestorder.workerpoolmaxprice\n\t\t\t),\n\t\t\tabi.encode(\n\t\t\t\t_requestorder.requester\n\t\t\t,\t_requestorder.volume\n\t\t\t,\t_requestorder.tag\n\t\t\t,\t_requestorder.category\n\t\t\t,\t_requestorder.trust\n\t\t\t,\t_requestorder.beneficiary\n\t\t\t,\t_requestorder.callback\n\t\t\t,\tkeccak256(bytes(_requestorder.params))\n\t\t\t,\t_requestorder.salt\n\t\t\t)\n\t\t));\n\t}\n\n\tfunction hash(AppOrderOperation memory _apporderoperation)\n\tpublic pure returns (bytes32)\n\t{\n\t\treturn keccak256(abi.encode(\n\t\t\tAPPORDEROPERATION_TYPEHASH\n\t\t,\thash(_apporderoperation.order)\n\t\t,\t_apporderoperation.operation\n\t\t));\n\t}\n\n\tfunction hash(DatasetOrderOperation memory _datasetorderoperation)\n\tpublic pure returns (bytes32)\n\t{\n\t\treturn keccak256(abi.encode(\n\t\t\tDATASETORDEROPERATION_TYPEHASH\n\t\t,\thash(_datasetorderoperation.order)\n\t\t,\t_datasetorderoperation.operation\n\t\t));\n\t}\n\n\tfunction hash(WorkerpoolOrderOperation memory _workerpoolorderoperation)\n\tpublic pure returns (bytes32)\n\t{\n\t\treturn keccak256(abi.encode(\n\t\t\tWORKERPOOLORDEROPERATION_TYPEHASH\n\t\t,\thash(_workerpoolorderoperation.order)\n\t\t,\t_workerpoolorderoperation.operation\n\t\t));\n\t}\n\n\tfunction hash(RequestOrderOperation memory _requestorderoperation)\n\tpublic pure returns (bytes32)\n\t{\n\t\treturn keccak256(abi.encode(\n\t\t\tREQUESTORDEROPERATION_TYPEHASH\n\t\t,\thash(_requestorderoperation.order)\n\t\t,\t_requestorderoperation.operation\n\t\t));\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "exportedSymbols": { - "IexecLibOrders_v5": [ - 1568 - ] - }, - "id": 1569, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1135, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:9" - }, - { - "id": 1136, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:9" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 1568, - "linearizedBaseContracts": [ - 1568 - ], - "name": "IexecLibOrders_v5", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "c49f91d3", - "id": 1139, - "mutability": "constant", - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "3936:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1137, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3936:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307838623733633363363962623866653364353132656363346366373539636337393233396637623137396230666661636161396137356435323262333934303066", - "id": 1138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3996:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63076024560530113402979550242307453568063438748328787417531900361828837441551_by_1", - "typeString": "int_const 6307...(69 digits omitted)...1551" - }, - "value": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "207dbbfe", - "id": 1142, - "mutability": "constant", - "name": "APPORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4065:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1140, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4065:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836303831356130656565633437646464663136313566653533623331643031366333313434346530316239643739366462333635343433613634343564303038", - "id": 1141, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4125:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_43650578295105606754044185872167596760177065654633489567262380834068554436616_by_1", - "typeString": "int_const 4365...(69 digits omitted)...6616" - }, - "value": "0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "6f84d2da", - "id": 1145, - "mutability": "constant", - "name": "DATASETORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4194:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4194:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836636663393332613561336432326334333539323935623966343333656466663532623630373033666134373639306130346138336534303933336464343763", - "id": 1144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4254:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_49296048805850917090765960952023182941721207539109048881877448770624132338812_by_1", - "typeString": "int_const 4929...(69 digits omitted)...8812" - }, - "value": "0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "65db1dbb", - "id": 1148, - "mutability": "constant", - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4323:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1146, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4323:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307861613334323966623238316233343639313830333133336433643937386137356262373763363137656436626339616131363262396233303932303032326262", - "id": 1147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4383:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76985350049294276919496274109432266747292083504708634510021467980890602742459_by_1", - "typeString": "int_const 7698...(69 digits omitted)...2459" - }, - "value": "0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9a6f72ee", - "id": 1151, - "mutability": "constant", - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4452:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1149, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4452:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307866323465383533303334613361343530616261383435613832393134666262353634616438356163636361366366363262653131326131353435323066616530", - "id": 1150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4512:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_109598442660088300653958618162198742178051133390042090218504207231673715194592_by_1", - "typeString": "int_const 1095...(70 digits omitted)...4592" - }, - "value": "0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "b75cdd53", - "id": 1154, - "mutability": "constant", - "name": "APPORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4581:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1152, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4581:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830363338626230373032343537653262346230316265386132303235373962386266393765353837666234663263633464346161643031663231613036656530", - "id": 1153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4641:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2814111342652876641078356634543838006581553744278600690173851341526940020448_by_1", - "typeString": "int_const 2814...(68 digits omitted)...0448" - }, - "value": "0x0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee0" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "c4b7bfc3", - "id": 1157, - "mutability": "constant", - "name": "DATASETORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4710:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1155, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4710:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830373565623666373537386666343239326332343162643234383463643563316435653665636332646464333331376531643831373662356134353836356563", - "id": 1156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4770:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3333536350335364028826455582891813236021703289014087622158894669050001516012_by_1", - "typeString": "int_const 3333...(68 digits omitted)...6012" - }, - "value": "0x075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "59b123db", - "id": 1160, - "mutability": "constant", - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4839:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1158, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4839:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307833323264393830623764376136613166376333396666306335343435646136616531643865303339336666306464343638633862653365326338363434333838", - "id": 1159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4899:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_22696199922296867098487000686041087384677369148371795753394524964030551180168_by_1", - "typeString": "int_const 2269...(69 digits omitted)...0168" - }, - "value": "0x322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c8644388" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "735f5619", - "id": 1163, - "mutability": "constant", - "name": "REQUESTORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4968:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1161, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4968:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830646564376235326332643737353935613430643234326563613735316466313732623138653638363332366462626564336634373438383238616637376337", - "id": 1162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5028:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_6299660931970441485380746135897439693121283441449151267316216303362967041991_by_1", - "typeString": "int_const 6299...(68 digits omitted)...1991" - }, - "value": "0x0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c7" - }, - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.OrderOperationEnum", - "id": 1166, - "members": [ - { - "id": 1164, - "name": "SIGN", - "nodeType": "EnumValue", - "src": "5127:4:9" - }, - { - "id": 1165, - "name": "CLOSE", - "nodeType": "EnumValue", - "src": "5135:5:9" - } - ], - "name": "OrderOperationEnum", - "nodeType": "EnumDefinition", - "src": "5098:45:9" - }, - { - "canonicalName": "IexecLibOrders_v5.EIP712Domain", - "id": 1175, - "members": [ - { - "constant": false, - "id": 1168, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5171:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1167, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5171:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1170, - "mutability": "mutable", - "name": "version", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5187:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1169, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5187:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1172, - "mutability": "mutable", - "name": "chainId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5206:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5206:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1174, - "mutability": "mutable", - "name": "verifyingContract", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5225:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5225:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "EIP712Domain", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5146:108:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.AppOrder", - "id": 1194, - "members": [ - { - "constant": false, - "id": 1177, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5278:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1176, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5278:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1179, - "mutability": "mutable", - "name": "appprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5293:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5293:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1181, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5313:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5313:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1183, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5331:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1182, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5331:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1185, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5346:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1184, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5346:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1187, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5373:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1186, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5373:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1189, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5403:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1188, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5403:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1191, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5432:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1190, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5432:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1193, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5448:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1192, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5448:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5257:207:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.DatasetOrder", - "id": 1213, - "members": [ - { - "constant": false, - "id": 1196, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5492:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1195, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5492:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1198, - "mutability": "mutable", - "name": "datasetprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5511:20:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5511:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1200, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5535:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5535:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1202, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5553:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1201, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5553:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1204, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5568:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5568:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1206, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5591:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5591:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1208, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5621:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1207, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5621:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1210, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5650:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1209, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5650:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1212, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5666:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1211, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5666:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5467:215:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.WorkerpoolOrder", - "id": 1236, - "members": [ - { - "constant": false, - "id": 1215, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5713:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1214, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5713:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1217, - "mutability": "mutable", - "name": "workerpoolprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5735:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1216, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5735:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1219, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5762:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5762:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1221, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5780:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1220, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5780:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1223, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5795:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1222, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5795:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1225, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5815:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5815:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1227, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5832:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5832:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1229, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5855:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5855:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1231, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5882:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5882:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1233, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5911:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1232, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5911:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1235, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5927:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1234, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5927:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5685:258:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.RequestOrder", - "id": 1269, - "members": [ - { - "constant": false, - "id": 1238, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "5971:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1237, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5971:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1240, - "mutability": "mutable", - "name": "appmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "5986:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5986:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1242, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6009:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6009:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1244, - "mutability": "mutable", - "name": "datasetmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6028:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6028:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1246, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6055:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1245, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6055:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1248, - "mutability": "mutable", - "name": "workerpoolmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6077:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6077:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1250, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6107:17:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6107:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1252, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6128:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6128:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1254, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6146:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1253, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6146:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1256, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6161:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6161:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1258, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6181:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6181:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1260, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6198:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6198:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1262, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6221:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1261, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6221:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1264, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6241:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1263, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6241:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1266, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6259:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1265, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6259:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1268, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6275:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1267, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6275:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5946:345:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.AppOrderOperation", - "id": 1276, - "members": [ - { - "constant": false, - "id": 1271, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6324:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 1270, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "6324:8:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1273, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6352:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1272, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6352:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1275, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6384:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1274, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6384:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6294:117:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.DatasetOrderOperation", - "id": 1283, - "members": [ - { - "constant": false, - "id": 1278, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6448:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 1277, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "6448:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1280, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6476:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1279, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6476:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1282, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6508:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1281, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6508:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6414:121:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "id": 1290, - "members": [ - { - "constant": false, - "id": 1285, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6575:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 1284, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "6575:15:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1287, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6603:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1286, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6603:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1289, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6635:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1288, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6635:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6538:124:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.RequestOrderOperation", - "id": 1297, - "members": [ - { - "constant": false, - "id": 1292, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6699:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 1291, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "6699:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1294, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6727:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1293, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6727:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1296, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6759:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6759:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6665:121:9", - "visibility": "public" - }, - { - "body": { - "id": 1329, - "nodeType": "Block", - "src": "6875:230:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1307, - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1139, - "src": "6952:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1311, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "6994:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 1168, - "src": "6994:12:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6988:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1309, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6988:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6988:19:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1308, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6978:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6978:30:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1318, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7029:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "version", - "nodeType": "MemberAccess", - "referencedDeclaration": 1170, - "src": "7029:15:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7023:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7023:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7023:22:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1315, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7013:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7013:33:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1322, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7051:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 1172, - "src": "7051:15:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1324, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7071:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "verifyingContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7071:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 1305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6937:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6937:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6937:163:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1304, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6927:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6927:174:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1303, - "id": 1328, - "nodeType": "Return", - "src": "6920:181:9" - } - ] - }, - "documentation": null, - "functionSelector": "74147c4d", - "id": 1330, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1299, - "mutability": "mutable", - "name": "_domain", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1330, - "src": "6803:27:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 1298, - "name": "EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1175, - "src": "6803:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6802:29:9" - }, - "returnParameters": { - "id": 1303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1302, - "mutability": "mutable", - "name": "domainhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1330, - "src": "6854:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1301, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6854:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6853:20:9" - }, - "scope": 1568, - "src": "6789:316:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1360, - "nodeType": "Block", - "src": "7189:297:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1340, - "name": "APPORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1142, - "src": "7266:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1341, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7288:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1342, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1177, - "src": "7288:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1343, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7306:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1344, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1179, - "src": "7306:18:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1345, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7329:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1346, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1181, - "src": "7329:16:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1347, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7350:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1348, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1183, - "src": "7350:13:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1349, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7368:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1185, - "src": "7368:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1351, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7398:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1352, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1187, - "src": "7398:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1353, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7431:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1354, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1189, - "src": "7431:27:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1355, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7463:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1191, - "src": "7463:14:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7251:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7251:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7251:230:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1337, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7241:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7241:241:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1336, - "id": 1359, - "nodeType": "Return", - "src": "7234:248:9" - } - ] - }, - "documentation": null, - "functionSelector": "7c0d54d3", - "id": 1361, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1332, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1361, - "src": "7122:25:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 1331, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "7122:8:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7121:27:9" - }, - "returnParameters": { - "id": 1336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1335, - "mutability": "mutable", - "name": "apphash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1361, - "src": "7171:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1334, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7171:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7170:17:9" - }, - "scope": 1568, - "src": "7108:378:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1391, - "nodeType": "Block", - "src": "7582:337:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1371, - "name": "DATASETORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1145, - "src": "7659:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1372, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7685:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1196, - "src": "7685:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1374, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7711:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1375, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1198, - "src": "7711:26:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1376, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7742:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1377, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1200, - "src": "7742:20:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1378, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7767:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1379, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1202, - "src": "7767:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1380, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7789:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1204, - "src": "7789:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1382, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7819:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1206, - "src": "7819:32:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1384, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7856:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1208, - "src": "7856:31:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1386, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7892:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1387, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1210, - "src": "7892:18:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1369, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7644:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7644:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7644:270:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1368, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7634:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7634:281:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1367, - "id": 1390, - "nodeType": "Return", - "src": "7627:288:9" - } - ] - }, - "documentation": null, - "functionSelector": "11b2eee2", - "id": 1392, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1363, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1392, - "src": "7503:33:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 1362, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "7503:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7502:35:9" - }, - "returnParameters": { - "id": 1367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1366, - "mutability": "mutable", - "name": "datasethash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1392, - "src": "7560:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7560:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7559:21:9" - }, - "scope": 1568, - "src": "7489:430:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1426, - "nodeType": "Block", - "src": "8024:424:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1402, - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1148, - "src": "8101:24:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1403, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8130:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1404, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1215, - "src": "8130:27:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1405, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8162:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1406, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1217, - "src": "8162:32:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1407, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8199:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1219, - "src": "8199:23:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1409, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8227:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1221, - "src": "8227:20:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1411, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8252:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1223, - "src": "8252:25:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1413, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8282:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1414, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "8282:22:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1415, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8309:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "8309:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1417, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8342:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1229, - "src": "8342:32:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1419, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8379:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1231, - "src": "8379:34:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1421, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8418:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1422, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1233, - "src": "8418:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1400, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8086:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8086:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8086:357:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1399, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8076:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8076:368:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1398, - "id": 1425, - "nodeType": "Return", - "src": "8069:375:9" - } - ] - }, - "documentation": null, - "functionSelector": "fed985fe", - "id": 1427, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1394, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1427, - "src": "7936:39:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 1393, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "7936:15:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7935:41:9" - }, - "returnParameters": { - "id": 1398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1397, - "mutability": "mutable", - "name": "workerpoolhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1427, - "src": "7999:22:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1396, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7999:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7998:24:9" - }, - "scope": 1568, - "src": "7922:526:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1482, - "nodeType": "Block", - "src": "8544:596:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1439, - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1151, - "src": "8643:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1440, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8670:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "8670:17:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1442, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8693:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1443, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "8693:25:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1444, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8724:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1445, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "8724:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1446, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8751:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1447, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "8751:29:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1448, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8786:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1449, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "8786:24:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1450, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8816:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1451, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "8816:32:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 1437, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8627:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8627:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8627:226:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1455, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8874:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "8874:23:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1457, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8903:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1458, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1252, - "src": "8903:20:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1459, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8929:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1254, - "src": "8929:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1461, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8952:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1462, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1256, - "src": "8952:22:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1463, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8980:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1464, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1258, - "src": "8980:19:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1465, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9005:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1260, - "src": "9005:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1467, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9036:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1468, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1262, - "src": "9036:22:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1472, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9080:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1473, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1264, - "src": "9080:20:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9074:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1470, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9074:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9074:27:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1469, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9064:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9064:38:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1476, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9108:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1266, - "src": "9108:18:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1453, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8858:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8858:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8858:273:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1435, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8606:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8606:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8606:529:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1434, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8596:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8596:540:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1433, - "id": 1481, - "nodeType": "Return", - "src": "8589:547:9" - } - ] - }, - "documentation": null, - "functionSelector": "8ac03f33", - "id": 1483, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1429, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1483, - "src": "8465:33:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 1428, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "8465:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8464:35:9" - }, - "returnParameters": { - "id": 1433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1432, - "mutability": "mutable", - "name": "requesthash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1483, - "src": "8522:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1431, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8522:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8521:21:9" - }, - "scope": 1568, - "src": "8451:689:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1503, - "nodeType": "Block", - "src": "9234:139:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1493, - "name": "APPORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "9270:26:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1495, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1485, - "src": "9306:18:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 1496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1271, - "src": "9306:24:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - ], - "id": 1494, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1361, - "src": "9301:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_AppOrder_$1194_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 1497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9301:30:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1498, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1485, - "src": "9336:18:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 1499, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1273, - "src": "9336:28:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1491, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9255:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9255:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9255:113:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1490, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9245:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9245:124:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1489, - "id": 1502, - "nodeType": "Return", - "src": "9238:131:9" - } - ] - }, - "documentation": null, - "functionSelector": "6cf30b8b", - "id": 1504, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1485, - "mutability": "mutable", - "name": "_apporderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1504, - "src": "9157:43:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1484, - "name": "AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1276, - "src": "9157:17:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9156:45:9" - }, - "returnParameters": { - "id": 1489, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1488, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1504, - "src": "9224:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1487, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9224:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9223:9:9" - }, - "scope": 1568, - "src": "9143:230:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1524, - "nodeType": "Block", - "src": "9475:151:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1514, - "name": "DATASETORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "9511:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1516, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1506, - "src": "9551:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 1517, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "9551:28:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - ], - "id": 1515, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1392, - "src": "9546:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_DatasetOrder_$1213_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 1518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9546:34:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1519, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1506, - "src": "9585:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 1520, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "9585:32:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1512, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9496:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9496:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9496:125:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1511, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9486:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9486:136:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1510, - "id": 1523, - "nodeType": "Return", - "src": "9479:143:9" - } - ] - }, - "documentation": null, - "functionSelector": "4118eb98", - "id": 1525, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1506, - "mutability": "mutable", - "name": "_datasetorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1525, - "src": "9390:51:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1505, - "name": "DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1283, - "src": "9390:21:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9389:53:9" - }, - "returnParameters": { - "id": 1510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1509, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1525, - "src": "9465:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1508, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9465:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9464:9:9" - }, - "scope": 1568, - "src": "9376:250:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1545, - "nodeType": "Block", - "src": "9734:160:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1535, - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1160, - "src": "9770:33:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1537, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1527, - "src": "9813:25:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 1538, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1285, - "src": "9813:31:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - ], - "id": 1536, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1427, - "src": "9808:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_WorkerpoolOrder_$1236_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 1539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9808:37:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1540, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1527, - "src": "9850:25:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 1541, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1287, - "src": "9850:35:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1533, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9755:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9755:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9755:134:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1532, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9745:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9745:145:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1531, - "id": 1544, - "nodeType": "Return", - "src": "9738:152:9" - } - ] - }, - "documentation": null, - "functionSelector": "5b559f6a", - "id": 1546, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1528, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1527, - "mutability": "mutable", - "name": "_workerpoolorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1546, - "src": "9643:57:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1526, - "name": "WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1290, - "src": "9643:24:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9642:59:9" - }, - "returnParameters": { - "id": 1531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1530, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1546, - "src": "9724:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1529, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9724:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9723:9:9" - }, - "scope": 1568, - "src": "9629:265:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1566, - "nodeType": "Block", - "src": "9996:151:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1556, - "name": "REQUESTORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1163, - "src": "10032:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1558, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "10072:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 1559, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "10072:28:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - ], - "id": 1557, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1483, - "src": "10067:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RequestOrder_$1269_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 1560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10067:34:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1561, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "10106:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 1562, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1294, - "src": "10106:32:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1554, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10017:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1555, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10017:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10017:125:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1553, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10007:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10007:136:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1552, - "id": 1565, - "nodeType": "Return", - "src": "10000:143:9" - } - ] - }, - "documentation": null, - "functionSelector": "20aabe53", - "id": 1567, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1548, - "mutability": "mutable", - "name": "_requestorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1567, - "src": "9911:51:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1547, - "name": "RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "9911:21:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9910:53:9" - }, - "returnParameters": { - "id": 1552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1551, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1567, - "src": "9986:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1550, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9986:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9985:9:9" - }, - "scope": 1568, - "src": "9897:250:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - } - ], - "scope": 1569, - "src": "1302:8847:9" - } - ], - "src": "1242:8908:9" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "exportedSymbols": { - "IexecLibOrders_v5": [ - 1568 - ] - }, - "id": 1569, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1135, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:9" - }, - { - "id": 1136, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:9" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 1568, - "linearizedBaseContracts": [ - 1568 - ], - "name": "IexecLibOrders_v5", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "c49f91d3", - "id": 1139, - "mutability": "constant", - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "3936:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1137, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3936:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307838623733633363363962623866653364353132656363346366373539636337393233396637623137396230666661636161396137356435323262333934303066", - "id": 1138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3996:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63076024560530113402979550242307453568063438748328787417531900361828837441551_by_1", - "typeString": "int_const 6307...(69 digits omitted)...1551" - }, - "value": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "207dbbfe", - "id": 1142, - "mutability": "constant", - "name": "APPORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4065:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1140, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4065:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836303831356130656565633437646464663136313566653533623331643031366333313434346530316239643739366462333635343433613634343564303038", - "id": 1141, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4125:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_43650578295105606754044185872167596760177065654633489567262380834068554436616_by_1", - "typeString": "int_const 4365...(69 digits omitted)...6616" - }, - "value": "0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "6f84d2da", - "id": 1145, - "mutability": "constant", - "name": "DATASETORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4194:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4194:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836636663393332613561336432326334333539323935623966343333656466663532623630373033666134373639306130346138336534303933336464343763", - "id": 1144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4254:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_49296048805850917090765960952023182941721207539109048881877448770624132338812_by_1", - "typeString": "int_const 4929...(69 digits omitted)...8812" - }, - "value": "0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "65db1dbb", - "id": 1148, - "mutability": "constant", - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4323:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1146, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4323:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307861613334323966623238316233343639313830333133336433643937386137356262373763363137656436626339616131363262396233303932303032326262", - "id": 1147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4383:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76985350049294276919496274109432266747292083504708634510021467980890602742459_by_1", - "typeString": "int_const 7698...(69 digits omitted)...2459" - }, - "value": "0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9a6f72ee", - "id": 1151, - "mutability": "constant", - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4452:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1149, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4452:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307866323465383533303334613361343530616261383435613832393134666262353634616438356163636361366366363262653131326131353435323066616530", - "id": 1150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4512:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_109598442660088300653958618162198742178051133390042090218504207231673715194592_by_1", - "typeString": "int_const 1095...(70 digits omitted)...4592" - }, - "value": "0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "b75cdd53", - "id": 1154, - "mutability": "constant", - "name": "APPORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4581:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1152, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4581:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830363338626230373032343537653262346230316265386132303235373962386266393765353837666234663263633464346161643031663231613036656530", - "id": 1153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4641:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2814111342652876641078356634543838006581553744278600690173851341526940020448_by_1", - "typeString": "int_const 2814...(68 digits omitted)...0448" - }, - "value": "0x0638bb0702457e2b4b01be8a202579b8bf97e587fb4f2cc4d4aad01f21a06ee0" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "c4b7bfc3", - "id": 1157, - "mutability": "constant", - "name": "DATASETORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4710:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1155, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4710:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830373565623666373537386666343239326332343162643234383463643563316435653665636332646464333331376531643831373662356134353836356563", - "id": 1156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4770:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3333536350335364028826455582891813236021703289014087622158894669050001516012_by_1", - "typeString": "int_const 3333...(68 digits omitted)...6012" - }, - "value": "0x075eb6f7578ff4292c241bd2484cd5c1d5e6ecc2ddd3317e1d8176b5a45865ec" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "59b123db", - "id": 1160, - "mutability": "constant", - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4839:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1158, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4839:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307833323264393830623764376136613166376333396666306335343435646136616531643865303339336666306464343638633862653365326338363434333838", - "id": 1159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4899:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_22696199922296867098487000686041087384677369148371795753394524964030551180168_by_1", - "typeString": "int_const 2269...(69 digits omitted)...0168" - }, - "value": "0x322d980b7d7a6a1f7c39ff0c5445da6ae1d8e0393ff0dd468c8be3e2c8644388" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "735f5619", - "id": 1163, - "mutability": "constant", - "name": "REQUESTORDEROPERATION_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1568, - "src": "4968:126:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1161, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4968:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307830646564376235326332643737353935613430643234326563613735316466313732623138653638363332366462626564336634373438383238616637376337", - "id": 1162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5028:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_6299660931970441485380746135897439693121283441449151267316216303362967041991_by_1", - "typeString": "int_const 6299...(68 digits omitted)...1991" - }, - "value": "0x0ded7b52c2d77595a40d242eca751df172b18e686326dbbed3f4748828af77c7" - }, - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.OrderOperationEnum", - "id": 1166, - "members": [ - { - "id": 1164, - "name": "SIGN", - "nodeType": "EnumValue", - "src": "5127:4:9" - }, - { - "id": 1165, - "name": "CLOSE", - "nodeType": "EnumValue", - "src": "5135:5:9" - } - ], - "name": "OrderOperationEnum", - "nodeType": "EnumDefinition", - "src": "5098:45:9" - }, - { - "canonicalName": "IexecLibOrders_v5.EIP712Domain", - "id": 1175, - "members": [ - { - "constant": false, - "id": 1168, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5171:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1167, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5171:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1170, - "mutability": "mutable", - "name": "version", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5187:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1169, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5187:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1172, - "mutability": "mutable", - "name": "chainId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5206:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5206:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1174, - "mutability": "mutable", - "name": "verifyingContract", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1175, - "src": "5225:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5225:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "EIP712Domain", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5146:108:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.AppOrder", - "id": 1194, - "members": [ - { - "constant": false, - "id": 1177, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5278:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1176, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5278:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1179, - "mutability": "mutable", - "name": "appprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5293:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5293:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1181, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5313:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5313:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1183, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5331:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1182, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5331:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1185, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5346:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1184, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5346:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1187, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5373:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1186, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5373:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1189, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5403:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1188, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5403:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1191, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5432:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1190, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5432:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1193, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1194, - "src": "5448:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1192, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5448:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5257:207:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.DatasetOrder", - "id": 1213, - "members": [ - { - "constant": false, - "id": 1196, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5492:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1195, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5492:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1198, - "mutability": "mutable", - "name": "datasetprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5511:20:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5511:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1200, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5535:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5535:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1202, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5553:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1201, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5553:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1204, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5568:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5568:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1206, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5591:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5591:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1208, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5621:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1207, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5621:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1210, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5650:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1209, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5650:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1212, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1213, - "src": "5666:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1211, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5666:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5467:215:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.WorkerpoolOrder", - "id": 1236, - "members": [ - { - "constant": false, - "id": 1215, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5713:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1214, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5713:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1217, - "mutability": "mutable", - "name": "workerpoolprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5735:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1216, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5735:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1219, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5762:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5762:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1221, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5780:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1220, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5780:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1223, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5795:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1222, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5795:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1225, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5815:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5815:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1227, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5832:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5832:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1229, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5855:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5855:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1231, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5882:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5882:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1233, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5911:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1232, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5911:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1235, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1236, - "src": "5927:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1234, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5927:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5685:258:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.RequestOrder", - "id": 1269, - "members": [ - { - "constant": false, - "id": 1238, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "5971:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1237, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5971:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1240, - "mutability": "mutable", - "name": "appmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "5986:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5986:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1242, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6009:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6009:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1244, - "mutability": "mutable", - "name": "datasetmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6028:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6028:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1246, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6055:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1245, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6055:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1248, - "mutability": "mutable", - "name": "workerpoolmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6077:26:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6077:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1250, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6107:17:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6107:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1252, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6128:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6128:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1254, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6146:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1253, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6146:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1256, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6161:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6161:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1258, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6181:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1257, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6181:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1260, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6198:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6198:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1262, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6221:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1261, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6221:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1264, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6241:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1263, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6241:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1266, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6259:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1265, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6259:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1268, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1269, - "src": "6275:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1267, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6275:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrder", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "5946:345:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.AppOrderOperation", - "id": 1276, - "members": [ - { - "constant": false, - "id": 1271, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6324:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 1270, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "6324:8:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1273, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6352:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1272, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6352:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1275, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1276, - "src": "6384:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1274, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6384:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6294:117:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.DatasetOrderOperation", - "id": 1283, - "members": [ - { - "constant": false, - "id": 1278, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6448:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 1277, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "6448:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1280, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6476:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1279, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6476:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1282, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1283, - "src": "6508:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1281, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6508:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6414:121:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "id": 1290, - "members": [ - { - "constant": false, - "id": 1285, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6575:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 1284, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "6575:15:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1287, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6603:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1286, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6603:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1289, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1290, - "src": "6635:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1288, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6635:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6538:124:9", - "visibility": "public" - }, - { - "canonicalName": "IexecLibOrders_v5.RequestOrderOperation", - "id": 1297, - "members": [ - { - "constant": false, - "id": 1292, - "mutability": "mutable", - "name": "order", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6699:24:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 1291, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "6699:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1294, - "mutability": "mutable", - "name": "operation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6727:28:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "typeName": { - "contractScope": null, - "id": 1293, - "name": "OrderOperationEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1166, - "src": "6727:18:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 1296, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1297, - "src": "6759:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 1295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6759:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrderOperation", - "nodeType": "StructDefinition", - "scope": 1568, - "src": "6665:121:9", - "visibility": "public" - }, - { - "body": { - "id": 1329, - "nodeType": "Block", - "src": "6875:230:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1307, - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1139, - "src": "6952:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1311, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "6994:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 1168, - "src": "6994:12:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6988:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1309, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6988:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6988:19:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1308, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6978:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6978:30:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1318, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7029:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "version", - "nodeType": "MemberAccess", - "referencedDeclaration": 1170, - "src": "7029:15:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7023:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7023:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7023:22:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1315, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7013:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7013:33:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1322, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7051:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "chainId", - "nodeType": "MemberAccess", - "referencedDeclaration": 1172, - "src": "7051:15:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1324, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "7071:7:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 1325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "verifyingContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7071:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 1305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6937:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6937:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6937:163:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1304, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6927:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6927:174:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1303, - "id": 1328, - "nodeType": "Return", - "src": "6920:181:9" - } - ] - }, - "documentation": null, - "functionSelector": "74147c4d", - "id": 1330, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1299, - "mutability": "mutable", - "name": "_domain", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1330, - "src": "6803:27:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 1298, - "name": "EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1175, - "src": "6803:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6802:29:9" - }, - "returnParameters": { - "id": 1303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1302, - "mutability": "mutable", - "name": "domainhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1330, - "src": "6854:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1301, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6854:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6853:20:9" - }, - "scope": 1568, - "src": "6789:316:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1360, - "nodeType": "Block", - "src": "7189:297:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1340, - "name": "APPORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1142, - "src": "7266:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1341, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7288:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1342, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1177, - "src": "7288:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1343, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7306:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1344, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1179, - "src": "7306:18:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1345, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7329:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1346, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1181, - "src": "7329:16:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1347, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7350:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1348, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1183, - "src": "7350:13:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1349, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7368:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1185, - "src": "7368:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1351, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7398:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1352, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1187, - "src": "7398:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1353, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7431:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1354, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1189, - "src": "7431:27:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1355, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "7463:9:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 1356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1191, - "src": "7463:14:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7251:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7251:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7251:230:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1337, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7241:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7241:241:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1336, - "id": 1359, - "nodeType": "Return", - "src": "7234:248:9" - } - ] - }, - "documentation": null, - "functionSelector": "7c0d54d3", - "id": 1361, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1333, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1332, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1361, - "src": "7122:25:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 1331, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "7122:8:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7121:27:9" - }, - "returnParameters": { - "id": 1336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1335, - "mutability": "mutable", - "name": "apphash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1361, - "src": "7171:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1334, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7171:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7170:17:9" - }, - "scope": 1568, - "src": "7108:378:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1391, - "nodeType": "Block", - "src": "7582:337:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1371, - "name": "DATASETORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1145, - "src": "7659:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1372, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7685:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1196, - "src": "7685:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1374, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7711:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1375, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1198, - "src": "7711:26:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1376, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7742:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1377, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1200, - "src": "7742:20:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1378, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7767:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1379, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1202, - "src": "7767:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1380, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7789:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1204, - "src": "7789:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1382, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7819:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1206, - "src": "7819:32:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1384, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7856:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1208, - "src": "7856:31:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1386, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "7892:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 1387, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1210, - "src": "7892:18:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1369, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7644:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7644:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7644:270:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1368, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7634:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7634:281:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1367, - "id": 1390, - "nodeType": "Return", - "src": "7627:288:9" - } - ] - }, - "documentation": null, - "functionSelector": "11b2eee2", - "id": 1392, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1363, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1392, - "src": "7503:33:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 1362, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "7503:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7502:35:9" - }, - "returnParameters": { - "id": 1367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1366, - "mutability": "mutable", - "name": "datasethash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1392, - "src": "7560:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7560:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7559:21:9" - }, - "scope": 1568, - "src": "7489:430:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1426, - "nodeType": "Block", - "src": "8024:424:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1402, - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1148, - "src": "8101:24:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1403, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8130:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1404, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1215, - "src": "8130:27:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1405, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8162:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1406, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1217, - "src": "8162:32:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1407, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8199:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1219, - "src": "8199:23:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1409, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8227:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1221, - "src": "8227:20:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1411, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8252:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1223, - "src": "8252:25:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1413, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8282:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1414, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "8282:22:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1415, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8309:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "8309:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1417, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8342:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1229, - "src": "8342:32:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1419, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8379:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1231, - "src": "8379:34:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1421, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1394, - "src": "8418:16:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 1422, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1233, - "src": "8418:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1400, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8086:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8086:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8086:357:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1399, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8076:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8076:368:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1398, - "id": 1425, - "nodeType": "Return", - "src": "8069:375:9" - } - ] - }, - "documentation": null, - "functionSelector": "fed985fe", - "id": 1427, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1394, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1427, - "src": "7936:39:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 1393, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "7936:15:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7935:41:9" - }, - "returnParameters": { - "id": 1398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1397, - "mutability": "mutable", - "name": "workerpoolhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1427, - "src": "7999:22:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1396, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7999:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7998:24:9" - }, - "scope": 1568, - "src": "7922:526:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1482, - "nodeType": "Block", - "src": "8544:596:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1439, - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1151, - "src": "8643:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1440, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8670:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "8670:17:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1442, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8693:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1443, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "8693:25:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1444, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8724:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1445, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "8724:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1446, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8751:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1447, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "8751:29:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1448, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8786:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1449, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "8786:24:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1450, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8816:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1451, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "8816:32:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 1437, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8627:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8627:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8627:226:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1455, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8874:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "8874:23:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1457, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8903:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1458, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1252, - "src": "8903:20:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1459, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8929:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1254, - "src": "8929:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1461, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8952:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1462, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1256, - "src": "8952:22:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1463, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "8980:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1464, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1258, - "src": "8980:19:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1465, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9005:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1260, - "src": "9005:25:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1467, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9036:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1468, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1262, - "src": "9036:22:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1472, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9080:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1473, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1264, - "src": "9080:20:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 1471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9074:5:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 1470, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9074:5:9", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 1474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9074:27:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1469, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9064:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9064:38:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1476, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "9108:13:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 1477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "salt", - "nodeType": "MemberAccess", - "referencedDeclaration": 1266, - "src": "9108:18:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 1453, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8858:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8858:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8858:273:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 1435, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8606:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8606:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8606:529:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1434, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8596:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8596:540:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1433, - "id": 1481, - "nodeType": "Return", - "src": "8589:547:9" - } - ] - }, - "documentation": null, - "functionSelector": "8ac03f33", - "id": 1483, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1429, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1483, - "src": "8465:33:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 1428, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "8465:12:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8464:35:9" - }, - "returnParameters": { - "id": 1433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1432, - "mutability": "mutable", - "name": "requesthash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1483, - "src": "8522:19:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1431, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8522:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8521:21:9" - }, - "scope": 1568, - "src": "8451:689:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1503, - "nodeType": "Block", - "src": "9234:139:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1493, - "name": "APPORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "9270:26:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1495, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1485, - "src": "9306:18:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 1496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1271, - "src": "9306:24:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - ], - "id": 1494, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1361, - "src": "9301:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_AppOrder_$1194_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 1497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9301:30:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1498, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1485, - "src": "9336:18:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 1499, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1273, - "src": "9336:28:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1491, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9255:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9255:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9255:113:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1490, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9245:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9245:124:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1489, - "id": 1502, - "nodeType": "Return", - "src": "9238:131:9" - } - ] - }, - "documentation": null, - "functionSelector": "6cf30b8b", - "id": 1504, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1485, - "mutability": "mutable", - "name": "_apporderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1504, - "src": "9157:43:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1484, - "name": "AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1276, - "src": "9157:17:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9156:45:9" - }, - "returnParameters": { - "id": 1489, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1488, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1504, - "src": "9224:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1487, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9224:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9223:9:9" - }, - "scope": 1568, - "src": "9143:230:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1524, - "nodeType": "Block", - "src": "9475:151:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1514, - "name": "DATASETORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "9511:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1516, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1506, - "src": "9551:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 1517, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "9551:28:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - ], - "id": 1515, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1392, - "src": "9546:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_DatasetOrder_$1213_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 1518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9546:34:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1519, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1506, - "src": "9585:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 1520, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "9585:32:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1512, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9496:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9496:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9496:125:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1511, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9486:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9486:136:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1510, - "id": 1523, - "nodeType": "Return", - "src": "9479:143:9" - } - ] - }, - "documentation": null, - "functionSelector": "4118eb98", - "id": 1525, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1506, - "mutability": "mutable", - "name": "_datasetorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1525, - "src": "9390:51:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1505, - "name": "DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1283, - "src": "9390:21:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9389:53:9" - }, - "returnParameters": { - "id": 1510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1509, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1525, - "src": "9465:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1508, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9465:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9464:9:9" - }, - "scope": 1568, - "src": "9376:250:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1545, - "nodeType": "Block", - "src": "9734:160:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1535, - "name": "WORKERPOOLORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1160, - "src": "9770:33:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1537, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1527, - "src": "9813:25:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 1538, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1285, - "src": "9813:31:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - ], - "id": 1536, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1427, - "src": "9808:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_WorkerpoolOrder_$1236_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 1539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9808:37:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1540, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1527, - "src": "9850:25:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 1541, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1287, - "src": "9850:35:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1533, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9755:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9755:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9755:134:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1532, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9745:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9745:145:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1531, - "id": 1544, - "nodeType": "Return", - "src": "9738:152:9" - } - ] - }, - "documentation": null, - "functionSelector": "5b559f6a", - "id": 1546, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1528, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1527, - "mutability": "mutable", - "name": "_workerpoolorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1546, - "src": "9643:57:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1526, - "name": "WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1290, - "src": "9643:24:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9642:59:9" - }, - "returnParameters": { - "id": 1531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1530, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1546, - "src": "9724:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1529, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9724:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9723:9:9" - }, - "scope": 1568, - "src": "9629:265:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 1566, - "nodeType": "Block", - "src": "9996:151:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1556, - "name": "REQUESTORDEROPERATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1163, - "src": "10032:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1558, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "10072:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 1559, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "10072:28:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - ], - "id": 1557, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1330, - 1361, - 1392, - 1427, - 1483, - 1504, - 1525, - 1546, - 1567 - ], - "referencedDeclaration": 1483, - "src": "10067:4:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RequestOrder_$1269_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 1560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10067:34:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 1561, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1548, - "src": "10106:22:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 1562, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1294, - "src": "10106:32:9", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1166", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - ], - "expression": { - "argumentTypes": null, - "id": 1554, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10017:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1555, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10017:10:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 1563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10017:125:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1553, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10007:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 1564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10007:136:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 1552, - "id": 1565, - "nodeType": "Return", - "src": "10000:143:9" - } - ] - }, - "documentation": null, - "functionSelector": "20aabe53", - "id": 1567, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 1549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1548, - "mutability": "mutable", - "name": "_requestorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1567, - "src": "9911:51:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 1547, - "name": "RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "9911:21:9", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9910:53:9" - }, - "returnParameters": { - "id": 1552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1551, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 1567, - "src": "9986:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 1550, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9986:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9985:9:9" - }, - "scope": 1568, - "src": "9897:250:9", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - } - ], - "scope": 1569, - "src": "1302:8847:9" - } - ], - "src": "1242:8908:9" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:28.782Z", - "networkType": "ethereum", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} diff --git a/build/contracts/IexecMaintenance.json b/build/contracts/IexecMaintenance.json deleted file mode 100644 index 1513e5152..000000000 --- a/build/contracts/IexecMaintenance.json +++ /dev/null @@ -1,1333 +0,0 @@ -{ - "contractName": "IexecMaintenance", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":\"IexecMaintenance\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../../libs/IexecLibOrders_v5.sol\";\n\n\ninterface IexecMaintenance\n{\n\tfunction configure(address,string calldata,string calldata,uint8,address,address,address,address) external;\n\tfunction domain() external view returns (IexecLibOrders_v5.EIP712Domain memory);\n\tfunction updateDomainSeparator() external;\n\tfunction importScore(address) external;\n\tfunction setTeeBroker(address) external;\n\tfunction setCallbackGas(uint256) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "exportedSymbols": { - "IexecMaintenance": [ - 9503 - ] - }, - "id": 9504, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9458, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:42" - }, - { - "id": 9459, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:42" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9460, - "nodeType": "ImportDirective", - "scope": 9504, - "sourceUnit": 1569, - "src": "1301:42:42", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9503, - "linearizedBaseContracts": [ - 9503 - ], - "name": "IexecMaintenance", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "b5521817", - "id": 9479, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "configure", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9462, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1395:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1395:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1403:15:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9463, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1403:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1419:15:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9465, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1419:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9468, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1435:5:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 9467, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1435:5:42", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9470, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1441:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1441:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9472, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1449:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1449:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1457:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9473, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1457:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9476, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1465:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1465:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1394:79:42" - }, - "returnParameters": { - "id": 9478, - "nodeType": "ParameterList", - "parameters": [], - "src": "1482:0:42" - }, - "scope": 9503, - "src": "1376:107:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c2fb26a6", - "id": 9484, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "domain", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9480, - "nodeType": "ParameterList", - "parameters": [], - "src": "1500:2:42" - }, - "returnParameters": { - "id": 9483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9482, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9484, - "src": "1526:37:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 9481, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1175, - "src": "1526:30:42", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1525:39:42" - }, - "scope": 9503, - "src": "1485:80:42", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "89ccfe89", - "id": 9487, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "updateDomainSeparator", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9485, - "nodeType": "ParameterList", - "parameters": [], - "src": "1597:2:42" - }, - "returnParameters": { - "id": 9486, - "nodeType": "ParameterList", - "parameters": [], - "src": "1608:0:42" - }, - "scope": 9503, - "src": "1567:42:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a9b20cee", - "id": 9492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "importScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9489, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9492, - "src": "1632:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1632:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1631:9:42" - }, - "returnParameters": { - "id": 9491, - "nodeType": "ParameterList", - "parameters": [], - "src": "1649:0:42" - }, - "scope": 9503, - "src": "1611:39:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "aefb52b4", - "id": 9497, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTeeBroker", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9494, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9497, - "src": "1674:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1674:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:9:42" - }, - "returnParameters": { - "id": 9496, - "nodeType": "ParameterList", - "parameters": [], - "src": "1691:0:42" - }, - "scope": 9503, - "src": "1652:40:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01d09a3c", - "id": 9502, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setCallbackGas", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9502, - "src": "1718:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9498, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1718:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1717:9:42" - }, - "returnParameters": { - "id": 9501, - "nodeType": "ParameterList", - "parameters": [], - "src": "1735:0:42" - }, - "scope": 9503, - "src": "1694:42:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9504, - "src": "1346:392:42" - } - ], - "src": "1242:497:42" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "exportedSymbols": { - "IexecMaintenance": [ - 9503 - ] - }, - "id": 9504, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9458, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:42" - }, - { - "id": 9459, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:42" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9460, - "nodeType": "ImportDirective", - "scope": 9504, - "sourceUnit": 1569, - "src": "1301:42:42", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9503, - "linearizedBaseContracts": [ - 9503 - ], - "name": "IexecMaintenance", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "b5521817", - "id": 9479, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "configure", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9462, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1395:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1395:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1403:15:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9463, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1403:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1419:15:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9465, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1419:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9468, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1435:5:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 9467, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1435:5:42", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9470, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1441:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1441:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9472, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1449:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1449:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1457:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9473, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1457:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9476, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9479, - "src": "1465:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9475, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1465:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1394:79:42" - }, - "returnParameters": { - "id": 9478, - "nodeType": "ParameterList", - "parameters": [], - "src": "1482:0:42" - }, - "scope": 9503, - "src": "1376:107:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c2fb26a6", - "id": 9484, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "domain", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9480, - "nodeType": "ParameterList", - "parameters": [], - "src": "1500:2:42" - }, - "returnParameters": { - "id": 9483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9482, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9484, - "src": "1526:37:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 9481, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1175, - "src": "1526:30:42", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1175_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1525:39:42" - }, - "scope": 9503, - "src": "1485:80:42", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "89ccfe89", - "id": 9487, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "updateDomainSeparator", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9485, - "nodeType": "ParameterList", - "parameters": [], - "src": "1597:2:42" - }, - "returnParameters": { - "id": 9486, - "nodeType": "ParameterList", - "parameters": [], - "src": "1608:0:42" - }, - "scope": 9503, - "src": "1567:42:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a9b20cee", - "id": 9492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "importScore", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9489, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9492, - "src": "1632:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1632:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1631:9:42" - }, - "returnParameters": { - "id": 9491, - "nodeType": "ParameterList", - "parameters": [], - "src": "1649:0:42" - }, - "scope": 9503, - "src": "1611:39:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "aefb52b4", - "id": 9497, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTeeBroker", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9494, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9497, - "src": "1674:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1674:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1673:9:42" - }, - "returnParameters": { - "id": 9496, - "nodeType": "ParameterList", - "parameters": [], - "src": "1691:0:42" - }, - "scope": 9503, - "src": "1652:40:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01d09a3c", - "id": 9502, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setCallbackGas", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9502, - "src": "1718:7:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9498, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1718:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1717:9:42" - }, - "returnParameters": { - "id": 9501, - "nodeType": "ParameterList", - "parameters": [], - "src": "1735:0:42" - }, - "scope": 9503, - "src": "1694:42:42", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9504, - "src": "1346:392:42" - } - ], - "src": "1242:497:42" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.860Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecMaintenanceDelegate.json b/build/contracts/IexecMaintenanceDelegate.json deleted file mode 100644 index fe8a1437e..000000000 --- a/build/contracts/IexecMaintenanceDelegate.json +++ /dev/null @@ -1,6001 +0,0 @@ -{ - "contractName": "IexecMaintenanceDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_token", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - }, - { - "internalType": "uint8", - "name": "_decimal", - "type": "uint8" - }, - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_v3_iexecHubAddress", - "type": "address" - } - ], - "name": "configure", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "domain", - "outputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecLibOrders_v5.EIP712Domain", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "updateDomainSeparator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_worker", - "type": "address" - } - ], - "name": "importScore", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_teebroker", - "type": "address" - } - ], - "name": "setTeeBroker", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_callbackgas", - "type": "uint256" - } - ], - "name": "setCallbackGas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimal\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"_appregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_datasetregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_workerpoolregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_v3_iexecHubAddress\",\"type\":\"address\"}],\"name\":\"configure\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecLibOrders_v5.EIP712Domain\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"importScore\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_callbackgas\",\"type\":\"uint256\"}],\"name\":\"setCallbackGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_teebroker\",\"type\":\"address\"}],\"name\":\"setTeeBroker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateDomainSeparator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceDelegate.sol\":\"IexecMaintenanceDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceDelegate.sol\":{\"keccak256\":\"0x08238139e77eae729f6c7fff2ad2ca4cccd25ab0797beffb2816b04ede3481dc\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b42dbadaceea64d1c143addd4c58b466ed998793237a9f6995ac1683c84ec6ab\",\"dweb:/ipfs/Qmen2EEp2ffnUtLEriWDSWmpZBNUXpSMho7D1UMnTp1SDo\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol\":{\"keccak256\":\"0x6f0c9c34b2ba94a932826c66c3189cc55a5237ed985ef7a969180ff6e8eb5618\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://11f45bf202dd54d9ceae73978b5a75ed05219ac83151df0cae87fb42efd6a6f0\",\"dweb:/ipfs/QmaZmEsGWJwbqyWgrMv87qxPpzUucukv9rm9VnZ4e5gLs7\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610c7b833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b0390911690600080516020610c7b833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610b5d8061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a9b20cee11610066578063a9b20cee146100db578063aefb52b4146100ee578063b552181714610101578063c2fb26a614610114578063f2fde38b1461012957610093565b806301d09a3c14610098578063715018a6146100ad57806389ccfe89146100b55780638da5cb5b146100bd575b600080fd5b6100ab6100a6366004610934565b61013c565b005b6100ab61017f565b6100ab6101fe565b6100c56102b0565b6040516100d29190610997565b60405180910390f35b6100ab6100e9366004610823565b6102bf565b6100ab6100fc366004610823565b6103cb565b6100ab61010f36600461083e565b610422565b61011c6105ac565b6040516100d29190610aaa565b6100ab610137366004610823565b6105c1565b610144610677565b6000546001600160a01b0390811691161461017a5760405162461bcd60e51b815260040161017190610a1d565b60405180910390fd5b601955565b610187610677565b6000546001600160a01b039081169116146101b45760405162461bcd60e51b815260040161017190610a1d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60105461021d5760405162461bcd60e51b815260040161017190610a82565b61022561067b565b6040516374147c4d60e01b815273__IexecLibOrders_v5_____________________916374147c4d9161025b9190600401610aaa565b60206040518083038186803b15801561027357600080fd5b505af4158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab919061091c565b601055565b6000546001600160a01b031690565b6001600160a01b0381166000908152601c602052604090205460ff16156102f85760405162461bcd60e51b815260040161017190610a52565b601b54604051636d9185a960e11b8152610399916001600160a01b03169063db230b529061032a908590600401610997565b60206040518083038186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037a919061091c565b6001600160a01b038316600090815260176020526040902054906106e2565b6001600160a01b03909116600090815260176020908152604080832093909355601c905220805460ff19166001179055565b6103d3610677565b6000546001600160a01b039081169116146104005760405162461bcd60e51b815260040161017190610a1d565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b61042a610677565b6000546001600160a01b039081169116146104575760405162461bcd60e51b815260040161017190610a1d565b601054156104775760405162461bcd60e51b8152600401610171906109f1565b61047f61067b565b6040516374147c4d60e01b815273__IexecLibOrders_v5_____________________916374147c4d916104b59190600401610aaa565b60206040518083038186803b1580156104cd57600080fd5b505af41580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061091c565b601055600880546001600160a01b0319166001600160a01b038c1617905561052f60098a8a610701565b5061053c600a8888610701565b50600b805460ff191660ff9690961695909517909455600580546001600160a01b03199081166001600160a01b039586161790915560068054821693851693909317909255600780548316918416919091179055601b8054909116919092161790555050620186a0601955505050565b6105b461077f565b6105bc61067b565b905090565b6105c9610677565b6000546001600160a01b039081169116146105f65760405162461bcd60e51b815260040161017190610a1d565b6001600160a01b03811661061c5760405162461bcd60e51b8152600401610171906109ab565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b61068361077f565b6040805160c0810182526008608082019081526734a2bc32b1a7a22160c11b60a083015281528151808301835260058152640352e302e360dc1b6020828101919091528201529081016106d46106fd565b815230602090910152905090565b6000818310156106f257816106f4565b825b90505b92915050565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107425782800160ff1982351617855561076f565b8280016001018555821561076f579182015b8281111561076f578235825591602001919060010190610754565b5061077b9291506107b0565b5090565b604051806080016040528060608152602001606081526020016000815260200160006001600160a01b031681525090565b5b8082111561077b57600081556001016107b1565b80356001600160a01b03811681146106f757600080fd5b60008083601f8401126107ed578182fd5b50813567ffffffffffffffff811115610804578182fd5b60208301915083602082850101111561081c57600080fd5b9250929050565b600060208284031215610834578081fd5b6106f483836107c5565b6000806000806000806000806000806101008b8d03121561085d578586fd5b8a3561086881610b0f565b995060208b013567ffffffffffffffff80821115610884578788fd5b6108908e838f016107dc565b909b50995060408d01359150808211156108a8578788fd5b506108b58d828e016107dc565b90985096505060608b013560ff811681146108ce578586fd5b945060808b01356108de81610b0f565b93506108ed8c60a08d016107c5565b92506108fc8c60c08d016107c5565b915061090b8c60e08d016107c5565b90509295989b9194979a5092959850565b60006020828403121561092d578081fd5b5051919050565b600060208284031215610945578081fd5b5035919050565b60008151808452815b8181101561097157602081850181015186830182015201610955565b818111156109825782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b602080825260129082015271185b1c9958591e4b58dbdb999a59dd5c995960721b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751cd8dbdc994b585b1c9958591e4b5a5b5c1bdc9d195960521b604082015260600190565b6020808252600e908201526d1b9bdd0b58dbdb999a59dd5c995960921b604082015260600190565b600060208252825160806020840152610ac660a084018261094c565b90506020840151601f19848303016040850152610ae3828261094c565b6040860151606086810191909152909501516001600160a01b0316608090940193909352509192915050565b6001600160a01b0381168114610b2457600080fd5b5056fea26469706673582212200bc9eb0956b9c7bc67b0b7992bbe42af6bc31001a55732a8ca1c450ada744f3a64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063a9b20cee11610066578063a9b20cee146100db578063aefb52b4146100ee578063b552181714610101578063c2fb26a614610114578063f2fde38b1461012957610093565b806301d09a3c14610098578063715018a6146100ad57806389ccfe89146100b55780638da5cb5b146100bd575b600080fd5b6100ab6100a6366004610934565b61013c565b005b6100ab61017f565b6100ab6101fe565b6100c56102b0565b6040516100d29190610997565b60405180910390f35b6100ab6100e9366004610823565b6102bf565b6100ab6100fc366004610823565b6103cb565b6100ab61010f36600461083e565b610422565b61011c6105ac565b6040516100d29190610aaa565b6100ab610137366004610823565b6105c1565b610144610677565b6000546001600160a01b0390811691161461017a5760405162461bcd60e51b815260040161017190610a1d565b60405180910390fd5b601955565b610187610677565b6000546001600160a01b039081169116146101b45760405162461bcd60e51b815260040161017190610a1d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60105461021d5760405162461bcd60e51b815260040161017190610a82565b61022561067b565b6040516374147c4d60e01b815273__IexecLibOrders_v5_____________________916374147c4d9161025b9190600401610aaa565b60206040518083038186803b15801561027357600080fd5b505af4158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab919061091c565b601055565b6000546001600160a01b031690565b6001600160a01b0381166000908152601c602052604090205460ff16156102f85760405162461bcd60e51b815260040161017190610a52565b601b54604051636d9185a960e11b8152610399916001600160a01b03169063db230b529061032a908590600401610997565b60206040518083038186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037a919061091c565b6001600160a01b038316600090815260176020526040902054906106e2565b6001600160a01b03909116600090815260176020908152604080832093909355601c905220805460ff19166001179055565b6103d3610677565b6000546001600160a01b039081169116146104005760405162461bcd60e51b815260040161017190610a1d565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b61042a610677565b6000546001600160a01b039081169116146104575760405162461bcd60e51b815260040161017190610a1d565b601054156104775760405162461bcd60e51b8152600401610171906109f1565b61047f61067b565b6040516374147c4d60e01b815273__IexecLibOrders_v5_____________________916374147c4d916104b59190600401610aaa565b60206040518083038186803b1580156104cd57600080fd5b505af41580156104e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610505919061091c565b601055600880546001600160a01b0319166001600160a01b038c1617905561052f60098a8a610701565b5061053c600a8888610701565b50600b805460ff191660ff9690961695909517909455600580546001600160a01b03199081166001600160a01b039586161790915560068054821693851693909317909255600780548316918416919091179055601b8054909116919092161790555050620186a0601955505050565b6105b461077f565b6105bc61067b565b905090565b6105c9610677565b6000546001600160a01b039081169116146105f65760405162461bcd60e51b815260040161017190610a1d565b6001600160a01b03811661061c5760405162461bcd60e51b8152600401610171906109ab565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b61068361077f565b6040805160c0810182526008608082019081526734a2bc32b1a7a22160c11b60a083015281528151808301835260058152640352e302e360dc1b6020828101919091528201529081016106d46106fd565b815230602090910152905090565b6000818310156106f257816106f4565b825b90505b92915050565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107425782800160ff1982351617855561076f565b8280016001018555821561076f579182015b8281111561076f578235825591602001919060010190610754565b5061077b9291506107b0565b5090565b604051806080016040528060608152602001606081526020016000815260200160006001600160a01b031681525090565b5b8082111561077b57600081556001016107b1565b80356001600160a01b03811681146106f757600080fd5b60008083601f8401126107ed578182fd5b50813567ffffffffffffffff811115610804578182fd5b60208301915083602082850101111561081c57600080fd5b9250929050565b600060208284031215610834578081fd5b6106f483836107c5565b6000806000806000806000806000806101008b8d03121561085d578586fd5b8a3561086881610b0f565b995060208b013567ffffffffffffffff80821115610884578788fd5b6108908e838f016107dc565b909b50995060408d01359150808211156108a8578788fd5b506108b58d828e016107dc565b90985096505060608b013560ff811681146108ce578586fd5b945060808b01356108de81610b0f565b93506108ed8c60a08d016107c5565b92506108fc8c60c08d016107c5565b915061090b8c60e08d016107c5565b90509295989b9194979a5092959850565b60006020828403121561092d578081fd5b5051919050565b600060208284031215610945578081fd5b5035919050565b60008151808452815b8181101561097157602081850181015186830182015201610955565b818111156109825782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b602080825260129082015271185b1c9958591e4b58dbdb999a59dd5c995960721b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751cd8dbdc994b585b1c9958591e4b5a5b5c1bdc9d195960521b604082015260600190565b6020808252600e908201526d1b9bdd0b58dbdb999a59dd5c995960921b604082015260600190565b600060208252825160806020840152610ac660a084018261094c565b90506020840151601f19848303016040850152610ae3828261094c565b6040860151606086810191909152909501516001600160a01b0316608090940193909352509192915050565b6001600160a01b0381168114610b2457600080fd5b5056fea26469706673582212200bc9eb0956b9c7bc67b0b7992bbe42af6bc31001a55732a8ca1c450ada744f3a64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1378:2197:24:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1378:2197:24;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1378:2197:24;;;;;;", - "deployedSourceMap": "1378:2197:24:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3091:114;;;;;;:::i;:::-;;:::i;:::-;;1689:145:83;;;:::i;2549:169:24:-;;;:::i;1066:77:83:-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2721:258:24;;;;;;:::i;:::-;;:::i;2982:106::-;;;;;;:::i;:::-;;:::i;1549:879::-;;;;;;:::i;:::-;;:::i;2431:115::-;;;:::i;:::-;;;;;;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;3091:114:24:-;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;3173:13:24::1;:28:::0;3091:114::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;2549:169:24:-;2614:22;;2606:63;;;;-1:-1:-1;;;2606:63:24;;;;;;;:::i;:::-;2698:9;:7;:9::i;:::-;:16;;-1:-1:-1;;;2698:16:24;;:14;;;;:16;;:14;:16;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2673:22;:41;2549:169::o;1066:77:83:-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;2721:258:24:-;-1:-1:-1;;;;;2792:27:24;;;;;;:18;:27;;;;;;;;2791:28;2783:63;;;;-1:-1:-1;;;2783:63:24;;;;;;;:::i;:::-;2904:13;;:32;;-1:-1:-1;;;2904:32:24;;2876:61;;-1:-1:-1;;;;;2904:13:24;;:23;;:32;;2928:7;;2904:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2876:23:24;;;;;;:14;:23;;;;;;;:27;:61::i;:::-;-1:-1:-1;;;;;2850:23:24;;;;;;;:14;:23;;;;;;;;:87;;;;2941:18;:27;;;:34;;-1:-1:-1;;2941:34:24;2971:4;2941:34;;;2721:258::o;2982:106::-;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;3060:11:24::1;:24:::0;;-1:-1:-1;;;;;;3060:24:24::1;-1:-1:-1::0;;;;;3060:24:24;;;::::1;::::0;;;::::1;::::0;;2982:106::o;1549:879::-;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1894:22:24::1;::::0;:36;1886:67:::1;;;;-1:-1:-1::0;;;1886:67:24::1;;;;;;;:::i;:::-;1982:9;:7;:9::i;:::-;:16;::::0;-1:-1:-1;;;1982:16:24;;:14:::1;::::0;::::1;::::0;:16:::1;::::0;:14;:16:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1957:22;:41:::0;2003:11:::1;:40:::0;;-1:-1:-1;;;;;;2003:40:24::1;-1:-1:-1::0;;;;;2003:40:24;::::1;;::::0;;2047:28:::1;:6;2070:5:::0;;2047:28:::1;:::i;:::-;-1:-1:-1::0;2079:30:24::1;:8;2102:7:::0;;2079:30:::1;:::i;:::-;-1:-1:-1::0;2113:10:24::1;:31:::0;;-1:-1:-1;;2113:31:24::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;2148:13:::1;:53:::0;;-1:-1:-1;;;;;;2148:53:24;;::::1;-1:-1:-1::0;;;;;2148:53:24;;::::1;;::::0;;;-1:-1:-1;2205:57:24;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;2266:20:::1;:60:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;2330:13:::1;:61:::0;;;;::::1;::::0;;;::::1;;::::0;;-1:-1:-1;;2418:6:24::1;2395:13;:29:::0;-1:-1:-1;;;1549:879:24:o;2431:115::-;2482:37;;:::i;:::-;2533:9;:7;:9::i;:::-;2526:16;;2431:115;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;3303:270:24:-;3346:37;;:::i;:::-;3397:172;;;;;;;;;;;;;;;-1:-1:-1;;;3397:172:24;;;;;;;;;;;;;;;;-1:-1:-1;;;3397:172:24;;;;;;;;;;;;-1:-1:-1;;3517:10:24;:8;:10::i;:::-;3397:172;;3559:4;3397:172;;;;;3390:179;-1:-1:-1;3303:270:24;:::o;1715:97:77:-;1773:7;1799:1;1794;:6;;:14;;1807:1;1794:14;;;1803:1;1794:14;1787:21;;1715:97;;;;;:::o;3208:92:24:-;3286:9;;3278:19::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;5:130;72:20;;-1:-1;;;;;12650:54;;13324:35;;13314:2;;13373:1;;13363:12;298:337;;;413:3;406:4;398:6;394:17;390:27;380:2;;-1:-1;;421:12;380:2;-1:-1;451:20;;491:18;480:30;;477:2;;;-1:-1;;513:12;477:2;557:4;549:6;545:17;533:29;;608:3;557:4;588:17;549:6;574:32;;571:41;568:2;;;625:1;;615:12;568:2;373:262;;;;;:::o;1054:241::-;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;-1:-1;;1164:12;1126:2;1226:53;1271:7;1247:22;1226:53;:::i;1302:1369::-;;;;;;;;;;;1563:3;1551:9;1542:7;1538:23;1534:33;1531:2;;;-1:-1;;1570:12;1531:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1622:63;-1:-1;1750:2;1735:18;;1722:32;1774:18;1763:30;;;1760:2;;;-1:-1;;1796:12;1760:2;1834:65;1891:7;1882:6;1871:9;1867:22;1834:65;:::i;:::-;1816:83;;-1:-1;1816:83;-1:-1;1964:2;1949:18;;1936:32;;-1:-1;1977:30;;;1974:2;;;-1:-1;;2010:12;1974:2;;2048:65;2105:7;2096:6;2085:9;2081:22;2048:65;:::i;:::-;2030:83;;-1:-1;2030:83;-1:-1;;2150:2;2187:22;;986:20;12866:4;12855:16;;13694:33;;13684:2;;-1:-1;;13731:12;13684:2;2158:61;-1:-1;2256:3;2296:22;;72:20;97:33;72:20;97:33;:::i;:::-;2265:63;-1:-1;2384:53;2429:7;2365:3;2405:22;;2384:53;:::i;:::-;2374:63;;2493:53;2538:7;2474:3;2518:9;2514:22;2493:53;:::i;:::-;2483:63;;2602:53;2647:7;2583:3;2627:9;2623:22;2602:53;:::i;:::-;2592:63;;1525:1146;;;;;;;;;;;;;:::o;2678:263::-;;2793:2;2781:9;2772:7;2768:23;2764:32;2761:2;;;-1:-1;;2799:12;2761:2;-1:-1;220:13;;2755:186;-1:-1;2755:186::o;2948:241::-;;3052:2;3040:9;3031:7;3027:23;3023:32;3020:2;;;-1:-1;;3058:12;3020:2;-1:-1;710:20;;3014:175;-1:-1;3014:175::o;3814:327::-;;3949:5;11866:12;12013:6;12008:3;12001:19;-1:-1;12956:101;12970:6;12967:1;12964:13;12956:101;;;12050:4;13037:11;;;;;13031:18;13018:11;;;;;13011:39;12985:10;12956:101;;;13072:6;13069:1;13066:13;13063:2;;;-1:-1;12050:4;13128:6;12045:3;13119:16;;13112:27;13063:2;-1:-1;13244:7;13228:14;-1:-1;;13224:28;4097:39;;;;12050:4;4097:39;;3896:245;-1:-1;;3896:245::o;8624:222::-;-1:-1;;;;;12650:54;;;;3527:37;;8751:2;8736:18;;8722:124::o;8853:416::-;9053:2;9067:47;;;4723:2;9038:18;;;12001:19;4759:34;12041:14;;;4739:55;-1:-1;;;4814:12;;;4807:30;4856:12;;;9024:245::o;9276:416::-;9476:2;9490:47;;;5107:2;9461:18;;;12001:19;-1:-1;;;12041:14;;;5123:41;5183:12;;;9447:245::o;9699:416::-;9899:2;9913:47;;;9884:18;;;12001:19;5470:34;12041:14;;;5450:55;5524:12;;;9870:245::o;10122:416::-;10322:2;10336:47;;;5775:2;10307:18;;;12001:19;-1:-1;;;12041:14;;;5791:45;5855:12;;;10293:245::o;10545:416::-;10745:2;10759:47;;;6106:2;10730:18;;;12001:19;-1:-1;;;12041:14;;;6122:37;6178:12;;;10716:245::o;10968:406::-;;11163:2;11184:17;11177:47;7606:16;7600:23;7534:4;11163:2;11152:9;11148:18;7636:38;7689:81;7525:14;11152:9;7525:14;7751:12;7689:81;:::i;:::-;7681:89;;11163:2;7851:5;7847:16;7841:23;13244:7;;11152:9;7904:4;7900:14;;7884;11152:9;7884:14;7877:38;7930:81;8006:4;7992:12;7930:81;:::i;:::-;7884:14;8088:16;;8082:23;8167:14;;;;8457:37;;;;8263:16;;;8257:23;-1:-1;;;;;12650:54;7534:4;8342:14;;;3527:37;;;;-1:-1;7922:89;;11134:240;-1:-1;;11134:240::o;13265:117::-;-1:-1;;;;;12650:54;;13324:35;;13314:2;;13373:1;;13363:12;13314:2;13308:74;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecMaintenance.sol\";\n\n\ncontract IexecMaintenanceDelegate is IexecMaintenance, DelegateBase\n{\n\tusing SafeMathExtended for uint256;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.EIP712Domain;\n\n\tfunction configure(\n\t\taddress _token,\n\t\tstring calldata _name,\n\t\tstring calldata _symbol,\n\t\tuint8 _decimal,\n\t\taddress _appregistryAddress,\n\t\taddress _datasetregistryAddress,\n\t\taddress _workerpoolregistryAddress,\n\t\taddress _v3_iexecHubAddress)\n\texternal override onlyOwner()\n\t{\n\t\trequire(EIP712DOMAIN_SEPARATOR == bytes32(0), 'already-configured');\n\t\tEIP712DOMAIN_SEPARATOR = _domain().hash();\n\n\t\tm_baseToken = IERC20KYC(_token);\n\t\tm_name = _name;\n\t\tm_symbol = _symbol;\n\t\tm_decimals = _decimal;\n\t\tm_appregistry = IRegistry(_appregistryAddress);\n\t\tm_datasetregistry = IRegistry(_datasetregistryAddress);\n\t\tm_workerpoolregistry = IRegistry(_workerpoolregistryAddress);\n\t\tm_v3_iexecHub = IexecHubInterface(_v3_iexecHubAddress);\n\t\tm_callbackgas = 100000;\n\t}\n\n\tfunction domain()\n\texternal view override returns (IexecLibOrders_v5.EIP712Domain memory)\n\t{\n\t\treturn _domain();\n\t}\n\n\tfunction updateDomainSeparator()\n\texternal override\n\t{\n\t\trequire(EIP712DOMAIN_SEPARATOR != bytes32(0), 'not-configured');\n\t\tEIP712DOMAIN_SEPARATOR = _domain().hash();\n\t}\n\n\tfunction importScore(address _worker)\n\texternal override\n\t{\n\t\trequire(!m_v3_scoreImported[_worker], 'score-already-imported');\n\t\tm_workerScores[_worker] = m_workerScores[_worker].max(m_v3_iexecHub.viewScore(_worker));\n\t\tm_v3_scoreImported[_worker] = true;\n\t}\n\n\tfunction setTeeBroker(address _teebroker)\n\texternal override onlyOwner()\n\t{\n\t\tm_teebroker = _teebroker;\n\t}\n\n\tfunction setCallbackGas(uint256 _callbackgas)\n\texternal override onlyOwner()\n\t{\n\t\tm_callbackgas = _callbackgas;\n\t}\n\n\tfunction _chainId()\n\tinternal pure returns (uint256 id)\n\t{\n\t\tassembly { id := chainid() }\n\t}\n\n\tfunction _domain()\n\tinternal view returns (IexecLibOrders_v5.EIP712Domain memory)\n\t{\n\t\treturn IexecLibOrders_v5.EIP712Domain({\n\t\t\tname: 'iExecODB'\n\t\t,\tversion: '5.0.0'\n\t\t,\tchainId: _chainId()\n\t\t,\tverifyingContract: address(this)\n\t\t});\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceDelegate.sol", - "exportedSymbols": { - "IexecMaintenanceDelegate": [ - 4715 - ] - }, - "id": 4716, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4497, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:24" - }, - { - "id": 4498, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:24" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4499, - "nodeType": "ImportDirective", - "scope": 4716, - "sourceUnit": 1659, - "src": "1301:29:24", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "../interfaces/IexecMaintenance.sol", - "id": 4500, - "nodeType": "ImportDirective", - "scope": 4716, - "sourceUnit": 9565, - "src": "1331:44:24", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4501, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "1415:16:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 4502, - "nodeType": "InheritanceSpecifier", - "src": "1415:16:24" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4503, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1433:12:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4504, - "nodeType": "InheritanceSpecifier", - "src": "1433:12:24" - } - ], - "contractDependencies": [ - 309, - 1658, - 9564, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4715, - "linearizedBaseContracts": [ - 4715, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9564 - ], - "name": "IexecMaintenanceDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 4507, - "libraryName": { - "contractScope": null, - "id": 4505, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1455:16:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1449:36:24", - "typeName": { - "id": 4506, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1477:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 4510, - "libraryName": { - "contractScope": null, - "id": 4508, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1493:17:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1487:59:24", - "typeName": { - "contractScope": null, - "id": 4509, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1515:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - } - }, - { - "baseFunctions": [ - 9540 - ], - "body": { - "id": 4595, - "nodeType": "Block", - "src": "1882:546:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 4538, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4533, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "1894:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1928:1:24", - "subdenomination": null, - "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": 4535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1920:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 4534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1920:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1920:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1894:36:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "616c72656164792d636f6e66696775726564", - "id": 4539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1932:20:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_73dd94fd065afd51f5f134b4d62cc6b78c975e215dc8004002516bd661992a5d", - "typeString": "literal_string \"already-configured\"" - }, - "value": "already-configured" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_73dd94fd065afd51f5f134b4d62cc6b78c975e215dc8004002516bd661992a5d", - "typeString": "literal_string \"already-configured\"" - } - ], - "id": 4532, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1886:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1886:67:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4541, - "nodeType": "ExpressionStatement", - "src": "1886:67:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4542, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "1957:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4543, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "1982:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1982:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 4545, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1391, - "src": "1982:14:24", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_EIP712Domain_$1236_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.EIP712Domain memory) pure returns (bytes32)" - } - }, - "id": 4546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1982:16:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1957:41:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4548, - "nodeType": "ExpressionStatement", - "src": "1957:41:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4549, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2003:11:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4551, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4512, - "src": "2036:6:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4550, - "name": "IERC20KYC", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1030, - "src": "2026:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20KYC_$1030_$", - "typeString": "type(contract IERC20KYC)" - } - }, - "id": 4552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2026:17:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "src": "2003:40:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 4554, - "nodeType": "ExpressionStatement", - "src": "2003:40:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4555, - "name": "m_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 219, - "src": "2047:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4556, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4514, - "src": "2070:5:24", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "2047:28:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 4558, - "nodeType": "ExpressionStatement", - "src": "2047:28:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4559, - "name": "m_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "2079:8:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4560, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4516, - "src": "2102:7:24", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "2079:30:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 4562, - "nodeType": "ExpressionStatement", - "src": "2079:30:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4563, - "name": "m_decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "2113:10:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4564, - "name": "_decimal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4518, - "src": "2136:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "2113:31:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "id": 4566, - "nodeType": "ExpressionStatement", - "src": "2113:31:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4567, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "2148:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4569, - "name": "_appregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4520, - "src": "2181:19:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4568, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2171:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2171:30:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2148:53:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4572, - "nodeType": "ExpressionStatement", - "src": "2148:53:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4573, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "2205:17:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4575, - "name": "_datasetregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4522, - "src": "2238:23:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4574, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2228:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2228:34:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2205:57:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4578, - "nodeType": "ExpressionStatement", - "src": "2205:57:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4579, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "2266:20:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4581, - "name": "_workerpoolregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4524, - "src": "2299:26:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4580, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2289:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2289:37:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2266:60:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4584, - "nodeType": "ExpressionStatement", - "src": "2266:60:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4585, - "name": "m_v3_iexecHub", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "2330:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4587, - "name": "_v3_iexecHubAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4526, - "src": "2371:19:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4586, - "name": "IexecHubInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12340, - "src": "2353:17:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecHubInterface_$12340_$", - "typeString": "type(contract IexecHubInterface)" - } - }, - "id": 4588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2353:38:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "src": "2330:61:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "id": 4590, - "nodeType": "ExpressionStatement", - "src": "2330:61:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4591, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "2395:13:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "313030303030", - "id": 4592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2418:6:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100000_by_1", - "typeString": "int_const 100000" - }, - "value": "100000" - }, - "src": "2395:29:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4594, - "nodeType": "ExpressionStatement", - "src": "2395:29:24" - } - ] - }, - "documentation": null, - "functionSelector": "b5521817", - "id": 4596, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4530, - "modifierName": { - "argumentTypes": null, - "id": 4529, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1869:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1869:11:24" - } - ], - "name": "configure", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4528, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1860:8:24" - }, - "parameters": { - "id": 4527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4512, - "mutability": "mutable", - "name": "_token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1571:23:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1571:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4514, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1598:22:24", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4513, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1598:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4516, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1624:24:24", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1624:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4518, - "mutability": "mutable", - "name": "_decimal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1652:25:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4517, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1652:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4520, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1681:36:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4522, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1721:40:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4521, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1721:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4524, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1765:43:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1765:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4526, - "mutability": "mutable", - "name": "_v3_iexecHubAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1812:36:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1812:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1567:282:24" - }, - "returnParameters": { - "id": 4531, - "nodeType": "ParameterList", - "parameters": [], - "src": "1882:0:24" - }, - "scope": 4715, - "src": "1549:879:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9545 - ], - "body": { - "id": 4605, - "nodeType": "Block", - "src": "2522:24:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4602, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "2533:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "functionReturnParameters": 4601, - "id": 4604, - "nodeType": "Return", - "src": "2526:16:24" - } - ] - }, - "documentation": null, - "functionSelector": "c2fb26a6", - "id": 4606, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "domain", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4598, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2464:8:24" - }, - "parameters": { - "id": 4597, - "nodeType": "ParameterList", - "parameters": [], - "src": "2446:2:24" - }, - "returnParameters": { - "id": 4601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4600, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4606, - "src": "2482:37:24", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 4599, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "2482:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2481:39:24" - }, - "scope": 4715, - "src": "2431:115:24", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9548 - ], - "body": { - "id": 4627, - "nodeType": "Block", - "src": "2602:116:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 4616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4611, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2614:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2648:1:24", - "subdenomination": null, - "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": 4613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2640:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 4612, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2640:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2640:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2614:36:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e6f742d636f6e66696775726564", - "id": 4617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2652:16:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c034fcd1d3fd7ebc05bd1c2440f192e7a9f34cb35f43f172a7fb026446302361", - "typeString": "literal_string \"not-configured\"" - }, - "value": "not-configured" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c034fcd1d3fd7ebc05bd1c2440f192e7a9f34cb35f43f172a7fb026446302361", - "typeString": "literal_string \"not-configured\"" - } - ], - "id": 4610, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2606:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2606:63:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4619, - "nodeType": "ExpressionStatement", - "src": "2606:63:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4620, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2673:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4621, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "2698:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2698:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 4623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1391, - "src": "2698:14:24", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_EIP712Domain_$1236_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.EIP712Domain memory) pure returns (bytes32)" - } - }, - "id": 4624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2698:16:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2673:41:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4626, - "nodeType": "ExpressionStatement", - "src": "2673:41:24" - } - ] - }, - "documentation": null, - "functionSelector": "89ccfe89", - "id": 4628, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "updateDomainSeparator", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4608, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2592:8:24" - }, - "parameters": { - "id": 4607, - "nodeType": "ParameterList", - "parameters": [], - "src": "2579:2:24" - }, - "returnParameters": { - "id": 4609, - "nodeType": "ParameterList", - "parameters": [], - "src": "2602:0:24" - }, - "scope": 4715, - "src": "2549:169:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9553 - ], - "body": { - "id": 4662, - "nodeType": "Block", - "src": "2779:200:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2791:28:24", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4635, - "name": "m_v3_scoreImported", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 308, - "src": "2792:18:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4637, - "indexExpression": { - "argumentTypes": null, - "id": 4636, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2811:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2792:27:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "73636f72652d616c72656164792d696d706f72746564", - "id": 4639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2821:24:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aab9b53f7bd21ebe84f3088146270ce521a47bf7b4deae17f21ca1315d1c25a2", - "typeString": "literal_string \"score-already-imported\"" - }, - "value": "score-already-imported" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_aab9b53f7bd21ebe84f3088146270ce521a47bf7b4deae17f21ca1315d1c25a2", - "typeString": "literal_string \"score-already-imported\"" - } - ], - "id": 4634, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2783:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2783:63:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4641, - "nodeType": "ExpressionStatement", - "src": "2783:63:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4642, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2850:14:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 4644, - "indexExpression": { - "argumentTypes": null, - "id": 4643, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2865:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2850:23:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4651, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2928:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 4649, - "name": "m_v3_iexecHub", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "2904:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "id": 4650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "viewScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 12187, - "src": "2904:23:24", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 4652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2904:32:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4645, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2876:14:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 4647, - "indexExpression": { - "argumentTypes": null, - "id": 4646, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2891:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2876:23:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "2876:27:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2876:61:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2850:87:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4655, - "nodeType": "ExpressionStatement", - "src": "2850:87:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4656, - "name": "m_v3_scoreImported", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 308, - "src": "2941:18:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4658, - "indexExpression": { - "argumentTypes": null, - "id": 4657, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2960:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2941:27:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 4659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2971:4:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2941:34:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4661, - "nodeType": "ExpressionStatement", - "src": "2941:34:24" - } - ] - }, - "documentation": null, - "functionSelector": "a9b20cee", - "id": 4663, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "importScore", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4632, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2769:8:24" - }, - "parameters": { - "id": 4631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4630, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4663, - "src": "2742:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2742:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2741:17:24" - }, - "returnParameters": { - "id": 4633, - "nodeType": "ParameterList", - "parameters": [], - "src": "2779:0:24" - }, - "scope": 4715, - "src": "2721:258:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9558 - ], - "body": { - "id": 4675, - "nodeType": "Block", - "src": "3056:32:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4671, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "3060:11:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4672, - "name": "_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4665, - "src": "3074:10:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3060:24:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4674, - "nodeType": "ExpressionStatement", - "src": "3060:24:24" - } - ] - }, - "documentation": null, - "functionSelector": "aefb52b4", - "id": 4676, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4669, - "modifierName": { - "argumentTypes": null, - "id": 4668, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3043:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3043:11:24" - } - ], - "name": "setTeeBroker", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4667, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3034:8:24" - }, - "parameters": { - "id": 4666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4665, - "mutability": "mutable", - "name": "_teebroker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4676, - "src": "3004:18:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3004:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3003:20:24" - }, - "returnParameters": { - "id": 4670, - "nodeType": "ParameterList", - "parameters": [], - "src": "3056:0:24" - }, - "scope": 4715, - "src": "2982:106:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9563 - ], - "body": { - "id": 4688, - "nodeType": "Block", - "src": "3169:36:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4684, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "3173:13:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4685, - "name": "_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4678, - "src": "3189:12:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3173:28:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4687, - "nodeType": "ExpressionStatement", - "src": "3173:28:24" - } - ] - }, - "documentation": null, - "functionSelector": "01d09a3c", - "id": 4689, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4682, - "modifierName": { - "argumentTypes": null, - "id": 4681, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3156:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3156:11:24" - } - ], - "name": "setCallbackGas", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4680, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3147:8:24" - }, - "parameters": { - "id": 4679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4678, - "mutability": "mutable", - "name": "_callbackgas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4689, - "src": "3115:20:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3115:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3114:22:24" - }, - "returnParameters": { - "id": 4683, - "nodeType": "ParameterList", - "parameters": [], - "src": "3169:0:24" - }, - "scope": 4715, - "src": "3091:114:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 4695, - "nodeType": "Block", - "src": "3265:35:24", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "3278:19:24", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3280:15:24", - "value": { - "arguments": [], - "functionName": { - "name": "chainid", - "nodeType": "YulIdentifier", - "src": "3286:7:24" - }, - "nodeType": "YulFunctionCall", - "src": "3286:9:24" - }, - "variableNames": [ - { - "name": "id", - "nodeType": "YulIdentifier", - "src": "3280:2:24" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 4692, - "isOffset": false, - "isSlot": false, - "src": "3280:2:24", - "valueSize": 1 - } - ], - "id": 4694, - "nodeType": "InlineAssembly", - "src": "3269:28:24" - } - ] - }, - "documentation": null, - "id": 4696, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_chainId", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4690, - "nodeType": "ParameterList", - "parameters": [], - "src": "3225:2:24" - }, - "returnParameters": { - "id": 4693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4692, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4696, - "src": "3252:10:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4691, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3252:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3251:12:24" - }, - "scope": 4715, - "src": "3208:92:24", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4713, - "nodeType": "Block", - "src": "3386:187:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "69457865634f4442", - "id": 4703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3452:10:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d09e9ea0312bbb0f4fb83599321c7d1cf938d018312d2bbab59677d8eb85fe1c", - "typeString": "literal_string \"iExecODB\"" - }, - "value": "iExecODB" - }, - { - "argumentTypes": null, - "hexValue": "352e302e30", - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3486:7:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ade050ecfcf8ae20ae1d10a23573f9d7e0bad85e74a2cf8338a65401e64558c", - "typeString": "literal_string \"5.0.0\"" - }, - "value": "5.0.0" - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4705, - "name": "_chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4696, - "src": "3517:8:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$__$returns$_t_uint256_$", - "typeString": "function () pure returns (uint256)" - } - }, - "id": 4706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3517:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4709, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3559:4:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenanceDelegate_$4715", - "typeString": "contract IexecMaintenanceDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecMaintenanceDelegate_$4715", - "typeString": "contract IexecMaintenanceDelegate" - } - ], - "id": 4708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3551:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3551:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3551:13:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d09e9ea0312bbb0f4fb83599321c7d1cf938d018312d2bbab59677d8eb85fe1c", - "typeString": "literal_string \"iExecODB\"" - }, - { - "typeIdentifier": "t_stringliteral_2ade050ecfcf8ae20ae1d10a23573f9d7e0bad85e74a2cf8338a65401e64558c", - "typeString": "literal_string \"5.0.0\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 4701, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3397:17:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "EIP712Domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 1236, - "src": "3397:30:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1236_storage_ptr_$", - "typeString": "type(struct IexecLibOrders_v5.EIP712Domain storage pointer)" - } - }, - "id": 4711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [ - "name", - "version", - "chainId", - "verifyingContract" - ], - "nodeType": "FunctionCall", - "src": "3397:172:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "functionReturnParameters": 4700, - "id": 4712, - "nodeType": "Return", - "src": "3390:179:24" - } - ] - }, - "documentation": null, - "id": 4714, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_domain", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4697, - "nodeType": "ParameterList", - "parameters": [], - "src": "3319:2:24" - }, - "returnParameters": { - "id": 4700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4699, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4714, - "src": "3346:37:24", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 4698, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "3346:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3345:39:24" - }, - "scope": 4715, - "src": "3303:270:24", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 4716, - "src": "1378:2197:24" - } - ], - "src": "1242:2334:24" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceDelegate.sol", - "exportedSymbols": { - "IexecMaintenanceDelegate": [ - 4715 - ] - }, - "id": 4716, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4497, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:24" - }, - { - "id": 4498, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:24" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4499, - "nodeType": "ImportDirective", - "scope": 4716, - "sourceUnit": 1659, - "src": "1301:29:24", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenance.sol", - "file": "../interfaces/IexecMaintenance.sol", - "id": 4500, - "nodeType": "ImportDirective", - "scope": 4716, - "sourceUnit": 9565, - "src": "1331:44:24", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4501, - "name": "IexecMaintenance", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9564, - "src": "1415:16:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenance_$9564", - "typeString": "contract IexecMaintenance" - } - }, - "id": 4502, - "nodeType": "InheritanceSpecifier", - "src": "1415:16:24" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4503, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1433:12:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4504, - "nodeType": "InheritanceSpecifier", - "src": "1433:12:24" - } - ], - "contractDependencies": [ - 309, - 1658, - 9564, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4715, - "linearizedBaseContracts": [ - 4715, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9564 - ], - "name": "IexecMaintenanceDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 4507, - "libraryName": { - "contractScope": null, - "id": 4505, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1455:16:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1449:36:24", - "typeName": { - "id": 4506, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1477:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 4510, - "libraryName": { - "contractScope": null, - "id": 4508, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1493:17:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1487:59:24", - "typeName": { - "contractScope": null, - "id": 4509, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1515:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - } - }, - { - "baseFunctions": [ - 9540 - ], - "body": { - "id": 4595, - "nodeType": "Block", - "src": "1882:546:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 4538, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4533, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "1894:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1928:1:24", - "subdenomination": null, - "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": 4535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1920:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 4534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1920:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1920:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1894:36:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "616c72656164792d636f6e66696775726564", - "id": 4539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1932:20:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_73dd94fd065afd51f5f134b4d62cc6b78c975e215dc8004002516bd661992a5d", - "typeString": "literal_string \"already-configured\"" - }, - "value": "already-configured" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_73dd94fd065afd51f5f134b4d62cc6b78c975e215dc8004002516bd661992a5d", - "typeString": "literal_string \"already-configured\"" - } - ], - "id": 4532, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1886:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1886:67:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4541, - "nodeType": "ExpressionStatement", - "src": "1886:67:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4542, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "1957:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4543, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "1982:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1982:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 4545, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1391, - "src": "1982:14:24", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_EIP712Domain_$1236_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.EIP712Domain memory) pure returns (bytes32)" - } - }, - "id": 4546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1982:16:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "1957:41:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4548, - "nodeType": "ExpressionStatement", - "src": "1957:41:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4549, - "name": "m_baseToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2003:11:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4551, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4512, - "src": "2036:6:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4550, - "name": "IERC20KYC", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1030, - "src": "2026:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20KYC_$1030_$", - "typeString": "type(contract IERC20KYC)" - } - }, - "id": 4552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2026:17:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "src": "2003:40:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "id": 4554, - "nodeType": "ExpressionStatement", - "src": "2003:40:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4555, - "name": "m_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 219, - "src": "2047:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4556, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4514, - "src": "2070:5:24", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "2047:28:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 4558, - "nodeType": "ExpressionStatement", - "src": "2047:28:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4559, - "name": "m_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "2079:8:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4560, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4516, - "src": "2102:7:24", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "2079:30:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 4562, - "nodeType": "ExpressionStatement", - "src": "2079:30:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4563, - "name": "m_decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "2113:10:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4564, - "name": "_decimal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4518, - "src": "2136:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "2113:31:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "id": 4566, - "nodeType": "ExpressionStatement", - "src": "2113:31:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4567, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "2148:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4569, - "name": "_appregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4520, - "src": "2181:19:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4568, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2171:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2171:30:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2148:53:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4572, - "nodeType": "ExpressionStatement", - "src": "2148:53:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4573, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "2205:17:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4575, - "name": "_datasetregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4522, - "src": "2238:23:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4574, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2228:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2228:34:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2205:57:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4578, - "nodeType": "ExpressionStatement", - "src": "2205:57:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4579, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "2266:20:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4581, - "name": "_workerpoolregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4524, - "src": "2299:26:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4580, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "2289:9:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2289:37:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "2266:60:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4584, - "nodeType": "ExpressionStatement", - "src": "2266:60:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4585, - "name": "m_v3_iexecHub", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "2330:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4587, - "name": "_v3_iexecHubAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4526, - "src": "2371:19:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4586, - "name": "IexecHubInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12340, - "src": "2353:17:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecHubInterface_$12340_$", - "typeString": "type(contract IexecHubInterface)" - } - }, - "id": 4588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2353:38:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "src": "2330:61:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "id": 4590, - "nodeType": "ExpressionStatement", - "src": "2330:61:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4591, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "2395:13:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "313030303030", - "id": 4592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2418:6:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100000_by_1", - "typeString": "int_const 100000" - }, - "value": "100000" - }, - "src": "2395:29:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4594, - "nodeType": "ExpressionStatement", - "src": "2395:29:24" - } - ] - }, - "documentation": null, - "functionSelector": "b5521817", - "id": 4596, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4530, - "modifierName": { - "argumentTypes": null, - "id": 4529, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1869:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1869:11:24" - } - ], - "name": "configure", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4528, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1860:8:24" - }, - "parameters": { - "id": 4527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4512, - "mutability": "mutable", - "name": "_token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1571:23:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1571:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4514, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1598:22:24", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4513, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1598:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4516, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1624:24:24", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1624:6:24", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4518, - "mutability": "mutable", - "name": "_decimal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1652:25:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4517, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1652:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4520, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1681:36:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4522, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1721:40:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4521, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1721:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4524, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1765:43:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1765:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4526, - "mutability": "mutable", - "name": "_v3_iexecHubAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4596, - "src": "1812:36:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1812:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1567:282:24" - }, - "returnParameters": { - "id": 4531, - "nodeType": "ParameterList", - "parameters": [], - "src": "1882:0:24" - }, - "scope": 4715, - "src": "1549:879:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9545 - ], - "body": { - "id": 4605, - "nodeType": "Block", - "src": "2522:24:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4602, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "2533:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "functionReturnParameters": 4601, - "id": 4604, - "nodeType": "Return", - "src": "2526:16:24" - } - ] - }, - "documentation": null, - "functionSelector": "c2fb26a6", - "id": 4606, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "domain", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4598, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2464:8:24" - }, - "parameters": { - "id": 4597, - "nodeType": "ParameterList", - "parameters": [], - "src": "2446:2:24" - }, - "returnParameters": { - "id": 4601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4600, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4606, - "src": "2482:37:24", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 4599, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "2482:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2481:39:24" - }, - "scope": 4715, - "src": "2431:115:24", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9548 - ], - "body": { - "id": 4627, - "nodeType": "Block", - "src": "2602:116:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 4616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4611, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2614:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2648:1:24", - "subdenomination": null, - "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": 4613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2640:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 4612, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2640:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2640:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2614:36:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "6e6f742d636f6e66696775726564", - "id": 4617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2652:16:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c034fcd1d3fd7ebc05bd1c2440f192e7a9f34cb35f43f172a7fb026446302361", - "typeString": "literal_string \"not-configured\"" - }, - "value": "not-configured" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c034fcd1d3fd7ebc05bd1c2440f192e7a9f34cb35f43f172a7fb026446302361", - "typeString": "literal_string \"not-configured\"" - } - ], - "id": 4610, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2606:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2606:63:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4619, - "nodeType": "ExpressionStatement", - "src": "2606:63:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4620, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2673:22:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4621, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4714, - "src": "2698:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function () view returns (struct IexecLibOrders_v5.EIP712Domain memory)" - } - }, - "id": 4622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2698:9:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "id": 4623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1391, - "src": "2698:14:24", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_EIP712Domain_$1236_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_EIP712Domain_$1236_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.EIP712Domain memory) pure returns (bytes32)" - } - }, - "id": 4624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2698:16:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2673:41:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4626, - "nodeType": "ExpressionStatement", - "src": "2673:41:24" - } - ] - }, - "documentation": null, - "functionSelector": "89ccfe89", - "id": 4628, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "updateDomainSeparator", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4608, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2592:8:24" - }, - "parameters": { - "id": 4607, - "nodeType": "ParameterList", - "parameters": [], - "src": "2579:2:24" - }, - "returnParameters": { - "id": 4609, - "nodeType": "ParameterList", - "parameters": [], - "src": "2602:0:24" - }, - "scope": 4715, - "src": "2549:169:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9553 - ], - "body": { - "id": 4662, - "nodeType": "Block", - "src": "2779:200:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2791:28:24", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4635, - "name": "m_v3_scoreImported", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 308, - "src": "2792:18:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4637, - "indexExpression": { - "argumentTypes": null, - "id": 4636, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2811:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2792:27:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "73636f72652d616c72656164792d696d706f72746564", - "id": 4639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2821:24:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aab9b53f7bd21ebe84f3088146270ce521a47bf7b4deae17f21ca1315d1c25a2", - "typeString": "literal_string \"score-already-imported\"" - }, - "value": "score-already-imported" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_aab9b53f7bd21ebe84f3088146270ce521a47bf7b4deae17f21ca1315d1c25a2", - "typeString": "literal_string \"score-already-imported\"" - } - ], - "id": 4634, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2783:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2783:63:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4641, - "nodeType": "ExpressionStatement", - "src": "2783:63:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4642, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2850:14:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 4644, - "indexExpression": { - "argumentTypes": null, - "id": 4643, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2865:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2850:23:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4651, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2928:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 4649, - "name": "m_v3_iexecHub", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "2904:13:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "id": 4650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "viewScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 12187, - "src": "2904:23:24", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 4652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2904:32:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4645, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2876:14:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 4647, - "indexExpression": { - "argumentTypes": null, - "id": 4646, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2891:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2876:23:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "2876:27:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2876:61:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2850:87:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4655, - "nodeType": "ExpressionStatement", - "src": "2850:87:24" - }, - { - "expression": { - "argumentTypes": null, - "id": 4660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4656, - "name": "m_v3_scoreImported", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 308, - "src": "2941:18:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4658, - "indexExpression": { - "argumentTypes": null, - "id": 4657, - "name": "_worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "2960:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2941:27:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 4659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2971:4:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2941:34:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4661, - "nodeType": "ExpressionStatement", - "src": "2941:34:24" - } - ] - }, - "documentation": null, - "functionSelector": "a9b20cee", - "id": 4663, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "importScore", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4632, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2769:8:24" - }, - "parameters": { - "id": 4631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4630, - "mutability": "mutable", - "name": "_worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4663, - "src": "2742:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2742:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2741:17:24" - }, - "returnParameters": { - "id": 4633, - "nodeType": "ParameterList", - "parameters": [], - "src": "2779:0:24" - }, - "scope": 4715, - "src": "2721:258:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9558 - ], - "body": { - "id": 4675, - "nodeType": "Block", - "src": "3056:32:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4671, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "3060:11:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4672, - "name": "_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4665, - "src": "3074:10:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3060:24:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4674, - "nodeType": "ExpressionStatement", - "src": "3060:24:24" - } - ] - }, - "documentation": null, - "functionSelector": "aefb52b4", - "id": 4676, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4669, - "modifierName": { - "argumentTypes": null, - "id": 4668, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3043:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3043:11:24" - } - ], - "name": "setTeeBroker", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4667, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3034:8:24" - }, - "parameters": { - "id": 4666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4665, - "mutability": "mutable", - "name": "_teebroker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4676, - "src": "3004:18:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4664, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3004:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3003:20:24" - }, - "returnParameters": { - "id": 4670, - "nodeType": "ParameterList", - "parameters": [], - "src": "3056:0:24" - }, - "scope": 4715, - "src": "2982:106:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9563 - ], - "body": { - "id": 4688, - "nodeType": "Block", - "src": "3169:36:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4684, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "3173:13:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4685, - "name": "_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4678, - "src": "3189:12:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3173:28:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4687, - "nodeType": "ExpressionStatement", - "src": "3173:28:24" - } - ] - }, - "documentation": null, - "functionSelector": "01d09a3c", - "id": 4689, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4682, - "modifierName": { - "argumentTypes": null, - "id": 4681, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "3156:9:24", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3156:11:24" - } - ], - "name": "setCallbackGas", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4680, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3147:8:24" - }, - "parameters": { - "id": 4679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4678, - "mutability": "mutable", - "name": "_callbackgas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4689, - "src": "3115:20:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3115:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3114:22:24" - }, - "returnParameters": { - "id": 4683, - "nodeType": "ParameterList", - "parameters": [], - "src": "3169:0:24" - }, - "scope": 4715, - "src": "3091:114:24", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 4695, - "nodeType": "Block", - "src": "3265:35:24", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "3278:19:24", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3280:15:24", - "value": { - "arguments": [], - "functionName": { - "name": "chainid", - "nodeType": "YulIdentifier", - "src": "3286:7:24" - }, - "nodeType": "YulFunctionCall", - "src": "3286:9:24" - }, - "variableNames": [ - { - "name": "id", - "nodeType": "YulIdentifier", - "src": "3280:2:24" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 4692, - "isOffset": false, - "isSlot": false, - "src": "3280:2:24", - "valueSize": 1 - } - ], - "id": 4694, - "nodeType": "InlineAssembly", - "src": "3269:28:24" - } - ] - }, - "documentation": null, - "id": 4696, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_chainId", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4690, - "nodeType": "ParameterList", - "parameters": [], - "src": "3225:2:24" - }, - "returnParameters": { - "id": 4693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4692, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4696, - "src": "3252:10:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4691, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3252:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3251:12:24" - }, - "scope": 4715, - "src": "3208:92:24", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4713, - "nodeType": "Block", - "src": "3386:187:24", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "69457865634f4442", - "id": 4703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3452:10:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d09e9ea0312bbb0f4fb83599321c7d1cf938d018312d2bbab59677d8eb85fe1c", - "typeString": "literal_string \"iExecODB\"" - }, - "value": "iExecODB" - }, - { - "argumentTypes": null, - "hexValue": "352e302e30", - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3486:7:24", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ade050ecfcf8ae20ae1d10a23573f9d7e0bad85e74a2cf8338a65401e64558c", - "typeString": "literal_string \"5.0.0\"" - }, - "value": "5.0.0" - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4705, - "name": "_chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4696, - "src": "3517:8:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$__$returns$_t_uint256_$", - "typeString": "function () pure returns (uint256)" - } - }, - "id": 4706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3517:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4709, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3559:4:24", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenanceDelegate_$4715", - "typeString": "contract IexecMaintenanceDelegate" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IexecMaintenanceDelegate_$4715", - "typeString": "contract IexecMaintenanceDelegate" - } - ], - "id": 4708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3551:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 4707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3551:7:24", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 4710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3551:13:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d09e9ea0312bbb0f4fb83599321c7d1cf938d018312d2bbab59677d8eb85fe1c", - "typeString": "literal_string \"iExecODB\"" - }, - { - "typeIdentifier": "t_stringliteral_2ade050ecfcf8ae20ae1d10a23573f9d7e0bad85e74a2cf8338a65401e64558c", - "typeString": "literal_string \"5.0.0\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 4701, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3397:17:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "EIP712Domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 1236, - "src": "3397:30:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1236_storage_ptr_$", - "typeString": "type(struct IexecLibOrders_v5.EIP712Domain storage pointer)" - } - }, - "id": 4711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "names": [ - "name", - "version", - "chainId", - "verifyingContract" - ], - "nodeType": "FunctionCall", - "src": "3397:172:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain memory" - } - }, - "functionReturnParameters": 4700, - "id": 4712, - "nodeType": "Return", - "src": "3390:179:24" - } - ] - }, - "documentation": null, - "id": 4714, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_domain", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 4697, - "nodeType": "ParameterList", - "parameters": [], - "src": "3319:2:24" - }, - "returnParameters": { - "id": 4700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4699, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4714, - "src": "3346:37:24", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 4698, - "name": "IexecLibOrders_v5.EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "3346:30:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3345:39:24" - }, - "scope": 4715, - "src": "3303:270:24", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 4716, - "src": "1378:2197:24" - } - ], - "src": "1242:2334:24" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.598Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecMaintenanceExtra.json b/build/contracts/IexecMaintenanceExtra.json deleted file mode 100644 index f07ddec31..000000000 --- a/build/contracts/IexecMaintenanceExtra.json +++ /dev/null @@ -1,391 +0,0 @@ -{ - "contractName": "IexecMaintenanceExtra", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "changeRegistries", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"changeRegistries\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol\":\"IexecMaintenanceExtra\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol\":{\"keccak256\":\"0xe341471747f151da610c5546a867f505ee274c10dc5d5c995a09d57f4d23940b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ea9d095be5843131896ca542462484ddae3be3e8959196b0d56ba9856023bae9\",\"dweb:/ipfs/QmYJaXYTvJeEHqLc7yCKRHUi8tSpGocwxSgTFaLu6Ypeyr\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecMaintenanceExtra\n{\n\tfunction changeRegistries(address,address,address) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol", - "exportedSymbols": { - "IexecMaintenanceExtra": [ - 9516 - ] - }, - "id": 9517, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9505, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:43" - }, - { - "id": 9506, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:43" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9516, - "linearizedBaseContracts": [ - 9516 - ], - "name": "IexecMaintenanceExtra", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "0e7c4033", - "id": 9515, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changeRegistries", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9508, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1363:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1363:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9510, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1371:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1371:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9512, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1379:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1379:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1362:25:43" - }, - "returnParameters": { - "id": 9514, - "nodeType": "ParameterList", - "parameters": [], - "src": "1396:0:43" - }, - "scope": 9516, - "src": "1337:60:43", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9517, - "src": "1302:97:43" - } - ], - "src": "1242:158:43" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol", - "exportedSymbols": { - "IexecMaintenanceExtra": [ - 9516 - ] - }, - "id": 9517, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9505, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:43" - }, - { - "id": 9506, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:43" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9516, - "linearizedBaseContracts": [ - 9516 - ], - "name": "IexecMaintenanceExtra", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "0e7c4033", - "id": 9515, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changeRegistries", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9508, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1363:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1363:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9510, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1371:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1371:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9512, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9515, - "src": "1379:7:43", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1379:7:43", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1362:25:43" - }, - "returnParameters": { - "id": 9514, - "nodeType": "ParameterList", - "parameters": [], - "src": "1396:0:43" - }, - "scope": 9516, - "src": "1337:60:43", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9517, - "src": "1302:97:43" - } - ], - "src": "1242:158:43" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.860Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecMaintenanceExtraDelegate.json b/build/contracts/IexecMaintenanceExtraDelegate.json deleted file mode 100644 index dfdc76f64..000000000 --- a/build/contracts/IexecMaintenanceExtraDelegate.json +++ /dev/null @@ -1,1167 +0,0 @@ -{ - "contractName": "IexecMaintenanceExtraDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_appregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_datasetregistryAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_workerpoolregistryAddress", - "type": "address" - } - ], - "name": "changeRegistries", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_appregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_datasetregistryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_workerpoolregistryAddress\",\"type\":\"address\"}],\"name\":\"changeRegistries\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceExtraDelegate.sol\":\"IexecMaintenanceExtraDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceExtraDelegate.sol\":{\"keccak256\":\"0x14ed7ba1f68fa46dbb7b1aa524d88c070586c37b9effeb27906fa86ba5d41e4d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b8cf3bed1e6bb77dde7685e3e7ac52cc50ef944d60de1853a2fb714faca2d4b3\",\"dweb:/ipfs/QmXQZCrJCj75aGu7DVkVPTrVTThwZjbrPQ8KSaUBXmuwph\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol\":{\"keccak256\":\"0xe341471747f151da610c5546a867f505ee274c10dc5d5c995a09d57f4d23940b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ea9d095be5843131896ca542462484ddae3be3e8959196b0d56ba9856023bae9\",\"dweb:/ipfs/QmYJaXYTvJeEHqLc7yCKRHUi8tSpGocwxSgTFaLu6Ypeyr\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206104cb833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b03909116906000805160206104cb833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6103ad8061011e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630e7c403314610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b1461008c575b600080fd5b61006461005f3660046102a3565b61009f565b005b61006461011c565b61007661019b565b60405161008391906102e8565b60405180910390f35b61006461009a366004610281565b6101aa565b6100a7610260565b6000546001600160a01b039081169116146100dd5760405162461bcd60e51b81526004016100d490610342565b60405180910390fd5b600580546001600160a01b039485166001600160a01b031991821617909155600680549385169382169390931790925560078054919093169116179055565b610124610260565b6000546001600160a01b039081169116146101515760405162461bcd60e51b81526004016100d490610342565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101b2610260565b6000546001600160a01b039081169116146101df5760405162461bcd60e51b81526004016100d490610342565b6001600160a01b0381166102055760405162461bcd60e51b81526004016100d4906102fc565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b80356001600160a01b038116811461027b57600080fd5b92915050565b600060208284031215610292578081fd5b61029c8383610264565b9392505050565b6000806000606084860312156102b7578182fd5b6102c18585610264565b92506102d08560208601610264565b91506102df8560408601610264565b90509250925092565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203d040efe607ab7e054060c33c43679c88b85232a1fb51de4713f5c0249bdb01f64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630e7c403314610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b1461008c575b600080fd5b61006461005f3660046102a3565b61009f565b005b61006461011c565b61007661019b565b60405161008391906102e8565b60405180910390f35b61006461009a366004610281565b6101aa565b6100a7610260565b6000546001600160a01b039081169116146100dd5760405162461bcd60e51b81526004016100d490610342565b60405180910390fd5b600580546001600160a01b039485166001600160a01b031991821617909155600680549385169382169390931790925560078054919093169116179055565b610124610260565b6000546001600160a01b039081169116146101515760405162461bcd60e51b81526004016100d490610342565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101b2610260565b6000546001600160a01b039081169116146101df5760405162461bcd60e51b81526004016100d490610342565b6001600160a01b0381166102055760405162461bcd60e51b81526004016100d4906102fc565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b80356001600160a01b038116811461027b57600080fd5b92915050565b600060208284031215610292578081fd5b61029c8383610264565b9392505050565b6000806000606084860312156102b7578182fd5b6102c18585610264565b92506102d08560208601610264565b91506102df8560408601610264565b90509250925092565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203d040efe607ab7e054060c33c43679c88b85232a1fb51de4713f5c0249bdb01f64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1383:432:25:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1383:432:25;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1383:432:25;;;;;;", - "deployedSourceMap": "1383:432:25:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1464:349;;;;;;:::i;:::-;;:::i;:::-;;1689:145:83;;;:::i;1066:77::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1983:240;;;;;;:::i;:::-;;:::i;1464:349:25:-;1280:12:83;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1631:13:25::1;:53:::0;;-1:-1:-1;;;;;1631:53:25;;::::1;-1:-1:-1::0;;;;;;1631:53:25;;::::1;;::::0;;;1688:17:::1;:57:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;1749:20:::1;:60:::0;;;;;::::1;::::0;::::1;;::::0;;1464:349::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;5:130:-1:-;72:20;;-1:-1;;;;;3140:54;;3265:35;;3255:2;;3314:1;;3304:12;3255:2;57:78;;;;:::o;142:241::-;;246:2;234:9;225:7;221:23;217:32;214:2;;;-1:-1;;252:12;214:2;314:53;359:7;335:22;314:53;:::i;:::-;304:63;208:175;-1:-1;;;208:175::o;390:491::-;;;;528:2;516:9;507:7;503:23;499:32;496:2;;;-1:-1;;534:12;496:2;596:53;641:7;617:22;596:53;:::i;:::-;586:63;;704:53;749:7;686:2;729:9;725:22;704:53;:::i;:::-;694:63;;812:53;857:7;794:2;837:9;833:22;812:53;:::i;:::-;802:63;;490:391;;;;;:::o;1733:222::-;-1:-1;;;;;3140:54;;;;959:37;;1860:2;1845:18;;1831:124::o;1962:416::-;2162:2;2176:47;;;1233:2;2147:18;;;2912:19;1269:34;2952:14;;;1249:55;-1:-1;;;1324:12;;;1317:30;1366:12;;;2133:245::o;2385:416::-;2585:2;2599:47;;;2570:18;;;2912:19;1653:34;2952:14;;;1633:55;1707:12;;;2556:245::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecMaintenanceExtra.sol\";\n\n\ncontract IexecMaintenanceExtraDelegate is IexecMaintenanceExtra, DelegateBase\n{\n\tfunction changeRegistries(\n\t\taddress _appregistryAddress,\n\t\taddress _datasetregistryAddress,\n\t\taddress _workerpoolregistryAddress)\n\texternal override onlyOwner()\n\t{\n\t\tm_appregistry = IRegistry(_appregistryAddress);\n\t\tm_datasetregistry = IRegistry(_datasetregistryAddress);\n\t\tm_workerpoolregistry = IRegistry(_workerpoolregistryAddress);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceExtraDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceExtraDelegate.sol", - "exportedSymbols": { - "IexecMaintenanceExtraDelegate": [ - 4756 - ] - }, - "id": 4757, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4717, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:25" - }, - { - "id": 4718, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:25" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4719, - "nodeType": "ImportDirective", - "scope": 4757, - "sourceUnit": 1659, - "src": "1301:29:25", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol", - "file": "../interfaces/IexecMaintenanceExtra.sol", - "id": 4720, - "nodeType": "ImportDirective", - "scope": 4757, - "sourceUnit": 9578, - "src": "1331:49:25", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4721, - "name": "IexecMaintenanceExtra", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9577, - "src": "1425:21:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenanceExtra_$9577", - "typeString": "contract IexecMaintenanceExtra" - } - }, - "id": 4722, - "nodeType": "InheritanceSpecifier", - "src": "1425:21:25" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4723, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1448:12:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4724, - "nodeType": "InheritanceSpecifier", - "src": "1448:12:25" - } - ], - "contractDependencies": [ - 309, - 1658, - 9577, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4756, - "linearizedBaseContracts": [ - 4756, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9577 - ], - "name": "IexecMaintenanceExtraDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9576 - ], - "body": { - "id": 4754, - "nodeType": "Block", - "src": "1627:186:25", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4736, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "1631:13:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4738, - "name": "_appregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4726, - "src": "1664:19:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4737, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1654:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1654:30:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1631:53:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4741, - "nodeType": "ExpressionStatement", - "src": "1631:53:25" - }, - { - "expression": { - "argumentTypes": null, - "id": 4746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4742, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "1688:17:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4744, - "name": "_datasetregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "1721:23:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4743, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1711:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1711:34:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1688:57:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4747, - "nodeType": "ExpressionStatement", - "src": "1688:57:25" - }, - { - "expression": { - "argumentTypes": null, - "id": 4752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4748, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "1749:20:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4750, - "name": "_workerpoolregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4730, - "src": "1782:26:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4749, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1772:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1772:37:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1749:60:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4753, - "nodeType": "ExpressionStatement", - "src": "1749:60:25" - } - ] - }, - "documentation": null, - "functionSelector": "0e7c4033", - "id": 4755, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4734, - "modifierName": { - "argumentTypes": null, - "id": 4733, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1614:9:25", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1614:11:25" - } - ], - "name": "changeRegistries", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4732, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1605:8:25" - }, - "parameters": { - "id": 4731, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4726, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1493:27:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1493:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1524:31:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1524:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4730, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1559:34:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1559:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1489:105:25" - }, - "returnParameters": { - "id": 4735, - "nodeType": "ParameterList", - "parameters": [], - "src": "1627:0:25" - }, - "scope": 4756, - "src": "1464:349:25", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 4757, - "src": "1383:432:25" - } - ], - "src": "1242:574:25" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecMaintenanceExtraDelegate.sol", - "exportedSymbols": { - "IexecMaintenanceExtraDelegate": [ - 4756 - ] - }, - "id": 4757, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4717, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:25" - }, - { - "id": 4718, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:25" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4719, - "nodeType": "ImportDirective", - "scope": 4757, - "sourceUnit": 1659, - "src": "1301:29:25", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecMaintenanceExtra.sol", - "file": "../interfaces/IexecMaintenanceExtra.sol", - "id": 4720, - "nodeType": "ImportDirective", - "scope": 4757, - "sourceUnit": 9578, - "src": "1331:49:25", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4721, - "name": "IexecMaintenanceExtra", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9577, - "src": "1425:21:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecMaintenanceExtra_$9577", - "typeString": "contract IexecMaintenanceExtra" - } - }, - "id": 4722, - "nodeType": "InheritanceSpecifier", - "src": "1425:21:25" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4723, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1448:12:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4724, - "nodeType": "InheritanceSpecifier", - "src": "1448:12:25" - } - ], - "contractDependencies": [ - 309, - 1658, - 9577, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 4756, - "linearizedBaseContracts": [ - 4756, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9577 - ], - "name": "IexecMaintenanceExtraDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9576 - ], - "body": { - "id": 4754, - "nodeType": "Block", - "src": "1627:186:25", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4736, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "1631:13:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4738, - "name": "_appregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4726, - "src": "1664:19:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4737, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1654:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1654:30:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1631:53:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4741, - "nodeType": "ExpressionStatement", - "src": "1631:53:25" - }, - { - "expression": { - "argumentTypes": null, - "id": 4746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4742, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "1688:17:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4744, - "name": "_datasetregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "1721:23:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4743, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1711:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1711:34:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1688:57:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4747, - "nodeType": "ExpressionStatement", - "src": "1688:57:25" - }, - { - "expression": { - "argumentTypes": null, - "id": 4752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 4748, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "1749:20:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4750, - "name": "_workerpoolregistryAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4730, - "src": "1782:26:25", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4749, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9985, - "src": "1772:9:25", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9985_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1772:37:25", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "src": "1749:60:25", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 4753, - "nodeType": "ExpressionStatement", - "src": "1749:60:25" - } - ] - }, - "documentation": null, - "functionSelector": "0e7c4033", - "id": 4755, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 4734, - "modifierName": { - "argumentTypes": null, - "id": 4733, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14081, - "src": "1614:9:25", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1614:11:25" - } - ], - "name": "changeRegistries", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4732, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1605:8:25" - }, - "parameters": { - "id": 4731, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4726, - "mutability": "mutable", - "name": "_appregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1493:27:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1493:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "_datasetregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1524:31:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1524:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4730, - "mutability": "mutable", - "name": "_workerpoolregistryAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4755, - "src": "1559:34:25", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1559:7:25", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1489:105:25" - }, - "returnParameters": { - "id": 4735, - "nodeType": "ParameterList", - "parameters": [], - "src": "1627:0:25" - }, - "scope": 4756, - "src": "1464:349:25", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 4757, - "src": "1383:432:25" - } - ], - "src": "1242:574:25" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.600Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecODBLibCore.json b/build/contracts/IexecODBLibCore.json deleted file mode 100644 index aec069dee..000000000 --- a/build/contracts/IexecODBLibCore.json +++ /dev/null @@ -1,2691 +0,0 @@ -{ - "contractName": "IexecODBLibCore", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":\"IexecODBLibCore\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204493ec2179bcde07ed4e239714ecbda190130fbaefd237a9cf7c7371d554a34d64736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204493ec2179bcde07ed4e239714ecbda190130fbaefd237a9cf7c7371d554a34d64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "32:1602:65:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "32:1602:65:-:0;;;;;;;;", - "source": "pragma solidity >0.5.0 <0.7.0;\n\nlibrary IexecODBLibCore\n{\n\t/**\n\t* Tools\n\t*/\n\tstruct Account\n\t{\n\t\tuint256 stake;\n\t\tuint256 locked;\n\t}\n\tstruct Category\n\t{\n\t\tstring name;\n\t\tstring description;\n\t\tuint256 workClockTimeRef;\n\t}\n\n\t/**\n\t * Clerk - Deals\n\t */\n\tstruct Resource\n\t{\n\t\taddress pointer;\n\t\taddress owner;\n\t\tuint256 price;\n\t}\n\tstruct Deal\n\t{\n\t\t// Ressources\n\t\tResource app;\n\t\tResource dataset;\n\t\tResource workerpool;\n\t\tuint256 trust;\n\t\tuint256 category;\n\t\tbytes32 tag;\n\t\t// execution details\n\t\taddress requester;\n\t\taddress beneficiary;\n\t\taddress callback;\n\t\tstring params;\n\t\t// execution settings\n\t\tuint256 startTime;\n\t\tuint256 botFirst;\n\t\tuint256 botSize;\n\t\t// consistency\n\t\tuint256 workerStake;\n\t\tuint256 schedulerRewardRatio;\n\t}\n\n\t/**\n\t * Tasks\n\t // TODO: rename Workorder → Task\n\t */\n\tenum TaskStatusEnum\n\t{\n\t\tUNSET, // Work order not yet initialized (invalid address)\n\t\tACTIVE, // Marketed → constributions are open\n\t\tREVEALING, // Starting consensus reveal\n\t\tCOMPLETED, // Concensus achieved\n\t\tFAILLED // Failled consensus\n\t}\n\tstruct Task\n\t{\n\t\tTaskStatusEnum status;\n\t\tbytes32 dealid;\n\t\tuint256 idx;\n\t\tuint256 timeref;\n\t\tuint256 contributionDeadline;\n\t\tuint256 revealDeadline;\n\t\tuint256 finalDeadline;\n\t\tbytes32 consensusValue;\n\t\tuint256 revealCounter;\n\t\tuint256 winnerCounter;\n\t\taddress[] contributors;\n\t\tbytes32 resultDigest;\n\t\tbytes results;\n\t}\n\n\t/**\n\t * Consensus\n\t */\n\tenum ContributionStatusEnum\n\t{\n\t\tUNSET,\n\t\tCONTRIBUTED,\n\t\tPROVED,\n\t\tREJECTED\n\t}\n\tstruct Contribution\n\t{\n\t\tContributionStatusEnum status;\n\t\tbytes32 resultHash;\n\t\tbytes32 resultSeal;\n\t\taddress enclaveChallenge;\n\t}\n\n}\n", - "sourcePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "exportedSymbols": { - "IexecODBLibCore": [ - 12603 - ] - }, - "id": 12604, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12504, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:65" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 12603, - "linearizedBaseContracts": [ - 12603 - ], - "name": "IexecODBLibCore", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "IexecODBLibCore.Account", - "id": 12509, - "members": [ - { - "constant": false, - "id": 12506, - "mutability": "mutable", - "name": "stake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12509, - "src": "97:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12505, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "97:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12508, - "mutability": "mutable", - "name": "locked", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12509, - "src": "114:14:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12507, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "114:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Account", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "77:55:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Category", - "id": 12516, - "members": [ - { - "constant": false, - "id": 12511, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "155:12:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12510, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "155:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12513, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "171:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "171:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12515, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "194:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "194:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Category", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "134:88:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Resource", - "id": 12523, - "members": [ - { - "constant": false, - "id": 12518, - "mutability": "mutable", - "name": "pointer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "274:15:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "274:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12520, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "293:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "293:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12522, - "mutability": "mutable", - "name": "price", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "310:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "310:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Resource", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "253:74:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Deal", - "id": 12554, - "members": [ - { - "constant": false, - "id": 12525, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "362:12:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12524, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "362:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12527, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "378:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12526, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "378:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12529, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "398:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12528, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "398:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12531, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "421:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12530, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "421:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12533, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "438:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "438:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12535, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "458:11:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "458:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12537, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "496:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "496:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12539, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "517:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "517:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12541, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "540:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "540:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12543, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "560:14:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12542, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "560:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12545, - "mutability": "mutable", - "name": "startTime", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "602:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12544, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "602:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12547, - "mutability": "mutable", - "name": "botFirst", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "623:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12546, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "623:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12549, - "mutability": "mutable", - "name": "botSize", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "643:15:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "643:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12551, - "mutability": "mutable", - "name": "workerStake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "679:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12550, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "679:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12553, - "mutability": "mutable", - "name": "schedulerRewardRatio", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "702:28:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12552, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "702:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Deal", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "329:405:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.TaskStatusEnum", - "id": 12560, - "members": [ - { - "id": 12555, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "819:5:65" - }, - { - "id": 12556, - "name": "ACTIVE", - "nodeType": "EnumValue", - "src": "884:6:65" - }, - { - "id": 12557, - "name": "REVEALING", - "nodeType": "EnumValue", - "src": "937:9:65" - }, - { - "id": 12558, - "name": "COMPLETED", - "nodeType": "EnumValue", - "src": "979:9:65" - }, - { - "id": 12559, - "name": "FAILLED", - "nodeType": "EnumValue", - "src": "1014:7:65" - } - ], - "name": "TaskStatusEnum", - "nodeType": "EnumDefinition", - "src": "794:254:65" - }, - { - "canonicalName": "IexecODBLibCore.Task", - "id": 12588, - "members": [ - { - "constant": false, - "id": 12562, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1067:21:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12561, - "name": "TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12560, - "src": "1067:14:65", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12564, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1092:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12563, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1092:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12566, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1112:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12565, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1112:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12568, - "mutability": "mutable", - "name": "timeref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1129:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12567, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1129:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12570, - "mutability": "mutable", - "name": "contributionDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1150:30:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1150:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12572, - "mutability": "mutable", - "name": "revealDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1184:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1184:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12574, - "mutability": "mutable", - "name": "finalDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1212:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12573, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1212:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12576, - "mutability": "mutable", - "name": "consensusValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1239:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12575, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1239:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12578, - "mutability": "mutable", - "name": "revealCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1267:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1267:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12580, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1294:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1294:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12583, - "mutability": "mutable", - "name": "contributors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1321:22:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 12581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1321:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 12582, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1321:9:65", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12585, - "mutability": "mutable", - "name": "resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1347:22:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12584, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1347:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12587, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1373:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12586, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1373:5:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Task", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "1050:344:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.ContributionStatusEnum", - "id": 12593, - "members": [ - { - "id": 12589, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "1454:5:65" - }, - { - "id": 12590, - "name": "CONTRIBUTED", - "nodeType": "EnumValue", - "src": "1463:11:65" - }, - { - "id": 12591, - "name": "PROVED", - "nodeType": "EnumValue", - "src": "1478:6:65" - }, - { - "id": 12592, - "name": "REJECTED", - "nodeType": "EnumValue", - "src": "1488:8:65" - } - ], - "name": "ContributionStatusEnum", - "nodeType": "EnumDefinition", - "src": "1421:78:65" - }, - { - "canonicalName": "IexecODBLibCore.Contribution", - "id": 12602, - "members": [ - { - "constant": false, - "id": 12595, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1526:29:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12594, - "name": "ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12593, - "src": "1526:22:65", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12597, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1559:18:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1559:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12599, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1581:18:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12598, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1581:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12601, - "mutability": "mutable", - "name": "enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1603:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12600, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1603:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Contribution", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "1501:130:65", - "visibility": "public" - } - ], - "scope": 12604, - "src": "32:1602:65" - } - ], - "src": "0:1635:65" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibCore.sol", - "exportedSymbols": { - "IexecODBLibCore": [ - 12603 - ] - }, - "id": 12604, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12504, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:65" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 12603, - "linearizedBaseContracts": [ - 12603 - ], - "name": "IexecODBLibCore", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "IexecODBLibCore.Account", - "id": 12509, - "members": [ - { - "constant": false, - "id": 12506, - "mutability": "mutable", - "name": "stake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12509, - "src": "97:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12505, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "97:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12508, - "mutability": "mutable", - "name": "locked", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12509, - "src": "114:14:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12507, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "114:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Account", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "77:55:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Category", - "id": 12516, - "members": [ - { - "constant": false, - "id": 12511, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "155:12:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12510, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "155:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12513, - "mutability": "mutable", - "name": "description", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "171:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "171:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12515, - "mutability": "mutable", - "name": "workClockTimeRef", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12516, - "src": "194:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "194:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Category", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "134:88:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Resource", - "id": 12523, - "members": [ - { - "constant": false, - "id": 12518, - "mutability": "mutable", - "name": "pointer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "274:15:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "274:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12520, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "293:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "293:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12522, - "mutability": "mutable", - "name": "price", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12523, - "src": "310:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "310:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Resource", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "253:74:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.Deal", - "id": 12554, - "members": [ - { - "constant": false, - "id": 12525, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "362:12:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12524, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "362:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12527, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "378:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12526, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "378:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12529, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "398:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - }, - "typeName": { - "contractScope": null, - "id": 12528, - "name": "Resource", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12523, - "src": "398:8:65", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$12523_storage_ptr", - "typeString": "struct IexecODBLibCore.Resource" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12531, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "421:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12530, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "421:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12533, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "438:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "438:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12535, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "458:11:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "458:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12537, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "496:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "496:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12539, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "517:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "517:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12541, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "540:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "540:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12543, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "560:14:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12542, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "560:6:65", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12545, - "mutability": "mutable", - "name": "startTime", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "602:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12544, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "602:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12547, - "mutability": "mutable", - "name": "botFirst", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "623:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12546, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "623:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12549, - "mutability": "mutable", - "name": "botSize", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "643:15:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "643:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12551, - "mutability": "mutable", - "name": "workerStake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "679:19:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12550, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "679:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12553, - "mutability": "mutable", - "name": "schedulerRewardRatio", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12554, - "src": "702:28:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12552, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "702:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Deal", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "329:405:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.TaskStatusEnum", - "id": 12560, - "members": [ - { - "id": 12555, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "819:5:65" - }, - { - "id": 12556, - "name": "ACTIVE", - "nodeType": "EnumValue", - "src": "884:6:65" - }, - { - "id": 12557, - "name": "REVEALING", - "nodeType": "EnumValue", - "src": "937:9:65" - }, - { - "id": 12558, - "name": "COMPLETED", - "nodeType": "EnumValue", - "src": "979:9:65" - }, - { - "id": 12559, - "name": "FAILLED", - "nodeType": "EnumValue", - "src": "1014:7:65" - } - ], - "name": "TaskStatusEnum", - "nodeType": "EnumDefinition", - "src": "794:254:65" - }, - { - "canonicalName": "IexecODBLibCore.Task", - "id": 12588, - "members": [ - { - "constant": false, - "id": 12562, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1067:21:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12561, - "name": "TaskStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12560, - "src": "1067:14:65", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$12560", - "typeString": "enum IexecODBLibCore.TaskStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12564, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1092:16:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12563, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1092:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12566, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1112:13:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12565, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1112:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12568, - "mutability": "mutable", - "name": "timeref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1129:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12567, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1129:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12570, - "mutability": "mutable", - "name": "contributionDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1150:30:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1150:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12572, - "mutability": "mutable", - "name": "revealDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1184:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1184:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12574, - "mutability": "mutable", - "name": "finalDeadline", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1212:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12573, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1212:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12576, - "mutability": "mutable", - "name": "consensusValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1239:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12575, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1239:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12578, - "mutability": "mutable", - "name": "revealCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1267:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1267:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12580, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1294:23:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1294:7:65", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12583, - "mutability": "mutable", - "name": "contributors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1321:22:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 12581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1321:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 12582, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1321:9:65", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12585, - "mutability": "mutable", - "name": "resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1347:22:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12584, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1347:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12587, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12588, - "src": "1373:17:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12586, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1373:5:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Task", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "1050:344:65", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibCore.ContributionStatusEnum", - "id": 12593, - "members": [ - { - "id": 12589, - "name": "UNSET", - "nodeType": "EnumValue", - "src": "1454:5:65" - }, - { - "id": 12590, - "name": "CONTRIBUTED", - "nodeType": "EnumValue", - "src": "1463:11:65" - }, - { - "id": 12591, - "name": "PROVED", - "nodeType": "EnumValue", - "src": "1478:6:65" - }, - { - "id": 12592, - "name": "REJECTED", - "nodeType": "EnumValue", - "src": "1488:8:65" - } - ], - "name": "ContributionStatusEnum", - "nodeType": "EnumDefinition", - "src": "1421:78:65" - }, - { - "canonicalName": "IexecODBLibCore.Contribution", - "id": 12602, - "members": [ - { - "constant": false, - "id": 12595, - "mutability": "mutable", - "name": "status", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1526:29:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - }, - "typeName": { - "contractScope": null, - "id": 12594, - "name": "ContributionStatusEnum", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12593, - "src": "1526:22:65", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$12593", - "typeString": "enum IexecODBLibCore.ContributionStatusEnum" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12597, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1559:18:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1559:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12599, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1581:18:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12598, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1581:7:65", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12601, - "mutability": "mutable", - "name": "enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12602, - "src": "1603:24:65", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12600, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1603:7:65", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Contribution", - "nodeType": "StructDefinition", - "scope": 12603, - "src": "1501:130:65", - "visibility": "public" - } - ], - "scope": 12604, - "src": "32:1602:65" - } - ], - "src": "0:1635:65" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.888Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecODBLibOrders.json b/build/contracts/IexecODBLibOrders.json deleted file mode 100644 index 0f930e8e9..000000000 --- a/build/contracts/IexecODBLibOrders.json +++ /dev/null @@ -1,10201 +0,0 @@ -{ - "contractName": "IexecODBLibOrders", - "abi": [ - { - "inputs": [], - "name": "APPORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DATASETORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EIP712DOMAIN_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REQUESTORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "WORKERPOOLORDER_TYPEHASH", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "apphash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "requesthash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "datasethash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecODBLibOrders.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "workerpoolhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "verifyingContract", - "type": "address" - } - ], - "internalType": "struct IexecODBLibOrders.EIP712Domain", - "name": "_domain", - "type": "tuple" - } - ], - "name": "hash", - "outputs": [ - { - "internalType": "bytes32", - "name": "domainhash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_structHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_domainHash", - "type": "bytes32" - } - ], - "name": "toEthTypedStructHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "typedStructHash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"APPORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DATASETORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REQUESTORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WORKERPOOLORDER_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"apphash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"requesthash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"datasethash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecODBLibOrders.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"workerpoolhash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"}],\"internalType\":\"struct IexecODBLibOrders.EIP712Domain\",\"name\":\"_domain\",\"type\":\"tuple\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"domainhash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_structHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_domainHash\",\"type\":\"bytes32\"}],\"name\":\"toEthTypedStructHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"typedStructHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":\"IexecODBLibOrders\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]}},\"version\":1}", - "bytecode": "0x610888610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100b35760003560e01c806358b505861161007b57806358b505861461012257806365db1dbb146101355780636f84d2da1461013d5780639a6f72ee14610145578063c49f91d31461014d578063eca34ccf14610155576100b3565b806304951329146100b85780630813424e146100e1578063176eaa49146100f4578063207dbbfe146101075780632bd4c7341461010f575b600080fd5b6100cb6100c63660046104eb565b610168565b6040516100d89190610822565b60405180910390f35b6100cb6100ef3660046105d0565b61019b565b6100cb6101023660046104ca565b6101e4565b6100cb610218565b6100cb61011d3660046104eb565b61023c565b6100cb61013036600461072b565b61026f565b6100cb6102a2565b6100cb6102c6565b6100cb6102ea565b6100cb61030e565b6100cb610163366004610526565b610332565b601f190180517f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00882526101208220915290565b6101a08101805180516020820120601f1990930180517ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae082529383526102008120939052905290565b600081836040516020016101f9929190610807565b6040516020818303038152906040528051906020012090505b92915050565b7f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00881565b601f190180517f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c82526101208220915290565b601f190180517faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb82526101608220915290565b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb81565b7f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c81565b7ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae081565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b805180516020808301919091208184018051805193810193909320601f19860180517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f825293875290825260a0812092905292909352905290565b80356001600160a01b038116811461021257600080fd5b600082601f8301126103b4578081fd5b813567ffffffffffffffff8111156103ca578182fd5b6103dd601f8201601f191660200161082b565b91508082528360208285010111156103f457600080fd5b8060208401602084013760009082016020015292915050565b6000610120808385031215610420578182fd5b6104298161082b565b915050610436838361038d565b8152602082013560208201526040820135604082015260608201356060820152610463836080840161038d565b60808201526104758360a0840161038d565b60a08201526104878360c0840161038d565b60c082015260e082013560e08201526101008083013567ffffffffffffffff8111156104b257600080fd5b6104be858286016103a4565b82840152505092915050565b600080604083850312156104dc578182fd5b50508035926020909101359150565b6000602082840312156104fc578081fd5b813567ffffffffffffffff811115610512578182fd5b61051e8482850161040d565b949350505050565b600060208284031215610537578081fd5b813567ffffffffffffffff8082111561054e578283fd5b9083019060808286031215610561578283fd5b61056b608061082b565b823582811115610579578485fd5b610585878286016103a4565b825250602083013582811115610599578485fd5b6105a5878286016103a4565b602083015250604083013560408201526105c2866060850161038d565b606082015295945050505050565b6000602082840312156105e1578081fd5b813567ffffffffffffffff808211156105f8578283fd5b818401915061020080838703121561060e578384fd5b6106178161082b565b9050610623868461038d565b81526020830135602082015261063c866040850161038d565b604082015260608301356060820152610658866080850161038d565b608082015260a083013560a08201526106748660c0850161038d565b60c082015260e083810135908201526101008084013590820152610120808401359082015261014080840135908201526101606106b38782860161038d565b908201526101806106c68785830161038d565b908201526101a083810135838111156106dd578586fd5b6106e9888287016103a4565b8284015250506101c08084013581830152506101e0808401358381111561070e578586fd5b61071a888287016103a4565b918301919091525095945050505050565b60006020828403121561073c578081fd5b813567ffffffffffffffff80821115610753578283fd5b8184019150610160808387031215610769578384fd5b6107728161082b565b905061077e868461038d565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526107bf8660c0850161038d565b60c08201526107d18660e0850161038d565b60e08201526101006107e58782860161038d565b908201526101208381013590820152610140808401358381111561070e578586fd5b61190160f01b81526002810192909252602282015260420190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561084a57600080fd5b60405291905056fea2646970667358221220065d280de7499e3ff6f64fef58970aa8ea7fe2837cafdf181e4c68ae166e40b764736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100b35760003560e01c806358b505861161007b57806358b505861461012257806365db1dbb146101355780636f84d2da1461013d5780639a6f72ee14610145578063c49f91d31461014d578063eca34ccf14610155576100b3565b806304951329146100b85780630813424e146100e1578063176eaa49146100f4578063207dbbfe146101075780632bd4c7341461010f575b600080fd5b6100cb6100c63660046104eb565b610168565b6040516100d89190610822565b60405180910390f35b6100cb6100ef3660046105d0565b61019b565b6100cb6101023660046104ca565b6101e4565b6100cb610218565b6100cb61011d3660046104eb565b61023c565b6100cb61013036600461072b565b61026f565b6100cb6102a2565b6100cb6102c6565b6100cb6102ea565b6100cb61030e565b6100cb610163366004610526565b610332565b601f190180517f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00882526101208220915290565b6101a08101805180516020820120601f1990930180517ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae082529383526102008120939052905290565b600081836040516020016101f9929190610807565b6040516020818303038152906040528051906020012090505b92915050565b7f60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d00881565b601f190180517f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c82526101208220915290565b601f190180517faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb82526101608220915290565b7faa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb81565b7f6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c81565b7ff24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae081565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b805180516020808301919091208184018051805193810193909320601f19860180517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f825293875290825260a0812092905292909352905290565b80356001600160a01b038116811461021257600080fd5b600082601f8301126103b4578081fd5b813567ffffffffffffffff8111156103ca578182fd5b6103dd601f8201601f191660200161082b565b91508082528360208285010111156103f457600080fd5b8060208401602084013760009082016020015292915050565b6000610120808385031215610420578182fd5b6104298161082b565b915050610436838361038d565b8152602082013560208201526040820135604082015260608201356060820152610463836080840161038d565b60808201526104758360a0840161038d565b60a08201526104878360c0840161038d565b60c082015260e082013560e08201526101008083013567ffffffffffffffff8111156104b257600080fd5b6104be858286016103a4565b82840152505092915050565b600080604083850312156104dc578182fd5b50508035926020909101359150565b6000602082840312156104fc578081fd5b813567ffffffffffffffff811115610512578182fd5b61051e8482850161040d565b949350505050565b600060208284031215610537578081fd5b813567ffffffffffffffff8082111561054e578283fd5b9083019060808286031215610561578283fd5b61056b608061082b565b823582811115610579578485fd5b610585878286016103a4565b825250602083013582811115610599578485fd5b6105a5878286016103a4565b602083015250604083013560408201526105c2866060850161038d565b606082015295945050505050565b6000602082840312156105e1578081fd5b813567ffffffffffffffff808211156105f8578283fd5b818401915061020080838703121561060e578384fd5b6106178161082b565b9050610623868461038d565b81526020830135602082015261063c866040850161038d565b604082015260608301356060820152610658866080850161038d565b608082015260a083013560a08201526106748660c0850161038d565b60c082015260e083810135908201526101008084013590820152610120808401359082015261014080840135908201526101606106b38782860161038d565b908201526101806106c68785830161038d565b908201526101a083810135838111156106dd578586fd5b6106e9888287016103a4565b8284015250506101c08084013581830152506101e0808401358381111561070e578586fd5b61071a888287016103a4565b918301919091525095945050505050565b60006020828403121561073c578081fd5b813567ffffffffffffffff80821115610753578283fd5b8184019150610160808387031215610769578384fd5b6107728161082b565b905061077e868461038d565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526107bf8660c0850161038d565b60c08201526107d18660e0850161038d565b60e08201526101006107e58782860161038d565b908201526101208381013590820152610140808401358381111561070e578586fd5b61190160f01b81526002810192909252602282015260420190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561084a57600080fd5b60405291905056fea2646970667358221220065d280de7499e3ff6f64fef58970aa8ea7fe2837cafdf181e4c68ae166e40b764736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "66:8264:66:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "66:8264:66:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4145:793;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6802:1323;;;;;;:::i;:::-;;:::i;8128:200::-;;;;;;:::i;:::-;;:::i;1436:117::-;;;:::i;4940:869::-;;;;;;:::i;:::-;;:::i;5811:989::-;;;;;;:::i;:::-;;:::i;1676:117::-;;;:::i;1556:::-;;;:::i;1796:::-;;;:::i;1316:::-;;;:::i;3061:1082::-;;;;;;:::i;:::-;;:::i;4145:793::-;-1:-1:-1;;4682:20:66;4676:27;;1487:66;4743:38;;4847:5;4815:38;;4896:35;;4815:38;4630:305::o;6802:1323::-;7617:20;;;;;7601:38;;;;;;-1:-1:-1;;7704:25:66;;;7698:32;;1847:66;7819:43;;7866:45;;;7985:5;7949:42;;8034:40;;;8078;;7949:42;7652:470::o;8128:200::-;8222:23;8298:11;8311;8269:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8259:65;;;;;;8252:72;;8128:200;;;;;:::o;1436:117::-;1487:66;1436:117;:::o;4940:869::-;-1:-1:-1;;5533:24:66;5527:31;;1607:66;5598:42;;5714:5;5678:42;;5763:39;;5678:42;5481:325::o;5811:989::-;-1:-1:-1;;6509:27:66;6503:34;;1727:66;6577:45;;6702:5;6663:45;;6751:42;;6663:45;6457:340::o;1676:117::-;1727:66;1676:117;:::o;1556:::-;1607:66;1556:117;:::o;1796:::-;1847:66;1796:117;:::o;1316:::-;1367:66;1316:117;:::o;3061:1082::-;3508:12;;3492:30;;;;;;;;;;3564:15;;;;;3548:33;;;;;;;;;-1:-1:-1;;3646:18:66;;3640:25;;1367:66;3789:39;;3832;;;3875;;;3981:4;3951:35;;4029:33;;;4066;;;;4103;;3951:35;3594:546::o;5:130:-1:-;72:20;;-1:-1;;;;;15783:54;;16222:35;;16212:2;;16271:1;;16261:12;280:440;;381:3;374:4;366:6;362:17;358:27;348:2;;-1:-1;;389:12;348:2;436:6;423:20;14876:18;14868:6;14865:30;14862:2;;;-1:-1;;14898:12;14862:2;458:64;14971:9;14952:17;;-1:-1;;14948:33;15039:4;15029:15;458:64;:::i;:::-;449:73;;542:6;535:5;528:21;646:3;15039:4;637:6;570;628:16;;625:25;622:2;;;663:1;;653:12;622:2;16010:6;15039:4;570:6;566:17;15039:4;604:5;600:16;15987:30;16066:1;16048:16;;;15039:4;16048:16;16041:27;604:5;341:379;-1:-1;;341:379::o;1219:1625::-;;1335:6;;1323:9;1318:3;1314:19;1310:32;1307:2;;;-1:-1;;1345:12;1307:2;1373:22;1335:6;1373:22;:::i;:::-;1364:31;;;1476:49;1521:3;1497:22;1476:49;:::i;:::-;1458:16;1451:75;1591:2;1649:9;1645:22;10444:20;1591:2;1610:5;1606:16;1599:75;1737:2;1795:9;1791:22;10444:20;1737:2;1756:5;1752:16;1745:75;1880:2;1938:9;1934:22;209:20;1880:2;1899:5;1895:16;1888:75;2069:49;2114:3;2035;2094:9;2090:22;2069:49;:::i;:::-;2035:3;2055:5;2051:16;2044:75;2228:49;2273:3;2194;2253:9;2249:22;2228:49;:::i;:::-;2194:3;2214:5;2210:16;2203:75;2386:49;2431:3;2352;2411:9;2407:22;2386:49;:::i;:::-;2352:3;2372:5;2368:16;2361:75;2497:3;2556:9;2552:22;209:20;2497:3;2517:5;2513:16;2506:75;2670:3;;2659:9;2655:19;2642:33;2695:18;2687:6;2684:30;2681:2;;;1444:1;;2717:12;2681:2;2764:58;2818:3;2809:6;2798:9;2794:22;2764:58;:::i;:::-;2670:3;2748:5;2744:18;2737:86;;;1301:1543;;;;:::o;10514:366::-;;;10635:2;10623:9;10614:7;10610:23;10606:32;10603:2;;;-1:-1;;10641:12;10603:2;-1:-1;;209:20;;;10793:2;10832:22;;;209:20;;-1:-1;10597:283::o;10887:381::-;;11018:2;11006:9;10997:7;10993:23;10989:32;10986:2;;;-1:-1;;11024:12;10986:2;11082:17;11069:31;11120:18;11112:6;11109:30;11106:2;;;-1:-1;;11142:12;11106:2;11172:80;11244:7;11235:6;11224:9;11220:22;11172:80;:::i;:::-;11162:90;10980:288;-1:-1;;;;10980:288::o;11671:389::-;;11806:2;11794:9;11785:7;11781:23;11777:32;11774:2;;;-1:-1;;11812:12;11774:2;11870:17;11857:31;11908:18;;11900:6;11897:30;11894:2;;;-1:-1;;11930:12;11894:2;12012:22;;;;4699:4;4678:19;;;4674:30;4671:2;;;-1:-1;;4707:12;4671:2;4735:20;4699:4;4735:20;:::i;:::-;4818:17;4805:31;11908:18;4848:6;4845:30;4842:2;;;-1:-1;;4878:12;4842:2;4923:59;4978:3;4969:6;4958:9;4954:22;4923:59;:::i;:::-;4905:16;4898:85;;11806:2;5064:9;5060:18;5047:32;11908:18;5091:6;5088:30;5085:2;;;-1:-1;;5121:12;5085:2;5166:59;5221:3;5212:6;5201:9;5197:22;5166:59;:::i;:::-;11806:2;5152:5;5148:16;5141:85;;5290:2;5348:9;5344:22;10444:20;5290:2;5309:5;5305:16;5298:75;5480:49;5525:3;5447:2;5505:9;5501:22;5480:49;:::i;:::-;5447:2;5462:16;;5455:75;5466:5;11768:292;-1:-1;;;;;11768:292::o;12067:389::-;;12202:2;12190:9;12181:7;12177:23;12173:32;12170:2;;;-1:-1;;12208:12;12170:2;12266:17;12253:31;12304:18;;12296:6;12293:30;12290:2;;;-1:-1;;12326:12;12290:2;12423:6;12412:9;12408:22;;;5722:6;;5710:9;5705:3;5701:19;5697:32;5694:2;;;-1:-1;;5732:12;5694:2;5760:22;5722:6;5760:22;:::i;:::-;5751:31;;5863:49;5908:3;5884:22;5863:49;:::i;:::-;5845:16;5838:75;12202:2;6039:9;6035:22;10444:20;12202:2;6000:5;5996:16;5989:75;6161:49;6206:3;6128:2;6186:9;6182:22;6161:49;:::i;:::-;6128:2;6147:5;6143:16;6136:75;6283:2;6341:9;6337:22;10444:20;6283:2;6302:5;6298:16;6291:75;6467:49;6512:3;6433;6492:9;6488:22;6467:49;:::i;:::-;6433:3;6453:5;6449:16;6442:75;6592:3;6651:9;6647:22;10444:20;6592:3;6612:5;6608:16;6601:75;6776:49;6821:3;6742;6801:9;6797:22;6776:49;:::i;:::-;6742:3;6758:16;;6751:75;6889:3;6944:22;;;10444:20;6905:16;;;6898:75;7033:3;7090:22;;;209:20;7049:18;;;7042:77;7184:3;7241:22;;;10444:20;7200:18;;;7193:77;7332:3;7389:22;;;10444:20;7348:18;;;7341:77;7486:3;7522:49;7567:3;7543:22;;;7522:49;:::i;:::-;7502:18;;;7495:77;7637:3;7673:49;7718:3;7694:22;;;7673:49;:::i;:::-;7653:18;;;7646:77;7814:3;7799:19;;;7786:33;7828:30;;;7825:2;;;-1:-1;;7861:12;7825:2;7908:59;7963:3;7954:6;7943:9;7939:22;7908:59;:::i;:::-;7814:3;7892:5;7888:18;7881:87;;;8029:3;;8090:9;8086:22;209:20;8029:3;8049:5;8045:18;8038:77;;8204:3;;8193:9;8189:19;8176:33;12304:18;8221:6;8218:30;8215:2;;;-1:-1;;8251:12;8215:2;8298:58;8352:3;8343:6;8332:9;8328:22;8298:58;:::i;:::-;8278:18;;;8271:86;;;;-1:-1;8282:5;12164:292;-1:-1;;;;;12164:292::o;12463:395::-;;12601:2;12589:9;12580:7;12576:23;12572:32;12569:2;;;-1:-1;;12607:12;12569:2;12665:17;12652:31;12703:18;;12695:6;12692:30;12689:2;;;-1:-1;;12725:12;12689:2;12825:6;12814:9;12810:22;;;8555:6;;8543:9;8538:3;8534:19;8530:32;8527:2;;;-1:-1;;8565:12;8527:2;8593:22;8555:6;8593:22;:::i;:::-;8584:31;;8703:49;8748:3;8724:22;8703:49;:::i;:::-;8685:16;8678:75;12601:2;8883:9;8879:22;10444:20;12601:2;8844:5;8840:16;8833:75;8971:2;9029:9;9025:22;10444:20;8971:2;8990:5;8986:16;8979:75;9114:2;9172:9;9168:22;209:20;9114:2;9133:5;9129:16;9122:75;9262:3;9321:9;9317:22;10444:20;9262:3;9282:5;9278:16;9271:75;9408:3;9467:9;9463:22;10444:20;9408:3;9428:5;9424:16;9417:75;9594:49;9639:3;9560;9619:9;9615:22;9594:49;:::i;:::-;9560:3;9580:5;9576:16;9569:75;9750:49;9795:3;9716;9775:9;9771:22;9750:49;:::i;:::-;9716:3;9736:5;9732:16;9725:75;9874:3;9910:49;9955:3;9874;9935:9;9931:22;9910:49;:::i;:::-;9890:18;;;9883:77;10021:3;10078:22;;;209:20;10037:18;;;10030:77;10196:3;10181:19;;;10168:33;10210:30;;;10207:2;;;-1:-1;;10243:12;13559:659;-1:-1;;;13428:87;;13413:1;13534:11;;12944:37;;;;14070:12;;;12944:37;14181:12;;;13804:414::o;14225:238::-;12944:37;;;14360:2;14345:18;;14331:132::o;14470:256::-;14532:2;14526:9;14558:17;;;14633:18;14618:34;;14654:22;;;14615:62;14612:2;;;14690:1;;14680:12;14612:2;14532;14699:22;14510:216;;-1:-1;14510:216::o", - "source": "pragma solidity >0.5.0 <0.7.0;\npragma experimental ABIEncoderV2;\n\nlibrary IexecODBLibOrders\n{\n\t// bytes32 public constant EIP712DOMAIN_TYPEHASH = keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\t// bytes32 public constant APPORDER_TYPEHASH = keccak256(\"AppOrder(address app,uint256 appprice,uint256 volume,bytes32 tag,address datasetrestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)\");\n\t// bytes32 public constant DATASETORDER_TYPEHASH = keccak256(\"DatasetOrder(address dataset,uint256 datasetprice,uint256 volume,bytes32 tag,address apprestrict,address workerpoolrestrict,address requesterrestrict,bytes32 salt)\");\n\t// bytes32 public constant WORKERPOOLORDER_TYPEHASH = keccak256(\"WorkerpoolOrder(address workerpool,uint256 workerpoolprice,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address apprestrict,address datasetrestrict,address requesterrestrict,bytes32 salt)\");\n\t// bytes32 public constant REQUESTORDER_TYPEHASH = keccak256(\"RequestOrder(address app,uint256 appmaxprice,address dataset,uint256 datasetmaxprice,address workerpool,uint256 workerpoolmaxprice,address requester,uint256 volume,bytes32 tag,uint256 category,uint256 trust,address beneficiary,address callback,string params,bytes32 salt)\");\n\tbytes32 public constant EIP712DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;\n\tbytes32 public constant APPORDER_TYPEHASH = 0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008;\n\tbytes32 public constant DATASETORDER_TYPEHASH = 0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c;\n\tbytes32 public constant WORKERPOOLORDER_TYPEHASH = 0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb;\n\tbytes32 public constant REQUESTORDER_TYPEHASH = 0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0;\n\n\tstruct EIP712Domain\n\t{\n\t\tstring name;\n\t\tstring version;\n\t\tuint256 chainId;\n\t\taddress verifyingContract;\n\t}\n\tstruct AppOrder\n\t{\n\t\taddress app;\n\t\tuint256 appprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\taddress datasetrestrict;\n\t\taddress workerpoolrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\tstruct DatasetOrder\n\t{\n\t\taddress dataset;\n\t\tuint256 datasetprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\taddress apprestrict;\n\t\taddress workerpoolrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\tstruct WorkerpoolOrder\n\t{\n\t\taddress workerpool;\n\t\tuint256 workerpoolprice;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\tuint256 category;\n\t\tuint256 trust;\n\t\taddress apprestrict;\n\t\taddress datasetrestrict;\n\t\taddress requesterrestrict;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\tstruct RequestOrder\n\t{\n\t\taddress app;\n\t\tuint256 appmaxprice;\n\t\taddress dataset;\n\t\tuint256 datasetmaxprice;\n\t\taddress workerpool;\n\t\tuint256 workerpoolmaxprice;\n\t\taddress requester;\n\t\tuint256 volume;\n\t\tbytes32 tag;\n\t\tuint256 category;\n\t\tuint256 trust;\n\t\taddress beneficiary;\n\t\taddress callback;\n\t\tstring params;\n\t\tbytes32 salt;\n\t\tbytes sign;\n\t}\n\n\tfunction hash(EIP712Domain memory _domain)\n\tpublic pure returns (bytes32 domainhash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\t// return keccak256(abi.encode(\n\t\t// \tEIP712DOMAIN_TYPEHASH\n\t\t// , keccak256(bytes(_domain.name))\n\t\t// , keccak256(bytes(_domain.version))\n\t\t// , _domain.chainId\n\t\t// , _domain.verifyingContract\n\t\t// ));\n\n\t\t// Compute sub-hashes\n\t\tbytes32 typeHash = EIP712DOMAIN_TYPEHASH;\n\t\tbytes32 nameHash = keccak256(bytes(_domain.name));\n\t\tbytes32 versionHash = keccak256(bytes(_domain.version));\n\t\tassembly {\n\t\t\t// Back up select memory\n\t\t\tlet temp1 := mload(sub(_domain, 0x20))\n\t\t\tlet temp2 := mload(add(_domain, 0x00))\n\t\t\tlet temp3 := mload(add(_domain, 0x20))\n\t\t\t// Write typeHash and sub-hashes\n\t\t\tmstore(sub(_domain, 0x20), typeHash)\n\t\t\tmstore(add(_domain, 0x00), nameHash)\n\t\t\tmstore(add(_domain, 0x20), versionHash)\n\t\t\t// Compute hash\n\t\t\tdomainhash := keccak256(sub(_domain, 0x20), 0xA0) // 160 = 32 + 128\n\t\t\t// Restore memory\n\t\t\tmstore(sub(_domain, 0x20), temp1)\n\t\t\tmstore(add(_domain, 0x00), temp2)\n\t\t\tmstore(add(_domain, 0x20), temp3)\n\t\t}\n\t}\n\tfunction hash(AppOrder memory _apporder)\n\tpublic pure returns (bytes32 apphash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\t// return keccak256(abi.encode(\n\t\t// \tAPPORDER_TYPEHASH\n\t\t// , _apporder.app\n\t\t// , _apporder.appprice\n\t\t// , _apporder.volume\n\t\t// , _apporder.tag\n\t\t// , _apporder.datasetrestrict\n\t\t// , _apporder.workerpoolrestrict\n\t\t// , _apporder.requesterrestrict\n\t\t// , _apporder.salt\n\t\t// ));\n\n\t\t// Compute sub-hashes\n\t\tbytes32 typeHash = APPORDER_TYPEHASH;\n\t\tassembly {\n\t\t\t// Back up select memory\n\t\t\tlet temp1 := mload(sub(_apporder, 0x20))\n\t\t\t// Write typeHash and sub-hashes\n\t\t\tmstore(sub(_apporder, 0x20), typeHash)\n\t\t\t// Compute hash\n\t\t\tapphash := keccak256(sub(_apporder, 0x20), 0x120) // 288 = 32 + 256\n\t\t\t// Restore memory\n\t\t\tmstore(sub(_apporder, 0x20), temp1)\n\t\t}\n\t}\n\tfunction hash(DatasetOrder memory _datasetorder)\n\tpublic pure returns (bytes32 datasethash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\t// return keccak256(abi.encode(\n\t\t// \tDATASETORDER_TYPEHASH\n\t\t// , _datasetorder.dataset\n\t\t// , _datasetorder.datasetprice\n\t\t// , _datasetorder.volume\n\t\t// , _datasetorder.tag\n\t\t// , _datasetorder.apprestrict\n\t\t// , _datasetorder.workerpoolrestrict\n\t\t// , _datasetorder.requesterrestrict\n\t\t// , _datasetorder.salt\n\t\t// ));\n\n\t\t// Compute sub-hashes\n\t\tbytes32 typeHash = DATASETORDER_TYPEHASH;\n\t\tassembly {\n\t\t\t// Back up select memory\n\t\t\tlet temp1 := mload(sub(_datasetorder, 0x20))\n\t\t\t// Write typeHash and sub-hashes\n\t\t\tmstore(sub(_datasetorder, 0x20), typeHash)\n\t\t\t// Compute hash\n\t\t\tdatasethash := keccak256(sub(_datasetorder, 0x20), 0x120) // 288 = 32 + 256\n\t\t\t// Restore memory\n\t\t\tmstore(sub(_datasetorder, 0x20), temp1)\n\t\t}\n\t}\n\tfunction hash(WorkerpoolOrder memory _workerpoolorder)\n\tpublic pure returns (bytes32 workerpoolhash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\t// return keccak256(abi.encode(\n\t\t// \tWORKERPOOLORDER_TYPEHASH\n\t\t// , _workerpoolorder.workerpool\n\t\t// , _workerpoolorder.workerpoolprice\n\t\t// , _workerpoolorder.volume\n\t\t// , _workerpoolorder.tag\n\t\t// , _workerpoolorder.category\n\t\t// , _workerpoolorder.trust\n\t\t// , _workerpoolorder.apprestrict\n\t\t// , _workerpoolorder.datasetrestrict\n\t\t// , _workerpoolorder.requesterrestrict\n\t\t// , _workerpoolorder.salt\n\t\t// ));\n\n\t\t// Compute sub-hashes\n\t\tbytes32 typeHash = WORKERPOOLORDER_TYPEHASH;\n\t\tassembly {\n\t\t\t// Back up select memory\n\t\t\tlet temp1 := mload(sub(_workerpoolorder, 0x20))\n\t\t\t// Write typeHash and sub-hashes\n\t\t\tmstore(sub(_workerpoolorder, 0x20), typeHash)\n\t\t\t// Compute hash\n\t\t\tworkerpoolhash := keccak256(sub(_workerpoolorder, 0x20), 0x160) // 352 = 32 + 320\n\t\t\t// Restore memory\n\t\t\tmstore(sub(_workerpoolorder, 0x20), temp1)\n\t\t}\n\t}\n\tfunction hash(RequestOrder memory _requestorder)\n\tpublic pure returns (bytes32 requesthash)\n\t{\n\t\t/**\n\t\t * Readeable but expensive\n\t\t */\n\t\t//return keccak256(abi.encodePacked(\n\t\t//\tabi.encode(\n\t\t//\t\tREQUESTORDER_TYPEHASH\n\t\t//\t, _requestorder.app\n\t\t//\t, _requestorder.appmaxprice\n\t\t//\t, _requestorder.dataset\n\t\t//\t, _requestorder.datasetmaxprice\n\t\t//\t, _requestorder.workerpool\n\t\t//\t, _requestorder.workerpoolmaxprice\n\t\t//\t, _requestorder.requester\n\t\t//\t, _requestorder.volume\n\t\t//\t, _requestorder.tag\n\t\t//\t, _requestorder.category\n\t\t//\t, _requestorder.trust\n\t\t//\t, _requestorder.beneficiary\n\t\t//\t, _requestorder.callback\n\t\t//\t, keccak256(bytes(_requestorder.params))\n\t\t//\t, _requestorder.salt\n\t\t//\t)\n\t\t//));\n\n\t\t// Compute sub-hashes\n\t\tbytes32 typeHash = REQUESTORDER_TYPEHASH;\n\t\tbytes32 paramsHash = keccak256(bytes(_requestorder.params));\n\t\tassembly {\n\t\t\t// Back up select memory\n\t\t\tlet temp1 := mload(sub(_requestorder, 0x020))\n\t\t\tlet temp2 := mload(add(_requestorder, 0x1A0))\n\t\t\t// Write typeHash and sub-hashes\n\t\t\tmstore(sub(_requestorder, 0x020), typeHash)\n\t\t\tmstore(add(_requestorder, 0x1A0), paramsHash)\n\t\t\t// Compute hash\n\t\t\trequesthash := keccak256(sub(_requestorder, 0x20), 0x200) // 512 = 32 + 480\n\t\t\t// Restore memory\n\t\t\tmstore(sub(_requestorder, 0x020), temp1)\n\t\t\tmstore(add(_requestorder, 0x1A0), temp2)\n\t\t}\n\t}\n\n\tfunction toEthTypedStructHash(bytes32 _structHash, bytes32 _domainHash)\n\tpublic pure returns (bytes32 typedStructHash)\n\t{\n\t\treturn keccak256(abi.encodePacked(\"\\x19\\x01\", _domainHash, _structHash));\n\t}\n}\n", - "sourcePath": "@iexec/interface/contracts/libs/IexecODBLibOrders.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibOrders.sol", - "exportedSymbols": { - "IexecODBLibOrders": [ - 12844 - ] - }, - "id": 12845, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12605, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:66" - }, - { - "id": 12606, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:66" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 12844, - "linearizedBaseContracts": [ - 12844 - ], - "name": "IexecODBLibOrders", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "c49f91d3", - "id": 12609, - "mutability": "constant", - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1316:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12607, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1316:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307838623733633363363962623866653364353132656363346366373539636337393233396637623137396230666661636161396137356435323262333934303066", - "id": 12608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1367:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63076024560530113402979550242307453568063438748328787417531900361828837441551_by_1", - "typeString": "int_const 6307...(69 digits omitted)...1551" - }, - "value": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "207dbbfe", - "id": 12612, - "mutability": "constant", - "name": "APPORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1436:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12610, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1436:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836303831356130656565633437646464663136313566653533623331643031366333313434346530316239643739366462333635343433613634343564303038", - "id": 12611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1487:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_43650578295105606754044185872167596760177065654633489567262380834068554436616_by_1", - "typeString": "int_const 4365...(69 digits omitted)...6616" - }, - "value": "0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "6f84d2da", - "id": 12615, - "mutability": "constant", - "name": "DATASETORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1556:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1556:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836636663393332613561336432326334333539323935623966343333656466663532623630373033666134373639306130346138336534303933336464343763", - "id": 12614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1607:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_49296048805850917090765960952023182941721207539109048881877448770624132338812_by_1", - "typeString": "int_const 4929...(69 digits omitted)...8812" - }, - "value": "0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "65db1dbb", - "id": 12618, - "mutability": "constant", - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1676:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12616, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1676:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307861613334323966623238316233343639313830333133336433643937386137356262373763363137656436626339616131363262396233303932303032326262", - "id": 12617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1727:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76985350049294276919496274109432266747292083504708634510021467980890602742459_by_1", - "typeString": "int_const 7698...(69 digits omitted)...2459" - }, - "value": "0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9a6f72ee", - "id": 12621, - "mutability": "constant", - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1796:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1796:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307866323465383533303334613361343530616261383435613832393134666262353634616438356163636361366366363262653131326131353435323066616530", - "id": 12620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1847:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_109598442660088300653958618162198742178051133390042090218504207231673715194592_by_1", - "typeString": "int_const 1095...(70 digits omitted)...4592" - }, - "value": "0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0" - }, - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.EIP712Domain", - "id": 12630, - "members": [ - { - "constant": false, - "id": 12623, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1942:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1942:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12625, - "mutability": "mutable", - "name": "version", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1958:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12624, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1958:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12627, - "mutability": "mutable", - "name": "chainId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1977:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1977:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12629, - "mutability": "mutable", - "name": "verifyingContract", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1996:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12628, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1996:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "EIP712Domain", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "1917:108:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.AppOrder", - "id": 12649, - "members": [ - { - "constant": false, - "id": 12632, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2048:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12631, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2048:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12634, - "mutability": "mutable", - "name": "appprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2063:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12633, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2063:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12636, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2083:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2083:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12638, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2101:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12637, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2101:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12640, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2116:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12639, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2116:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12642, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2143:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12641, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2143:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12644, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2173:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2173:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12646, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2202:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12645, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2202:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12648, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2218:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12647, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2218:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2027:207:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.DatasetOrder", - "id": 12668, - "members": [ - { - "constant": false, - "id": 12651, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2261:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12650, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2261:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12653, - "mutability": "mutable", - "name": "datasetprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2280:20:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12652, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2280:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12655, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2304:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12654, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2304:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12657, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2322:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12656, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2322:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12659, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2337:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12658, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2337:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12661, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2360:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2360:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12663, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2390:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2390:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12665, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2419:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12664, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2419:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12667, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2435:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12666, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2435:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2236:215:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.WorkerpoolOrder", - "id": 12691, - "members": [ - { - "constant": false, - "id": 12670, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2481:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2481:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12672, - "mutability": "mutable", - "name": "workerpoolprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2503:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12671, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2503:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12674, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2530:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2530:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12676, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2548:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12675, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2548:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12678, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2563:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2563:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12680, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2583:13:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12682, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2600:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2600:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12684, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2623:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12683, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2623:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12686, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2650:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12685, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2650:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12688, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2679:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12687, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2679:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12690, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2695:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2695:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2453:258:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.RequestOrder", - "id": 12724, - "members": [ - { - "constant": false, - "id": 12693, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2738:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2738:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12695, - "mutability": "mutable", - "name": "appmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2753:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12694, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2753:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12697, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2776:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12696, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2776:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12699, - "mutability": "mutable", - "name": "datasetmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2795:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12698, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2795:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12701, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2822:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12700, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2822:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12703, - "mutability": "mutable", - "name": "workerpoolmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2844:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12702, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2844:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12705, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2874:17:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12704, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12707, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2895:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12706, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2895:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12709, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2913:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12708, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2913:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12711, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2928:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12710, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12713, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2948:13:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12712, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2948:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12715, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2965:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2965:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12717, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2988:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2988:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12719, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3008:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12718, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3008:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12721, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3026:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3026:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12723, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3042:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12722, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3042:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2713:345:66", - "visibility": "public" - }, - { - "body": { - "id": 12757, - "nodeType": "Block", - "src": "3147:996:66", - "statements": [ - { - "assignments": [ - 12733 - ], - "declarations": [ - { - "constant": false, - "id": 12733, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3423:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3423:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12735, - "initialValue": { - "argumentTypes": null, - "id": 12734, - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12609, - "src": "3445:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3423:43:66" - }, - { - "assignments": [ - 12737 - ], - "declarations": [ - { - "constant": false, - "id": 12737, - "mutability": "mutable", - "name": "nameHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3470:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12736, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3470:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12745, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12741, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12726, - "src": "3508:7:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain memory" - } - }, - "id": 12742, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 12623, - "src": "3508:12:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3502:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12739, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3502:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3502:19:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12738, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3492:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3492:30:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3470:52:66" - }, - { - "assignments": [ - 12747 - ], - "declarations": [ - { - "constant": false, - "id": 12747, - "mutability": "mutable", - "name": "versionHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3526:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3526:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12755, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12751, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12726, - "src": "3564:7:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain memory" - } - }, - "id": 12752, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "version", - "nodeType": "MemberAccess", - "referencedDeclaration": 12625, - "src": "3564:15:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3558:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12749, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3558:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3558:22:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12748, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3548:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3548:33:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3526:55:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3594:546:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "3627:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3650:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3659:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3646:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3646:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3640:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3640:25:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "3631:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3669:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3692:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3701:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3688:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3688:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3682:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3682:25:66" - }, - "variables": [ - { - "name": "temp2", - "nodeType": "YulTypedName", - "src": "3673:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3711:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3734:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3743:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3730:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3730:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3724:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3724:25:66" - }, - "variables": [ - { - "name": "temp3", - "nodeType": "YulTypedName", - "src": "3715:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3800:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3809:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3796:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3796:18:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "3819:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3789:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3789:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3789:39:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3843:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3852:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3839:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3839:18:66" - }, - { - "name": "nameHash", - "nodeType": "YulIdentifier", - "src": "3862:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3832:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3832:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3832:39:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3886:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3895:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3882:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3882:18:66" - }, - { - "name": "versionHash", - "nodeType": "YulIdentifier", - "src": "3902:11:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3875:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3875:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3875:39:66" - }, - { - "nodeType": "YulAssignment", - "src": "3937:49:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3965:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3974:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3961:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3961:18:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3981:4:66", - "type": "", - "value": "0xA0" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "3951:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "3951:35:66" - }, - "variableNames": [ - { - "name": "domainhash", - "nodeType": "YulIdentifier", - "src": "3937:10:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4040:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4049:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4036:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4036:18:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "4056:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4029:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4029:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4029:33:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4077:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4086:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4073:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4073:18:66" - }, - { - "name": "temp2", - "nodeType": "YulIdentifier", - "src": "4093:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4066:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4066:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4066:33:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4114:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4123:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4110:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4110:18:66" - }, - { - "name": "temp3", - "nodeType": "YulIdentifier", - "src": "4130:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4103:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4103:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4103:33:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3650:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3692:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3734:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3800:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3843:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3886:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3965:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4040:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4077:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4114:7:66", - "valueSize": 1 - }, - { - "declaration": 12729, - "isOffset": false, - "isSlot": false, - "src": "3937:10:66", - "valueSize": 1 - }, - { - "declaration": 12737, - "isOffset": false, - "isSlot": false, - "src": "3862:8:66", - "valueSize": 1 - }, - { - "declaration": 12733, - "isOffset": false, - "isSlot": false, - "src": "3819:8:66", - "valueSize": 1 - }, - { - "declaration": 12747, - "isOffset": false, - "isSlot": false, - "src": "3902:11:66", - "valueSize": 1 - } - ], - "id": 12756, - "nodeType": "InlineAssembly", - "src": "3585:555:66" - } - ] - }, - "documentation": null, - "functionSelector": "eca34ccf", - "id": 12758, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12727, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12726, - "mutability": "mutable", - "name": "_domain", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12758, - "src": "3075:27:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 12725, - "name": "EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12630, - "src": "3075:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_storage_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3074:29:66" - }, - "returnParameters": { - "id": 12730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12729, - "mutability": "mutable", - "name": "domainhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12758, - "src": "3126:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12728, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3126:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3125:20:66" - }, - "scope": 12844, - "src": "3061:1082:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12771, - "nodeType": "Block", - "src": "4226:712:66", - "statements": [ - { - "assignments": [ - 12767 - ], - "declarations": [ - { - "constant": false, - "id": 12767, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12771, - "src": "4581:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12766, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4581:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12769, - "initialValue": { - "argumentTypes": null, - "id": 12768, - "name": "APPORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12612, - "src": "4600:17:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4581:36:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "4630:305:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "4663:40:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4686:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4697:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4682:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4682:20:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "4676:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "4676:27:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "4667:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4754:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4765:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4750:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4750:20:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "4772:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4743:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4743:38:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4743:38:66" - }, - { - "nodeType": "YulAssignment", - "src": "4804:49:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4829:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4840:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4825:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4825:20:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4847:5:66", - "type": "", - "value": "0x120" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "4815:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "4815:38:66" - }, - "variableNames": [ - { - "name": "apphash", - "nodeType": "YulIdentifier", - "src": "4804:7:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4907:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4918:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4903:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4903:20:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "4925:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4896:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4896:35:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4896:35:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4686:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4754:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4829:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4907:9:66", - "valueSize": 1 - }, - { - "declaration": 12763, - "isOffset": false, - "isSlot": false, - "src": "4804:7:66", - "valueSize": 1 - }, - { - "declaration": 12767, - "isOffset": false, - "isSlot": false, - "src": "4772:8:66", - "valueSize": 1 - } - ], - "id": 12770, - "nodeType": "InlineAssembly", - "src": "4621:314:66" - } - ] - }, - "documentation": null, - "functionSelector": "04951329", - "id": 12772, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12760, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12772, - "src": "4159:25:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_memory_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 12759, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4159:8:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4158:27:66" - }, - "returnParameters": { - "id": 12764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12763, - "mutability": "mutable", - "name": "apphash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12772, - "src": "4208:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12762, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4208:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4207:17:66" - }, - "scope": 12844, - "src": "4145:793:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12785, - "nodeType": "Block", - "src": "5033:776:66", - "statements": [ - { - "assignments": [ - 12781 - ], - "declarations": [ - { - "constant": false, - "id": 12781, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12785, - "src": "5428:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12780, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5428:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12783, - "initialValue": { - "argumentTypes": null, - "id": 12782, - "name": "DATASETORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12615, - "src": "5447:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5428:40:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5481:325:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "5514:44:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5537:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5552:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5533:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5533:24:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5527:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "5527:31:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "5518:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5609:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5624:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5605:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5605:24:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "5631:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5598:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "5598:42:66" - }, - "nodeType": "YulExpressionStatement", - "src": "5598:42:66" - }, - { - "nodeType": "YulAssignment", - "src": "5663:57:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5692:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5707:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5688:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5688:24:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5714:5:66", - "type": "", - "value": "0x120" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "5678:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "5678:42:66" - }, - "variableNames": [ - { - "name": "datasethash", - "nodeType": "YulIdentifier", - "src": "5663:11:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5774:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5789:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5770:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5770:24:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "5796:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5763:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "5763:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "5763:39:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5537:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5609:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5692:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5774:13:66", - "valueSize": 1 - }, - { - "declaration": 12777, - "isOffset": false, - "isSlot": false, - "src": "5663:11:66", - "valueSize": 1 - }, - { - "declaration": 12781, - "isOffset": false, - "isSlot": false, - "src": "5631:8:66", - "valueSize": 1 - } - ], - "id": 12784, - "nodeType": "InlineAssembly", - "src": "5472:334:66" - } - ] - }, - "documentation": null, - "functionSelector": "2bd4c734", - "id": 12786, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12775, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12774, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12786, - "src": "4954:33:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_memory_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 12773, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4954:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4953:35:66" - }, - "returnParameters": { - "id": 12778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12777, - "mutability": "mutable", - "name": "datasethash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12786, - "src": "5011:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12776, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5011:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5010:21:66" - }, - "scope": 12844, - "src": "4940:869:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12799, - "nodeType": "Block", - "src": "5913:887:66", - "statements": [ - { - "assignments": [ - 12795 - ], - "declarations": [ - { - "constant": false, - "id": 12795, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12799, - "src": "6401:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12794, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6401:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12797, - "initialValue": { - "argumentTypes": null, - "id": 12796, - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12618, - "src": "6420:24:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6401:43:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6457:340:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "6490:47:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6513:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6531:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6509:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6509:27:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6503:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "6503:34:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "6494:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6588:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6606:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6584:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6584:27:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "6613:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6577:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "6577:45:66" - }, - "nodeType": "YulExpressionStatement", - "src": "6577:45:66" - }, - { - "nodeType": "YulAssignment", - "src": "6645:63:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6677:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6695:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6673:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6673:27:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6702:5:66", - "type": "", - "value": "0x160" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "6663:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "6663:45:66" - }, - "variableNames": [ - { - "name": "workerpoolhash", - "nodeType": "YulIdentifier", - "src": "6645:14:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6762:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6780:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6758:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6758:27:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "6787:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6751:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "6751:42:66" - }, - "nodeType": "YulExpressionStatement", - "src": "6751:42:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6513:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6588:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6677:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6762:16:66", - "valueSize": 1 - }, - { - "declaration": 12795, - "isOffset": false, - "isSlot": false, - "src": "6613:8:66", - "valueSize": 1 - }, - { - "declaration": 12791, - "isOffset": false, - "isSlot": false, - "src": "6645:14:66", - "valueSize": 1 - } - ], - "id": 12798, - "nodeType": "InlineAssembly", - "src": "6448:349:66" - } - ] - }, - "documentation": null, - "functionSelector": "58b50586", - "id": 12800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12788, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12800, - "src": "5825:39:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_memory_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 12787, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "5825:15:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5824:41:66" - }, - "returnParameters": { - "id": 12792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12791, - "mutability": "mutable", - "name": "workerpoolhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12800, - "src": "5888:22:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12790, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5888:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5887:24:66" - }, - "scope": 12844, - "src": "5811:989:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12823, - "nodeType": "Block", - "src": "6895:1230:66", - "statements": [ - { - "assignments": [ - 12809 - ], - "declarations": [ - { - "constant": false, - "id": 12809, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12823, - "src": "7536:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12808, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7536:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12811, - "initialValue": { - "argumentTypes": null, - "id": 12810, - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12621, - "src": "7555:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7536:40:66" - }, - { - "assignments": [ - 12813 - ], - "declarations": [ - { - "constant": false, - "id": 12813, - "mutability": "mutable", - "name": "paramsHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12823, - "src": "7580:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12812, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7580:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12821, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12817, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12802, - "src": "7617:13:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder memory" - } - }, - "id": 12818, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 12719, - "src": "7617:20:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7611:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12815, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7611:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7611:27:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12814, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7601:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7601:38:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:59:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7652:470:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "7685:45:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7708:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7723:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7704:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7704:25:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7698:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "7698:32:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "7689:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7734:45:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7757:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7772:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7753:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7753:25:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7747:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "7747:32:66" - }, - "variables": [ - { - "name": "temp2", - "nodeType": "YulTypedName", - "src": "7738:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7830:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7845:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7826:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7826:25:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "7853:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7819:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "7819:43:66" - }, - "nodeType": "YulExpressionStatement", - "src": "7819:43:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7877:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7892:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7873:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7873:25:66" - }, - { - "name": "paramsHash", - "nodeType": "YulIdentifier", - "src": "7900:10:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7866:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "7866:45:66" - }, - "nodeType": "YulExpressionStatement", - "src": "7866:45:66" - }, - { - "nodeType": "YulAssignment", - "src": "7934:57:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7963:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7978:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7959:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7959:24:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7985:5:66", - "type": "", - "value": "0x200" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "7949:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "7949:42:66" - }, - "variableNames": [ - { - "name": "requesthash", - "nodeType": "YulIdentifier", - "src": "7934:11:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "8045:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8060:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "8041:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "8041:25:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "8068:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8034:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "8034:40:66" - }, - "nodeType": "YulExpressionStatement", - "src": "8034:40:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "8089:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8104:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8085:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "8085:25:66" - }, - { - "name": "temp2", - "nodeType": "YulIdentifier", - "src": "8112:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8078:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "8078:40:66" - }, - "nodeType": "YulExpressionStatement", - "src": "8078:40:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7708:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7757:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7830:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7877:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7963:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "8045:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "8089:13:66", - "valueSize": 1 - }, - { - "declaration": 12813, - "isOffset": false, - "isSlot": false, - "src": "7900:10:66", - "valueSize": 1 - }, - { - "declaration": 12805, - "isOffset": false, - "isSlot": false, - "src": "7934:11:66", - "valueSize": 1 - }, - { - "declaration": 12809, - "isOffset": false, - "isSlot": false, - "src": "7853:8:66", - "valueSize": 1 - } - ], - "id": 12822, - "nodeType": "InlineAssembly", - "src": "7643:479:66" - } - ] - }, - "documentation": null, - "functionSelector": "0813424e", - "id": 12824, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12802, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12824, - "src": "6816:33:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 12801, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "6816:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6815:35:66" - }, - "returnParameters": { - "id": 12806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12805, - "mutability": "mutable", - "name": "requesthash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12824, - "src": "6873:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12804, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6873:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6872:21:66" - }, - "scope": 12844, - "src": "6802:1323:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12842, - "nodeType": "Block", - "src": "8248:80:66", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "1901", - "id": 12836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8286:10:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - "value": "\u0019\u0001" - }, - { - "argumentTypes": null, - "id": 12837, - "name": "_domainHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12828, - "src": "8298:11:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 12838, - "name": "_structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12826, - "src": "8311:11:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 12834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8269:3:66", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8269:16:66", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 12839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8269:54:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12833, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8259:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8259:65:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 12832, - "id": 12841, - "nodeType": "Return", - "src": "8252:72:66" - } - ] - }, - "documentation": null, - "functionSelector": "176eaa49", - "id": 12843, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toEthTypedStructHash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12826, - "mutability": "mutable", - "name": "_structHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8158:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12825, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8158:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12828, - "mutability": "mutable", - "name": "_domainHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8179:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12827, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8179:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8157:42:66" - }, - "returnParameters": { - "id": 12832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12831, - "mutability": "mutable", - "name": "typedStructHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8222:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12830, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8222:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8221:25:66" - }, - "scope": 12844, - "src": "8128:200:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - } - ], - "scope": 12845, - "src": "66:8264:66" - } - ], - "src": "0:8331:66" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/libs/IexecODBLibOrders.sol", - "exportedSymbols": { - "IexecODBLibOrders": [ - 12844 - ] - }, - "id": 12845, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12605, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:66" - }, - { - "id": 12606, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "31:33:66" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 12844, - "linearizedBaseContracts": [ - 12844 - ], - "name": "IexecODBLibOrders", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "c49f91d3", - "id": 12609, - "mutability": "constant", - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1316:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12607, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1316:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307838623733633363363962623866653364353132656363346366373539636337393233396637623137396230666661636161396137356435323262333934303066", - "id": 12608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1367:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63076024560530113402979550242307453568063438748328787417531900361828837441551_by_1", - "typeString": "int_const 6307...(69 digits omitted)...1551" - }, - "value": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "207dbbfe", - "id": 12612, - "mutability": "constant", - "name": "APPORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1436:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12610, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1436:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836303831356130656565633437646464663136313566653533623331643031366333313434346530316239643739366462333635343433613634343564303038", - "id": 12611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1487:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_43650578295105606754044185872167596760177065654633489567262380834068554436616_by_1", - "typeString": "int_const 4365...(69 digits omitted)...6616" - }, - "value": "0x60815a0eeec47dddf1615fe53b31d016c31444e01b9d796db365443a6445d008" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "6f84d2da", - "id": 12615, - "mutability": "constant", - "name": "DATASETORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1556:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1556:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307836636663393332613561336432326334333539323935623966343333656466663532623630373033666134373639306130346138336534303933336464343763", - "id": 12614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1607:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_49296048805850917090765960952023182941721207539109048881877448770624132338812_by_1", - "typeString": "int_const 4929...(69 digits omitted)...8812" - }, - "value": "0x6cfc932a5a3d22c4359295b9f433edff52b60703fa47690a04a83e40933dd47c" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "65db1dbb", - "id": 12618, - "mutability": "constant", - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1676:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12616, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1676:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307861613334323966623238316233343639313830333133336433643937386137356262373763363137656436626339616131363262396233303932303032326262", - "id": 12617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1727:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76985350049294276919496274109432266747292083504708634510021467980890602742459_by_1", - "typeString": "int_const 7698...(69 digits omitted)...2459" - }, - "value": "0xaa3429fb281b34691803133d3d978a75bb77c617ed6bc9aa162b9b30920022bb" - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "9a6f72ee", - "id": 12621, - "mutability": "constant", - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12844, - "src": "1796:117:66", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1796:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307866323465383533303334613361343530616261383435613832393134666262353634616438356163636361366366363262653131326131353435323066616530", - "id": 12620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1847:66:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_109598442660088300653958618162198742178051133390042090218504207231673715194592_by_1", - "typeString": "int_const 1095...(70 digits omitted)...4592" - }, - "value": "0xf24e853034a3a450aba845a82914fbb564ad85accca6cf62be112a154520fae0" - }, - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.EIP712Domain", - "id": 12630, - "members": [ - { - "constant": false, - "id": 12623, - "mutability": "mutable", - "name": "name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1942:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1942:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12625, - "mutability": "mutable", - "name": "version", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1958:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12624, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1958:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12627, - "mutability": "mutable", - "name": "chainId", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1977:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1977:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12629, - "mutability": "mutable", - "name": "verifyingContract", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12630, - "src": "1996:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12628, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1996:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "EIP712Domain", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "1917:108:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.AppOrder", - "id": 12649, - "members": [ - { - "constant": false, - "id": 12632, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2048:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12631, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2048:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12634, - "mutability": "mutable", - "name": "appprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2063:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12633, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2063:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12636, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2083:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2083:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12638, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2101:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12637, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2101:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12640, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2116:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12639, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2116:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12642, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2143:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12641, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2143:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12644, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2173:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2173:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12646, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2202:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12645, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2202:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12648, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12649, - "src": "2218:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12647, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2218:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "AppOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2027:207:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.DatasetOrder", - "id": 12668, - "members": [ - { - "constant": false, - "id": 12651, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2261:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12650, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2261:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12653, - "mutability": "mutable", - "name": "datasetprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2280:20:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12652, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2280:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12655, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2304:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12654, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2304:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12657, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2322:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12656, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2322:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12659, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2337:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12658, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2337:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12661, - "mutability": "mutable", - "name": "workerpoolrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2360:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2360:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12663, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2390:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2390:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12665, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2419:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12664, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2419:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12667, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12668, - "src": "2435:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12666, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2435:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "DatasetOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2236:215:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.WorkerpoolOrder", - "id": 12691, - "members": [ - { - "constant": false, - "id": 12670, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2481:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2481:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12672, - "mutability": "mutable", - "name": "workerpoolprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2503:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12671, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2503:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12674, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2530:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2530:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12676, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2548:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12675, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2548:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12678, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2563:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2563:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12680, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2583:13:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2583:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12682, - "mutability": "mutable", - "name": "apprestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2600:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2600:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12684, - "mutability": "mutable", - "name": "datasetrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2623:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12683, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2623:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12686, - "mutability": "mutable", - "name": "requesterrestrict", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2650:25:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12685, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2650:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12688, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2679:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12687, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2679:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12690, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12691, - "src": "2695:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2695:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "WorkerpoolOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2453:258:66", - "visibility": "public" - }, - { - "canonicalName": "IexecODBLibOrders.RequestOrder", - "id": 12724, - "members": [ - { - "constant": false, - "id": 12693, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2738:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2738:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12695, - "mutability": "mutable", - "name": "appmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2753:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12694, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2753:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12697, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2776:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12696, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2776:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12699, - "mutability": "mutable", - "name": "datasetmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2795:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12698, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2795:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12701, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2822:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12700, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2822:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12703, - "mutability": "mutable", - "name": "workerpoolmaxprice", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2844:26:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12702, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2844:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12705, - "mutability": "mutable", - "name": "requester", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2874:17:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12704, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12707, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2895:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12706, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2895:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12709, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2913:11:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12708, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2913:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12711, - "mutability": "mutable", - "name": "category", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2928:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12710, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12713, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2948:13:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12712, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2948:7:66", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12715, - "mutability": "mutable", - "name": "beneficiary", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2965:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2965:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12717, - "mutability": "mutable", - "name": "callback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "2988:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2988:7:66", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12719, - "mutability": "mutable", - "name": "params", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3008:14:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12718, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3008:6:66", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12721, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3026:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3026:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12723, - "mutability": "mutable", - "name": "sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12724, - "src": "3042:12:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12722, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3042:5:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "RequestOrder", - "nodeType": "StructDefinition", - "scope": 12844, - "src": "2713:345:66", - "visibility": "public" - }, - { - "body": { - "id": 12757, - "nodeType": "Block", - "src": "3147:996:66", - "statements": [ - { - "assignments": [ - 12733 - ], - "declarations": [ - { - "constant": false, - "id": 12733, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3423:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12732, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3423:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12735, - "initialValue": { - "argumentTypes": null, - "id": 12734, - "name": "EIP712DOMAIN_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12609, - "src": "3445:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3423:43:66" - }, - { - "assignments": [ - 12737 - ], - "declarations": [ - { - "constant": false, - "id": 12737, - "mutability": "mutable", - "name": "nameHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3470:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12736, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3470:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12745, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12741, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12726, - "src": "3508:7:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain memory" - } - }, - "id": 12742, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 12623, - "src": "3508:12:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3502:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12739, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3502:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3502:19:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12738, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3492:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3492:30:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3470:52:66" - }, - { - "assignments": [ - 12747 - ], - "declarations": [ - { - "constant": false, - "id": 12747, - "mutability": "mutable", - "name": "versionHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12757, - "src": "3526:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3526:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12755, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12751, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12726, - "src": "3564:7:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain memory" - } - }, - "id": 12752, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "version", - "nodeType": "MemberAccess", - "referencedDeclaration": 12625, - "src": "3564:15:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3558:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12749, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3558:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3558:22:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12748, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3548:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3548:33:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3526:55:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3594:546:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "3627:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3650:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3659:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3646:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3646:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3640:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3640:25:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "3631:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3669:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3692:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3701:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3688:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3688:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3682:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3682:25:66" - }, - "variables": [ - { - "name": "temp2", - "nodeType": "YulTypedName", - "src": "3673:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3711:38:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3734:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3743:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3730:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3730:18:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3724:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "3724:25:66" - }, - "variables": [ - { - "name": "temp3", - "nodeType": "YulTypedName", - "src": "3715:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3800:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3809:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3796:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3796:18:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "3819:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3789:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3789:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3789:39:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3843:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3852:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3839:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3839:18:66" - }, - { - "name": "nameHash", - "nodeType": "YulIdentifier", - "src": "3862:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3832:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3832:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3832:39:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3886:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3895:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3882:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3882:18:66" - }, - { - "name": "versionHash", - "nodeType": "YulIdentifier", - "src": "3902:11:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3875:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "3875:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "3875:39:66" - }, - { - "nodeType": "YulAssignment", - "src": "3937:49:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "3965:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3974:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3961:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "3961:18:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3981:4:66", - "type": "", - "value": "0xA0" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "3951:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "3951:35:66" - }, - "variableNames": [ - { - "name": "domainhash", - "nodeType": "YulIdentifier", - "src": "3937:10:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4040:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4049:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4036:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4036:18:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "4056:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4029:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4029:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4029:33:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4077:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4086:4:66", - "type": "", - "value": "0x00" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4073:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4073:18:66" - }, - { - "name": "temp2", - "nodeType": "YulIdentifier", - "src": "4093:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4066:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4066:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4066:33:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_domain", - "nodeType": "YulIdentifier", - "src": "4114:7:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4123:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4110:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4110:18:66" - }, - { - "name": "temp3", - "nodeType": "YulIdentifier", - "src": "4130:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4103:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4103:33:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4103:33:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3650:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3692:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3734:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3800:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3843:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3886:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "3965:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4040:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4077:7:66", - "valueSize": 1 - }, - { - "declaration": 12726, - "isOffset": false, - "isSlot": false, - "src": "4114:7:66", - "valueSize": 1 - }, - { - "declaration": 12729, - "isOffset": false, - "isSlot": false, - "src": "3937:10:66", - "valueSize": 1 - }, - { - "declaration": 12737, - "isOffset": false, - "isSlot": false, - "src": "3862:8:66", - "valueSize": 1 - }, - { - "declaration": 12733, - "isOffset": false, - "isSlot": false, - "src": "3819:8:66", - "valueSize": 1 - }, - { - "declaration": 12747, - "isOffset": false, - "isSlot": false, - "src": "3902:11:66", - "valueSize": 1 - } - ], - "id": 12756, - "nodeType": "InlineAssembly", - "src": "3585:555:66" - } - ] - }, - "documentation": null, - "functionSelector": "eca34ccf", - "id": 12758, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12727, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12726, - "mutability": "mutable", - "name": "_domain", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12758, - "src": "3075:27:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_memory_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain" - }, - "typeName": { - "contractScope": null, - "id": 12725, - "name": "EIP712Domain", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12630, - "src": "3075:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$12630_storage_ptr", - "typeString": "struct IexecODBLibOrders.EIP712Domain" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3074:29:66" - }, - "returnParameters": { - "id": 12730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12729, - "mutability": "mutable", - "name": "domainhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12758, - "src": "3126:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12728, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3126:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3125:20:66" - }, - "scope": 12844, - "src": "3061:1082:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12771, - "nodeType": "Block", - "src": "4226:712:66", - "statements": [ - { - "assignments": [ - 12767 - ], - "declarations": [ - { - "constant": false, - "id": 12767, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12771, - "src": "4581:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12766, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4581:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12769, - "initialValue": { - "argumentTypes": null, - "id": 12768, - "name": "APPORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12612, - "src": "4600:17:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4581:36:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "4630:305:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "4663:40:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4686:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4697:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4682:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4682:20:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "4676:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "4676:27:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "4667:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4754:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4765:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4750:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4750:20:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "4772:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4743:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4743:38:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4743:38:66" - }, - { - "nodeType": "YulAssignment", - "src": "4804:49:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4829:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4840:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4825:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4825:20:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4847:5:66", - "type": "", - "value": "0x120" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "4815:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "4815:38:66" - }, - "variableNames": [ - { - "name": "apphash", - "nodeType": "YulIdentifier", - "src": "4804:7:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_apporder", - "nodeType": "YulIdentifier", - "src": "4907:9:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4918:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4903:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "4903:20:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "4925:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4896:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "4896:35:66" - }, - "nodeType": "YulExpressionStatement", - "src": "4896:35:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4686:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4754:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4829:9:66", - "valueSize": 1 - }, - { - "declaration": 12760, - "isOffset": false, - "isSlot": false, - "src": "4907:9:66", - "valueSize": 1 - }, - { - "declaration": 12763, - "isOffset": false, - "isSlot": false, - "src": "4804:7:66", - "valueSize": 1 - }, - { - "declaration": 12767, - "isOffset": false, - "isSlot": false, - "src": "4772:8:66", - "valueSize": 1 - } - ], - "id": 12770, - "nodeType": "InlineAssembly", - "src": "4621:314:66" - } - ] - }, - "documentation": null, - "functionSelector": "04951329", - "id": 12772, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12760, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12772, - "src": "4159:25:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_memory_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 12759, - "name": "AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12649, - "src": "4159:8:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$12649_storage_ptr", - "typeString": "struct IexecODBLibOrders.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4158:27:66" - }, - "returnParameters": { - "id": 12764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12763, - "mutability": "mutable", - "name": "apphash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12772, - "src": "4208:15:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12762, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4208:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4207:17:66" - }, - "scope": 12844, - "src": "4145:793:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12785, - "nodeType": "Block", - "src": "5033:776:66", - "statements": [ - { - "assignments": [ - 12781 - ], - "declarations": [ - { - "constant": false, - "id": 12781, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12785, - "src": "5428:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12780, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5428:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12783, - "initialValue": { - "argumentTypes": null, - "id": 12782, - "name": "DATASETORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12615, - "src": "5447:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5428:40:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5481:325:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "5514:44:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5537:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5552:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5533:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5533:24:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5527:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "5527:31:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "5518:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5609:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5624:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5605:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5605:24:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "5631:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5598:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "5598:42:66" - }, - "nodeType": "YulExpressionStatement", - "src": "5598:42:66" - }, - { - "nodeType": "YulAssignment", - "src": "5663:57:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5692:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5707:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5688:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5688:24:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5714:5:66", - "type": "", - "value": "0x120" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "5678:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "5678:42:66" - }, - "variableNames": [ - { - "name": "datasethash", - "nodeType": "YulIdentifier", - "src": "5663:11:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_datasetorder", - "nodeType": "YulIdentifier", - "src": "5774:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5789:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5770:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "5770:24:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "5796:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5763:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "5763:39:66" - }, - "nodeType": "YulExpressionStatement", - "src": "5763:39:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5537:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5609:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5692:13:66", - "valueSize": 1 - }, - { - "declaration": 12774, - "isOffset": false, - "isSlot": false, - "src": "5774:13:66", - "valueSize": 1 - }, - { - "declaration": 12777, - "isOffset": false, - "isSlot": false, - "src": "5663:11:66", - "valueSize": 1 - }, - { - "declaration": 12781, - "isOffset": false, - "isSlot": false, - "src": "5631:8:66", - "valueSize": 1 - } - ], - "id": 12784, - "nodeType": "InlineAssembly", - "src": "5472:334:66" - } - ] - }, - "documentation": null, - "functionSelector": "2bd4c734", - "id": 12786, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12775, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12774, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12786, - "src": "4954:33:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_memory_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 12773, - "name": "DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12668, - "src": "4954:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$12668_storage_ptr", - "typeString": "struct IexecODBLibOrders.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4953:35:66" - }, - "returnParameters": { - "id": 12778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12777, - "mutability": "mutable", - "name": "datasethash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12786, - "src": "5011:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12776, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5011:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5010:21:66" - }, - "scope": 12844, - "src": "4940:869:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12799, - "nodeType": "Block", - "src": "5913:887:66", - "statements": [ - { - "assignments": [ - 12795 - ], - "declarations": [ - { - "constant": false, - "id": 12795, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12799, - "src": "6401:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12794, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6401:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12797, - "initialValue": { - "argumentTypes": null, - "id": 12796, - "name": "WORKERPOOLORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12618, - "src": "6420:24:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6401:43:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6457:340:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "6490:47:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6513:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6531:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6509:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6509:27:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6503:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "6503:34:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "6494:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6588:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6606:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6584:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6584:27:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "6613:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6577:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "6577:45:66" - }, - "nodeType": "YulExpressionStatement", - "src": "6577:45:66" - }, - { - "nodeType": "YulAssignment", - "src": "6645:63:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6677:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6695:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6673:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6673:27:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6702:5:66", - "type": "", - "value": "0x160" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "6663:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "6663:45:66" - }, - "variableNames": [ - { - "name": "workerpoolhash", - "nodeType": "YulIdentifier", - "src": "6645:14:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_workerpoolorder", - "nodeType": "YulIdentifier", - "src": "6762:16:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6780:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6758:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "6758:27:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "6787:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6751:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "6751:42:66" - }, - "nodeType": "YulExpressionStatement", - "src": "6751:42:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6513:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6588:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6677:16:66", - "valueSize": 1 - }, - { - "declaration": 12788, - "isOffset": false, - "isSlot": false, - "src": "6762:16:66", - "valueSize": 1 - }, - { - "declaration": 12795, - "isOffset": false, - "isSlot": false, - "src": "6613:8:66", - "valueSize": 1 - }, - { - "declaration": 12791, - "isOffset": false, - "isSlot": false, - "src": "6645:14:66", - "valueSize": 1 - } - ], - "id": 12798, - "nodeType": "InlineAssembly", - "src": "6448:349:66" - } - ] - }, - "documentation": null, - "functionSelector": "58b50586", - "id": 12800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12788, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12800, - "src": "5825:39:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_memory_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 12787, - "name": "WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12691, - "src": "5825:15:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$12691_storage_ptr", - "typeString": "struct IexecODBLibOrders.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5824:41:66" - }, - "returnParameters": { - "id": 12792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12791, - "mutability": "mutable", - "name": "workerpoolhash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12800, - "src": "5888:22:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12790, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5888:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5887:24:66" - }, - "scope": 12844, - "src": "5811:989:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12823, - "nodeType": "Block", - "src": "6895:1230:66", - "statements": [ - { - "assignments": [ - 12809 - ], - "declarations": [ - { - "constant": false, - "id": 12809, - "mutability": "mutable", - "name": "typeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12823, - "src": "7536:16:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12808, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7536:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12811, - "initialValue": { - "argumentTypes": null, - "id": 12810, - "name": "REQUESTORDER_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12621, - "src": "7555:21:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7536:40:66" - }, - { - "assignments": [ - 12813 - ], - "declarations": [ - { - "constant": false, - "id": 12813, - "mutability": "mutable", - "name": "paramsHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12823, - "src": "7580:18:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12812, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7580:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 12821, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 12817, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12802, - "src": "7617:13:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder memory" - } - }, - "id": 12818, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 12719, - "src": "7617:20:66", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 12816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7611:5:66", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 12815, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7611:5:66", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 12819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7611:27:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12814, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7601:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7601:38:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:59:66" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7652:470:66", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "7685:45:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7708:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7723:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7704:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7704:25:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7698:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "7698:32:66" - }, - "variables": [ - { - "name": "temp1", - "nodeType": "YulTypedName", - "src": "7689:5:66", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7734:45:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7757:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7772:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7753:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7753:25:66" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7747:5:66" - }, - "nodeType": "YulFunctionCall", - "src": "7747:32:66" - }, - "variables": [ - { - "name": "temp2", - "nodeType": "YulTypedName", - "src": "7738:5:66", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7830:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7845:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7826:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7826:25:66" - }, - { - "name": "typeHash", - "nodeType": "YulIdentifier", - "src": "7853:8:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7819:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "7819:43:66" - }, - "nodeType": "YulExpressionStatement", - "src": "7819:43:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7877:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7892:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7873:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7873:25:66" - }, - { - "name": "paramsHash", - "nodeType": "YulIdentifier", - "src": "7900:10:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7866:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "7866:45:66" - }, - "nodeType": "YulExpressionStatement", - "src": "7866:45:66" - }, - { - "nodeType": "YulAssignment", - "src": "7934:57:66", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "7963:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7978:4:66", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "7959:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "7959:24:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7985:5:66", - "type": "", - "value": "0x200" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "7949:9:66" - }, - "nodeType": "YulFunctionCall", - "src": "7949:42:66" - }, - "variableNames": [ - { - "name": "requesthash", - "nodeType": "YulIdentifier", - "src": "7934:11:66" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "8045:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8060:5:66", - "type": "", - "value": "0x020" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "8041:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "8041:25:66" - }, - { - "name": "temp1", - "nodeType": "YulIdentifier", - "src": "8068:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8034:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "8034:40:66" - }, - "nodeType": "YulExpressionStatement", - "src": "8034:40:66" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "_requestorder", - "nodeType": "YulIdentifier", - "src": "8089:13:66" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8104:5:66", - "type": "", - "value": "0x1A0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8085:3:66" - }, - "nodeType": "YulFunctionCall", - "src": "8085:25:66" - }, - { - "name": "temp2", - "nodeType": "YulIdentifier", - "src": "8112:5:66" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8078:6:66" - }, - "nodeType": "YulFunctionCall", - "src": "8078:40:66" - }, - "nodeType": "YulExpressionStatement", - "src": "8078:40:66" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7708:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7757:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7830:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7877:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "7963:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "8045:13:66", - "valueSize": 1 - }, - { - "declaration": 12802, - "isOffset": false, - "isSlot": false, - "src": "8089:13:66", - "valueSize": 1 - }, - { - "declaration": 12813, - "isOffset": false, - "isSlot": false, - "src": "7900:10:66", - "valueSize": 1 - }, - { - "declaration": 12805, - "isOffset": false, - "isSlot": false, - "src": "7934:11:66", - "valueSize": 1 - }, - { - "declaration": 12809, - "isOffset": false, - "isSlot": false, - "src": "7853:8:66", - "valueSize": 1 - } - ], - "id": 12822, - "nodeType": "InlineAssembly", - "src": "7643:479:66" - } - ] - }, - "documentation": null, - "functionSelector": "0813424e", - "id": 12824, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12802, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12824, - "src": "6816:33:66", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_memory_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 12801, - "name": "RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12724, - "src": "6816:12:66", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$12724_storage_ptr", - "typeString": "struct IexecODBLibOrders.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6815:35:66" - }, - "returnParameters": { - "id": 12806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12805, - "mutability": "mutable", - "name": "requesthash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12824, - "src": "6873:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12804, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6873:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6872:21:66" - }, - "scope": 12844, - "src": "6802:1323:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 12842, - "nodeType": "Block", - "src": "8248:80:66", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "1901", - "id": 12836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8286:10:66", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - "value": "\u0019\u0001" - }, - { - "argumentTypes": null, - "id": 12837, - "name": "_domainHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12828, - "src": "8298:11:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 12838, - "name": "_structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12826, - "src": "8311:11:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 12834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8269:3:66", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8269:16:66", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 12839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8269:54:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12833, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8259:9:66", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 12840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8259:65:66", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 12832, - "id": 12841, - "nodeType": "Return", - "src": "8252:72:66" - } - ] - }, - "documentation": null, - "functionSelector": "176eaa49", - "id": 12843, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toEthTypedStructHash", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12826, - "mutability": "mutable", - "name": "_structHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8158:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12825, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8158:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12828, - "mutability": "mutable", - "name": "_domainHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8179:19:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12827, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8179:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8157:42:66" - }, - "returnParameters": { - "id": 12832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12831, - "mutability": "mutable", - "name": "typedStructHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12843, - "src": "8222:23:66", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12830, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8222:7:66", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8221:25:66" - }, - "scope": 12844, - "src": "8128:200:66", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - } - ], - "scope": 12845, - "src": "66:8264:66" - } - ], - "src": "0:8331:66" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.889Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecOrderManagement.json b/build/contracts/IexecOrderManagement.json deleted file mode 100644 index 25d70ed9e..000000000 --- a/build/contracts/IexecOrderManagement.json +++ /dev/null @@ -1,1797 +0,0 @@ -{ - "contractName": "IexecOrderManagement", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":\"IexecOrderManagement\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../../libs/IexecLibOrders_v5.sol\";\n\n\ninterface IexecOrderManagement\n{\n\tevent SignedAppOrder (bytes32 appHash);\n\tevent SignedDatasetOrder (bytes32 datasetHash);\n\tevent SignedWorkerpoolOrder(bytes32 workerpoolHash);\n\tevent SignedRequestOrder (bytes32 requestHash);\n\tevent ClosedAppOrder (bytes32 appHash);\n\tevent ClosedDatasetOrder (bytes32 datasetHash);\n\tevent ClosedWorkerpoolOrder(bytes32 workerpoolHash);\n\tevent ClosedRequestOrder (bytes32 requestHash);\n\n\tfunction manageAppOrder (IexecLibOrders_v5.AppOrderOperation calldata) external;\n\tfunction manageDatasetOrder (IexecLibOrders_v5.DatasetOrderOperation calldata) external;\n\tfunction manageWorkerpoolOrder(IexecLibOrders_v5.WorkerpoolOrderOperation calldata) external;\n\tfunction manageRequestOrder (IexecLibOrders_v5.RequestOrderOperation calldata) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "exportedSymbols": { - "IexecOrderManagement": [ - 9573 - ] - }, - "id": 9574, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9518, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:44" - }, - { - "id": 9519, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:44" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9520, - "nodeType": "ImportDirective", - "scope": 9574, - "sourceUnit": 1569, - "src": "1301:42:44", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9573, - "linearizedBaseContracts": [ - 9573 - ], - "name": "IexecOrderManagement", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9524, - "name": "SignedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9522, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9524, - "src": "1408:15:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1408:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1407:17:44" - }, - "src": "1380:45:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9528, - "name": "SignedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9526, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9528, - "src": "1455:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9525, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1455:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1454:21:44" - }, - "src": "1427:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9532, - "name": "SignedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9530, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9532, - "src": "1506:22:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9529, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1506:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1505:24:44" - }, - "src": "1478:52:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9536, - "name": "SignedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9534, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9536, - "src": "1560:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9533, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1560:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1559:21:44" - }, - "src": "1532:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9540, - "name": "ClosedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9539, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9538, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9540, - "src": "1611:15:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9537, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1611:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1610:17:44" - }, - "src": "1583:45:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9544, - "name": "ClosedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9542, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9544, - "src": "1658:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9541, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1658:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1657:21:44" - }, - "src": "1630:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9548, - "name": "ClosedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9547, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9546, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9548, - "src": "1709:22:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9545, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1709:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1708:24:44" - }, - "src": "1681:52:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9552, - "name": "ClosedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9551, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9550, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9552, - "src": "1763:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9549, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1763:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1762:21:44" - }, - "src": "1735:49:44" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b2b07e66", - "id": 9557, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9554, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9557, - "src": "1818:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9553, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1276, - "src": "1818:35:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1817:53:44" - }, - "returnParameters": { - "id": 9556, - "nodeType": "ParameterList", - "parameters": [], - "src": "1879:0:44" - }, - "scope": 9573, - "src": "1787:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b747106", - "id": 9562, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9559, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9562, - "src": "1913:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9558, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1283, - "src": "1913:39:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1912:53:44" - }, - "returnParameters": { - "id": 9561, - "nodeType": "ParameterList", - "parameters": [], - "src": "1974:0:44" - }, - "scope": 9573, - "src": "1882:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7e34a077", - "id": 9567, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9564, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9567, - "src": "2008:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9563, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1290, - "src": "2008:42:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2007:53:44" - }, - "returnParameters": { - "id": 9566, - "nodeType": "ParameterList", - "parameters": [], - "src": "2069:0:44" - }, - "scope": 9573, - "src": "1977:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8dd971d5", - "id": 9572, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9569, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9572, - "src": "2103:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9568, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2103:39:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2102:53:44" - }, - "returnParameters": { - "id": 9571, - "nodeType": "ParameterList", - "parameters": [], - "src": "2164:0:44" - }, - "scope": 9573, - "src": "2072:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9574, - "src": "1346:821:44" - } - ], - "src": "1242:926:44" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "exportedSymbols": { - "IexecOrderManagement": [ - 9573 - ] - }, - "id": 9574, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9518, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:44" - }, - { - "id": 9519, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:44" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9520, - "nodeType": "ImportDirective", - "scope": 9574, - "sourceUnit": 1569, - "src": "1301:42:44", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9573, - "linearizedBaseContracts": [ - 9573 - ], - "name": "IexecOrderManagement", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9524, - "name": "SignedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9522, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9524, - "src": "1408:15:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9521, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1408:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1407:17:44" - }, - "src": "1380:45:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9528, - "name": "SignedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9526, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9528, - "src": "1455:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9525, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1455:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1454:21:44" - }, - "src": "1427:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9532, - "name": "SignedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9530, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9532, - "src": "1506:22:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9529, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1506:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1505:24:44" - }, - "src": "1478:52:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9536, - "name": "SignedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9534, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9536, - "src": "1560:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9533, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1560:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1559:21:44" - }, - "src": "1532:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9540, - "name": "ClosedAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9539, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9538, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9540, - "src": "1611:15:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9537, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1611:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1610:17:44" - }, - "src": "1583:45:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9544, - "name": "ClosedDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9542, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9544, - "src": "1658:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9541, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1658:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1657:21:44" - }, - "src": "1630:49:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9548, - "name": "ClosedWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9547, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9546, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9548, - "src": "1709:22:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9545, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1709:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1708:24:44" - }, - "src": "1681:52:44" - }, - { - "anonymous": false, - "documentation": null, - "id": 9552, - "name": "ClosedRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9551, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9550, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9552, - "src": "1763:19:44", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9549, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1763:7:44", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1762:21:44" - }, - "src": "1735:49:44" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b2b07e66", - "id": 9557, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9554, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9557, - "src": "1818:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9553, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1276, - "src": "1818:35:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1276_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1817:53:44" - }, - "returnParameters": { - "id": 9556, - "nodeType": "ParameterList", - "parameters": [], - "src": "1879:0:44" - }, - "scope": 9573, - "src": "1787:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4b747106", - "id": 9562, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9559, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9562, - "src": "1913:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9558, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1283, - "src": "1913:39:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1283_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1912:53:44" - }, - "returnParameters": { - "id": 9561, - "nodeType": "ParameterList", - "parameters": [], - "src": "1974:0:44" - }, - "scope": 9573, - "src": "1882:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "7e34a077", - "id": 9567, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9564, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9567, - "src": "2008:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9563, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1290, - "src": "2008:42:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1290_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2007:53:44" - }, - "returnParameters": { - "id": 9566, - "nodeType": "ParameterList", - "parameters": [], - "src": "2069:0:44" - }, - "scope": 9573, - "src": "1977:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8dd971d5", - "id": 9572, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "manageRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9569, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9572, - "src": "2103:51:44", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 9568, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2103:39:44", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2102:53:44" - }, - "returnParameters": { - "id": 9571, - "nodeType": "ParameterList", - "parameters": [], - "src": "2164:0:44" - }, - "scope": 9573, - "src": "2072:93:44", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9574, - "src": "1346:821:44" - } - ], - "src": "1242:926:44" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.860Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecOrderManagementDelegate.json b/build/contracts/IexecOrderManagementDelegate.json deleted file mode 100644 index 669add1e5..000000000 --- a/build/contracts/IexecOrderManagementDelegate.json +++ /dev/null @@ -1,11265 +0,0 @@ -{ - "contractName": "IexecOrderManagementDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "ClosedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "ClosedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "ClosedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "ClosedWorkerpoolOrder", - "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": "bytes32", - "name": "appHash", - "type": "bytes32" - } - ], - "name": "SignedAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - } - ], - "name": "SignedDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - } - ], - "name": "SignedRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - } - ], - "name": "SignedWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrderOperation", - "name": "_apporderoperation", - "type": "tuple" - } - ], - "name": "manageAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrderOperation", - "name": "_datasetorderoperation", - "type": "tuple" - } - ], - "name": "manageDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrderOperation", - "name": "_workerpoolorderoperation", - "type": "tuple" - } - ], - "name": "manageWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "order", - "type": "tuple" - }, - { - "internalType": "enum IexecLibOrders_v5.OrderOperationEnum", - "name": "operation", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrderOperation", - "name": "_requestorderoperation", - "type": "tuple" - } - ], - "name": "manageRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"ClosedWorkerpoolOrder\",\"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\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"}],\"name\":\"SignedAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"}],\"name\":\"SignedDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"}],\"name\":\"SignedRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"}],\"name\":\"SignedWorkerpoolOrder\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrderOperation\",\"name\":\"_apporderoperation\",\"type\":\"tuple\"}],\"name\":\"manageAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrderOperation\",\"name\":\"_datasetorderoperation\",\"type\":\"tuple\"}],\"name\":\"manageDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrderOperation\",\"name\":\"_requestorderoperation\",\"type\":\"tuple\"}],\"name\":\"manageRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"enum IexecLibOrders_v5.OrderOperationEnum\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrderOperation\",\"name\":\"_workerpoolorderoperation\",\"type\":\"tuple\"}],\"name\":\"manageWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecOrderManagementDelegate.sol\":\"IexecOrderManagementDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecOrderManagementDelegate.sol\":{\"keccak256\":\"0xaa83cbcbf3c3c438940fe2ba5b94139e8f16a069a084f1c6949094d655d9d2ce\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bd57fcd01beb208b46765fcec8ad0fdc9ed7dc156c0e22cca913ba168420254e\",\"dweb:/ipfs/QmZicPt8bK3VjecRuEbVxVSToCVr7JjVzWhBwwR48a1YaZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":{\"keccak256\":\"0xba769d239982db0002541e750395aaceda605036bc1a7a1bb9982780c3cc206d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d7404ee2d2a812df8af1b31efa41c40a4576fb361beccd044320a8bd3fe778e6\",\"dweb:/ipfs/QmaxWP1sWGHahrUBdfvrvTJJAuyoWoGRQ1Pz68qAJhLzZw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol\":{\"keccak256\":\"0xb17cfba6292d0c9daf1b30d4e10b63ae42ab2618d07558a27783ca7aa753b9d8\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a3f3328c7cfaecc2c5fd41b80d356faed3bb1e33ffdfa66dcf89a586d91186e3\",\"dweb:/ipfs/QmPJtetPtdWM6PbpQbyLLc6iDnjDa5e27KmAWnMZ4hyzzN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]},\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062001a03833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b039091169060008051602062001a03833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6118d7806200012c6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b25780638dd971d5146100d0578063b2b07e66146100e3578063f2fde38b146100f65761007d565b80634b74710614610082578063715018a6146100975780637e34a0771461009f575b600080fd5b610095610090366004611021565b610109565b005b61009561039f565b6100956100ad36600461120f565b61041e565b6100ba61062e565b6040516100c79190611612565b60405180910390f35b6100956100de366004611054565b61063d565b6100956100f1366004611021565b6107da565b610095610104366004610fa9565b6109ea565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561014c57600080fd5b505afa158015610160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101849190610fc5565b905061018e610aa0565b6001600160a01b0316816001600160a01b0316148061024b57506040516308231d7360e31b815261024b9082906102419073__IexecLibOrders_v5_____________________90634118eb98906101e99088906004016117a1565b60206040518083038186803b15801561020157600080fd5b505af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610fe1565b601054610aa4565b8460400151610ad1565b6102705760405162461bcd60e51b815260040161026790611733565b60405180910390fd5b81516040516308d9777160e11b81526000916102af9173__IexecLibOrders_v5_____________________916311b2eee2916101e991906004016117b4565b805160209091012090506000836020015160018111156102cb57fe5b1415610335576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f79ce85909be2c590a728d1634ce6ec8a7cbf815260bacc05387890a313da813090610328908390611626565b60405180910390a161039a565b60018360200151600181111561034757fe5b141561039a5782516040908101516000838152601260205282902055517fcf52e3228bc482a6656d8ab56c09888b1c5bf6aaadba0185e96a34836f2bb1d490610391908390611626565b60405180910390a15b505050565b6103a7610aa0565b6000546001600160a01b039081169116146103d45760405162461bcd60e51b8152600401610267906116fe565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190610fc5565b90506104a3610aa0565b6001600160a01b0316816001600160a01b031614806104fe5750604051632daacfb560e11b81526104fe9082906102419073__IexecLibOrders_v5_____________________90635b559f6a906101e9908890600401611826565b61051a5760405162461bcd60e51b815260040161026790611733565b8151604051637f6cc2ff60e11b81526000916105599173__IexecLibOrders_v5_____________________9163fed985fe916101e99190600401611842565b8051602090910120905060008360200151600181111561057557fe5b14156105d2576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f3a61aabf2ab04790d082ff1e332853b2f66944c2e951a146121f80272812a47690610328908390611626565b6001836020015160018111156105e457fe5b141561039a5782516040908101516000838152601260205282902055517f145ad51e4496173bca15e24e7eb46f9ab3a10eea0497e2801a3a6806c06113a390610391908390611626565b6000546001600160a01b031690565b805160c0015161064b610aa0565b6001600160a01b0316816001600160a01b031614806106a657506040516320aabe5360e01b81526106a69082906102419073__IexecLibOrders_v5_____________________906320aabe53906101e99088906004016117c7565b6106c25760405162461bcd60e51b815260040161026790611733565b8151604051638ac03f3360e01b81526000916107019173__IexecLibOrders_v5_____________________91638ac03f33916101e99190600401611813565b8051602090910120905060008360200151600181111561071d57fe5b141561077a576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f3b0ac04165536d6b11d04220f998c840bd6e439d59c5d8721bba8a4e1fb9ebfd90610328908390611626565b60018360200151600181111561078c57fe5b141561039a57825160e001516000828152601260205260409081902091909155517f582f43f2a741cbe708aae3b8d38a4efc3d09d7e81919697b3ca693f4c444cc0590610391908390611626565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561081d57600080fd5b505afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108559190610fc5565b905061085f610aa0565b6001600160a01b0316816001600160a01b031614806108ba5750604051636cf30b8b60e01b81526108ba9082906102419073__IexecLibOrders_v5_____________________90636cf30b8b906101e99088906004016117a1565b6108d65760405162461bcd60e51b815260040161026790611733565b8151604051637c0d54d360e01b81526000916109159173__IexecLibOrders_v5_____________________91637c0d54d3916101e991906004016117b4565b8051602090910120905060008360200151600181111561093157fe5b141561098e576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f50933cf5a9c44d5ed66b895deb27212aa33d811b46a7b41093e047e213c0bcab90610328908390611626565b6001836020015160018111156109a057fe5b141561039a5782516040908101516000838152601260205282902055517f7343f75be43aba524f85326508cd975d016ef7884676377366c69a7c32e3066890610391908390611626565b6109f2610aa0565b6000546001600160a01b03908116911614610a1f5760405162461bcd60e51b8152600401610267906116fe565b6001600160a01b038116610a455760405162461bcd60e51b81526004016102679061168b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60608183604051602001610ab99291906115f7565b60405160208183030381529060405290505b92915050565b6000610adc84610cb2565b15610c83576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b90610b0f9086908690600401611666565b60206040518083038186803b158015610b2757600080fd5b505afa925050508015610b57575060408051601f3d908101601f19168201909252610b5491810190610ff9565b60015b610b91573d808015610b85576040519150601f19603f3d011682016040523d82523d6000602084013e610b8a565b606091505b5050610bab565b6001600160e01b0319166320c13b0b60e01b149050610cab565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e91610bdf9190869060040161162f565b60206040518083038186803b158015610bf757600080fd5b505afa925050508015610c27575060408051601f3d908101601f19168201909252610c2491810190610ff9565b60015b610c61573d808015610c55576040519150601f19603f3d011682016040523d82523d6000602084013e610c5a565b606091505b5050610c7b565b6001600160e01b031916630b135d3f60e11b149050610cab565b506000610cab565b836001600160a01b0316610c9e848051906020012084610cee565b6001600160a01b03161490505b9392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610ce657508115155b949350505050565b600080600080845160411415610d185750505060208201516040830151606084015160001a610d5d565b845160401415610d4557505050602082015160408301516001600160ff1b0381169060001a60071c610d5d565b60405162461bcd60e51b81526004016102679061176a565b601b8160ff161015610d6d57601b015b8060ff16601b1480610d8257508060ff16601c145b610d9e5760405162461bcd60e51b8152600401610267906116d1565b60018682858560405160008152602001604052604051610dc19493929190611648565b6020604051602081039080840390855afa158015610de3573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b8035610acb8161187c565b600082601f830112610e13578081fd5b813567ffffffffffffffff811115610e29578182fd5b610e3c601f8201601f1916602001611855565b9150808252836020828501011115610e5357600080fd5b8060208401602084013760009082016020015292915050565b803560028110610acb57600080fd5b600060608284031215610e8c578081fd5b610e966060611855565b9050813567ffffffffffffffff80821115610eb057600080fd5b8184019150610120808387031215610ec757600080fd5b610ed081611855565b9050610edc8684610df8565b8152602083013560208201526040830135604082015260608301356060820152610f098660808501610df8565b6080820152610f1b8660a08501610df8565b60a0820152610f2d8660c08501610df8565b60c082015260e083013560e08201526101008084013583811115610f5057600080fd5b610f5c88828701610e03565b8284015250508084525060208401359150610f7682611894565b8160208401526040840135915080821115610f9057600080fd5b50610f9d84828501610e03565b60408301525092915050565b600060208284031215610fba578081fd5b8135610cab8161187c565b600060208284031215610fd6578081fd5b8151610cab8161187c565b600060208284031215610ff2578081fd5b5051919050565b60006020828403121561100a578081fd5b81516001600160e01b031981168114610cab578182fd5b600060208284031215611032578081fd5b813567ffffffffffffffff811115611048578182fd5b610ce684828501610e7b565b600060208284031215611065578081fd5b813567ffffffffffffffff8082111561107c578283fd5b908301906060828603121561108f578283fd5b6110996060611855565b8235828111156110a7578485fd5b83016102008188038113156110ba578586fd5b6110c381611855565b90506110cf8883610df8565b8152602082013560208201526110e88860408401610df8565b6040820152606082013560608201526111048860808401610df8565b608082015260a082013560a08201526111208860c08401610df8565b60c082015260e0828101359082015261010080830135908201526101208083013590820152610140808301359082015261016061115f89828501610df8565b9082015261018061117289848301610df8565b908201526101a08281013585811115611189578788fd5b6111958a828601610e03565b8284015250506101c08083013581830152506101e080830135858111156111ba578788fd5b6111c68a828601610e03565b82840152505080835250506111de8660208501610e6c565b60208201526040830135828111156111f4578485fd5b61120087828601610e03565b60408301525095945050505050565b600060208284031215611220578081fd5b813567ffffffffffffffff80821115611237578283fd5b908301906060828603121561124a578283fd5b6112546060611855565b823582811115611262578485fd5b8301610160818803811315611275578586fd5b61127e81611855565b905061128a8883610df8565b81526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a08201526112cb8860c08401610df8565b60c08201526112dd8860e08401610df8565b60e08201526101006112f189828501610df8565b90820152610120828101359082015261014080830135858111156111ba578788fd5b6001600160a01b03169052565b60008151808452815b8181101561134557602081850181015186830182015201611329565b818111156113565782602083870101525b50601f01601f19169290920160200192915050565b6002811061137557fe5b9052565b600081516060845261138e60608501826113c6565b905060208301516002811061139f57fe5b80602086015250604083015184820360408601526113bd8282611320565b95945050505050565b600061012060018060a01b03835116845260208301516020850152604083015160408501526060830151606085015260808301516114076080860182611313565b5060a083015161141a60a0860182611313565b5060c083015161142d60c0860182611313565b5060e083015160e085015261010080840151828287015261145083870182611320565b9695505050505050565b600061020061146a848451611313565b6020830151602085015260408301516114866040860182611313565b506060830151606085015260808301516114a36080860182611313565b5060a083015160a085015260c08301516114c060c0860182611313565b5060e08381015190850152610100808401519085015261012080840151908501526101408084015190850152610160808401516114ff82870182611313565b50506101808084015161151482870182611313565b50506101a080840151828287015261152e83870182611320565b925050506101c08084015181860152506101e080840151858303828701526114508382611320565b6000610160611566848451611313565b6020830151602085015260408301516040850152606083015160608501526080830151608085015260a083015160a085015260c08301516115aa60c0860182611313565b5060e08301516115bd60e0860182611313565b50610100808401516115d182870182611313565b505061012080840151818601525061014080840151828287015261145083870182611320565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b90815260200190565b600083825260406020830152610ce66040830184611320565b93845260ff9290921660208401526040830152606082015260800190565b6000604082526116796040830185611320565b82810360208401526113bd8185611320565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f696e76616c69642d73656e6465722d6f722d7369676e61747572650000000000604082015260600190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b600060208252610cab6020830184611379565b600060208252610cab60208301846113c6565b6000602082528251606060208401526117e3608084018261145a565b905060208401516117f7604085018261136b565b506040840151838203601f190160608501526113bd8282611320565b600060208252610cab602083018461145a565b6000602082528251606060208401526117e36080840182611556565b600060208252610cab6020830184611556565b60405181810167ffffffffffffffff8111828210171561187457600080fd5b604052919050565b6001600160a01b038116811461189157600080fd5b50565b6002811061189157600080fdfea2646970667358221220addbb3b46fa83f2951362e51ba8140c54dd6f5d277e0c4f95bcc877deda07f0064736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b25780638dd971d5146100d0578063b2b07e66146100e3578063f2fde38b146100f65761007d565b80634b74710614610082578063715018a6146100975780637e34a0771461009f575b600080fd5b610095610090366004611021565b610109565b005b61009561039f565b6100956100ad36600461120f565b61041e565b6100ba61062e565b6040516100c79190611612565b60405180910390f35b6100956100de366004611054565b61063d565b6100956100f1366004611021565b6107da565b610095610104366004610fa9565b6109ea565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561014c57600080fd5b505afa158015610160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101849190610fc5565b905061018e610aa0565b6001600160a01b0316816001600160a01b0316148061024b57506040516308231d7360e31b815261024b9082906102419073__IexecLibOrders_v5_____________________90634118eb98906101e99088906004016117a1565b60206040518083038186803b15801561020157600080fd5b505af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610fe1565b601054610aa4565b8460400151610ad1565b6102705760405162461bcd60e51b815260040161026790611733565b60405180910390fd5b81516040516308d9777160e11b81526000916102af9173__IexecLibOrders_v5_____________________916311b2eee2916101e991906004016117b4565b805160209091012090506000836020015160018111156102cb57fe5b1415610335576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f79ce85909be2c590a728d1634ce6ec8a7cbf815260bacc05387890a313da813090610328908390611626565b60405180910390a161039a565b60018360200151600181111561034757fe5b141561039a5782516040908101516000838152601260205282902055517fcf52e3228bc482a6656d8ab56c09888b1c5bf6aaadba0185e96a34836f2bb1d490610391908390611626565b60405180910390a15b505050565b6103a7610aa0565b6000546001600160a01b039081169116146103d45760405162461bcd60e51b8152600401610267906116fe565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561046157600080fd5b505afa158015610475573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104999190610fc5565b90506104a3610aa0565b6001600160a01b0316816001600160a01b031614806104fe5750604051632daacfb560e11b81526104fe9082906102419073__IexecLibOrders_v5_____________________90635b559f6a906101e9908890600401611826565b61051a5760405162461bcd60e51b815260040161026790611733565b8151604051637f6cc2ff60e11b81526000916105599173__IexecLibOrders_v5_____________________9163fed985fe916101e99190600401611842565b8051602090910120905060008360200151600181111561057557fe5b14156105d2576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f3a61aabf2ab04790d082ff1e332853b2f66944c2e951a146121f80272812a47690610328908390611626565b6001836020015160018111156105e457fe5b141561039a5782516040908101516000838152601260205282902055517f145ad51e4496173bca15e24e7eb46f9ab3a10eea0497e2801a3a6806c06113a390610391908390611626565b6000546001600160a01b031690565b805160c0015161064b610aa0565b6001600160a01b0316816001600160a01b031614806106a657506040516320aabe5360e01b81526106a69082906102419073__IexecLibOrders_v5_____________________906320aabe53906101e99088906004016117c7565b6106c25760405162461bcd60e51b815260040161026790611733565b8151604051638ac03f3360e01b81526000916107019173__IexecLibOrders_v5_____________________91638ac03f33916101e99190600401611813565b8051602090910120905060008360200151600181111561071d57fe5b141561077a576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f3b0ac04165536d6b11d04220f998c840bd6e439d59c5d8721bba8a4e1fb9ebfd90610328908390611626565b60018360200151600181111561078c57fe5b141561039a57825160e001516000828152601260205260409081902091909155517f582f43f2a741cbe708aae3b8d38a4efc3d09d7e81919697b3ca693f4c444cc0590610391908390611626565b60008160000151600001516001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561081d57600080fd5b505afa158015610831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108559190610fc5565b905061085f610aa0565b6001600160a01b0316816001600160a01b031614806108ba5750604051636cf30b8b60e01b81526108ba9082906102419073__IexecLibOrders_v5_____________________90636cf30b8b906101e99088906004016117a1565b6108d65760405162461bcd60e51b815260040161026790611733565b8151604051637c0d54d360e01b81526000916109159173__IexecLibOrders_v5_____________________91637c0d54d3916101e991906004016117b4565b8051602090910120905060008360200151600181111561093157fe5b141561098e576000818152601160205260409081902080546001600160a01b0319166001600160a01b038516179055517f50933cf5a9c44d5ed66b895deb27212aa33d811b46a7b41093e047e213c0bcab90610328908390611626565b6001836020015160018111156109a057fe5b141561039a5782516040908101516000838152601260205282902055517f7343f75be43aba524f85326508cd975d016ef7884676377366c69a7c32e3066890610391908390611626565b6109f2610aa0565b6000546001600160a01b03908116911614610a1f5760405162461bcd60e51b8152600401610267906116fe565b6001600160a01b038116610a455760405162461bcd60e51b81526004016102679061168b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60608183604051602001610ab99291906115f7565b60405160208183030381529060405290505b92915050565b6000610adc84610cb2565b15610c83576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b90610b0f9086908690600401611666565b60206040518083038186803b158015610b2757600080fd5b505afa925050508015610b57575060408051601f3d908101601f19168201909252610b5491810190610ff9565b60015b610b91573d808015610b85576040519150601f19603f3d011682016040523d82523d6000602084013e610b8a565b606091505b5050610bab565b6001600160e01b0319166320c13b0b60e01b149050610cab565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e91610bdf9190869060040161162f565b60206040518083038186803b158015610bf757600080fd5b505afa925050508015610c27575060408051601f3d908101601f19168201909252610c2491810190610ff9565b60015b610c61573d808015610c55576040519150601f19603f3d011682016040523d82523d6000602084013e610c5a565b606091505b5050610c7b565b6001600160e01b031916630b135d3f60e11b149050610cab565b506000610cab565b836001600160a01b0316610c9e848051906020012084610cee565b6001600160a01b03161490505b9392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610ce657508115155b949350505050565b600080600080845160411415610d185750505060208201516040830151606084015160001a610d5d565b845160401415610d4557505050602082015160408301516001600160ff1b0381169060001a60071c610d5d565b60405162461bcd60e51b81526004016102679061176a565b601b8160ff161015610d6d57601b015b8060ff16601b1480610d8257508060ff16601c145b610d9e5760405162461bcd60e51b8152600401610267906116d1565b60018682858560405160008152602001604052604051610dc19493929190611648565b6020604051602081039080840390855afa158015610de3573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b8035610acb8161187c565b600082601f830112610e13578081fd5b813567ffffffffffffffff811115610e29578182fd5b610e3c601f8201601f1916602001611855565b9150808252836020828501011115610e5357600080fd5b8060208401602084013760009082016020015292915050565b803560028110610acb57600080fd5b600060608284031215610e8c578081fd5b610e966060611855565b9050813567ffffffffffffffff80821115610eb057600080fd5b8184019150610120808387031215610ec757600080fd5b610ed081611855565b9050610edc8684610df8565b8152602083013560208201526040830135604082015260608301356060820152610f098660808501610df8565b6080820152610f1b8660a08501610df8565b60a0820152610f2d8660c08501610df8565b60c082015260e083013560e08201526101008084013583811115610f5057600080fd5b610f5c88828701610e03565b8284015250508084525060208401359150610f7682611894565b8160208401526040840135915080821115610f9057600080fd5b50610f9d84828501610e03565b60408301525092915050565b600060208284031215610fba578081fd5b8135610cab8161187c565b600060208284031215610fd6578081fd5b8151610cab8161187c565b600060208284031215610ff2578081fd5b5051919050565b60006020828403121561100a578081fd5b81516001600160e01b031981168114610cab578182fd5b600060208284031215611032578081fd5b813567ffffffffffffffff811115611048578182fd5b610ce684828501610e7b565b600060208284031215611065578081fd5b813567ffffffffffffffff8082111561107c578283fd5b908301906060828603121561108f578283fd5b6110996060611855565b8235828111156110a7578485fd5b83016102008188038113156110ba578586fd5b6110c381611855565b90506110cf8883610df8565b8152602082013560208201526110e88860408401610df8565b6040820152606082013560608201526111048860808401610df8565b608082015260a082013560a08201526111208860c08401610df8565b60c082015260e0828101359082015261010080830135908201526101208083013590820152610140808301359082015261016061115f89828501610df8565b9082015261018061117289848301610df8565b908201526101a08281013585811115611189578788fd5b6111958a828601610e03565b8284015250506101c08083013581830152506101e080830135858111156111ba578788fd5b6111c68a828601610e03565b82840152505080835250506111de8660208501610e6c565b60208201526040830135828111156111f4578485fd5b61120087828601610e03565b60408301525095945050505050565b600060208284031215611220578081fd5b813567ffffffffffffffff80821115611237578283fd5b908301906060828603121561124a578283fd5b6112546060611855565b823582811115611262578485fd5b8301610160818803811315611275578586fd5b61127e81611855565b905061128a8883610df8565b81526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a08201526112cb8860c08401610df8565b60c08201526112dd8860e08401610df8565b60e08201526101006112f189828501610df8565b90820152610120828101359082015261014080830135858111156111ba578788fd5b6001600160a01b03169052565b60008151808452815b8181101561134557602081850181015186830182015201611329565b818111156113565782602083870101525b50601f01601f19169290920160200192915050565b6002811061137557fe5b9052565b600081516060845261138e60608501826113c6565b905060208301516002811061139f57fe5b80602086015250604083015184820360408601526113bd8282611320565b95945050505050565b600061012060018060a01b03835116845260208301516020850152604083015160408501526060830151606085015260808301516114076080860182611313565b5060a083015161141a60a0860182611313565b5060c083015161142d60c0860182611313565b5060e083015160e085015261010080840151828287015261145083870182611320565b9695505050505050565b600061020061146a848451611313565b6020830151602085015260408301516114866040860182611313565b506060830151606085015260808301516114a36080860182611313565b5060a083015160a085015260c08301516114c060c0860182611313565b5060e08381015190850152610100808401519085015261012080840151908501526101408084015190850152610160808401516114ff82870182611313565b50506101808084015161151482870182611313565b50506101a080840151828287015261152e83870182611320565b925050506101c08084015181860152506101e080840151858303828701526114508382611320565b6000610160611566848451611313565b6020830151602085015260408301516040850152606083015160608501526080830151608085015260a083015160a085015260c08301516115aa60c0860182611313565b5060e08301516115bd60e0860182611313565b50610100808401516115d182870182611313565b505061012080840151818601525061014080840151828287015261145083870182611320565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b90815260200190565b600083825260406020830152610ce66040830184611320565b93845260ff9290921660208401526040830152606082015260800190565b6000604082526116796040830185611320565b82810360208401526113bd8185611320565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f696e76616c69642d73656e6465722d6f722d7369676e61747572650000000000604082015260600190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b600060208252610cab6020830184611379565b600060208252610cab60208301846113c6565b6000602082528251606060208401526117e3608084018261145a565b905060208401516117f7604085018261136b565b506040840151838203601f190160608501526113bd8282611320565b600060208252610cab602083018461145a565b6000602082528251606060208401526117e36080840182611556565b600060208252610cab6020830184611556565b60405181810167ffffffffffffffff8111828210171561187457600080fd5b604052919050565b6001600160a01b038116811461189157600080fd5b50565b6002811061189157600080fdfea2646970667358221220addbb3b46fa83f2951362e51ba8140c54dd6f5d277e0c4f95bcc877deda07f0064736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1416:4457:26:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1416:4457:26;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1416:4457:26;;;;;;", - "deployedSourceMap": "1416:4457:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3105:906;;;;;;:::i;:::-;;:::i;:::-;;1689:145:83;;;:::i;4014:963:26:-;;;;;;:::i;:::-;;:::i;1066:77:83:-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4980:891:26;;;;;;:::i;:::-;;:::i;2272:830::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;3105:906:26:-;3226:13;3250:22;:28;;;:36;;;-1:-1:-1;;;;;3242:51:26;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3226:69;;3316:12;:10;:12::i;:::-;-1:-1:-1;;;;;3307:21:26;:5;-1:-1:-1;;;;;3307:21:26;;:150;;;-1:-1:-1;3373:29:26;;-1:-1:-1;;;3373:29:26;;3332:125;;3348:5;;3355:72;;3373:27;;;;:29;;:22;;:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3404:22;;3355:17;:72::i;:::-;3429:22;:27;;;3332:15;:125::i;:::-;3299:190;;;;-1:-1:-1;;;3299:190:26;;;;;;;:::i;:::-;;;;;;;;;3549:28;;:35;;-1:-1:-1;;;3549:35:26;;3494:24;;3531:78;;3549:33;;;;:35;;:28;:35;;;:::i;3531:78::-;3521:89;;;;;;;;-1:-1:-1;3654:41:26;3618:22;:32;;;:77;;;;;;;;;3614:394;;;3704:29;;;;:11;:29;;;;;;;:37;;-1:-1:-1;;;;;;3704:37:26;-1:-1:-1;;;;;3704:37:26;;;;;3751:36;;;;;3704:29;;3751:36;:::i;:::-;;;;;;;;3614:394;;;3840:42;3804:22;:32;;;:78;;;;;;;;;3800:208;;;3922:28;;:35;;;;;:28;3891;;;:10;:28;;;;;:66;3967:36;;;;;3902:16;;3967:36;:::i;:::-;;;;;;;;3800:208;3105:906;;;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;4014:963:26:-;4144:13;4171:25;:31;;;:42;;;-1:-1:-1;;;;;4160:60:26;;:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4144:78;;4243:12;:10;:12::i;:::-;-1:-1:-1;;;;;4234:21:26;:5;-1:-1:-1;;;;;4234:21:26;;:156;;;-1:-1:-1;4300:32:26;;-1:-1:-1;;;4300:32:26;;4259:131;;4275:5;;4282:75;;4300:30;;;;:32;;:25;;:32;;;:::i;4259:131::-;4226:196;;;;-1:-1:-1;;;4226:196:26;;;;;;;:::i;:::-;4485:31;;:38;;-1:-1:-1;;;4485:38:26;;4427:27;;4467:81;;4485:36;;;;:38;;:31;:38;;;:::i;4467:81::-;4457:92;;;;;;;;-1:-1:-1;4596:41:26;4557:25;:35;;;:80;;;;;;;;;4553:421;;;4646:32;;;;:11;:32;;;;;;;:40;;-1:-1:-1;;;;;;4646:40:26;-1:-1:-1;;;;;4646:40:26;;;;;4696:42;;;;;4646:32;;4696:42;:::i;4553:421::-;4794:42;4755:25;:35;;;:81;;;;;;;;;4751:223;;;4879:31;;:38;;;;;:31;4845;;;:10;:31;;;;;:72;4927:42;;;;;4856:19;;4927:42;:::i;1066:77:83:-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;4980:891:26:-;5117:28;;:38;;;5176:12;:10;:12::i;:::-;-1:-1:-1;;;;;5167:21:26;:5;-1:-1:-1;;;;;5167:21:26;;:150;;;-1:-1:-1;5233:29:26;;-1:-1:-1;;;5233:29:26;;5192:125;;5208:5;;5215:72;;5233:27;;;;:29;;:22;;:29;;;:::i;5192:125::-;5159:190;;;;-1:-1:-1;;;5159:190:26;;;;;;;:::i;:::-;5409:28;;:35;;-1:-1:-1;;;5409:35:26;;5354:24;;5391:78;;5409:33;;;;:35;;:28;:35;;;:::i;5391:78::-;5381:89;;;;;;;;-1:-1:-1;5514:41:26;5478:22;:32;;;:77;;;;;;;;;5474:394;;;5564:29;;;;:11;:29;;;;;;;:37;;-1:-1:-1;;;;;;5564:37:26;-1:-1:-1;;;;;5564:37:26;;;;;5611:36;;;;;5564:29;;5611:36;:::i;5474:394::-;5700:42;5664:22;:32;;;:78;;;;;;;;;5660:208;;;5782:28;;:35;;;:28;5751;;;:10;:28;;;;;;;:66;;;;5827:36;;;;;5762:16;;5827:36;:::i;2272:830::-;2381:13;2401:18;:24;;;:28;;;-1:-1:-1;;;;;2397:39:26;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2381:57;;2459:12;:10;:12::i;:::-;-1:-1:-1;;;;;2450:21:26;:5;-1:-1:-1;;;;;2450:21:26;;:142;;;-1:-1:-1;2516:25:26;;-1:-1:-1;;;2516:25:26;;2475:117;;2491:5;;2498:68;;2516:23;;;;:25;;:18;;:25;;;:::i;2475:117::-;2442:182;;;;-1:-1:-1;;;2442:182:26;;;;;;;:::i;:::-;2680:24;;:31;;-1:-1:-1;;;2680:31:26;;2629:20;;2662:74;;2680:29;;;;:31;;:24;:31;;;:::i;2662:74::-;2652:85;;;;;;;;-1:-1:-1;2777:41:26;2745:18;:28;;;:73;;;;;;;;;2741:358;;;2827:25;;;;:11;:25;;;;;;;:33;;-1:-1:-1;;;;;;2827:33:26;-1:-1:-1;;;;;2827:33:26;;;;;2870:28;;;;;2827:25;;2870:28;:::i;2741:358::-;2947:42;2915:18;:28;;;:74;;;;;;;;;2911:188;;;3025:24;;:31;;;;;:24;2998;;;:10;:24;;;;;:58;3066:28;;;;;3009:12;;3066:28;:::i;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;1780:177:32:-;1873:12;1928:11;1941;1899:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1892:61;;1780:177;;;;;:::o;4605:684::-;4722:4;4737:22;4749:9;4737:11;:22::i;:::-;4733:553;;;4772:59;;-1:-1:-1;;;4772:59:32;;-1:-1:-1;;;;;4772:36:32;;;;;:59;;4809:9;;4820:10;;4772:59;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4772:59:32;;;;;;;;-1:-1:-1;;4772:59:32;;;;;;;;;;;;:::i;:::-;;;4768:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4927:40;4768:199;;;-1:-1:-1;;;;;;4871:46:32;-1:-1:-1;;;4871:46:32;;-1:-1:-1;4864:53:32;;4768:199;5013:20;;;;;;4976:70;;-1:-1:-1;;;4976:70:32;;-1:-1:-1;;;;;4976:36:32;;;;;:70;;5013:20;5035:10;;4976:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4976:70:32;;;;;;;;-1:-1:-1;;4976:70:32;;;;;;;;;;;;:::i;:::-;;;4972:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5142:40;4972:210;;;-1:-1:-1;;;;;;5086:46:32;-1:-1:-1;;;5086:46:32;;-1:-1:-1;5079:53:32;;4972:210;-1:-1:-1;5194:5:32;5187:12;;4733:553;5272:9;-1:-1:-1;;;;;5226:55:32;:42;5245:9;5235:20;;;;;;5257:10;5226:8;:42::i;:::-;-1:-1:-1;;;;;5226:55:32;;5219:62;;4733:553;4605:684;;;;;:::o;2957:562::-;3019:4;3439:20;;3296:66;3472:23;;;;;;:42;;-1:-1:-1;3499:15:32;;;3472:42;3464:51;2957:562;-1:-1:-1;;;;2957:562:32:o;2067:820::-;2144:7;2158:9;2171;2184;2202:5;:12;2218:2;2202:18;2198:572;;;-1:-1:-1;;;2302:4:32;2291:16;;2285:23;2343:4;2332:16;;2326:23;2384:4;2373:16;;2367:23;2364:1;2359:32;2266:130;;;2412:5;:12;2428:2;2412:18;2408:362;;;-1:-1:-1;;;2534:4:32;2523:16;;2517:23;2582:4;2571:16;;2565:23;-1:-1:-1;;;;;2550:107:32;;;2679:1;2674:32;2671:1;2667:40;2491:221;;;2731:34;;-1:-1:-1;;;2731:34:32;;;;;;;:::i;2408:362::-;2782:2;2778:1;:6;;;2774:19;;;2791:2;2786:7;2774:19;2805:1;:7;;2810:2;2805:7;:18;;;;2816:1;:7;;2821:2;2816:7;2805:18;2797:50;;;;-1:-1:-1;;;2797:50:32;;;;;;;:::i;:::-;2858:25;2868:5;2875:1;2878;2881;2858:25;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2858:25:32;;-1:-1:-1;;2858:25:32;;;2067:820;-1:-1:-1;;;;;;;2067:820:32:o;5:130:-1:-;72:20;;97:33;72:20;97:33;:::i;701:440::-;;802:3;795:4;787:6;783:17;779:27;769:2;;-1:-1;;810:12;769:2;857:6;844:20;51599:18;51591:6;51588:30;51585:2;;;-1:-1;;51621:12;51585:2;879:64;51694:9;51675:17;;-1:-1;;51671:33;51762:4;51752:15;879:64;:::i;:::-;870:73;;963:6;956:5;949:21;1067:3;51762:4;1058:6;991;1049:16;;1046:25;1043:2;;;1084:1;;1074:12;1043:2;54229:6;51762:4;991:6;987:17;51762:4;1025:5;1021:16;54206:30;54285:1;54267:16;;;51762:4;54267:16;54260:27;1025:5;762:379;-1:-1;;762:379::o;1149:176::-;1239:20;;55347:1;55337:12;;55327:2;;55363:1;;55353:12;1832:857;;1956:4;1944:9;1939:3;1935:19;1931:30;1928:2;;;-1:-1;;1964:12;1928:2;1992:20;1956:4;1992:20;:::i;:::-;1983:29;;2076:17;2063:31;2114:18;;2106:6;2103:30;2100:2;;;2091:1;;2136:12;2100:2;2243:6;2232:9;2228:22;;;2851:6;;2839:9;2834:3;2830:19;2826:32;2823:2;;;-1:-1;;2861:12;2823:2;2889:22;2851:6;2889:22;:::i;:::-;2880:31;;2992:49;3037:3;3013:22;2992:49;:::i;:::-;2974:16;2967:75;3107:2;3165:9;3161:22;13718:20;3107:2;3126:5;3122:16;3115:75;3253:2;3311:9;3307:22;13718:20;3253:2;3272:5;3268:16;3261:75;1956:4;3454:9;3450:22;350:20;1956:4;3415:5;3411:16;3404:75;3585:49;3630:3;3551;3610:9;3606:22;3585:49;:::i;:::-;3551:3;3571:5;3567:16;3560:75;3744:49;3789:3;3710;3769:9;3765:22;3744:49;:::i;:::-;3710:3;3730:5;3726:16;3719:75;3902:49;3947:3;3868;3927:9;3923:22;3902:49;:::i;:::-;3868:3;3888:5;3884:16;3877:75;4013:3;4072:9;4068:22;350:20;4013:3;4033:5;4029:16;4022:75;4186:3;;4175:9;4171:19;4158:33;2114:18;4203:6;4200:30;4197:2;;;-1:-1;;4233:12;4197:2;4280:58;4334:3;4325:6;4314:9;4310:22;4280:58;:::i;:::-;4186:3;4264:5;4260:18;4253:86;;;2181:75;2163:16;2156:101;;3107:2;2404:9;2400:22;1239:20;1230:29;;1264:56;1314:5;1264:56;:::i;:::-;2356:72;3107:2;2342:5;2338:16;2331:98;3253:2;2507:9;2503:18;2490:32;2476:46;;2114:18;2534:6;2531:30;2528:2;;;-1:-1;;2564:12;2528:2;;2609:58;2663:3;2654:6;2643:9;2639:22;2609:58;:::i;:::-;3253:2;2595:5;2591:16;2584:84;;1922:767;;;;:::o;13788:241::-;;13892:2;13880:9;13871:7;13867:23;13863:32;13860:2;;;-1:-1;;13898:12;13860:2;85:6;72:20;97:33;124:5;97:33;:::i;14036:263::-;;14151:2;14139:9;14130:7;14126:23;14122:32;14119:2;;;-1:-1;;14157:12;14119:2;226:6;220:13;238:33;265:5;238:33;:::i;14306:263::-;;14421:2;14409:9;14400:7;14396:23;14392:32;14389:2;;;-1:-1;;14427:12;14389:2;-1:-1;498:13;;14383:186;-1:-1;14383:186::o;14576:261::-;;14690:2;14678:9;14669:7;14665:23;14661:32;14658:2;;;-1:-1;;14696:12;14658:2;638:13;;-1:-1;;;;;;53444:78;;55191:34;;55181:2;;-1:-1;;55229:12;14844:397;;14983:2;14971:9;14962:7;14958:23;14954:32;14951:2;;;-1:-1;;14989:12;14951:2;15047:17;15034:31;15085:18;15077:6;15074:30;15071:2;;;-1:-1;;15107:12;15071:2;15137:88;15217:7;15208:6;15197:9;15193:22;15137:88;:::i;15660:405::-;;15803:2;15791:9;15782:7;15778:23;15774:32;15771:2;;;-1:-1;;15809:12;15771:2;15867:17;15854:31;15905:18;;15897:6;15894:30;15891:2;;;-1:-1;;15927:12;15891:2;16017:22;;;;7156:4;7135:19;;;7131:30;7128:2;;;-1:-1;;7164:12;7128:2;7192:20;7156:4;7192:20;:::i;:::-;7276:17;7263:31;15905:18;7306:6;7303:30;7300:2;;;-1:-1;;7336:12;7300:2;7432:22;;8063:6;8042:19;;;8038:32;-1:-1;8035:2;;;-1:-1;;8073:12;8035:2;8101:22;8063:6;8101:22;:::i;:::-;8092:31;;8204:49;8249:3;8225:22;8204:49;:::i;:::-;8186:16;8179:75;15803:2;8380:9;8376:22;13718:20;15803:2;8341:5;8337:16;8330:75;8502:49;8547:3;8469:2;8527:9;8523:22;8502:49;:::i;:::-;8469:2;8488:5;8484:16;8477:75;7156:4;8682:9;8678:22;13718:20;7156:4;8643:5;8639:16;8632:75;8808:49;8853:3;8774;8833:9;8829:22;8808:49;:::i;:::-;8774:3;8794:5;8790:16;8783:75;8933:3;8992:9;8988:22;13718:20;8933:3;8953:5;8949:16;8942:75;9117:49;9162:3;9083;9142:9;9138:22;9117:49;:::i;:::-;9083:3;9099:16;;9092:75;9230:3;9285:22;;;13718:20;9246:16;;;9239:75;9374:3;9431:22;;;350:20;9390:18;;;9383:77;9525:3;9582:22;;;13718:20;9541:18;;;9534:77;9673:3;9730:22;;;13718:20;9689:18;;;9682:77;9827:3;9863:49;9908:3;9884:22;;;9863:49;:::i;:::-;9843:18;;;9836:77;9978:3;10014:49;10059:3;10035:22;;;10014:49;:::i;:::-;9994:18;;;9987:77;10155:3;10140:19;;;10127:33;10169:30;;;10166:2;;;-1:-1;;10202:12;10166:2;10249:59;10304:3;10295:6;10284:9;10280:22;10249:59;:::i;:::-;10155:3;10233:5;10229:18;10222:87;;;10370:3;;10431:9;10427:22;350:20;10370:3;10390:5;10386:18;10379:77;;10545:3;;10534:9;10530:19;10517:33;15905:18;10562:6;10559:30;10556:2;;;-1:-1;;10592:12;10556:2;10639:58;10693:3;10684:6;10673:9;10669:22;10639:58;:::i;:::-;10545:3;10623:5;10619:18;10612:86;;;7381:79;7363:16;7356:105;;;7560:72;7628:3;15803:2;7608:9;7604:22;7560:72;:::i;:::-;15803:2;7546:5;7542:16;7535:98;8469:2;7711:9;7707:18;7694:32;15905:18;7738:6;7735:30;7732:2;;;-1:-1;;7768:12;7732:2;7813:58;7867:3;7858:6;7847:9;7843:22;7813:58;:::i;:::-;8469:2;7795:16;;7788:84;-1:-1;7799:5;15765:300;-1:-1;;;;;15765:300::o;16072:411::-;;16218:2;16206:9;16197:7;16193:23;16189:32;16186:2;;;-1:-1;;16224:12;16186:2;16282:17;16269:31;16320:18;;16312:6;16309:30;16306:2;;;-1:-1;;16342:12;16306:2;16435:22;;;;10913:4;10892:19;;;10888:30;10885:2;;;-1:-1;;10921:12;10885:2;10949:20;10913:4;10949:20;:::i;:::-;11033:17;11020:31;16320:18;11063:6;11060:30;11057:2;;;-1:-1;;11093:12;11057:2;11192:22;;11829:6;11808:19;;;11804:32;-1:-1;11801:2;;;-1:-1;;11839:12;11801:2;11867:22;11829:6;11867:22;:::i;:::-;11858:31;;11977:49;12022:3;11998:22;11977:49;:::i;:::-;11959:16;11952:75;16218:2;12157:9;12153:22;13718:20;16218:2;12118:5;12114:16;12107:75;12245:2;12303:9;12299:22;13718:20;12245:2;12264:5;12260:16;12253:75;10913:4;12446:9;12442:22;350:20;10913:4;12407:5;12403:16;12396:75;12536:3;12595:9;12591:22;13718:20;12536:3;12556:5;12552:16;12545:75;12682:3;12741:9;12737:22;13718:20;12682:3;12702:5;12698:16;12691:75;12868:49;12913:3;12834;12893:9;12889:22;12868:49;:::i;:::-;12834:3;12854:5;12850:16;12843:75;13024:49;13069:3;12990;13049:9;13045:22;13024:49;:::i;:::-;12990:3;13010:5;13006:16;12999:75;13148:3;13184:49;13229:3;13148;13209:9;13205:22;13184:49;:::i;:::-;13164:18;;;13157:77;13295:3;13352:22;;;350:20;13311:18;;;13304:77;13470:3;13455:19;;;13442:33;13484:30;;;13481:2;;;-1:-1;;13517:12;16490:113;-1:-1;;;;;53755:54;16561:37;;16555:48::o;17125:343::-;;17267:5;52200:12;52485:6;52480:3;52473:19;-1:-1;54374:101;54388:6;54385:1;54382:13;54374:101;;;52522:4;54455:11;;;;;54449:18;54436:11;;;;;54429:39;54403:10;54374:101;;;54490:6;54487:1;54484:13;54481:2;;;-1:-1;52522:4;54546:6;52517:3;54537:16;;54530:27;54481:2;-1:-1;51694:9;54727:14;-1:-1;;54723:28;17424:39;;;;52522:4;17424:39;;17215:253;-1:-1;;17215:253::o;17821:166::-;54856:1;54849:5;54846:12;54836:2;;54862:9;54836:2;17911:71;;17905:82::o;20568:910::-;;20820:16;20814:23;20747:4;20857:14;20850:38;20903:113;20747:4;20742:3;20738:14;20997:12;20903:113;:::i;:::-;20895:121;;21106:4;21099:5;21095:16;21089:23;54856:1;54849:5;54846:12;54836:2;;54862:9;54836:2;54088:47;21106:4;21199:3;21195:14;17911:71;;21289:4;21282:5;21278:16;21272:23;21341:3;21335:4;21331:14;21289:4;21319:3;21315:14;21308:38;21361:79;21435:4;21421:12;21361:79;:::i;:::-;21462:11;20720:758;-1:-1;;;;;20720:758::o;21562:1777::-;;21723:6;51599:18;;53766:42;;;21796:16;21790:23;53755:54;16568:3;16561:37;21973:4;21966:5;21962:16;21956:23;21973:4;22045:3;22041:14;16799:37;22137:4;22130:5;22126:16;22120:23;22137:4;22209:3;22205:14;16799:37;22298:4;22291:5;22287:16;22281:23;22298:4;22370:3;22366:14;16799:37;22471:4;22464:5;22460:16;22454:23;22483:71;22471:4;22543:3;22539:14;22525:12;22483:71;:::i;:::-;;22647:4;22640:5;22636:16;22630:23;22659:71;22647:4;22719:3;22715:14;22701:12;22659:71;:::i;:::-;;22822:4;22815:5;22811:16;22805:23;22834:71;22822:4;22894:3;22890:14;22876:12;22834:71;:::i;:::-;;22984:4;22977:5;22973:16;22967:23;22984:4;23056:3;23052:14;16799:37;23146:6;;23139:5;23135:18;23129:25;21723:6;23146;23178:3;23174:16;23167:40;23222:79;21723:6;21718:3;21714:16;23282:12;23222:79;:::i;:::-;23323:11;21696:1643;-1:-1;;;;;;21696:1643::o;31106:3045::-;;31275:6;31371:71;31427:14;31348:16;31342:23;31371:71;:::i;:::-;31528:4;31521:5;31517:16;31511:23;31528:4;31600:3;31596:14;16799:37;31693:4;31686:5;31682:16;31676:23;31705:71;31693:4;31765:3;31761:14;31747:12;31705:71;:::i;:::-;;31866:4;31859:5;31855:16;31849:23;31866:4;31938:3;31934:14;16799:37;32034:4;32027:5;32023:16;32017:23;32046:71;32034:4;32106:3;32102:14;32088:12;32046:71;:::i;:::-;;32210:4;32203:5;32199:16;32193:23;32210:4;32282:3;32278:14;16799:37;32377:4;32370:5;32366:16;32360:23;32389:71;32377:4;32449:3;32445:14;32431:12;32389:71;:::i;:::-;-1:-1;32541:4;32530:16;;;32524:23;32609:14;;;16799:37;32702:6;32691:18;;;32685:25;32772:16;;;16799:37;32872:6;32861:18;;;32855:25;32942:16;;;16799:37;33039:6;33028:18;;;33022:25;33109:16;;;16799:37;33212:6;33201:18;;;33195:25;33226:73;33282:16;;;33195:25;33226:73;:::i;:::-;;;33382:6;;33375:5;33371:18;33365:25;33396:73;33382:6;33456:3;33452:16;33438:12;33396:73;:::i;:::-;;;33550:6;;33543:5;33539:18;33533:25;31275:6;33550;33582:3;33578:16;33571:40;33626:81;31275:6;31270:3;31266:16;33688:12;33626:81;:::i;:::-;33618:89;;;;33792:6;;33785:5;33781:18;33775:25;33792:6;33866:3;33862:16;16799:37;;33958:6;;33951:5;33947:18;33941:25;34014:3;34008:4;34004:14;33958:6;33990:3;33986:16;33979:40;34034:79;34108:4;34094:12;34034:79;:::i;38430:2135::-;;38605:6;38708:71;38764:14;38685:16;38679:23;38708:71;:::i;:::-;38869:4;38862:5;38858:16;38852:23;38869:4;38941:3;38937:14;16799:37;39033:4;39026:5;39022:16;39016:23;39033:4;39105:3;39101:14;16799:37;39194:4;39187:5;39183:16;39177:23;39194:4;39266:3;39262:14;16799:37;39360:4;39353:5;39349:16;39343:23;39360:4;39432:3;39428:14;16799:37;39523:4;39516:5;39512:16;39506:23;39523:4;39595:3;39591:14;16799:37;39692:4;39685:5;39681:16;39675:23;39704:71;39692:4;39764:3;39760:14;39746:12;39704:71;:::i;:::-;;39865:4;39858:5;39854:16;39848:23;39877:71;39865:4;39937:3;39933:14;39919:12;39877:71;:::i;:::-;;40040:6;;40033:5;40029:18;40023:25;40054:73;40040:6;40114:3;40110:16;40096:12;40054:73;:::i;:::-;;;40206:6;;40199:5;40195:18;40189:25;40206:6;40280:3;40276:16;16799:37;;40372:6;;40365:5;40361:18;40355:25;38605:6;40372;40404:3;40400:16;40393:40;40448:79;38605:6;38600:3;38596:16;40508:12;40448:79;:::i;43027:659::-;-1:-1;;;19004:87;;18989:1;19110:11;;16799:37;;;;43538:12;;;16799:37;43649:12;;;43272:414::o;43693:222::-;-1:-1;;;;;53755:54;;;;16561:37;;43820:2;43805:18;;43791:124::o;43922:222::-;16799:37;;;44049:2;44034:18;;44020:124::o;44151:417::-;;16829:5;16806:3;16799:37;44324:2;44442;44431:9;44427:18;44420:48;44482:76;44324:2;44313:9;44309:18;44544:6;44482:76;:::i;44575:548::-;16799:37;;;53971:4;53960:16;;;;44943:2;44928:18;;42980:35;45026:2;45011:18;;16799:37;45109:2;45094:18;;16799:37;44782:3;44767:19;;44753:370::o;45130:501::-;;45321:2;45342:17;45335:47;45396:76;45321:2;45310:9;45306:18;45458:6;45396:76;:::i;:::-;45520:9;45514:4;45510:20;45505:2;45494:9;45490:18;45483:48;45545:76;45616:4;45607:6;45545:76;:::i;45638:416::-;45838:2;45852:47;;;18569:2;45823:18;;;52473:19;18605:34;52513:14;;;18585:55;-1:-1;;;18660:12;;;18653:30;18702:12;;;45809:245::o;46061:416::-;46261:2;46275:47;;;19360:2;46246:18;;;52473:19;-1:-1;;;52513:14;;;19376:42;19437:12;;;46232:245::o;46484:416::-;46684:2;46698:47;;;46669:18;;;52473:19;19724:34;52513:14;;;19704:55;19778:12;;;46655:245::o;46907:416::-;47107:2;47121:47;;;20029:2;47092:18;;;52473:19;20065:29;52513:14;;;20045:50;20114:12;;;47078:245::o;47330:416::-;47530:2;47544:47;;;20365:2;47515:18;;;52473:19;20401:26;52513:14;;;20381:47;20447:12;;;47501:245::o;47753:426::-;;47958:2;47979:17;47972:47;48033:136;47958:2;47947:9;47943:18;48155:6;48033:136;:::i;48186:390::-;;48373:2;48394:17;48387:47;48448:118;48373:2;48362:9;48358:18;48552:6;48448:118;:::i;49445:442::-;;49658:2;49679:17;49672:47;30348:16;30342:23;30275:4;49658:2;49647:9;49643:18;30378:38;30431:121;30266:14;49647:9;30266:14;30533:12;30431:121;:::i;:::-;30423:129;;49658:2;30635:5;30631:16;30625:23;30654:92;30731:14;49647:9;30731:14;30717:12;30654:92;:::i;:::-;-1:-1;30731:14;30814:16;;30808:23;30867:14;;;-1:-1;;30867:14;30275:4;30851:14;;30844:38;30897:79;30871:4;30808:23;30897:79;:::i;49894:406::-;;50089:2;50110:17;50103:47;50164:126;50089:2;50078:9;50074:18;50276:6;50164:126;:::i;50307:454::-;;50526:2;50547:17;50540:47;37660:16;37654:23;37587:4;50526:2;50515:9;50511:18;37690:38;37743:127;37578:14;50515:9;37578:14;37851:12;37743:127;:::i;50768:418::-;;50969:2;50990:17;50983:47;51044:132;50969:2;50958:9;50954:18;51162:6;51044:132;:::i;51193:256::-;51255:2;51249:9;51281:17;;;51356:18;51341:34;;51377:22;;;51338:62;51335:2;;;51413:1;;51403:12;51335:2;51255;51422:22;51233:216;;-1:-1;51233:216::o;54885:117::-;-1:-1;;;;;53755:54;;54944:35;;54934:2;;54993:1;;54983:12;54934:2;54928:74;:::o;55255:117::-;55347:1;55340:5;55337:12;55327:2;;55363:1;;55353:12", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./SignatureVerifier.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecOrderManagement.sol\";\n\n\ncontract IexecOrderManagementDelegate is IexecOrderManagement, DelegateBase, SignatureVerifier\n{\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.AppOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.DatasetOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.WorkerpoolOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.RequestOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.AppOrderOperation;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.DatasetOrderOperation;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.WorkerpoolOrderOperation;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.RequestOrderOperation;\n\n\t/***************************************************************************\n\t * order management tools *\n\t ***************************************************************************/\n\tfunction manageAppOrder(IexecLibOrders_v5.AppOrderOperation memory _apporderoperation)\n\tpublic override\n\t{\n\t\taddress owner = App(_apporderoperation.order.app).owner();\n\t\trequire(owner == _msgSender() || _checkSignature(owner, _toEthTypedStruct(_apporderoperation.hash(), EIP712DOMAIN_SEPARATOR), _apporderoperation.sign), 'invalid-sender-or-signature');\n\n\t\tbytes32 apporderHash = keccak256(_toEthTypedStruct(_apporderoperation.order.hash(), EIP712DOMAIN_SEPARATOR));\n\t\tif (_apporderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.SIGN)\n\t\t{\n\t\t\tm_presigned[apporderHash] = owner;\n\t\t\temit SignedAppOrder(apporderHash);\n\t\t}\n\t\telse if (_apporderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.CLOSE)\n\t\t{\n\t\t\tm_consumed[apporderHash] = _apporderoperation.order.volume;\n\t\t\temit ClosedAppOrder(apporderHash);\n\t\t}\n\t}\n\n\tfunction manageDatasetOrder(IexecLibOrders_v5.DatasetOrderOperation memory _datasetorderoperation)\n\tpublic override\n\t{\n\t\taddress owner = Dataset(_datasetorderoperation.order.dataset).owner();\n\t\trequire(owner == _msgSender() || _checkSignature(owner, _toEthTypedStruct(_datasetorderoperation.hash(), EIP712DOMAIN_SEPARATOR), _datasetorderoperation.sign), 'invalid-sender-or-signature');\n\n\t\tbytes32 datasetorderHash = keccak256(_toEthTypedStruct(_datasetorderoperation.order.hash(), EIP712DOMAIN_SEPARATOR));\n\t\tif (_datasetorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.SIGN)\n\t\t{\n\t\t\tm_presigned[datasetorderHash] = owner;\n\t\t\temit SignedDatasetOrder(datasetorderHash);\n\t\t}\n\t\telse if (_datasetorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.CLOSE)\n\t\t{\n\t\t\tm_consumed[datasetorderHash] = _datasetorderoperation.order.volume;\n\t\t\temit ClosedDatasetOrder(datasetorderHash);\n\t\t}\n\t}\n\n\tfunction manageWorkerpoolOrder(IexecLibOrders_v5.WorkerpoolOrderOperation memory _workerpoolorderoperation)\n\tpublic override\n\t{\n\t\taddress owner = Workerpool(_workerpoolorderoperation.order.workerpool).owner();\n\t\trequire(owner == _msgSender() || _checkSignature(owner, _toEthTypedStruct(_workerpoolorderoperation.hash(), EIP712DOMAIN_SEPARATOR), _workerpoolorderoperation.sign), 'invalid-sender-or-signature');\n\n\t\tbytes32 workerpoolorderHash = keccak256(_toEthTypedStruct(_workerpoolorderoperation.order.hash(), EIP712DOMAIN_SEPARATOR));\n\t\tif (_workerpoolorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.SIGN)\n\t\t{\n\t\t\tm_presigned[workerpoolorderHash] = owner;\n\t\t\temit SignedWorkerpoolOrder(workerpoolorderHash);\n\t\t}\n\t\telse if (_workerpoolorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.CLOSE)\n\t\t{\n\t\t\tm_consumed[workerpoolorderHash] = _workerpoolorderoperation.order.volume;\n\t\t\temit ClosedWorkerpoolOrder(workerpoolorderHash);\n\t\t}\n\t}\n\n\tfunction manageRequestOrder(IexecLibOrders_v5.RequestOrderOperation memory _requestorderoperation)\n\tpublic override\n\t{\n\t\taddress owner = _requestorderoperation.order.requester;\n\t\trequire(owner == _msgSender() || _checkSignature(owner, _toEthTypedStruct(_requestorderoperation.hash(), EIP712DOMAIN_SEPARATOR), _requestorderoperation.sign), 'invalid-sender-or-signature');\n\n\t\tbytes32 requestorderHash = keccak256(_toEthTypedStruct(_requestorderoperation.order.hash(), EIP712DOMAIN_SEPARATOR));\n\t\tif (_requestorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.SIGN)\n\t\t{\n\t\t\tm_presigned[requestorderHash] = owner;\n\t\t\temit SignedRequestOrder(requestorderHash);\n\t\t}\n\t\telse if (_requestorderoperation.operation == IexecLibOrders_v5.OrderOperationEnum.CLOSE)\n\t\t{\n\t\t\tm_consumed[requestorderHash] = _requestorderoperation.order.volume;\n\t\t\temit ClosedRequestOrder(requestorderHash);\n\t\t}\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecOrderManagementDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecOrderManagementDelegate.sol", - "exportedSymbols": { - "IexecOrderManagementDelegate": [ - 5137 - ] - }, - "id": 5138, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4758, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:26" - }, - { - "id": 4759, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:26" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 4760, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 8802, - "src": "1301:33:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4761, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 1659, - "src": "1335:29:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "../interfaces/IexecOrderManagement.sol", - "id": 4762, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 9635, - "src": "1365:48:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4763, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "1457:20:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 4764, - "nodeType": "InheritanceSpecifier", - "src": "1457:20:26" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4765, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1479:12:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4766, - "nodeType": "InheritanceSpecifier", - "src": "1479:12:26" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4767, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1493:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 4768, - "nodeType": "InheritanceSpecifier", - "src": "1493:17:26" - } - ], - "contractDependencies": [ - 309, - 1658, - 8801, - 9634, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 5137, - "linearizedBaseContracts": [ - 5137, - 8801, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9634 - ], - "name": "IexecOrderManagementDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 4771, - "libraryName": { - "contractScope": null, - "id": 4769, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1520:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1514:55:26", - "typeName": { - "contractScope": null, - "id": 4770, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1542:26:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 4774, - "libraryName": { - "contractScope": null, - "id": 4772, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1577:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1571:59:26", - "typeName": { - "contractScope": null, - "id": 4773, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1599:30:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 4777, - "libraryName": { - "contractScope": null, - "id": 4775, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1638:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1632:62:26", - "typeName": { - "contractScope": null, - "id": 4776, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1660:33:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 4780, - "libraryName": { - "contractScope": null, - "id": 4778, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1702:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1696:59:26", - "typeName": { - "contractScope": null, - "id": 4779, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1724:30:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "id": 4783, - "libraryName": { - "contractScope": null, - "id": 4781, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1763:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1757:64:26", - "typeName": { - "contractScope": null, - "id": 4782, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1337, - "src": "1785:35:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - } - }, - { - "id": 4786, - "libraryName": { - "contractScope": null, - "id": 4784, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1829:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1823:68:26", - "typeName": { - "contractScope": null, - "id": 4785, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1344, - "src": "1851:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - } - }, - { - "id": 4789, - "libraryName": { - "contractScope": null, - "id": 4787, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1899:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1893:71:26", - "typeName": { - "contractScope": null, - "id": 4788, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "1921:42:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - } - }, - { - "id": 4792, - "libraryName": { - "contractScope": null, - "id": 4790, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1972:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1966:68:26", - "typeName": { - "contractScope": null, - "id": 4791, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1358, - "src": "1994:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - } - }, - { - "baseFunctions": [ - 9618 - ], - "body": { - "id": 4878, - "nodeType": "Block", - "src": "2377:725:26", - "statements": [ - { - "assignments": [ - 4799 - ], - "declarations": [ - { - "constant": false, - "id": 4799, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4878, - "src": "2381:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4798, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4807, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4801, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2401:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "2401:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4803, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "2401:28:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4800, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10343, - "src": "2397:3:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10343_$", - "typeString": "type(contract App)" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2397:33:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10343", - "typeString": "contract App" - } - }, - "id": 4805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "2397:39:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2397:41:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2381:57:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4809, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2450:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4810, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2459:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2459:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2450:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4814, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2491:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4816, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2516:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1565, - "src": "2516:23:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrderOperation_$1337_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrderOperation_$1337_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2516:25:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4819, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2543:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4815, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "2498:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2498:68:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4821, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2568:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1336, - "src": "2568:23:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4813, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "2475:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2475:117:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2450:142:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2594:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4808, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2442:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2442:182:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4827, - "nodeType": "ExpressionStatement", - "src": "2442:182:26" - }, - { - "assignments": [ - 4829 - ], - "declarations": [ - { - "constant": false, - "id": 4829, - "mutability": "mutable", - "name": "apporderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4878, - "src": "2629:20:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4828, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2629:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4839, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4832, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2680:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4833, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "2680:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4834, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "2680:29:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 4835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2680:31:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4836, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2713:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4831, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "2662:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2662:74:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4830, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2652:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2652:85:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2629:108:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4840, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2745:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1334, - "src": "2745:28:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4842, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "2777:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "2777:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2777:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "2745:73:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4857, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2915:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4858, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1334, - "src": "2915:28:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4859, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "2947:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "2947:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2947:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "2915:74:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4876, - "nodeType": "IfStatement", - "src": "2911:188:26", - "trueBody": { - "id": 4875, - "nodeType": "Block", - "src": "2993:106:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4863, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "2998:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4865, - "indexExpression": { - "argumentTypes": null, - "id": 4864, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3009:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2998:24:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4866, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "3025:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "3025:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "3025:31:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2998:58:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "2998:58:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4872, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3081:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4871, - "name": "ClosedAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9601, - "src": "3066:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4874, - "nodeType": "EmitStatement", - "src": "3061:33:26" - } - ] - } - }, - "id": 4877, - "nodeType": "IfStatement", - "src": "2741:358:26", - "trueBody": { - "id": 4856, - "nodeType": "Block", - "src": "2822:81:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4846, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2827:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 4848, - "indexExpression": { - "argumentTypes": null, - "id": 4847, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "2839:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2827:25:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4849, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2855:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2827:33:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4851, - "nodeType": "ExpressionStatement", - "src": "2827:33:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4853, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "2885:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4852, - "name": "SignedAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9585, - "src": "2870:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2870:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4855, - "nodeType": "EmitStatement", - "src": "2865:33:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "b2b07e66", - "id": 4879, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageAppOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4796, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2367:8:26" - }, - "parameters": { - "id": 4795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4794, - "mutability": "mutable", - "name": "_apporderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4879, - "src": "2296:61:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4793, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1337, - "src": "2296:35:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2295:63:26" - }, - "returnParameters": { - "id": 4797, - "nodeType": "ParameterList", - "parameters": [], - "src": "2377:0:26" - }, - "scope": 5137, - "src": "2272:830:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9623 - ], - "body": { - "id": 4965, - "nodeType": "Block", - "src": "3222:789:26", - "statements": [ - { - "assignments": [ - 4886 - ], - "declarations": [ - { - "constant": false, - "id": 4886, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4965, - "src": "3226:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3226:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4894, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4888, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3250:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4889, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3250:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "3250:36:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4887, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10495, - "src": "3242:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10495_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3242:45:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10495", - "typeString": "contract Dataset" - } - }, - "id": 4892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "3242:51:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3242:53:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3226:69:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4896, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3307:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4897, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "3316:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3316:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3307:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4901, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3348:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4903, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3373:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4904, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1586, - "src": "3373:27:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrderOperation_$1344_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrderOperation_$1344_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3373:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4906, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "3404:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4902, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "3355:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3355:72:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4908, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3429:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4909, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1343, - "src": "3429:27:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4900, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "3332:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3332:125:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3307:150:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3459:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4895, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3299:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3299:190:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4914, - "nodeType": "ExpressionStatement", - "src": "3299:190:26" - }, - { - "assignments": [ - 4916 - ], - "declarations": [ - { - "constant": false, - "id": 4916, - "mutability": "mutable", - "name": "datasetorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4965, - "src": "3494:24:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4915, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3494:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4926, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4919, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3549:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3549:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "3549:33:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3549:35:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4923, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "3586:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4918, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "3531:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3531:78:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4917, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3521:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3521:89:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3494:116:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4927, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3618:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1341, - "src": "3618:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4929, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3654:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "3654:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3654:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "3618:77:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4944, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3804:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4945, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1341, - "src": "3804:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4946, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3840:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "3840:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3840:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "3804:78:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4963, - "nodeType": "IfStatement", - "src": "3800:208:26", - "trueBody": { - "id": 4962, - "nodeType": "Block", - "src": "3886:122:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4950, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "3891:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4952, - "indexExpression": { - "argumentTypes": null, - "id": 4951, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3902:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3891:28:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4953, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3922:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4954, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3922:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4955, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "3922:35:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3891:66:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4957, - "nodeType": "ExpressionStatement", - "src": "3891:66:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4959, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3986:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4958, - "name": "ClosedDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9605, - "src": "3967:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3967:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4961, - "nodeType": "EmitStatement", - "src": "3962:41:26" - } - ] - } - }, - "id": 4964, - "nodeType": "IfStatement", - "src": "3614:394:26", - "trueBody": { - "id": 4943, - "nodeType": "Block", - "src": "3699:93:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4933, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3704:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 4935, - "indexExpression": { - "argumentTypes": null, - "id": 4934, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3716:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3704:29:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4936, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3736:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3704:37:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4938, - "nodeType": "ExpressionStatement", - "src": "3704:37:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4940, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3770:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4939, - "name": "SignedDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9589, - "src": "3751:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3751:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4942, - "nodeType": "EmitStatement", - "src": "3746:41:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "4b747106", - "id": 4966, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4883, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3212:8:26" - }, - "parameters": { - "id": 4882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4881, - "mutability": "mutable", - "name": "_datasetorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4966, - "src": "3133:69:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4880, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1344, - "src": "3133:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3132:71:26" - }, - "returnParameters": { - "id": 4884, - "nodeType": "ParameterList", - "parameters": [], - "src": "3222:0:26" - }, - "scope": 5137, - "src": "3105:906:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9628 - ], - "body": { - "id": 5052, - "nodeType": "Block", - "src": "4140:837:26", - "statements": [ - { - "assignments": [ - 4973 - ], - "declarations": [ - { - "constant": false, - "id": 4973, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5052, - "src": "4144:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4972, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4144:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4975, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4171:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4976, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4171:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "4171:42:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4974, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "4160:10:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4160:54:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "4160:60:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4160:62:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4144:78:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4986, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4983, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4234:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4984, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4243:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4243:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4234:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4988, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4275:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4990, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4300:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4991, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1607, - "src": "4300:30:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4300:32:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4993, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "4334:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4989, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "4282:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4282:75:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4995, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4359:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4996, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1350, - "src": "4359:30:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4987, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "4259:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4259:131:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4234:156:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4392:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4982, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4226:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4226:196:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5001, - "nodeType": "ExpressionStatement", - "src": "4226:196:26" - }, - { - "assignments": [ - 5003 - ], - "declarations": [ - { - "constant": false, - "id": 5003, - "mutability": "mutable", - "name": "workerpoolorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5052, - "src": "4427:27:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5002, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4427:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5013, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5006, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4485:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5007, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4485:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5008, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "4485:36:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 5009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4485:38:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5010, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "4525:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5005, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "4467:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4467:81:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5004, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4457:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4457:92:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4427:122:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5014, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4557:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5015, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1348, - "src": "4557:35:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5016, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "4596:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "4596:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4596:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "4557:80:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5031, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4755:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5032, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1348, - "src": "4755:35:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5033, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "4794:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "4794:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4794:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "4755:81:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5050, - "nodeType": "IfStatement", - "src": "4751:223:26", - "trueBody": { - "id": 5049, - "nodeType": "Block", - "src": "4840:134:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5037, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "4845:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5039, - "indexExpression": { - "argumentTypes": null, - "id": 5038, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4856:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4845:31:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5040, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4879:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5041, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4879:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "4879:38:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4845:72:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5044, - "nodeType": "ExpressionStatement", - "src": "4845:72:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5046, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4949:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5045, - "name": "ClosedWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9609, - "src": "4927:21:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4927:42:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5048, - "nodeType": "EmitStatement", - "src": "4922:47:26" - } - ] - } - }, - "id": 5051, - "nodeType": "IfStatement", - "src": "4553:421:26", - "trueBody": { - "id": 5030, - "nodeType": "Block", - "src": "4641:102:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5020, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "4646:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 5022, - "indexExpression": { - "argumentTypes": null, - "id": 5021, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4658:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4646:32:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5023, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4681:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4646:40:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5025, - "nodeType": "ExpressionStatement", - "src": "4646:40:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5027, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4718:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5026, - "name": "SignedWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9593, - "src": "4696:21:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4696:42:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5029, - "nodeType": "EmitStatement", - "src": "4691:47:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "7e34a077", - "id": 5053, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4970, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4130:8:26" - }, - "parameters": { - "id": 4969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "_workerpoolorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5053, - "src": "4045:75:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4967, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "4045:42:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4044:77:26" - }, - "returnParameters": { - "id": 4971, - "nodeType": "ParameterList", - "parameters": [], - "src": "4140:0:26" - }, - "scope": 5137, - "src": "4014:963:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9633 - ], - "body": { - "id": 5135, - "nodeType": "Block", - "src": "5097:774:26", - "statements": [ - { - "assignments": [ - 5060 - ], - "declarations": [ - { - "constant": false, - "id": 5060, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5135, - "src": "5101:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5101:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5064, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5061, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5117:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5117:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5063, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "5117:38:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5101:54:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5066, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5167:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 5067, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5176:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 5068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5176:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5167:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5071, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5208:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5073, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5233:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1628, - "src": "5233:27:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrderOperation_$1358_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrderOperation_$1358_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5233:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5076, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5264:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5072, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "5215:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5215:72:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5078, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5289:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5079, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1357, - "src": "5289:27:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5070, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5192:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5192:125:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5167:150:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5319:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 5065, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5159:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5159:190:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5084, - "nodeType": "ExpressionStatement", - "src": "5159:190:26" - }, - { - "assignments": [ - 5086 - ], - "declarations": [ - { - "constant": false, - "id": 5086, - "mutability": "mutable", - "name": "requestorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5135, - "src": "5354:24:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5085, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5354:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5089, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5409:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5090, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5409:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "5409:33:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 5092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5409:35:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5093, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5446:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5088, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "5391:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5391:78:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5087, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5381:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5381:89:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5354:116:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5097, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5478:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1355, - "src": "5478:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5099, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "5514:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "5514:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5514:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "5478:77:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5114, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5664:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1355, - "src": "5664:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5116, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "5700:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "5700:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5700:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "5664:78:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5133, - "nodeType": "IfStatement", - "src": "5660:208:26", - "trueBody": { - "id": 5132, - "nodeType": "Block", - "src": "5746:122:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5120, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "5751:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5122, - "indexExpression": { - "argumentTypes": null, - "id": 5121, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5762:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5751:28:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5123, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5782:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5124, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5782:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "5782:35:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5751:66:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5127, - "nodeType": "ExpressionStatement", - "src": "5751:66:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5129, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5846:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5128, - "name": "ClosedRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9613, - "src": "5827:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5827:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5131, - "nodeType": "EmitStatement", - "src": "5822:41:26" - } - ] - } - }, - "id": 5134, - "nodeType": "IfStatement", - "src": "5474:394:26", - "trueBody": { - "id": 5113, - "nodeType": "Block", - "src": "5559:93:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5103, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "5564:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 5105, - "indexExpression": { - "argumentTypes": null, - "id": 5104, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5576:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5564:29:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5106, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5596:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5564:37:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5108, - "nodeType": "ExpressionStatement", - "src": "5564:37:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5110, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5630:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5109, - "name": "SignedRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9597, - "src": "5611:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5611:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5112, - "nodeType": "EmitStatement", - "src": "5606:41:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "8dd971d5", - "id": 5136, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5057, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5087:8:26" - }, - "parameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "_requestorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5136, - "src": "5008:69:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 5054, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1358, - "src": "5008:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5007:71:26" - }, - "returnParameters": { - "id": 5058, - "nodeType": "ParameterList", - "parameters": [], - "src": "5097:0:26" - }, - "scope": 5137, - "src": "4980:891:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 5138, - "src": "1416:4457:26" - } - ], - "src": "1242:4632:26" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecOrderManagementDelegate.sol", - "exportedSymbols": { - "IexecOrderManagementDelegate": [ - 5137 - ] - }, - "id": 5138, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4758, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:26" - }, - { - "id": 4759, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:26" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 4760, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 8802, - "src": "1301:33:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 4761, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 1659, - "src": "1335:29:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecOrderManagement.sol", - "file": "../interfaces/IexecOrderManagement.sol", - "id": 4762, - "nodeType": "ImportDirective", - "scope": 5138, - "sourceUnit": 9635, - "src": "1365:48:26", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4763, - "name": "IexecOrderManagement", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9634, - "src": "1457:20:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecOrderManagement_$9634", - "typeString": "contract IexecOrderManagement" - } - }, - "id": 4764, - "nodeType": "InheritanceSpecifier", - "src": "1457:20:26" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4765, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1479:12:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 4766, - "nodeType": "InheritanceSpecifier", - "src": "1479:12:26" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4767, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1493:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 4768, - "nodeType": "InheritanceSpecifier", - "src": "1493:17:26" - } - ], - "contractDependencies": [ - 309, - 1658, - 8801, - 9634, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 5137, - "linearizedBaseContracts": [ - 5137, - 8801, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9634 - ], - "name": "IexecOrderManagementDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 4771, - "libraryName": { - "contractScope": null, - "id": 4769, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1520:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1514:55:26", - "typeName": { - "contractScope": null, - "id": 4770, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1542:26:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 4774, - "libraryName": { - "contractScope": null, - "id": 4772, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1577:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1571:59:26", - "typeName": { - "contractScope": null, - "id": 4773, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1599:30:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 4777, - "libraryName": { - "contractScope": null, - "id": 4775, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1638:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1632:62:26", - "typeName": { - "contractScope": null, - "id": 4776, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1660:33:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 4780, - "libraryName": { - "contractScope": null, - "id": 4778, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1702:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1696:59:26", - "typeName": { - "contractScope": null, - "id": 4779, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1724:30:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "id": 4783, - "libraryName": { - "contractScope": null, - "id": 4781, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1763:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1757:64:26", - "typeName": { - "contractScope": null, - "id": 4782, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1337, - "src": "1785:35:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - } - }, - { - "id": 4786, - "libraryName": { - "contractScope": null, - "id": 4784, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1829:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1823:68:26", - "typeName": { - "contractScope": null, - "id": 4785, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1344, - "src": "1851:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - } - }, - { - "id": 4789, - "libraryName": { - "contractScope": null, - "id": 4787, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1899:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1893:71:26", - "typeName": { - "contractScope": null, - "id": 4788, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "1921:42:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - } - }, - { - "id": 4792, - "libraryName": { - "contractScope": null, - "id": 4790, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1972:17:26", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1966:68:26", - "typeName": { - "contractScope": null, - "id": 4791, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1358, - "src": "1994:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - } - }, - { - "baseFunctions": [ - 9618 - ], - "body": { - "id": 4878, - "nodeType": "Block", - "src": "2377:725:26", - "statements": [ - { - "assignments": [ - 4799 - ], - "declarations": [ - { - "constant": false, - "id": 4799, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4878, - "src": "2381:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4798, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4807, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4801, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2401:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "2401:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4803, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "2401:28:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4800, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10343, - "src": "2397:3:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10343_$", - "typeString": "type(contract App)" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2397:33:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10343", - "typeString": "contract App" - } - }, - "id": 4805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "2397:39:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2397:41:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2381:57:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4809, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2450:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4810, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "2459:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2459:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2450:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4814, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2491:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4816, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2516:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1565, - "src": "2516:23:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrderOperation_$1337_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrderOperation_$1337_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2516:25:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4819, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2543:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4815, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "2498:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2498:68:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4821, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2568:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1336, - "src": "2568:23:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4813, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "2475:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2475:117:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2450:142:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2594:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4808, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2442:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2442:182:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4827, - "nodeType": "ExpressionStatement", - "src": "2442:182:26" - }, - { - "assignments": [ - 4829 - ], - "declarations": [ - { - "constant": false, - "id": 4829, - "mutability": "mutable", - "name": "apporderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4878, - "src": "2629:20:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4828, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2629:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4839, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4832, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2680:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4833, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "2680:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4834, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "2680:29:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 4835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2680:31:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4836, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "2713:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4831, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "2662:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2662:74:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4830, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2652:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2652:85:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2629:108:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4840, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2745:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1334, - "src": "2745:28:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4842, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "2777:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "2777:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2777:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "2745:73:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4857, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "2915:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4858, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1334, - "src": "2915:28:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4859, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "2947:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "2947:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2947:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "2915:74:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4876, - "nodeType": "IfStatement", - "src": "2911:188:26", - "trueBody": { - "id": 4875, - "nodeType": "Block", - "src": "2993:106:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4863, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "2998:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4865, - "indexExpression": { - "argumentTypes": null, - "id": 4864, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3009:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2998:24:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4866, - "name": "_apporderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4794, - "src": "3025:18:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1332, - "src": "3025:24:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "3025:31:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2998:58:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "2998:58:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4872, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3081:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4871, - "name": "ClosedAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9601, - "src": "3066:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3066:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4874, - "nodeType": "EmitStatement", - "src": "3061:33:26" - } - ] - } - }, - "id": 4877, - "nodeType": "IfStatement", - "src": "2741:358:26", - "trueBody": { - "id": 4856, - "nodeType": "Block", - "src": "2822:81:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4846, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2827:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 4848, - "indexExpression": { - "argumentTypes": null, - "id": 4847, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "2839:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2827:25:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4849, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4799, - "src": "2855:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2827:33:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4851, - "nodeType": "ExpressionStatement", - "src": "2827:33:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4853, - "name": "apporderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "2885:12:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4852, - "name": "SignedAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9585, - "src": "2870:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2870:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4855, - "nodeType": "EmitStatement", - "src": "2865:33:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "b2b07e66", - "id": 4879, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageAppOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4796, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2367:8:26" - }, - "parameters": { - "id": 4795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4794, - "mutability": "mutable", - "name": "_apporderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4879, - "src": "2296:61:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4793, - "name": "IexecLibOrders_v5.AppOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1337, - "src": "2296:35:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrderOperation_$1337_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2295:63:26" - }, - "returnParameters": { - "id": 4797, - "nodeType": "ParameterList", - "parameters": [], - "src": "2377:0:26" - }, - "scope": 5137, - "src": "2272:830:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9623 - ], - "body": { - "id": 4965, - "nodeType": "Block", - "src": "3222:789:26", - "statements": [ - { - "assignments": [ - 4886 - ], - "declarations": [ - { - "constant": false, - "id": 4886, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4965, - "src": "3226:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3226:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4894, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4888, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3250:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4889, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3250:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "3250:36:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4887, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10495, - "src": "3242:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10495_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3242:45:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10495", - "typeString": "contract Dataset" - } - }, - "id": 4892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "3242:51:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3242:53:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3226:69:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4896, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3307:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4897, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "3316:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3316:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3307:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4901, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3348:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4903, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3373:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4904, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1586, - "src": "3373:27:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrderOperation_$1344_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrderOperation_$1344_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3373:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4906, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "3404:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4902, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "3355:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3355:72:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4908, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3429:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4909, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1343, - "src": "3429:27:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4900, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "3332:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3332:125:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3307:150:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4912, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3459:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4895, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3299:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3299:190:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4914, - "nodeType": "ExpressionStatement", - "src": "3299:190:26" - }, - { - "assignments": [ - 4916 - ], - "declarations": [ - { - "constant": false, - "id": 4916, - "mutability": "mutable", - "name": "datasetorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4965, - "src": "3494:24:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4915, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3494:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4926, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4919, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3549:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3549:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "3549:33:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3549:35:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4923, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "3586:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4918, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "3531:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3531:78:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4917, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3521:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 4925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3521:89:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3494:116:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4927, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3618:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1341, - "src": "3618:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4929, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3654:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "3654:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3654:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "3618:77:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 4949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4944, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3804:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4945, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1341, - "src": "3804:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4946, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "3840:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "3840:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 4948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3840:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "3804:78:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4963, - "nodeType": "IfStatement", - "src": "3800:208:26", - "trueBody": { - "id": 4962, - "nodeType": "Block", - "src": "3886:122:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4950, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "3891:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 4952, - "indexExpression": { - "argumentTypes": null, - "id": 4951, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3902:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3891:28:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4953, - "name": "_datasetorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "3922:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation memory" - } - }, - "id": 4954, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1339, - "src": "3922:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 4955, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "3922:35:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3891:66:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4957, - "nodeType": "ExpressionStatement", - "src": "3891:66:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4959, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3986:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4958, - "name": "ClosedDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9605, - "src": "3967:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3967:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4961, - "nodeType": "EmitStatement", - "src": "3962:41:26" - } - ] - } - }, - "id": 4964, - "nodeType": "IfStatement", - "src": "3614:394:26", - "trueBody": { - "id": 4943, - "nodeType": "Block", - "src": "3699:93:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 4937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4933, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3704:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 4935, - "indexExpression": { - "argumentTypes": null, - "id": 4934, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3716:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3704:29:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4936, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4886, - "src": "3736:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3704:37:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4938, - "nodeType": "ExpressionStatement", - "src": "3704:37:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4940, - "name": "datasetorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4916, - "src": "3770:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4939, - "name": "SignedDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9589, - "src": "3751:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3751:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4942, - "nodeType": "EmitStatement", - "src": "3746:41:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "4b747106", - "id": 4966, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4883, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3212:8:26" - }, - "parameters": { - "id": 4882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4881, - "mutability": "mutable", - "name": "_datasetorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 4966, - "src": "3133:69:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4880, - "name": "IexecLibOrders_v5.DatasetOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1344, - "src": "3133:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrderOperation_$1344_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3132:71:26" - }, - "returnParameters": { - "id": 4884, - "nodeType": "ParameterList", - "parameters": [], - "src": "3222:0:26" - }, - "scope": 5137, - "src": "3105:906:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9628 - ], - "body": { - "id": 5052, - "nodeType": "Block", - "src": "4140:837:26", - "statements": [ - { - "assignments": [ - 4973 - ], - "declarations": [ - { - "constant": false, - "id": 4973, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5052, - "src": "4144:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4972, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4144:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4975, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4171:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4976, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4171:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "4171:42:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4974, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "4160:10:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4160:54:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "4160:60:26", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4160:62:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4144:78:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4986, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4983, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4234:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4984, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "4243:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4243:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4234:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4988, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4275:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4990, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4300:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4991, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1607, - "src": "4300:30:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 4992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4300:32:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 4993, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "4334:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 4989, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "4282:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4282:75:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4995, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4359:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 4996, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1350, - "src": "4359:30:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4987, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "4259:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 4997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4259:131:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4234:156:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 4999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4392:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 4982, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4226:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4226:196:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5001, - "nodeType": "ExpressionStatement", - "src": "4226:196:26" - }, - { - "assignments": [ - 5003 - ], - "declarations": [ - { - "constant": false, - "id": 5003, - "mutability": "mutable", - "name": "workerpoolorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5052, - "src": "4427:27:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5002, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4427:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5013, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5006, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4485:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5007, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4485:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5008, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "4485:36:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 5009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4485:38:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5010, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "4525:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5005, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "4467:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4467:81:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5004, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4457:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4457:92:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4427:122:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5014, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4557:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5015, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1348, - "src": "4557:35:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5016, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "4596:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "4596:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4596:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "4557:80:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5031, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4755:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5032, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1348, - "src": "4755:35:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5033, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "4794:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "4794:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4794:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "4755:81:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5050, - "nodeType": "IfStatement", - "src": "4751:223:26", - "trueBody": { - "id": 5049, - "nodeType": "Block", - "src": "4840:134:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5037, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "4845:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5039, - "indexExpression": { - "argumentTypes": null, - "id": 5038, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4856:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4845:31:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5040, - "name": "_workerpoolorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "4879:25:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation memory" - } - }, - "id": 5041, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1346, - "src": "4879:31:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "4879:38:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4845:72:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5044, - "nodeType": "ExpressionStatement", - "src": "4845:72:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5046, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4949:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5045, - "name": "ClosedWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9609, - "src": "4927:21:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4927:42:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5048, - "nodeType": "EmitStatement", - "src": "4922:47:26" - } - ] - } - }, - "id": 5051, - "nodeType": "IfStatement", - "src": "4553:421:26", - "trueBody": { - "id": 5030, - "nodeType": "Block", - "src": "4641:102:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5020, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "4646:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 5022, - "indexExpression": { - "argumentTypes": null, - "id": 5021, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4658:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4646:32:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5023, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "4681:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4646:40:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5025, - "nodeType": "ExpressionStatement", - "src": "4646:40:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5027, - "name": "workerpoolorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5003, - "src": "4718:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5026, - "name": "SignedWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9593, - "src": "4696:21:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4696:42:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5029, - "nodeType": "EmitStatement", - "src": "4691:47:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "7e34a077", - "id": 5053, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 4970, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4130:8:26" - }, - "parameters": { - "id": 4969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "_workerpoolorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5053, - "src": "4045:75:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 4967, - "name": "IexecLibOrders_v5.WorkerpoolOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1351, - "src": "4045:42:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrderOperation_$1351_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4044:77:26" - }, - "returnParameters": { - "id": 4971, - "nodeType": "ParameterList", - "parameters": [], - "src": "4140:0:26" - }, - "scope": 5137, - "src": "4014:963:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9633 - ], - "body": { - "id": 5135, - "nodeType": "Block", - "src": "5097:774:26", - "statements": [ - { - "assignments": [ - 5060 - ], - "declarations": [ - { - "constant": false, - "id": 5060, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5135, - "src": "5101:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5101:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5064, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5061, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5117:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5117:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5063, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "5117:38:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5101:54:26" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5066, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5167:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 5067, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5176:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 5068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5176:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5167:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5071, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5208:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5073, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5233:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1628, - "src": "5233:27:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrderOperation_$1358_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrderOperation_$1358_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrderOperation memory) pure returns (bytes32)" - } - }, - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5233:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5076, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5264:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5072, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "5215:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5215:72:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5078, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5289:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5079, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1357, - "src": "5289:27:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5070, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5192:15:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5192:125:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5167:150:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d73656e6465722d6f722d7369676e6174757265", - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5319:29:26", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - }, - "value": "invalid-sender-or-signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b1312320dd18618ea815d99e0fdb695b5bd0bad806b784ba92eb100bfe9e717c", - "typeString": "literal_string \"invalid-sender-or-signature\"" - } - ], - "id": 5065, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5159:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5159:190:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5084, - "nodeType": "ExpressionStatement", - "src": "5159:190:26" - }, - { - "assignments": [ - 5086 - ], - "declarations": [ - { - "constant": false, - "id": 5086, - "mutability": "mutable", - "name": "requestorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5135, - "src": "5354:24:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5085, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5354:7:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5089, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5409:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5090, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5409:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "5409:33:26", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 5092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5409:35:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5093, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "5446:22:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5088, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "5391:17:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5391:78:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5087, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5381:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5381:89:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5354:116:26" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5097, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5478:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1355, - "src": "5478:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5099, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "5514:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "5514:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "SIGN", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5514:41:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "5478:77:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - }, - "id": 5119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5114, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5664:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "operation", - "nodeType": "MemberAccess", - "referencedDeclaration": 1355, - "src": "5664:32:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5116, - "name": "IexecLibOrders_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1629, - "src": "5700:17:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibOrders_v5_$1629_$", - "typeString": "type(library IexecLibOrders_v5)" - } - }, - "id": 5117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "OrderOperationEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1227, - "src": "5700:36:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_OrderOperationEnum_$1227_$", - "typeString": "type(enum IexecLibOrders_v5.OrderOperationEnum)" - } - }, - "id": 5118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CLOSE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5700:42:26", - "typeDescriptions": { - "typeIdentifier": "t_enum$_OrderOperationEnum_$1227", - "typeString": "enum IexecLibOrders_v5.OrderOperationEnum" - } - }, - "src": "5664:78:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5133, - "nodeType": "IfStatement", - "src": "5660:208:26", - "trueBody": { - "id": 5132, - "nodeType": "Block", - "src": "5746:122:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5120, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "5751:10:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5122, - "indexExpression": { - "argumentTypes": null, - "id": 5121, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5762:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5751:28:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5123, - "name": "_requestorderoperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5055, - "src": "5782:22:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation memory" - } - }, - "id": 5124, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "order", - "nodeType": "MemberAccess", - "referencedDeclaration": 1353, - "src": "5782:28:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "5782:35:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5751:66:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5127, - "nodeType": "ExpressionStatement", - "src": "5751:66:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5129, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5846:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5128, - "name": "ClosedRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9613, - "src": "5827:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5827:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5131, - "nodeType": "EmitStatement", - "src": "5822:41:26" - } - ] - } - }, - "id": 5134, - "nodeType": "IfStatement", - "src": "5474:394:26", - "trueBody": { - "id": 5113, - "nodeType": "Block", - "src": "5559:93:26", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5103, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "5564:11:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 5105, - "indexExpression": { - "argumentTypes": null, - "id": 5104, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5576:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5564:29:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5106, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5060, - "src": "5596:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5564:37:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5108, - "nodeType": "ExpressionStatement", - "src": "5564:37:26" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5110, - "name": "requestorderHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5086, - "src": "5630:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5109, - "name": "SignedRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9597, - "src": "5611:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 5111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5611:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5112, - "nodeType": "EmitStatement", - "src": "5606:41:26" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "8dd971d5", - "id": 5136, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "manageRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5057, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5087:8:26" - }, - "parameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "_requestorderoperation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5136, - "src": "5008:69:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - }, - "typeName": { - "contractScope": null, - "id": 5054, - "name": "IexecLibOrders_v5.RequestOrderOperation", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1358, - "src": "5008:39:26", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrderOperation_$1358_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrderOperation" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5007:71:26" - }, - "returnParameters": { - "id": 5058, - "nodeType": "ParameterList", - "parameters": [], - "src": "5097:0:26" - }, - "scope": 5137, - "src": "4980:891:26", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 5138, - "src": "1416:4457:26" - } - ], - "src": "1242:4632:26" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.603Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecPoco1.json b/build/contracts/IexecPoco1.json deleted file mode 100644 index c94673ef3..000000000 --- a/build/contracts/IexecPoco1.json +++ /dev/null @@ -1,3055 +0,0 @@ -{ - "contractName": "IexecPoco1", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":\"IexecPoco1\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../../libs/IexecLibOrders_v5.sol\";\n\n\ninterface IexecPoco1\n{\n\tevent Reward(address owner, uint256 amount, bytes32 ref);\n\tevent Seize (address owner, uint256 amount, bytes32 ref);\n\tevent Lock (address owner, uint256 amount);\n\tevent Unlock(address owner, uint256 amount);\n\n\tevent OrdersMatched (bytes32 dealid, bytes32 appHash, bytes32 datasetHash, bytes32 workerpoolHash, bytes32 requestHash, uint256 volume);\n\tevent SchedulerNotice(address indexed workerpool, bytes32 dealid);\n\n\tfunction verifySignature(address,bytes32,bytes calldata) external view returns (bool);\n\tfunction verifyPresignature(address,bytes32) external view returns (bool);\n\tfunction verifyPresignatureOrSignature(address,bytes32,bytes calldata) external view returns (bool);\n\tfunction matchOrders(IexecLibOrders_v5.AppOrder calldata,IexecLibOrders_v5.DatasetOrder calldata,IexecLibOrders_v5.WorkerpoolOrder calldata,IexecLibOrders_v5.RequestOrder calldata) external returns (bytes32);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "exportedSymbols": { - "IexecPoco1": [ - 9731 - ] - }, - "id": 9732, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9636, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:46" - }, - { - "id": 9637, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:46" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9638, - "nodeType": "ImportDirective", - "scope": 9732, - "sourceUnit": 1630, - "src": "1301:42:46", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9731, - "linearizedBaseContracts": [ - 9731 - ], - "name": "IexecPoco1", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9646, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9645, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9640, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1383:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9639, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1383:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9642, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1398:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1398:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9644, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1414:11:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9643, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1414:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1382:44:46" - }, - "src": "1370:57:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9654, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9653, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9648, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1442:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9647, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1442:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9650, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1457:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1457:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9652, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1473:11:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9651, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1473:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1441:44:46" - }, - "src": "1429:57:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9660, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9656, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9660, - "src": "1501:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9655, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1501:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9658, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9660, - "src": "1516:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9657, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1516:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:31:46" - }, - "src": "1488:44:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9666, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9665, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9662, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9666, - "src": "1547:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9661, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1547:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9664, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9666, - "src": "1562:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9663, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1562:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:31:46" - }, - "src": "1534:44:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9680, - "name": "OrdersMatched", - "nodeType": "EventDefinition", - "parameters": { - "id": 9679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9668, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1603:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9667, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1603:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9670, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1619:15:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9669, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1619:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9672, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1636:19:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9671, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9674, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1657:22:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9673, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1657:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9676, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1681:19:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9675, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1681:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9678, - "indexed": false, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1702:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1702:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1602:115:46" - }, - "src": "1581:137:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9686, - "name": "SchedulerNotice", - "nodeType": "EventDefinition", - "parameters": { - "id": 9685, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9682, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9686, - "src": "1742:26:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1742:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9684, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9686, - "src": "1770:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9683, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1770:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1741:44:46" - }, - "src": "1720:66:46" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01751998", - "id": 9697, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9688, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1814:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9687, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1814:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9690, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1822:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9689, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1822:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9692, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1830:14:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9691, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1830:5:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1813:32:46" - }, - "returnParameters": { - "id": 9696, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9695, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1869:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9694, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1869:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1868:6:46" - }, - "scope": 9731, - "src": "1789:86:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c87b582a", - "id": 9706, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifyPresignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9699, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1905:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1905:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9701, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1913:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9700, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1913:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1904:17:46" - }, - "returnParameters": { - "id": 9705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1945:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9703, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1945:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1944:6:46" - }, - "scope": 9731, - "src": "1877:74:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bf36994e", - "id": 9717, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifyPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9713, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9708, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "1992:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1992:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9710, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2000:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9709, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2000:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9712, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2008:14:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9711, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2008:5:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1991:32:46" - }, - "returnParameters": { - "id": 9716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9715, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2047:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9714, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2047:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2046:6:46" - }, - "scope": 9731, - "src": "1953:100:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "156194d4", - "id": 9730, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9719, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2076:35:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9718, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "2076:26:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9721, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2112:39:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9720, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "2112:30:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2152:42:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9722, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2152:33:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9725, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2195:39:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9724, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "2195:30:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2075:160:46" - }, - "returnParameters": { - "id": 9729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9728, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2254:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9727, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2254:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2253:9:46" - }, - "scope": 9731, - "src": "2055:208:46", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9732, - "src": "1346:919:46" - } - ], - "src": "1242:1024:46" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "exportedSymbols": { - "IexecPoco1": [ - 9731 - ] - }, - "id": 9732, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9636, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:46" - }, - { - "id": 9637, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:46" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9638, - "nodeType": "ImportDirective", - "scope": 9732, - "sourceUnit": 1630, - "src": "1301:42:46", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9731, - "linearizedBaseContracts": [ - 9731 - ], - "name": "IexecPoco1", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9646, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9645, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9640, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1383:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9639, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1383:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9642, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1398:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1398:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9644, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9646, - "src": "1414:11:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9643, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1414:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1382:44:46" - }, - "src": "1370:57:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9654, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9653, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9648, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1442:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9647, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1442:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9650, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1457:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1457:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9652, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9654, - "src": "1473:11:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9651, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1473:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1441:44:46" - }, - "src": "1429:57:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9660, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9656, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9660, - "src": "1501:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9655, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1501:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9658, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9660, - "src": "1516:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9657, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1516:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1500:31:46" - }, - "src": "1488:44:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9666, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9665, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9662, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9666, - "src": "1547:13:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9661, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1547:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9664, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9666, - "src": "1562:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9663, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1562:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1546:31:46" - }, - "src": "1534:44:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9680, - "name": "OrdersMatched", - "nodeType": "EventDefinition", - "parameters": { - "id": 9679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9668, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1603:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9667, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1603:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9670, - "indexed": false, - "mutability": "mutable", - "name": "appHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1619:15:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9669, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1619:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9672, - "indexed": false, - "mutability": "mutable", - "name": "datasetHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1636:19:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9671, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1636:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9674, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1657:22:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9673, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1657:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9676, - "indexed": false, - "mutability": "mutable", - "name": "requestHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1681:19:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9675, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1681:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9678, - "indexed": false, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9680, - "src": "1702:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1702:7:46", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1602:115:46" - }, - "src": "1581:137:46" - }, - { - "anonymous": false, - "documentation": null, - "id": 9686, - "name": "SchedulerNotice", - "nodeType": "EventDefinition", - "parameters": { - "id": 9685, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9682, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9686, - "src": "1742:26:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1742:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9684, - "indexed": false, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9686, - "src": "1770:14:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9683, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1770:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1741:44:46" - }, - "src": "1720:66:46" - }, - { - "body": null, - "documentation": null, - "functionSelector": "01751998", - "id": 9697, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9688, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1814:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9687, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1814:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9690, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1822:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9689, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1822:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9692, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1830:14:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9691, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1830:5:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1813:32:46" - }, - "returnParameters": { - "id": 9696, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9695, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9697, - "src": "1869:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9694, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1869:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1868:6:46" - }, - "scope": 9731, - "src": "1789:86:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c87b582a", - "id": 9706, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifyPresignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9699, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1905:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1905:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9701, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1913:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9700, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1913:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1904:17:46" - }, - "returnParameters": { - "id": 9705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9706, - "src": "1945:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9703, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1945:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1944:6:46" - }, - "scope": 9731, - "src": "1877:74:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bf36994e", - "id": 9717, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "verifyPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9713, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9708, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "1992:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9707, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1992:7:46", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9710, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2000:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9709, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2000:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9712, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2008:14:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9711, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2008:5:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1991:32:46" - }, - "returnParameters": { - "id": 9716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9715, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9717, - "src": "2047:4:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9714, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2047:4:46", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2046:6:46" - }, - "scope": 9731, - "src": "1953:100:46", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "156194d4", - "id": 9730, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9719, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2076:35:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9718, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "2076:26:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9721, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2112:39:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9720, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "2112:30:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9723, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2152:42:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9722, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2152:33:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9725, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2195:39:46", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9724, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "2195:30:46", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2075:160:46" - }, - "returnParameters": { - "id": 9729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9728, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9730, - "src": "2254:7:46", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9727, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2254:7:46", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2253:9:46" - }, - "scope": 9731, - "src": "2055:208:46", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9732, - "src": "1346:919:46" - } - ], - "src": "1242:1024:46" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.675Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecPoco1Delegate.json b/build/contracts/IexecPoco1Delegate.json deleted file mode 100644 index fce32e4fa..000000000 --- a/build/contracts/IexecPoco1Delegate.json +++ /dev/null @@ -1,30907 +0,0 @@ -{ - "contractName": "IexecPoco1Delegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "appHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "datasetHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "workerpoolHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "requestHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "volume", - "type": "uint256" - } - ], - "name": "OrdersMatched", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "dealid", - "type": "bytes32" - } - ], - "name": "SchedulerNotice", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifySignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - } - ], - "name": "verifyPresignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_identity", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_hash", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - } - ], - "name": "verifyPresignatureOrSignature", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "matchOrders", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"appHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"datasetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"workerpoolHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"}],\"name\":\"OrdersMatched\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dealid\",\"type\":\"bytes32\"}],\"name\":\"SchedulerNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"matchOrders\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"}],\"name\":\"verifyPresignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"verifyPresignatureOrSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"verifySignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco1Delegate.sol\":\"IexecPoco1Delegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco1Delegate.sol\":{\"keccak256\":\"0x2d3d1e57b932c7ac0961d7f29d64b346a7fb486f1e72a23522694b85d0304e29\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://ac44460683b8c0e6b8a35ced467ff22c492261973937c2de6b62777966729e27\",\"dweb:/ipfs/QmbiaSsY5AJWwjg8xUEVzdfUBAMYxpJVJZbspXYE14dQxU\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":{\"keccak256\":\"0xba769d239982db0002541e750395aaceda605036bc1a7a1bb9982780c3cc206d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d7404ee2d2a812df8af1b31efa41c40a4576fb361beccd044320a8bd3fe778e6\",\"dweb:/ipfs/QmaxWP1sWGHahrUBdfvrvTJJAuyoWoGRQ1Pz68qAJhLzZw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol\":{\"keccak256\":\"0xbf0048c4a61d82d5dc6fec0f1b34616cc8c4d3cc8288ec74cfd22f504726738d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://9263644264f543404472038bfe527494859ca63788ad26b7266353c91da73e07\",\"dweb:/ipfs/QmW7fuTjbq6zUk2cgLKwHrAQangKirC2wbLwQCbj52UdJw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]},\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062002e4a833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b039091169060008051602062002e4a833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b612d1e806200012c6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100d5578063bf36994e146100ea578063c87b582a146100fd578063f2fde38b146101105761007d565b80630175199814610082578063156194d4146100ab578063715018a6146100cb575b600080fd5b610095610090366004611e75565b610123565b6040516100a291906121ff565b60405180910390f35b6100be6100b9366004611f59565b61016f565b6040516100a2919061220a565b6100d3611208565b005b6100dd611287565b6040516100a291906121d2565b6100956100f8366004611e75565b611296565b61009561010b366004611e4a565b6112d9565b6100d361011e366004611e12565b6112ee565b6000610166858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506113a492505050565b95945050505050565b60008082610100015185606001518760600151171790508360800151836101200151146101b75760405162461bcd60e51b81526004016101ae90612546565b60405180910390fd5b601a54610120840151106101dd5760405162461bcd60e51b81526004016101ae9061250f565b8360a0015183610140015111156102065760405162461bcd60e51b81526004016101ae906126c7565b85602001518360200151101561022e5760405162461bcd60e51b81526004016101ae906128e1565b8460200151836060015110156102565760405162461bcd60e51b81526004016101ae906125eb565b83602001518360a00151101561027e5760405162461bcd60e51b81526004016101ae906124a1565b6060840151198116156102a35760405162461bcd60e51b81526004016101ae90612622565b6060860151811860f81b600160f81b16156102d05760405162461bcd60e51b81526004016101ae906124d8565b855183516001600160a01b039081169116146102fe5760405162461bcd60e51b81526004016101ae906128aa565b84600001516001600160a01b031683604001516001600160a01b0316146103375760405162461bcd60e51b81526004016101ae9061237f565b60808301516001600160a01b0316158061036057506103608360800151856000015160046114ae565b61037c5760405162461bcd60e51b81526004016101ae90612a02565b60808601516001600160a01b031615806103a557506103a58660800151866000015160046114ae565b6103c15760405162461bcd60e51b81526004016101ae9061246a565b60a08601516001600160a01b031615806103ea57506103ea8660a00151856000015160046114ae565b6104065760405162461bcd60e51b81526004016101ae90612735565b60c08601516001600160a01b0316158061042f575061042f8660c001518460c0015160046114ae565b61044b5760405162461bcd60e51b81526004016101ae90612994565b60808501516001600160a01b0316158061047457506104748560800151876000015160046114ae565b6104905760405162461bcd60e51b81526004016101ae9061276c565b60a08501516001600160a01b031615806104b957506104b98560a00151856000015160046114ae565b6104d55760405162461bcd60e51b81526004016101ae90612aa7565b60c08501516001600160a01b031615806104fe57506104fe8560c001518460c0015160046114ae565b61051a5760405162461bcd60e51b81526004016101ae906127da565b60c08401516001600160a01b0316158061054357506105438460c00151876000015160046114ae565b61055f5760405162461bcd60e51b81526004016101ae90612297565b60e08401516001600160a01b0316158061058857506105888460e00151866000015160046114ae565b6105a45760405162461bcd60e51b81526004016101ae9061257d565b6101008401516001600160a01b031615806105cf57506105cf8461010001518460c0015160046114ae565b6105eb5760405162461bcd60e51b81526004016101ae906125b4565b6105f3611abc565b85516001600160a01b03161515610160820152604051637c0d54d360e01b81526106999073__IexecLibOrders_v5_____________________90637c0d54d390610641908b90600401612ade565b60206040518083038186803b15801561065957600080fd5b505af415801561066d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106919190611f19565b601054611559565b808252805160209182012081830152875160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b1580156106e657600080fd5b505afa1580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611e2e565b6001600160a01b039081166040808401919091526005548951915163c3c5a54760e01b815292169163c3c5a54791610758916004016121d2565b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611ef9565b6107c45760405162461bcd60e51b81526004016101ae906127a3565b6107dc81604001518260000151896101000151611585565b6107f85760405162461bcd60e51b81526004016101ae906129cb565b61080581604001516115a9565b6108215760405162461bcd60e51b81526004016101ae90612a70565b806101600151156109f4576040516308d9777160e11b81526108679073__IexecLibOrders_v5_____________________906311b2eee290610641908a90600401612ade565b6060820181905280516020918201206080830152865160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f19190611e2e565b6001600160a01b0390811660a0830152600654875160405163c3c5a54760e01b8152919092169163c3c5a5479161092b91906004016121d2565b60206040518083038186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b9190611ef9565b6109975760405162461bcd60e51b81526004016101ae90612433565b6109af8160a001518260600151886101000151611585565b6109cb5760405162461bcd60e51b81526004016101ae906122ce565b6109d88160a001516115a9565b6109f45760405162461bcd60e51b81526004016101ae90612a39565b604051637f6cc2ff60e11b8152610a2f9073__IexecLibOrders_v5_____________________9063fed985fe90610641908990600401612c01565b60c08201819052805160209182012060e0830152855160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b158015610a8157600080fd5b505afa158015610a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab99190611e2e565b6001600160a01b03908116610100830152600754865160405163c3c5a54760e01b8152919092169163c3c5a54791610af491906004016121d2565b60206040518083038186803b158015610b0c57600080fd5b505afa158015610b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b449190611ef9565b610b605760405162461bcd60e51b81526004016101ae90612690565b610b798161010001518260c00151876101400151611585565b610b955760405162461bcd60e51b81526004016101ae906123b6565b610ba38161010001516115a9565b610bbf5760405162461bcd60e51b81526004016101ae90612348565b604051638ac03f3360e01b8152610bfa9073__IexecLibOrders_v5_____________________90638ac03f3390610641908890600401612af1565b61012082018190528051602082012061014083015260c08501516101e0860151610c249290611585565b610c405760405162461bcd60e51b81526004016101ae90612659565b610c4d8460c001516115a9565b610c695760405162461bcd60e51b81526004016101ae90612873565b6020808201516000908152601290915260408082205490890151610c8c916115af565b9050816101600151610c9e5780610ccd565b6080820151600090815260126020526040908190205490880151610ccd91610cc691906115af565b82906115c4565b60e0830151600090815260126020526040908190205490880151919250610cf791610cc6916115af565b61014083015160009081526012602052604090205460e0870151919250610d2191610cc6916115af565b905060008111610d435760405162461bcd60e51b81526004016101ae906126fe565b61014082015160008181526012602090815260408083205490519293610d6b939092016121a9565b60408051808303601f1901815291815281516020928301206000818152601384528290208c5181546001600160a01b03199081166001600160a01b03928316178355938801516001830180548616918316919091179055938d0151600282015560a087015160048201805485169186169190911790558b51600382018054909416941693909317909155610160850151909250610e09576000610e0f565b88602001515b600582015587516006820180546001600160a01b039283166001600160a01b03199182161790915561010086015160078401805491909316911617905560208801516008820155610140870151610e679060016115da565b6009820155610120870151600a820155600b810185905560c0870151600c820180546001600160a01b039283166001600160a01b031991821617909155610160890151600d84018054918416918316919091179055610180890151600e840180549190931691161790556101a08701518051610eed91600f840191602090910190611b1f565b504260108201556101408401516000908152601260208181526040928390205460118501559083018590558951825163b55e75af60e01b81529251610f9c936001600160a01b039092169263b55e75af9260048082019391829003018186803b158015610f5957600080fd5b505afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f919190611f19565b60208a0151906115ea565b816013018190555087600001516001600160a01b03166387639c686040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190611f19565b601482015560208085015160009081526012909152604090205461103d90846115f8565b60208086015160009081526012909152604090205561016084015161108390611067576000611069565b835b6080860151600090815260126020526040902054906115f8565b60808501516000908152601260205260408082209290925560e0860151815220546110ae90846115f8565b60e085015160009081526012602052604080822092909255610140860151815220546110da90846115f8565b610140850151600090815260126020526040902055600c810154600882015460058301546002840154611137936001600160a01b03169261113292889261112c929161112691906115f8565b906115f8565b9061160a565b611631565b60078101546008820154611160916001600160a01b03169061113290869061112c90601e6115ea565b60068101546040516001600160a01b03909116907f692ad61076dceddd0f1a861f737553dd61fc8501cf4190d29c4e90af6607f765906111a190859061220a565b60405180910390a27fd811b592ed0899225773e8933d8df64bd0b62761a9d7aad4ed5b22735f4610a482856020015186608001518760e00151886101400151886040516111f396959493929190612213565b60405180910390a15098975050505050505050565b6112106116b9565b6000546001600160a01b0390811691161461123d5760405162461bcd60e51b81526004016101ae9061283e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610166858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116bd92505050565b60006112e583836116da565b90505b92915050565b6112f66116b9565b6000546001600160a01b039081169116146113235760405162461bcd60e51b81526004016101ae9061283e565b6001600160a01b0381166113495760405162461bcd60e51b81526004016101ae906123ed565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006113af84611710565b1561148657604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906113e2908690869060040161223b565b60206040518083038186803b1580156113fa57600080fd5b505afa92505050801561142a575060408051601f3d908101601f1916820190925261142791810190611f31565b60015b611464573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b505061147e565b6001600160e01b031916630b135d3f60e11b1490506114a7565b5060006114a7565b836001600160a01b031661149a8484611749565b6001600160a01b03161490505b9392505050565b6000826001600160a01b0316846001600160a01b031614806115515750836001600160a01b031663d202158d6114e385611853565b846040518363ffffffff1660e01b81526004016115019291906121a9565b60206040518083038186803b15801561151957600080fd5b505afa15801561152d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115519190611ef9565b949350505050565b6060818360405160200161156e9291906121b7565b604051602081830303815290604052905092915050565b60006115988484805190602001206116da565b80611551575061155184848461185f565b50600190565b6000828211156115be57600080fd5b50900390565b60008183106115d357816112e5565b5090919050565b6000818310156115d357816112e5565b60006112e583836064611988565b6000828201838110156112e557600080fd5b600082611619575060006112e8565b8282028284828161162657fe5b04146112e557600080fd5b61163c82308361199d565b6001600160a01b0382166000908152600e602052604090205461165f90826115f8565b6001600160a01b0383166000908152600e60205260409081902091909155517f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906116ad90849084906121e6565b60405180910390a15050565b3390565b60006116c984846116da565b8061155157506115518484846113a4565b60006001600160a01b038316158015906112e55750506000908152601160205260409020546001600160a01b0390811691161490565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611551575050151592915050565b6000806000808451604114156117735750505060208201516040830151606084015160001a6117b8565b8451604014156117a057505050602082015160408301516001600160ff1b0381169060001a60071c6117b8565b60405162461bcd60e51b81526004016101ae9061295d565b601b8160ff1610156117c857601b015b8060ff16601b14806117dd57508060ff16601c145b6117f95760405162461bcd60e51b81526004016101ae90612811565b6001868285856040516000815260200160405260405161181c9493929190612254565b6020604051602081039080840390855afa15801561183e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6001600160a01b031690565b600061186a84611710565b1561196d576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b9061189d9086908690600401612272565b60206040518083038186803b1580156118b557600080fd5b505afa9250505080156118e5575060408051601f3d908101601f191682019092526118e291810190611f31565b60015b61191f573d808015611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5050611939565b6001600160e01b0319166320c13b0b60e01b1490506114a7565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e916113e29190869060040161223b565b836001600160a01b031661149a848051906020012084611749565b6000611551611997858561160a565b83611a9a565b6001600160a01b0383166119c35760405162461bcd60e51b81526004016101ae90612918565b6001600160a01b0382166119e95760405162461bcd60e51b81526004016101ae90612305565b6001600160a01b0383166000908152600d6020526040902054611a0c90826115af565b6001600160a01b038085166000908152600d60205260408082209390935590841681522054611a3b90826115f8565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a8d90859061220a565b60405180910390a3505050565b6000808211611aa857600080fd5b6000828481611ab357fe5b04949350505050565b604080516101808101825260608082526000602083018190529282018390528082018190526080820183905260a0820183905260c0820181905260e082018390526101008201839052610120820152610140810182905261016081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b6057805160ff1916838001178555611b8d565b82800160010185558215611b8d579182015b82811115611b8d578251825591602001919060010190611b72565b50611b99929150611b9d565b5090565b5b80821115611b995760008155600101611b9e565b80356112e881612cd0565b600082601f830112611bcd578081fd5b813567ffffffffffffffff811115611be3578182fd5b611bf6601f8201601f1916602001612ca9565b9150808252836020828501011115611c0d57600080fd5b8060208401602084013760009082016020015292915050565b6000610120808385031215611c39578182fd5b611c4281612ca9565b915050611c4f8383611bb2565b8152602082013560208201526040820135604082015260608201356060820152611c7c8360808401611bb2565b6080820152611c8e8360a08401611bb2565b60a0820152611ca08360c08401611bb2565b60c082015260e082013560e08201526101008083013567ffffffffffffffff811115611ccb57600080fd5b611cd785828601611bbd565b82840152505092915050565b6000610200808385031215611cf6578182fd5b611cff81612ca9565b915050611d0c8383611bb2565b815260208201356020820152611d258360408401611bb2565b604082015260608201356060820152611d418360808401611bb2565b608082015260a082013560a0820152611d5d8360c08401611bb2565b60c082015260e08281013590820152610100808301359082015261012080830135908201526101408083013590820152610160611d9c84828501611bb2565b90820152610180611daf84848301611bb2565b908201526101a08281013567ffffffffffffffff80821115611dd057600080fd5b611ddc86838701611bbd565b838501526101c0925082850135838501526101e0925082850135915080821115611e0557600080fd5b50611cd785828601611bbd565b600060208284031215611e23578081fd5b81356112e581612cd0565b600060208284031215611e3f578081fd5b81516112e581612cd0565b60008060408385031215611e5c578081fd5b8235611e6781612cd0565b946020939093013593505050565b60008060008060608587031215611e8a578182fd5b8435611e9581612cd0565b935060208501359250604085013567ffffffffffffffff80821115611eb8578384fd5b818701915087601f830112611ecb578384fd5b813581811115611ed9578485fd5b886020828501011115611eea578485fd5b95989497505060200194505050565b600060208284031215611f0a578081fd5b815180151581146112e5578182fd5b600060208284031215611f2a578081fd5b5051919050565b600060208284031215611f42578081fd5b81516001600160e01b0319811681146112e5578182fd5b60008060008060808587031215611f6e578182fd5b843567ffffffffffffffff80821115611f85578384fd5b611f9188838901611c26565b95506020870135915080821115611fa6578384fd5b611fb288838901611c26565b94506040870135915080821115611fc7578384fd5b818701915061016080838a031215611fdd578485fd5b611fe681612ca9565b9050611ff28984611bb2565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526120338960c08501611bb2565b60c08201526120458960e08501611bb2565b60e08201526101006120598a828601611bb2565b908201526101208381013590820152610140808401358381111561207b578687fd5b6120878b828701611bbd565b8284015250508094505060608701359150808211156120a4578283fd5b506120b187828801611ce3565b91505092959194509250565b6001600160a01b03169052565b60008151808452815b818110156120ef576020818501810151868301820152016120d3565b818111156121005782602083870101525b50601f01601f19169290920160200192915050565b600061012060018060a01b038351168452602083015160208501526040830151604085015260608301516060850152608083015161215660808601826120bd565b5060a083015161216960a08601826120bd565b5060c083015161217c60c08601826120bd565b5060e083015160e085015261010080840151828287015261219f838701826120ca565b9695505050505050565b918252602082015260400190565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b60008382526040602083015261155160408301846120ca565b93845260ff9290921660208401526040830152606082015260800190565b60006040825261228560408301856120ca565b828103602084015261016681856120ca565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831390000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833310000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834310000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831330000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830350000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830370000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831610000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831620000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830340000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830360000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307835300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307836300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831340000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831360000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831380000000000000000604082015260600190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307835310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830330000000000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831350000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831370000000000000000604082015260600190565b6000602082526112e56020830184612115565b600060208252612b056020830184516120bd565b602083015160408301526040830151612b2160608401826120bd565b50606083015160808301526080830151612b3e60a08401826120bd565b5060a083015160c083015260c0830151612b5b60e08401826120bd565b5060e083015161010083810191909152830151610120808401919091528301516101408084019190915283015161016080840191909152830151610180612ba4818501836120bd565b84015190506101a0612bb8848201836120bd565b808501519150506102006101c08181860152612bd86102208601846120ca565b908601516101e086810191909152860151858203601f19018387015290925061219f83826120ca565b600060208252612c156020830184516120bd565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c0830151612c5960e08401826120bd565b5060e0830151610100612c6e818501836120bd565b8401519050610120612c82848201836120bd565b840151610140848101919091528401516101608085015290506115516101808401826120ca565b60405181810167ffffffffffffffff81118282101715612cc857600080fd5b604052919050565b6001600160a01b0381168114612ce557600080fd5b5056fea264697066735822122050ca11692423fd09f7703c56710c152773499ab8141787a7f70fc794a5f3ae2f64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100d5578063bf36994e146100ea578063c87b582a146100fd578063f2fde38b146101105761007d565b80630175199814610082578063156194d4146100ab578063715018a6146100cb575b600080fd5b610095610090366004611e75565b610123565b6040516100a291906121ff565b60405180910390f35b6100be6100b9366004611f59565b61016f565b6040516100a2919061220a565b6100d3611208565b005b6100dd611287565b6040516100a291906121d2565b6100956100f8366004611e75565b611296565b61009561010b366004611e4a565b6112d9565b6100d361011e366004611e12565b6112ee565b6000610166858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506113a492505050565b95945050505050565b60008082610100015185606001518760600151171790508360800151836101200151146101b75760405162461bcd60e51b81526004016101ae90612546565b60405180910390fd5b601a54610120840151106101dd5760405162461bcd60e51b81526004016101ae9061250f565b8360a0015183610140015111156102065760405162461bcd60e51b81526004016101ae906126c7565b85602001518360200151101561022e5760405162461bcd60e51b81526004016101ae906128e1565b8460200151836060015110156102565760405162461bcd60e51b81526004016101ae906125eb565b83602001518360a00151101561027e5760405162461bcd60e51b81526004016101ae906124a1565b6060840151198116156102a35760405162461bcd60e51b81526004016101ae90612622565b6060860151811860f81b600160f81b16156102d05760405162461bcd60e51b81526004016101ae906124d8565b855183516001600160a01b039081169116146102fe5760405162461bcd60e51b81526004016101ae906128aa565b84600001516001600160a01b031683604001516001600160a01b0316146103375760405162461bcd60e51b81526004016101ae9061237f565b60808301516001600160a01b0316158061036057506103608360800151856000015160046114ae565b61037c5760405162461bcd60e51b81526004016101ae90612a02565b60808601516001600160a01b031615806103a557506103a58660800151866000015160046114ae565b6103c15760405162461bcd60e51b81526004016101ae9061246a565b60a08601516001600160a01b031615806103ea57506103ea8660a00151856000015160046114ae565b6104065760405162461bcd60e51b81526004016101ae90612735565b60c08601516001600160a01b0316158061042f575061042f8660c001518460c0015160046114ae565b61044b5760405162461bcd60e51b81526004016101ae90612994565b60808501516001600160a01b0316158061047457506104748560800151876000015160046114ae565b6104905760405162461bcd60e51b81526004016101ae9061276c565b60a08501516001600160a01b031615806104b957506104b98560a00151856000015160046114ae565b6104d55760405162461bcd60e51b81526004016101ae90612aa7565b60c08501516001600160a01b031615806104fe57506104fe8560c001518460c0015160046114ae565b61051a5760405162461bcd60e51b81526004016101ae906127da565b60c08401516001600160a01b0316158061054357506105438460c00151876000015160046114ae565b61055f5760405162461bcd60e51b81526004016101ae90612297565b60e08401516001600160a01b0316158061058857506105888460e00151866000015160046114ae565b6105a45760405162461bcd60e51b81526004016101ae9061257d565b6101008401516001600160a01b031615806105cf57506105cf8461010001518460c0015160046114ae565b6105eb5760405162461bcd60e51b81526004016101ae906125b4565b6105f3611abc565b85516001600160a01b03161515610160820152604051637c0d54d360e01b81526106999073__IexecLibOrders_v5_____________________90637c0d54d390610641908b90600401612ade565b60206040518083038186803b15801561065957600080fd5b505af415801561066d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106919190611f19565b601054611559565b808252805160209182012081830152875160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b1580156106e657600080fd5b505afa1580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611e2e565b6001600160a01b039081166040808401919091526005548951915163c3c5a54760e01b815292169163c3c5a54791610758916004016121d2565b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611ef9565b6107c45760405162461bcd60e51b81526004016101ae906127a3565b6107dc81604001518260000151896101000151611585565b6107f85760405162461bcd60e51b81526004016101ae906129cb565b61080581604001516115a9565b6108215760405162461bcd60e51b81526004016101ae90612a70565b806101600151156109f4576040516308d9777160e11b81526108679073__IexecLibOrders_v5_____________________906311b2eee290610641908a90600401612ade565b6060820181905280516020918201206080830152865160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f19190611e2e565b6001600160a01b0390811660a0830152600654875160405163c3c5a54760e01b8152919092169163c3c5a5479161092b91906004016121d2565b60206040518083038186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b9190611ef9565b6109975760405162461bcd60e51b81526004016101ae90612433565b6109af8160a001518260600151886101000151611585565b6109cb5760405162461bcd60e51b81526004016101ae906122ce565b6109d88160a001516115a9565b6109f45760405162461bcd60e51b81526004016101ae90612a39565b604051637f6cc2ff60e11b8152610a2f9073__IexecLibOrders_v5_____________________9063fed985fe90610641908990600401612c01565b60c08201819052805160209182012060e0830152855160408051638da5cb5b60e01b815290516001600160a01b0390921692638da5cb5b92600480840193829003018186803b158015610a8157600080fd5b505afa158015610a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab99190611e2e565b6001600160a01b03908116610100830152600754865160405163c3c5a54760e01b8152919092169163c3c5a54791610af491906004016121d2565b60206040518083038186803b158015610b0c57600080fd5b505afa158015610b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b449190611ef9565b610b605760405162461bcd60e51b81526004016101ae90612690565b610b798161010001518260c00151876101400151611585565b610b955760405162461bcd60e51b81526004016101ae906123b6565b610ba38161010001516115a9565b610bbf5760405162461bcd60e51b81526004016101ae90612348565b604051638ac03f3360e01b8152610bfa9073__IexecLibOrders_v5_____________________90638ac03f3390610641908890600401612af1565b61012082018190528051602082012061014083015260c08501516101e0860151610c249290611585565b610c405760405162461bcd60e51b81526004016101ae90612659565b610c4d8460c001516115a9565b610c695760405162461bcd60e51b81526004016101ae90612873565b6020808201516000908152601290915260408082205490890151610c8c916115af565b9050816101600151610c9e5780610ccd565b6080820151600090815260126020526040908190205490880151610ccd91610cc691906115af565b82906115c4565b60e0830151600090815260126020526040908190205490880151919250610cf791610cc6916115af565b61014083015160009081526012602052604090205460e0870151919250610d2191610cc6916115af565b905060008111610d435760405162461bcd60e51b81526004016101ae906126fe565b61014082015160008181526012602090815260408083205490519293610d6b939092016121a9565b60408051808303601f1901815291815281516020928301206000818152601384528290208c5181546001600160a01b03199081166001600160a01b03928316178355938801516001830180548616918316919091179055938d0151600282015560a087015160048201805485169186169190911790558b51600382018054909416941693909317909155610160850151909250610e09576000610e0f565b88602001515b600582015587516006820180546001600160a01b039283166001600160a01b03199182161790915561010086015160078401805491909316911617905560208801516008820155610140870151610e679060016115da565b6009820155610120870151600a820155600b810185905560c0870151600c820180546001600160a01b039283166001600160a01b031991821617909155610160890151600d84018054918416918316919091179055610180890151600e840180549190931691161790556101a08701518051610eed91600f840191602090910190611b1f565b504260108201556101408401516000908152601260208181526040928390205460118501559083018590558951825163b55e75af60e01b81529251610f9c936001600160a01b039092169263b55e75af9260048082019391829003018186803b158015610f5957600080fd5b505afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f919190611f19565b60208a0151906115ea565b816013018190555087600001516001600160a01b03166387639c686040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190611f19565b601482015560208085015160009081526012909152604090205461103d90846115f8565b60208086015160009081526012909152604090205561016084015161108390611067576000611069565b835b6080860151600090815260126020526040902054906115f8565b60808501516000908152601260205260408082209290925560e0860151815220546110ae90846115f8565b60e085015160009081526012602052604080822092909255610140860151815220546110da90846115f8565b610140850151600090815260126020526040902055600c810154600882015460058301546002840154611137936001600160a01b03169261113292889261112c929161112691906115f8565b906115f8565b9061160a565b611631565b60078101546008820154611160916001600160a01b03169061113290869061112c90601e6115ea565b60068101546040516001600160a01b03909116907f692ad61076dceddd0f1a861f737553dd61fc8501cf4190d29c4e90af6607f765906111a190859061220a565b60405180910390a27fd811b592ed0899225773e8933d8df64bd0b62761a9d7aad4ed5b22735f4610a482856020015186608001518760e00151886101400151886040516111f396959493929190612213565b60405180910390a15098975050505050505050565b6112106116b9565b6000546001600160a01b0390811691161461123d5760405162461bcd60e51b81526004016101ae9061283e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610166858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116bd92505050565b60006112e583836116da565b90505b92915050565b6112f66116b9565b6000546001600160a01b039081169116146113235760405162461bcd60e51b81526004016101ae9061283e565b6001600160a01b0381166113495760405162461bcd60e51b81526004016101ae906123ed565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006113af84611710565b1561148657604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906113e2908690869060040161223b565b60206040518083038186803b1580156113fa57600080fd5b505afa92505050801561142a575060408051601f3d908101601f1916820190925261142791810190611f31565b60015b611464573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b505061147e565b6001600160e01b031916630b135d3f60e11b1490506114a7565b5060006114a7565b836001600160a01b031661149a8484611749565b6001600160a01b03161490505b9392505050565b6000826001600160a01b0316846001600160a01b031614806115515750836001600160a01b031663d202158d6114e385611853565b846040518363ffffffff1660e01b81526004016115019291906121a9565b60206040518083038186803b15801561151957600080fd5b505afa15801561152d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115519190611ef9565b949350505050565b6060818360405160200161156e9291906121b7565b604051602081830303815290604052905092915050565b60006115988484805190602001206116da565b80611551575061155184848461185f565b50600190565b6000828211156115be57600080fd5b50900390565b60008183106115d357816112e5565b5090919050565b6000818310156115d357816112e5565b60006112e583836064611988565b6000828201838110156112e557600080fd5b600082611619575060006112e8565b8282028284828161162657fe5b04146112e557600080fd5b61163c82308361199d565b6001600160a01b0382166000908152600e602052604090205461165f90826115f8565b6001600160a01b0383166000908152600e60205260409081902091909155517f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906116ad90849084906121e6565b60405180910390a15050565b3390565b60006116c984846116da565b8061155157506115518484846113a4565b60006001600160a01b038316158015906112e55750506000908152601160205260409020546001600160a01b0390811691161490565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611551575050151592915050565b6000806000808451604114156117735750505060208201516040830151606084015160001a6117b8565b8451604014156117a057505050602082015160408301516001600160ff1b0381169060001a60071c6117b8565b60405162461bcd60e51b81526004016101ae9061295d565b601b8160ff1610156117c857601b015b8060ff16601b14806117dd57508060ff16601c145b6117f95760405162461bcd60e51b81526004016101ae90612811565b6001868285856040516000815260200160405260405161181c9493929190612254565b6020604051602081039080840390855afa15801561183e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6001600160a01b031690565b600061186a84611710565b1561196d576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b9061189d9086908690600401612272565b60206040518083038186803b1580156118b557600080fd5b505afa9250505080156118e5575060408051601f3d908101601f191682019092526118e291810190611f31565b60015b61191f573d808015611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5050611939565b6001600160e01b0319166320c13b0b60e01b1490506114a7565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e916113e29190869060040161223b565b836001600160a01b031661149a848051906020012084611749565b6000611551611997858561160a565b83611a9a565b6001600160a01b0383166119c35760405162461bcd60e51b81526004016101ae90612918565b6001600160a01b0382166119e95760405162461bcd60e51b81526004016101ae90612305565b6001600160a01b0383166000908152600d6020526040902054611a0c90826115af565b6001600160a01b038085166000908152600d60205260408082209390935590841681522054611a3b90826115f8565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a8d90859061220a565b60405180910390a3505050565b6000808211611aa857600080fd5b6000828481611ab357fe5b04949350505050565b604080516101808101825260608082526000602083018190529282018390528082018190526080820183905260a0820183905260c0820181905260e082018390526101008201839052610120820152610140810182905261016081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b6057805160ff1916838001178555611b8d565b82800160010185558215611b8d579182015b82811115611b8d578251825591602001919060010190611b72565b50611b99929150611b9d565b5090565b5b80821115611b995760008155600101611b9e565b80356112e881612cd0565b600082601f830112611bcd578081fd5b813567ffffffffffffffff811115611be3578182fd5b611bf6601f8201601f1916602001612ca9565b9150808252836020828501011115611c0d57600080fd5b8060208401602084013760009082016020015292915050565b6000610120808385031215611c39578182fd5b611c4281612ca9565b915050611c4f8383611bb2565b8152602082013560208201526040820135604082015260608201356060820152611c7c8360808401611bb2565b6080820152611c8e8360a08401611bb2565b60a0820152611ca08360c08401611bb2565b60c082015260e082013560e08201526101008083013567ffffffffffffffff811115611ccb57600080fd5b611cd785828601611bbd565b82840152505092915050565b6000610200808385031215611cf6578182fd5b611cff81612ca9565b915050611d0c8383611bb2565b815260208201356020820152611d258360408401611bb2565b604082015260608201356060820152611d418360808401611bb2565b608082015260a082013560a0820152611d5d8360c08401611bb2565b60c082015260e08281013590820152610100808301359082015261012080830135908201526101408083013590820152610160611d9c84828501611bb2565b90820152610180611daf84848301611bb2565b908201526101a08281013567ffffffffffffffff80821115611dd057600080fd5b611ddc86838701611bbd565b838501526101c0925082850135838501526101e0925082850135915080821115611e0557600080fd5b50611cd785828601611bbd565b600060208284031215611e23578081fd5b81356112e581612cd0565b600060208284031215611e3f578081fd5b81516112e581612cd0565b60008060408385031215611e5c578081fd5b8235611e6781612cd0565b946020939093013593505050565b60008060008060608587031215611e8a578182fd5b8435611e9581612cd0565b935060208501359250604085013567ffffffffffffffff80821115611eb8578384fd5b818701915087601f830112611ecb578384fd5b813581811115611ed9578485fd5b886020828501011115611eea578485fd5b95989497505060200194505050565b600060208284031215611f0a578081fd5b815180151581146112e5578182fd5b600060208284031215611f2a578081fd5b5051919050565b600060208284031215611f42578081fd5b81516001600160e01b0319811681146112e5578182fd5b60008060008060808587031215611f6e578182fd5b843567ffffffffffffffff80821115611f85578384fd5b611f9188838901611c26565b95506020870135915080821115611fa6578384fd5b611fb288838901611c26565b94506040870135915080821115611fc7578384fd5b818701915061016080838a031215611fdd578485fd5b611fe681612ca9565b9050611ff28984611bb2565b81526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201526120338960c08501611bb2565b60c08201526120458960e08501611bb2565b60e08201526101006120598a828601611bb2565b908201526101208381013590820152610140808401358381111561207b578687fd5b6120878b828701611bbd565b8284015250508094505060608701359150808211156120a4578283fd5b506120b187828801611ce3565b91505092959194509250565b6001600160a01b03169052565b60008151808452815b818110156120ef576020818501810151868301820152016120d3565b818111156121005782602083870101525b50601f01601f19169290920160200192915050565b600061012060018060a01b038351168452602083015160208501526040830151604085015260608301516060850152608083015161215660808601826120bd565b5060a083015161216960a08601826120bd565b5060c083015161217c60c08601826120bd565b5060e083015160e085015261010080840151828287015261219f838701826120ca565b9695505050505050565b918252602082015260400190565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b60008382526040602083015261155160408301846120ca565b93845260ff9290921660208401526040830152606082015260800190565b60006040825261228560408301856120ca565b828103602084015261016681856120ca565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831390000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833310000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834310000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831330000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830350000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830370000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831610000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831620000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830340000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830360000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307835300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307834300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307836300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831340000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831360000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831380000000000000000604082015260600190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307835310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831300000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307830330000000000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831350000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832310000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307833320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307832320000000000000000604082015260600190565b60208082526018908201527f694578656356352d6d617463684f72646572732d307831370000000000000000604082015260600190565b6000602082526112e56020830184612115565b600060208252612b056020830184516120bd565b602083015160408301526040830151612b2160608401826120bd565b50606083015160808301526080830151612b3e60a08401826120bd565b5060a083015160c083015260c0830151612b5b60e08401826120bd565b5060e083015161010083810191909152830151610120808401919091528301516101408084019190915283015161016080840191909152830151610180612ba4818501836120bd565b84015190506101a0612bb8848201836120bd565b808501519150506102006101c08181860152612bd86102208601846120ca565b908601516101e086810191909152860151858203601f19018387015290925061219f83826120ca565b600060208252612c156020830184516120bd565b602083015160408301526040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c0830151612c5960e08401826120bd565b5060e0830151610100612c6e818501836120bd565b8401519050610120612c82848201836120bd565b840151610140848101919091528401516101608085015290506115516101808401826120ca565b60405181810167ffffffffffffffff81118282101715612cc857600080fd5b604052919050565b6001600160a01b0381168114612ce557600080fd5b5056fea264697066735822122050ca11692423fd09f7703c56710c152773499ab8141787a7f70fc794a5f3ae2f64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1769:10848:27:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1769:10848:27;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1769:10848:27;;;;;;", - "deployedSourceMap": "1769:10848:27:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2380:186;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3200:9415;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1689:145:83:-;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;2725:214:27:-;;;;;;:::i;:::-;;:::i;2569:153::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;2380:186:27:-;2499:4;2517:45;2533:9;2544:5;2551:10;;2517:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2517:15:27;;-1:-1:-1;;;2517:45:27:i;:::-;2510:52;2380:186;-1:-1:-1;;;;;2380:186:27:o;3200:9415::-;3479:7;3590:11;3640:13;:17;;;3620:13;:17;;;3604:9;:13;;;:33;:53;3590:67;;3705:16;:25;;;3669:13;:22;;;:61;3661:105;;;;-1:-1:-1;;;3661:105:27;;;;;;;:::i;:::-;;;;;;;;;3814:12;:19;3778:22;;;;:55;3770:105;;;;-1:-1:-1;;;3770:105:27;;;;;;;:::i;:::-;3923:16;:22;;;3887:13;:19;;;:58;;3879:105;;;;-1:-1:-1;;;3879:105:27;;;;;;;:::i;:::-;4032:9;:18;;;3996:13;:25;;;:54;;3988:105;;;;-1:-1:-1;;;3988:105:27;;;;;;;:::i;:::-;4141:13;:26;;;4105:13;:29;;;:62;;4097:105;;;;-1:-1:-1;;;4097:105:27;;;;;;;:::i;:::-;4250:16;:32;;;4214:13;:32;;;:68;;4206:105;;;;-1:-1:-1;;;4206:105:27;;;;;;;:::i;:::-;4330:20;;;;4329:21;4323:27;;:39;4315:105;;;;-1:-1:-1;;;4315:105:27;;;;;;;:::i;:::-;4439:13;;;;4433:19;;4432:25;;-1:-1:-1;;;4432:32:27;:39;4424:105;;;;-1:-1:-1;;;4424:105:27;;;;;;;:::i;:::-;4604:13;;4579:17;;-1:-1:-1;;;;;4579:38:27;;;;;;4571:189;;;;-1:-1:-1;;;4571:189:27;;;;;;;:::i;:::-;4797:13;:21;;;-1:-1:-1;;;;;4772:46:27;:13;:21;;;-1:-1:-1;;;;;4772:46:27;;4764:189;;;;-1:-1:-1;;;4764:189:27;;;;;;;:::i;:::-;4965:24;;;;-1:-1:-1;;;;;4965:48:27;;;:152;;;5017:100;5032:13;:24;;;5068:16;:27;;;3595:1:4;5017:14:27;:100::i;:::-;4957:189;;;;-1:-1:-1;;;4957:189:27;;;;;;;:::i;:::-;5202:25;;;;-1:-1:-1;;;;;5202:48:27;;;:152;;;5254:100;5269:9;:25;;;5305:13;:21;;;3595:1:4;5254:14:27;:100::i;:::-;5194:189;;;;-1:-1:-1;;;5194:189:27;;;;;;;:::i;:::-;5395:28;;;;-1:-1:-1;;;;;5395:48:27;;;:152;;;5447:100;5462:9;:28;;;5498:16;:27;;;3595:1:4;5447:14:27;:100::i;:::-;5387:189;;;;-1:-1:-1;;;5387:189:27;;;;;;;:::i;:::-;5588:27;;;;-1:-1:-1;;;;;5588:48:27;;;:152;;;5640:100;5655:9;:27;;;5691:13;:23;;;3595:1:4;5640:14:27;:100::i;:::-;5580:189;;;;-1:-1:-1;;;5580:189:27;;;;;;;:::i;:::-;5781:25;;;;-1:-1:-1;;;;;5781:48:27;;;:152;;;5833:100;5848:13;:25;;;5884:9;:13;;;3595:1:4;5833:14:27;:100::i;:::-;5773:189;;;;-1:-1:-1;;;5773:189:27;;;;;;;:::i;:::-;5974:32;;;;-1:-1:-1;;;;;5974:48:27;;;:152;;;6026:100;6041:13;:32;;;6077:16;:27;;;3595:1:4;6026:14:27;:100::i;:::-;5966:189;;;;-1:-1:-1;;;5966:189:27;;;;;;;:::i;:::-;6167:31;;;;-1:-1:-1;;;;;6167:48:27;;;:152;;;6219:100;6234:13;:31;;;6270:13;:23;;;3595:1:4;6219:14:27;:100::i;:::-;6159:189;;;;-1:-1:-1;;;6159:189:27;;;;;;;:::i;:::-;6360:28;;;;-1:-1:-1;;;;;6360:48:27;;;:152;;;6412:100;6427:16;:28;;;6463:9;:13;;;3595:1:4;6412:14:27;:100::i;:::-;6352:189;;;;-1:-1:-1;;;6352:189:27;;;;;;;:::i;:::-;6553:32;;;;-1:-1:-1;;;;;6553:48:27;;;:152;;;6605:100;6620:16;:32;;;6656:13;:21;;;3595:1:4;6605:14:27;:100::i;:::-;6545:189;;;;-1:-1:-1;;;6545:189:27;;;;;;;:::i;:::-;6746:34;;;;-1:-1:-1;;;;;6746:48:27;;;:152;;;6798:100;6813:16;:34;;;6849:13;:23;;;3595:1:4;6798:14:27;:100::i;:::-;6738:189;;;;-1:-1:-1;;;6738:189:27;;;;;;;:::i;:::-;6975:19;;:::i;:::-;7015:21;;-1:-1:-1;;;;;7015:35:27;;;6998:14;;;:52;7103:16;;-1:-1:-1;;;7103:16:27;;7085:59;;7103:14;;;;:16;;:9;;:16;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7121:22;;7085:17;:59::i;:::-;7064:80;;;7169:29;;;;;;;7148:16;;;:50;7227:13;;7223:26;;;-1:-1:-1;;;7223:26:27;;;;-1:-1:-1;;;;;7223:24:27;;;;;;:26;;;;;;;;;;:24;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7202:47:27;;;:12;;;;:47;;;;7262:13;;7289;;7262:41;;-1:-1:-1;;;7262:41:27;;:13;;;:26;;:41;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7254:116;;;;-1:-1:-1;;;7254:116:27;;;;;;;:::i;:::-;7382:79;7412:3;:12;;;7426:3;:18;;;7446:9;:14;;;7382:29;:79::i;:::-;7374:116;;;;-1:-1:-1;;;7374:116:27;;;;;;;:::i;:::-;7502:27;7516:3;:12;;;7502:13;:27::i;:::-;7494:123;;;;-1:-1:-1;;;7494:123:27;;;;;;;:::i;:::-;7639:3;:14;;;7635:694;;;7741:20;;-1:-1:-1;;;7741:20:27;;7723:63;;7741:18;;;;:20;;:13;;:20;;;:::i;7723:63::-;7698:22;;;:88;;;7816:33;;;;;;;7791:20;;;:58;7887:21;;7879:38;;;-1:-1:-1;;;7879:38:27;;;;-1:-1:-1;;;;;7879:36:27;;;;;;:38;;;;;;;;;;:36;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7854:63:27;;;:16;;;:63;7931:17;;7962:21;;7931:53;;-1:-1:-1;;;7931:53:27;;:17;;;;;:30;;:53;;7962:21;7931:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7923:128;;;;-1:-1:-1;;;7923:128:27;;;;;;;:::i;:::-;8064:91;8094:3;:16;;;8112:3;:22;;;8136:13;:18;;;8064:29;:91::i;:::-;8056:128;;;;-1:-1:-1;;;8056:128:27;;;;;;;:::i;:::-;8197:31;8211:3;:16;;;8197:13;:31::i;:::-;8189:135;;;;-1:-1:-1;;;8189:135:27;;;;;;;:::i;:::-;8395:23;;-1:-1:-1;;;8395:23:27;;8377:66;;8395:21;;;;:23;;:16;;:23;;;:::i;8377:66::-;8349:25;;;:94;;;8475:36;;;;;;;8447:23;;;:64;8554:27;;8543:47;;;-1:-1:-1;;;8543:47:27;;;;-1:-1:-1;;;;;8543:45:27;;;;;;:47;;;;;;;;;;:45;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;8515:75:27;;;:19;;;:75;8603:20;;8637:27;;8603:62;;-1:-1:-1;;;8603:62:27;;:20;;;;;:33;;:62;;8637:27;8603:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8595:137;;;;-1:-1:-1;;;8595:137:27;;;;;;;:::i;:::-;8744:100;8774:3;:19;;;8795:3;:25;;;8822:16;:21;;;8744:29;:100::i;:::-;8736:137;;;;-1:-1:-1;;;8736:137:27;;;;;;;:::i;:::-;8885:34;8899:3;:19;;;8885:13;:34::i;:::-;8877:143;;;;-1:-1:-1;;;8877:143:27;;;;;;;:::i;:::-;9081:20;;-1:-1:-1;;;9081:20:27;;9063:63;;9081:18;;;;:20;;:13;;:20;;;:::i;9063:63::-;9038:22;;;:88;;;9155:33;;;;;;9130:20;;;:58;9230:23;;;;9279:18;;;;9200:98;;9038:88;9200:29;:98::i;:::-;9192:135;;;;-1:-1:-1;;;9192:135:27;;;;;;;:::i;:::-;9339:38;9353:13;:23;;;9339:13;:38::i;:::-;9331:142;;;;-1:-1:-1;;;9331:142:27;;;;;;;:::i;:::-;9608:16;;;;;9514:14;9597:35;;;:10;:35;;;;;;;;9569:16;;;;:64;;:20;:64::i;:::-;9532:101;;9646:3;:14;;;:102;;9742:6;9646:102;;;9713:20;;;;9702:35;;;;:10;:35;;;;;;;;9674:20;;;;9663:76;;9674:64;;:20;:24;:64::i;:::-;9663:6;;:10;:76::i;:::-;9828:23;;;;9817:35;;;;:10;:35;;;;;;;;9789:23;;;;9637:111;;-1:-1:-1;9778:76:27;;9789:64;;:27;:64::i;9778:76::-;9934:20;;;;9923:35;;;;:10;:35;;;;;;9895:20;;;;9752:102;;-1:-1:-1;9884:76:27;;9895:64;;:24;:64::i;9884:76::-;9858:102;;9981:1;9972:6;:10;9964:47;;;;-1:-1:-1;;;9964:47:27;;;;;;;:::i;:::-;10088:20;;;;10040:14;10139:32;;;:10;:32;;;;;;;;;10067:132;;10040:14;;10067:132;;10088:20;;10067:132;;:::i;:::-;;;;;;;-1:-1:-1;;10067:132:27;;;;;;10057:143;;10067:132;10057:143;;;;10205:33;10241:15;;;:7;:15;;;;;10288:13;;10260:41;;-1:-1:-1;;;;;;10260:41:27;;;-1:-1:-1;;;;;10260:41:27;;;;;;10333:12;;;;-1:-1:-1;10305:14:27;;:40;;;;;;;;;;;;;10377:18;;;;10349:14;;;:46;10427:16;;;;10399:18;;;:44;;;;;;;;;;;;;10475:21;;10399:12;;;10447:49;;;;;;;;;;;;;;10528:14;;;;10057:143;;-1:-1:-1;10528:47:27;;10574:1;10528:47;;;10545:13;:26;;;10528:47;10500:18;;;:75;10607:27;;10579:15;;;:55;;-1:-1:-1;;;;;10579:55:27;;;-1:-1:-1;;;;;;10579:55:27;;;;;;;;10666:19;;;10638:21;;;:47;;;;;;;;;;;10717:32;;;;10689:21;;;:60;10781:19;;;;:26;;10579:55;10781:23;:26::i;:::-;10753:10;;;:54;10839:22;;;;10811:13;;;:50;10865:8;;;:31;;;10928:23;;;;10900:14;;;:51;;-1:-1:-1;;;;;10900:51:27;;;-1:-1:-1;;;;;;10900:51:27;;;;;;;10983:25;;;;10955:16;;;:53;;;;;;;;;;;;;;11040:22;;;;11012:13;;;:50;;;;;;;;;;;11094:20;;;;11066:48;;;;:11;;;;:48;;;;;;:::i;:::-;-1:-1:-1;11146:3:27;11118:14;;;:31;11192:20;;;;11181:32;;;;:10;:32;;;;;;;;;;11153:13;;;:60;11217:12;;;:34;;;11338:27;;11327:66;;-1:-1:-1;;;11327:66:27;;;;11283:111;;-1:-1:-1;;;;;11327:64:27;;;;;;:66;;;;;;;;;;;:64;:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11283:32;;;;;:43;:111::i;:::-;11255:4;:16;;:139;;;;11437:16;:27;;;-1:-1:-1;;;;;11426:68:27;;:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11398:25;;;:98;11583:16;;;;;11572:35;;;;:10;:35;;;;;;;:68;;11629:6;11572:39;:68::i;:::-;11545:16;;;;;11534:35;;;;:10;:35;;;;;;:106;11722:14;;;;11682:68;;11722:27;;11748:1;11722:27;;;11739:6;11722:27;11693:20;;;;11682:35;;;;:10;:35;;;;;;;:39;:68::i;:::-;11655:20;;;;11644:35;;;;:10;:35;;;;;;:106;;;;11803:23;;;;11792:35;;;;:68;;11849:6;11792:39;:68::i;:::-;11765:23;;;;11754:35;;;;:10;:35;;;;;;:106;;;;11913:20;;;;11902:35;;;;:68;;11959:6;11902:39;:68::i;:::-;11875:20;;;;11864:35;;;;:10;:35;;;;;:106;12006:14;;;;12076:21;;;;12048:18;;;;12076:21;12025:14;;;11997:121;;-1:-1:-1;;;;;12006:14:27;;12025:89;;12107:6;;12025:73;;12076:21;12025:42;;:14;:22;:42::i;:::-;:50;;:73::i;:::-;:81;;:89::i;:::-;11997:4;:121::i;:::-;12131:21;;;;12157;;;;12122:194;;-1:-1:-1;;;;;12131:21:27;;12157:104;;12254:6;;12157:60;;3222:2:4;12157:36:27;:60::i;12122:194::-;12374:15;;;:23;12358:48;;-1:-1:-1;;;;;12374:23:27;;;;12358:48;;;;12399:6;;12358:48;:::i;:::-;;;;;;;;12455:138;12473:6;12484:3;:16;;;12505:3;:20;;;12530:3;:23;;;12558:3;:20;;;12583:6;12455:138;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;12605:6:27;3200:9415;-1:-1:-1;;;;;;;;3200:9415:27:o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;2725:214:27:-;2858:4;2876:59;2906:9;2917:5;2924:10;;2876:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2876:29:27;;-1:-1:-1;;;2876:59:27:i;2569:153::-;2664:4;2682:36;2701:9;2712:5;2682:18;:36::i;:::-;2675:43;;2569:153;;;;;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;4164:438:32:-;4272:4;4287:22;4299:9;4287:11;:22::i;:::-;4283:316;;;4322:55;;-1:-1:-1;;;4322:55:32;;-1:-1:-1;;;;;4322:36:32;;;;;:55;;4359:5;;4366:10;;4322:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4322:55:32;;;;;;;;-1:-1:-1;;4322:55:32;;;;;;;;;;;;:::i;:::-;;;4318:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4470:40;4318:192;;;-1:-1:-1;;;;;;4417:46:32;-1:-1:-1;;;4417:46:32;;-1:-1:-1;4410:53:32;;4318:192;-1:-1:-1;4522:5:32;4515:12;;4283:316;4585:9;-1:-1:-1;;;;;4554:40:32;:27;4563:5;4570:10;4554:8;:27::i;:::-;-1:-1:-1;;;;;4554:40:32;;4547:47;;4283:316;4164:438;;;;;:::o;3719:273::-;3824:10;3861;-1:-1:-1;;;;;3848:23:32;:9;-1:-1:-1;;;;;3848:23:32;;:93;;;;3883:9;-1:-1:-1;;;;;3875:32:32;;3908:22;3919:10;3908;:22::i;:::-;3932:8;3875:66;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3841:100;3719:273;-1:-1:-1;;;;3719:273:32:o;1780:177::-;1873:12;1928:11;1941;1899:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1892:61;;1780:177;;;;:::o;5524:257::-;5655:4;5673:51;5692:9;5713;5703:20;;;;;;5673:18;:51::i;:::-;:104;;;;5728:49;5744:9;5755;5766:10;5728:15;:49::i;1569:85:16:-;-1:-1:-1;1646:4:16;;1569:85::o;470:124:77:-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;1869:96::-;1927:7;1952:1;1948;:5;:13;;1960:1;1948:13;;;-1:-1:-1;1956:1:77;;1869:96;-1:-1:-1;1869:96:77:o;1715:97::-;1773:7;1799:1;1794;:6;;:14;;1807:1;1794:14;;2218:114;2283:7;2304:24;2318:1;2321;2324:3;2304:13;:24::i;227:124::-;285:7;311:5;;;328:6;;;;320:15;;;;;669:362;727:7;944:6;940:32;;-1:-1:-1;966:1:77;959:8;;940:32;987:5;;;991:1;987;:5;:1;1004:5;;;;;:10;996:19;;;;;4213:228:16;4293:47;4312:4;4326;4333:6;4293:18;:47::i;:::-;-1:-1:-1;;;;;4362:15:16;;;;;;:9;:15;;;;;;:27;;4382:6;4362:19;:27::i;:::-;-1:-1:-1;;;;;4344:15:16;;;;;;:9;:15;;;;;;;:45;;;;4398:18;;;;;4354:4;;4409:6;;4398:18;:::i;:::-;;;;;;;;4213:228;;:::o;590:104:81:-;677:10;590:104;:::o;5292:229:32:-;5414:4;5432:36;5451:9;5462:5;5432:18;:36::i;:::-;:85;;;;5472:45;5488:9;5499:5;5506:10;5472:15;:45::i;3995:166::-;4081:4;-1:-1:-1;;;;;4099:23:32;;;;;;:58;;-1:-1:-1;;4139:18:32;;;;:11;:18;;;;;;-1:-1:-1;;;;;4139:18:32;;;4126:31;;;;3995:166::o;2957:562::-;3019:4;3439:20;;3296:66;3472:23;;;;;;:42;;-1:-1:-1;;3499:15:32;;;3464:51;-1:-1:-1;;2957:562:32:o;2067:820::-;2144:7;2158:9;2171;2184;2202:5;:12;2218:2;2202:18;2198:572;;;-1:-1:-1;;;2302:4:32;2291:16;;2285:23;2343:4;2332:16;;2326:23;2384:4;2373:16;;2367:23;2364:1;2359:32;2266:130;;;2412:5;:12;2428:2;2412:18;2408:362;;;-1:-1:-1;;;2534:4:32;2523:16;;2517:23;2582:4;2571:16;;2565:23;-1:-1:-1;;;;;2550:107:32;;;2679:1;2674:32;2671:1;2667:40;2491:221;;;2731:34;;-1:-1:-1;;;2731:34:32;;;;;;;:::i;2408:362::-;2782:2;2778:1;:6;;;2774:19;;;2791:2;2786:7;2774:19;2805:1;:7;;2810:2;2805:7;:18;;;;2816:1;:7;;2821:2;2816:7;2805:18;2797:50;;;;-1:-1:-1;;;2797:50:32;;;;;;;:::i;:::-;2858:25;2868:5;2875:1;2878;2881;2858:25;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2858:25:32;;-1:-1:-1;;2858:25:32;;;2067:820;-1:-1:-1;;;;;;;2067:820:32:o;3573:107::-;-1:-1:-1;;;;;3661:14:32;;3573:107::o;4605:684::-;4722:4;4737:22;4749:9;4737:11;:22::i;:::-;4733:553;;;4772:59;;-1:-1:-1;;;4772:59:32;;-1:-1:-1;;;;;4772:36:32;;;;;:59;;4809:9;;4820:10;;4772:59;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4772:59:32;;;;;;;;-1:-1:-1;;4772:59:32;;;;;;;;;;;;:::i;:::-;;;4768:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4927:40;4768:199;;;-1:-1:-1;;;;;;4871:46:32;-1:-1:-1;;;4871:46:32;;-1:-1:-1;4864:53:32;;4768:199;5013:20;;;;;;4976:70;;-1:-1:-1;;;4976:70:32;;-1:-1:-1;;;;;4976:36:32;;;;;:70;;5013:20;5035:10;;4976:70;;;:::i;4733:553::-;5272:9;-1:-1:-1;;;;;5226:55:32;:42;5245:9;5235:20;;;;;;5257:10;5226:8;:42::i;2022:121:77:-;2101:7;2122:17;2126:9;2130:1;2133;2126:3;:9::i;:::-;2137:1;2122:3;:17::i;1755:404:16:-;-1:-1:-1;;;;;1857:20:16;;1849:70;;;;-1:-1:-1;;;1849:70:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;1931:23:16;;1923:71;;;;-1:-1:-1;;;1923:71:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;2020:18:16;;;;;;:10;:18;;;;;;:30;;2043:6;2020:22;:30::i;:::-;-1:-1:-1;;;;;1999:18:16;;;;;;;:10;:18;;;;;;:51;;;;2078:21;;;;;;;:33;;2104:6;2078:25;:33::i;:::-;-1:-1:-1;;;;;2054:21:16;;;;;;;:10;:21;;;;;;;:57;;;;2120:35;;;;;;;;;;2148:6;;2120:35;:::i;:::-;;;;;;;;1755:404;;;:::o;1147:268:77:-;1205:7;1293:1;1289;:5;1281:14;;;;;;1300:9;1316:1;1312;:5;;;;;;;1147:268;-1:-1:-1;;;;1147:268:77:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;5:130;72:20;;97:33;72:20;97:33;:::i;1194:440::-;;1295:3;1288:4;1280:6;1276:17;1272:27;1262:2;;-1:-1;;1303:12;1262:2;1350:6;1337:20;62012:18;62004:6;62001:30;61998:2;;;-1:-1;;62034:12;61998:2;1372:64;62107:9;62088:17;;-1:-1;;62084:33;62175:4;62165:15;1372:64;:::i;:::-;1363:73;;1456:6;1449:5;1442:21;1560:3;62175:4;1551:6;1484;1542:16;;1539:25;1536:2;;;1577:1;;1567:12;1536:2;64416:6;62175:4;1484:6;1480:17;62175:4;1518:5;1514:16;64393:30;64472:1;64454:16;;;62175:4;64454:16;64447:27;1518:5;1255:379;-1:-1;;1255:379::o;2133:1624::-;;2248:6;;2236:9;2231:3;2227:19;2223:32;2220:2;;;-1:-1;;2258:12;2220:2;2286:22;2248:6;2286:22;:::i;:::-;2277:31;;;2389:49;2434:3;2410:22;2389:49;:::i;:::-;2371:16;2364:75;2504:2;2562:9;2558:22;10331:20;2504:2;2523:5;2519:16;2512:75;2650:2;2708:9;2704:22;10331:20;2650:2;2669:5;2665:16;2658:75;2793:2;2851:9;2847:22;485:20;2793:2;2812:5;2808:16;2801:75;2982:49;3027:3;2948;3007:9;3003:22;2982:49;:::i;:::-;2948:3;2968:5;2964:16;2957:75;3141:49;3186:3;3107;3166:9;3162:22;3141:49;:::i;:::-;3107:3;3127:5;3123:16;3116:75;3299:49;3344:3;3265;3324:9;3320:22;3299:49;:::i;:::-;3265:3;3285:5;3281:16;3274:75;3410:3;3469:9;3465:22;485:20;3410:3;3430:5;3426:16;3419:75;3583:3;;3572:9;3568:19;3555:33;3608:18;3600:6;3597:30;3594:2;;;2357:1;;3630:12;3594:2;3677:58;3731:3;3722:6;3711:9;3707:22;3677:58;:::i;:::-;3583:3;3661:5;3657:18;3650:86;;;2214:1543;;;;:::o;5491:2775::-;;5610:6;;5598:9;5593:3;5589:19;5585:32;5582:2;;;-1:-1;;5620:12;5582:2;5648:22;5610:6;5648:22;:::i;:::-;5639:31;;;5751:49;5796:3;5772:22;5751:49;:::i;:::-;5733:16;5726:75;5869:2;5927:9;5923:22;10331:20;5869:2;5888:5;5884:16;5877:75;6049:49;6094:3;6016:2;6074:9;6070:22;6049:49;:::i;:::-;6016:2;6035:5;6031:16;6024:75;6171:2;6229:9;6225:22;10331:20;6171:2;6190:5;6186:16;6179:75;6355:49;6400:3;6321;6380:9;6376:22;6355:49;:::i;:::-;6321:3;6341:5;6337:16;6330:75;6480:3;6539:9;6535:22;10331:20;6480:3;6500:5;6496:16;6489:75;6664:49;6709:3;6630;6689:9;6685:22;6664:49;:::i;:::-;6630:3;6646:16;;6639:75;6777:3;6832:22;;;10331:20;6793:16;;;6786:75;6921:3;6978:22;;;485:20;6937:18;;;6930:77;7072:3;7129:22;;;10331:20;7088:18;;;7081:77;7220:3;7277:22;;;10331:20;7236:18;;;7229:77;7374:3;7410:49;7455:3;7431:22;;;7410:49;:::i;:::-;7390:18;;;7383:77;7525:3;7561:49;7606:3;7582:22;;;7561:49;:::i;:::-;7541:18;;;7534:77;7702:3;7687:19;;;7674:33;7727:18;7716:30;;;7713:2;;;5719:1;;7749:12;7713:2;7796:59;7851:3;7842:6;7831:9;7827:22;7796:59;:::i;:::-;7702:3;7780:5;7776:18;7769:87;7917:3;;;;7978:9;7974:22;485:20;7917:3;7937:5;7933:18;7926:77;8092:3;;;;8081:9;8077:19;8064:33;8050:47;;7727:18;8109:6;8106:30;8103:2;;;5719:1;;8139:12;8103:2;;8186:58;8240:3;8231:6;8220:9;8216:22;8186:58;:::i;10542:241::-;;10646:2;10634:9;10625:7;10621:23;10617:32;10614:2;;;-1:-1;;10652:12;10614:2;85:6;72:20;97:33;124:5;97:33;:::i;10790:263::-;;10905:2;10893:9;10884:7;10880:23;10876:32;10873:2;;;-1:-1;;10911:12;10873:2;226:6;220:13;238:33;265:5;238:33;:::i;11060:366::-;;;11181:2;11169:9;11160:7;11156:23;11152:32;11149:2;;;-1:-1;;11187:12;11149:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;11239:63;11339:2;11378:22;;;;485:20;;-1:-1;;;11143:283::o;11433:615::-;;;;;11590:2;11578:9;11569:7;11565:23;11561:32;11558:2;;;-1:-1;;11596:12;11558:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;11648:63;-1:-1;11748:2;11787:22;;485:20;;-1:-1;11884:2;11869:18;;11856:32;11908:18;11897:30;;;11894:2;;;-1:-1;;11930:12;11894:2;12015:6;12004:9;12000:22;;;963:3;956:4;948:6;944:17;940:27;930:2;;-1:-1;;971:12;930:2;1014:6;1001:20;11908:18;1033:6;1030:30;1027:2;;;-1:-1;;1063:12;1027:2;1158:3;11748:2;1138:17;1099:6;1124:32;;1121:41;1118:2;;;-1:-1;;1165:12;1118:2;11552:496;;;;-1:-1;;11748:2;1095:17;;-1:-1;;;11552:496::o;12055:257::-;;12167:2;12155:9;12146:7;12142:23;12138:32;12135:2;;;-1:-1;;12173:12;12135:2;364:6;358:13;65237:5;63783:13;63776:21;65215:5;65212:32;65202:2;;-1:-1;;65248:12;12319:263;;12434:2;12422:9;12413:7;12409:23;12405:32;12402:2;;;-1:-1;;12440:12;12402:2;-1:-1;633:13;;12396:186;-1:-1;12396:186::o;12589:261::-;;12703:2;12691:9;12682:7;12678:23;12674:32;12671:2;;;-1:-1;;12709:12;12671:2;773:13;;-1:-1;;;;;;63949:78;;65456:34;;65446:2;;-1:-1;;65494:12;12857:1199;;;;;13131:3;13119:9;13110:7;13106:23;13102:33;13099:2;;;-1:-1;;13138:12;13099:2;13196:17;13183:31;13234:18;;13226:6;13223:30;13220:2;;;-1:-1;;13256:12;13220:2;13286:79;13357:7;13348:6;13337:9;13333:22;13286:79;:::i;:::-;13276:89;;13430:2;13419:9;13415:18;13402:32;13388:46;;13234:18;13446:6;13443:30;13440:2;;;-1:-1;;13476:12;13440:2;13506:83;13581:7;13572:6;13561:9;13557:22;13506:83;:::i;:::-;13496:93;;13654:2;13643:9;13639:18;13626:32;13612:46;;13234:18;13670:6;13667:30;13664:2;;;-1:-1;;13700:12;13664:2;13799:6;13788:9;13784:22;;;8442:6;;8430:9;8425:3;8421:19;8417:32;8414:2;;;-1:-1;;8452:12;8414:2;8480:22;8442:6;8480:22;:::i;:::-;8471:31;;8590:49;8635:3;8611:22;8590:49;:::i;:::-;8572:16;8565:75;13430:2;8770:9;8766:22;10331:20;13430:2;8731:5;8727:16;8720:75;13654:2;8916:9;8912:22;10331:20;13654:2;8877:5;8873:16;8866:75;9001:2;9059:9;9055:22;485:20;9001:2;9020:5;9016:16;9009:75;13131:3;9208:9;9204:22;10331:20;13131:3;9169:5;9165:16;9158:75;9295:3;9354:9;9350:22;10331:20;9295:3;9315:5;9311:16;9304:75;9481:49;9526:3;9447;9506:9;9502:22;9481:49;:::i;:::-;9447:3;9467:5;9463:16;9456:75;9637:49;9682:3;9603;9662:9;9658:22;9637:49;:::i;:::-;9603:3;9623:5;9619:16;9612:75;9761:3;9797:49;9842:3;9761;9822:9;9818:22;9797:49;:::i;:::-;9777:18;;;9770:77;9908:3;9965:22;;;485:20;9924:18;;;9917:77;10083:3;10068:19;;;10055:33;10097:30;;;10094:2;;;-1:-1;;10130:12;10094:2;10177:58;10231:3;10222:6;10211:9;10207:22;10177:58;:::i;:::-;10083:3;10161:5;10157:18;10150:86;;;13720:96;;;;9001:2;13870:9;13866:18;13853:32;13839:46;;13234:18;13897:6;13894:30;13891:2;;;-1:-1;;13927:12;13891:2;;13957:83;14032:7;14023:6;14012:9;14008:22;13957:83;:::i;:::-;13947:93;;;13093:963;;;;;;;:::o;14333:113::-;-1:-1;;;;;64101:54;14404:37;;14398:48::o;15079:343::-;;15221:5;62613:12;62898:6;62893:3;62886:19;-1:-1;64561:101;64575:6;64572:1;64569:13;64561:101;;;62935:4;64642:11;;;;;64636:18;64623:11;;;;;64616:39;64590:10;64561:101;;;64677:6;64674:1;64671:13;64668:2;;;-1:-1;62935:4;64733:6;62930:3;64724:16;;64717:27;64668:2;-1:-1;62107:9;64995:14;-1:-1;;64991:28;15378:39;;;;62935:4;15378:39;;15169:253;-1:-1;;15169:253::o;29415:1777::-;;29576:6;62012:18;;64112:42;;;29649:16;29643:23;64101:54;14411:3;14404:37;29826:4;29819:5;29815:16;29809:23;29826:4;29898:3;29894:14;14753:37;29990:4;29983:5;29979:16;29973:23;29990:4;30062:3;30058:14;14753:37;30151:4;30144:5;30140:16;30134:23;30151:4;30223:3;30219:14;14753:37;30324:4;30317:5;30313:16;30307:23;30336:71;30324:4;30396:3;30392:14;30378:12;30336:71;:::i;:::-;;30500:4;30493:5;30489:16;30483:23;30512:71;30500:4;30572:3;30568:14;30554:12;30512:71;:::i;:::-;;30675:4;30668:5;30664:16;30658:23;30687:71;30675:4;30747:3;30743:14;30729:12;30687:71;:::i;:::-;;30837:4;30830:5;30826:16;30820:23;30837:4;30909:3;30905:14;14753:37;30999:6;;30992:5;30988:18;30982:25;29576:6;30999;31031:3;31027:16;31020:40;31075:79;29576:6;29571:3;29567:16;31135:12;31075:79;:::i;:::-;31176:11;29549:1643;-1:-1;;;;;;29549:1643::o;38961:392::-;14753:37;;;39214:2;39205:12;;14753:37;39316:12;;;39105:248::o;39360:659::-;-1:-1;;;20163:87;;20148:1;20269:11;;14753:37;;;;39871:12;;;14753:37;39982:12;;;39605:414::o;40026:222::-;-1:-1;;;;;64101:54;;;;14404:37;;40153:2;40138:18;;40124:124::o;40255:333::-;-1:-1;;;;;64101:54;;;;14404:37;;40574:2;40559:18;;14753:37;40410:2;40395:18;;40381:207::o;40595:210::-;63783:13;;63776:21;14636:34;;40716:2;40701:18;;40687:118::o;40812:222::-;14753:37;;;40939:2;40924:18;;40910:124::o;41041:780::-;14753:37;;;41473:2;41458:18;;14753:37;;;;41556:2;41541:18;;14753:37;;;;41639:2;41624:18;;14753:37;41722:3;41707:19;;14753:37;41806:3;41791:19;;14753:37;41308:3;41293:19;;41279:542::o;41828:417::-;;14783:5;14760:3;14753:37;42001:2;42119;42108:9;42104:18;42097:48;42159:76;42001:2;41990:9;41986:18;42221:6;42159:76;:::i;42592:548::-;14753:37;;;64317:4;64306:16;;;;42960:2;42945:18;;38914:35;43043:2;43028:18;;14753:37;43126:2;43111:18;;14753:37;42799:3;42784:19;;42770:370::o;43147:501::-;;43338:2;43359:17;43352:47;43413:76;43338:2;43327:9;43323:18;43475:6;43413:76;:::i;:::-;43537:9;43531:4;43527:20;43522:2;43511:9;43507:18;43500:48;43562:76;43633:4;43624:6;43562:76;:::i;43655:416::-;43855:2;43869:47;;;16350:2;43840:18;;;62886:19;16386:26;62926:14;;;16366:47;16432:12;;;43826:245::o;44078:416::-;44278:2;44292:47;;;16683:2;44263:18;;;62886:19;16719:26;62926:14;;;16699:47;16765:12;;;44249:245::o;44501:416::-;44701:2;44715:47;;;17016:2;44686:18;;;62886:19;17052:34;62926:14;;;17032:55;-1:-1;;;17107:12;;;17100:27;17146:12;;;44672:245::o;44924:416::-;45124:2;45138:47;;;17397:2;45109:18;;;62886:19;17433:26;62926:14;;;17413:47;17479:12;;;45095:245::o;45347:416::-;45547:2;45561:47;;;17730:2;45532:18;;;62886:19;17766:26;62926:14;;;17746:47;17812:12;;;45518:245::o;45770:416::-;45970:2;45984:47;;;18063:2;45955:18;;;62886:19;18099:26;62926:14;;;18079:47;18145:12;;;45941:245::o;46193:416::-;46393:2;46407:47;;;18396:2;46378:18;;;62886:19;18432:34;62926:14;;;18412:55;-1:-1;;;18487:12;;;18480:30;18529:12;;;46364:245::o;46616:416::-;46816:2;46830:47;;;18780:2;46801:18;;;62886:19;18816:26;62926:14;;;18796:47;18862:12;;;46787:245::o;47039:416::-;47239:2;47253:47;;;19113:2;47224:18;;;62886:19;19149:26;62926:14;;;19129:47;19195:12;;;47210:245::o;47462:416::-;47662:2;47676:47;;;19446:2;47647:18;;;62886:19;19482:26;62926:14;;;19462:47;19528:12;;;47633:245::o;47885:416::-;48085:2;48099:47;;;19779:2;48070:18;;;62886:19;19815:26;62926:14;;;19795:47;19861:12;;;48056:245::o;48308:416::-;48508:2;48522:47;;;20519:2;48493:18;;;62886:19;20555:26;62926:14;;;20535:47;20601:12;;;48479:245::o;48731:416::-;48931:2;48945:47;;;20852:2;48916:18;;;62886:19;20888:26;62926:14;;;20868:47;20934:12;;;48902:245::o;49154:416::-;49354:2;49368:47;;;21185:2;49339:18;;;62886:19;21221:26;62926:14;;;21201:47;21267:12;;;49325:245::o;49577:416::-;49777:2;49791:47;;;21518:2;49762:18;;;62886:19;21554:26;62926:14;;;21534:47;21600:12;;;49748:245::o;50000:416::-;50200:2;50214:47;;;21851:2;50185:18;;;62886:19;21887:26;62926:14;;;21867:47;21933:12;;;50171:245::o;50423:416::-;50623:2;50637:47;;;22184:2;50608:18;;;62886:19;22220:26;62926:14;;;22200:47;22266:12;;;50594:245::o;50846:416::-;51046:2;51060:47;;;22517:2;51031:18;;;62886:19;22553:26;62926:14;;;22533:47;22599:12;;;51017:245::o;51269:416::-;51469:2;51483:47;;;22850:2;51454:18;;;62886:19;22886:26;62926:14;;;22866:47;22932:12;;;51440:245::o;51692:416::-;51892:2;51906:47;;;23183:2;51877:18;;;62886:19;23219:26;62926:14;;;23199:47;23265:12;;;51863:245::o;52115:416::-;52315:2;52329:47;;;23516:2;52300:18;;;62886:19;23552:26;62926:14;;;23532:47;23598:12;;;52286:245::o;52538:416::-;52738:2;52752:47;;;23849:2;52723:18;;;62886:19;23885:26;62926:14;;;23865:47;23931:12;;;52709:245::o;52961:416::-;53161:2;53175:47;;;24182:2;53146:18;;;62886:19;24218:26;62926:14;;;24198:47;24264:12;;;53132:245::o;53384:416::-;53584:2;53598:47;;;24515:2;53569:18;;;62886:19;24551:26;62926:14;;;24531:47;24597:12;;;53555:245::o;53807:416::-;54007:2;54021:47;;;24848:2;53992:18;;;62886:19;24884:26;62926:14;;;24864:47;24930:12;;;53978:245::o;54230:416::-;54430:2;54444:47;;;25181:2;54415:18;;;62886:19;-1:-1;;;62926:14;;;25197:42;25258:12;;;54401:245::o;54653:416::-;54853:2;54867:47;;;54838:18;;;62886:19;25545:34;62926:14;;;25525:55;25599:12;;;54824:245::o;55076:416::-;55276:2;55290:47;;;25850:2;55261:18;;;62886:19;25886:26;62926:14;;;25866:47;25932:12;;;55247:245::o;55499:416::-;55699:2;55713:47;;;26183:2;55684:18;;;62886:19;26219:26;62926:14;;;26199:47;26265:12;;;55670:245::o;55922:416::-;56122:2;56136:47;;;26516:2;56107:18;;;62886:19;26552:26;62926:14;;;26532:47;26598:12;;;56093:245::o;56345:416::-;56545:2;56559:47;;;26849:2;56530:18;;;62886:19;26885:34;62926:14;;;26865:55;-1:-1;;;26940:12;;;26933:29;26981:12;;;56516:245::o;56768:416::-;56968:2;56982:47;;;27232:2;56953:18;;;62886:19;27268:26;62926:14;;;27248:47;27314:12;;;56939:245::o;57191:416::-;57391:2;57405:47;;;27565:2;57376:18;;;62886:19;27601:26;62926:14;;;27581:47;27647:12;;;57362:245::o;57614:416::-;57814:2;57828:47;;;27898:2;57799:18;;;62886:19;27934:26;62926:14;;;27914:47;27980:12;;;57785:245::o;58037:416::-;58237:2;58251:47;;;28231:2;58222:18;;;62886:19;28267:26;62926:14;;;28247:47;28313:12;;;58208:245::o;58460:416::-;58660:2;58674:47;;;28564:2;58645:18;;;62886:19;28600:26;62926:14;;;28580:47;28646:12;;;58631:245::o;58883:416::-;59083:2;59097:47;;;28897:2;59068:18;;;62886:19;28933:26;62926:14;;;28913:47;28979:12;;;59054:245::o;59306:416::-;59506:2;59520:47;;;29230:2;59491:18;;;62886:19;29266:26;62926:14;;;29246:47;29312:12;;;59477:245::o;59729:390::-;;59916:2;59937:17;59930:47;59991:118;59916:2;59905:9;59901:18;60095:6;59991:118;:::i;60539:406::-;;60734:2;60755:17;60748:47;33430:71;60734:2;60723:9;60719:18;33407:16;33401:23;33430:71;:::i;:::-;60734:2;33580:5;33576:16;33570:23;33655:14;60723:9;33655:14;14753:37;33655:14;33745:5;33741:16;33735:23;33764:71;33820:14;60723:9;33820:14;33806:12;33764:71;:::i;:::-;;33820:14;33918:5;33914:16;33908:23;33993:14;60723:9;33993:14;14753:37;33993:14;34086:5;34082:16;34076:23;34105:71;34161:14;60723:9;34161:14;34147:12;34105:71;:::i;:::-;;34161:14;34262:5;34258:16;34252:23;34337:14;60723:9;34337:14;14753:37;34337:14;34429:5;34425:16;34419:23;34448:71;34504:14;60723:9;34504:14;34490:12;34448:71;:::i;:::-;-1:-1;34504:14;34589:16;;34583:23;34668:14;;;;14753:37;;;;34750:18;;34744:25;34831:16;;;;14753:37;;;;34920:18;;34914:25;35001:16;;;;14753:37;;;;35087:18;;35081:25;35168:16;;;;14753:37;;;;35260:18;;35254:25;35341:16;35285:73;35341:16;;;35254:25;35285:73;:::i;:::-;35430:18;;35424:25;;-1:-1;35511:16;35455:73;35511:16;;;35424:25;35455:73;:::i;:::-;35511:16;35602:5;35598:18;35592:25;35572:45;;;33334:6;35637:16;33334:6;35637:16;60723:9;35637:16;35630:40;35685:81;33325:16;60723:9;33325:16;35747:12;35685:81;:::i;:::-;35840:18;;;35834:25;35921:16;;;;14753:37;;;;36006:18;;36000:25;36063:14;;;-1:-1;;36063:14;36045:16;;;36038:40;35677:89;;-1:-1;36093:79;35677:89;36000:25;36093:79;:::i;60952:418::-;;61153:2;61174:17;61167:47;36586:71;61153:2;61142:9;61138:18;36563:16;36557:23;36586:71;:::i;:::-;61153:2;36740:5;36736:16;36730:23;36815:14;61142:9;36815:14;14753:37;36815:14;36904:5;36900:16;36894:23;36979:14;61142:9;36979:14;14753:37;36979:14;37065:5;37061:16;37055:23;37140:14;61142:9;37140:14;14753:37;37140:14;37231:5;37227:16;37221:23;37306:14;61142:9;37306:14;14753:37;37306:14;37394:5;37390:16;37384:23;37469:14;61142:9;37469:14;14753:37;37469:14;37563:5;37559:16;37553:23;37582:71;37638:14;61142:9;37638:14;37624:12;37582:71;:::i;:::-;;37638:14;37736:5;37732:16;37726:23;37811:14;37755:71;37811:14;61142:9;37811:14;37797:12;37755:71;:::i;:::-;37907:18;;37901:25;;-1:-1;37988:16;37932:73;37988:16;;;37901:25;37932:73;:::i;:::-;38073:18;;38067:25;38154:16;;;;14753:37;;;;38239:18;;38233:25;36483:6;38278:16;;;38271:40;38233:25;-1:-1;38326:79;36474:16;;;38233:25;38326:79;:::i;61606:256::-;61668:2;61662:9;61694:17;;;61769:18;61754:34;;61790:22;;;61751:62;61748:2;;;61826:1;;61816:12;61748:2;61668;61835:22;61646:216;;-1:-1;61646:216::o;65032:117::-;-1:-1;;;;;64101:54;;65091:35;;65081:2;;65140:1;;65130:12;65081:2;65075:74;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"./IexecERC20Core.sol\";\nimport \"./SignatureVerifier.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecPoco1.sol\";\n\n\nstruct Matching\n{\n\tbytes apporderStruct;\n\tbytes32 apporderHash;\n\taddress appOwner;\n\tbytes datasetorderStruct;\n\tbytes32 datasetorderHash;\n\taddress datasetOwner;\n\tbytes workerpoolorderStruct;\n\tbytes32 workerpoolorderHash;\n\taddress workerpoolOwner;\n\tbytes requestorderStruct;\n\tbytes32 requestorderHash;\n\tbool hasDataset;\n}\n\ncontract IexecPoco1Delegate is IexecPoco1, DelegateBase, IexecERC20Core, SignatureVerifier\n{\n\tusing SafeMathExtended for uint256;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.AppOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.DatasetOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.WorkerpoolOrder;\n\tusing IexecLibOrders_v5 for IexecLibOrders_v5.RequestOrder;\n\n\t/***************************************************************************\n\t * ODB order signature *\n\t ***************************************************************************/\n\tfunction verifySignature(address _identity, bytes32 _hash, bytes calldata _signature)\n\texternal view override returns (bool)\n\t{\n\t\treturn _checkSignature(_identity, _hash, _signature);\n\t}\n\n\tfunction verifyPresignature(address _identity, bytes32 _hash)\n\texternal view override returns (bool)\n\t{\n\t\treturn _checkPresignature(_identity, _hash);\n\t}\n\n\tfunction verifyPresignatureOrSignature(address _identity, bytes32 _hash, bytes calldata _signature)\n\texternal view override returns (bool)\n\t{\n\t\treturn _checkPresignatureOrSignature(_identity, _hash, _signature);\n\t}\n\n\t/***************************************************************************\n\t * ODB order matching *\n\t ***************************************************************************/\n\t// should be external\n\tfunction matchOrders(\n\t\tIexecLibOrders_v5.AppOrder memory _apporder,\n\t\tIexecLibOrders_v5.DatasetOrder memory _datasetorder,\n\t\tIexecLibOrders_v5.WorkerpoolOrder memory _workerpoolorder,\n\t\tIexecLibOrders_v5.RequestOrder memory _requestorder)\n\tpublic override returns (bytes32)\n\t{\n\t\t/**\n\t\t * Check orders compatibility\n\t\t */\n\n\t\t// computation environment & allowed enough funds\n\t\tbytes32 tag = _apporder.tag | _datasetorder.tag | _requestorder.tag;\n\t\trequire(_requestorder.category == _workerpoolorder.category, 'iExecV5-matchOrders-0x00');\n\t\trequire(_requestorder.category < m_categories.length, 'iExecV5-matchOrders-0x01');\n\t\trequire(_requestorder.trust <= _workerpoolorder.trust, 'iExecV5-matchOrders-0x02');\n\t\trequire(_requestorder.appmaxprice >= _apporder.appprice, 'iExecV5-matchOrders-0x03');\n\t\trequire(_requestorder.datasetmaxprice >= _datasetorder.datasetprice, 'iExecV5-matchOrders-0x04');\n\t\trequire(_requestorder.workerpoolmaxprice >= _workerpoolorder.workerpoolprice, 'iExecV5-matchOrders-0x05');\n\t\trequire(tag & ~_workerpoolorder.tag == 0x0, 'iExecV5-matchOrders-0x06');\n\t\trequire((tag ^ _apporder.tag)[31] & 0x01 == 0x0, 'iExecV5-matchOrders-0x07');\n\n\t\t// Check matching and restrictions\n\t\trequire(_requestorder.app == _apporder.app, 'iExecV5-matchOrders-0x10');\n\t\trequire(_requestorder.dataset == _datasetorder.dataset, 'iExecV5-matchOrders-0x11');\n\t\trequire(_requestorder.workerpool == address(0) || _checkIdentity(_requestorder.workerpool, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x12'); // requestorder.workerpool is a restriction\n\t\trequire(_apporder.datasetrestrict == address(0) || _checkIdentity(_apporder.datasetrestrict, _datasetorder.dataset, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x13');\n\t\trequire(_apporder.workerpoolrestrict == address(0) || _checkIdentity(_apporder.workerpoolrestrict, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x14');\n\t\trequire(_apporder.requesterrestrict == address(0) || _checkIdentity(_apporder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x15');\n\t\trequire(_datasetorder.apprestrict == address(0) || _checkIdentity(_datasetorder.apprestrict, _apporder.app, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x16');\n\t\trequire(_datasetorder.workerpoolrestrict == address(0) || _checkIdentity(_datasetorder.workerpoolrestrict, _workerpoolorder.workerpool, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x17');\n\t\trequire(_datasetorder.requesterrestrict == address(0) || _checkIdentity(_datasetorder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x18');\n\t\trequire(_workerpoolorder.apprestrict == address(0) || _checkIdentity(_workerpoolorder.apprestrict, _apporder.app, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x19');\n\t\trequire(_workerpoolorder.datasetrestrict == address(0) || _checkIdentity(_workerpoolorder.datasetrestrict, _datasetorder.dataset, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x1a');\n\t\trequire(_workerpoolorder.requesterrestrict == address(0) || _checkIdentity(_workerpoolorder.requesterrestrict, _requestorder.requester, GROUPMEMBER_PURPOSE), 'iExecV5-matchOrders-0x1b');\n\n\t\t/**\n\t\t * Check orders authenticity\n\t\t */\n\t\tMatching memory ids;\n\t\tids.hasDataset = _datasetorder.dataset != address(0);\n\n\t\t// app\n\t\tids.apporderStruct = _toEthTypedStruct(_apporder.hash(), EIP712DOMAIN_SEPARATOR);\n\t\tids.apporderHash = keccak256(ids.apporderStruct);\n\t\tids.appOwner = App(_apporder.app).owner();\n\n\t\trequire(m_appregistry.isRegistered(_apporder.app), 'iExecV5-matchOrders-0x20');\n\t\trequire(_checkPresignatureOrSignature(ids.appOwner, ids.apporderStruct, _apporder.sign), 'iExecV5-matchOrders-0x21');\n\t\trequire(_isAuthorized(ids.appOwner), 'iExecV5-matchOrders-0x22');\n\n\t\t// dataset\n\t\tif (ids.hasDataset) // only check if dataset is enabled\n\t\t{\n\t\t\tids.datasetorderStruct = _toEthTypedStruct(_datasetorder.hash(), EIP712DOMAIN_SEPARATOR);\n\t\t\tids.datasetorderHash = keccak256(ids.datasetorderStruct);\n\t\t\tids.datasetOwner = Dataset(_datasetorder.dataset).owner();\n\n\t\t\trequire(m_datasetregistry.isRegistered(_datasetorder.dataset), 'iExecV5-matchOrders-0x30');\n\t\t\trequire(_checkPresignatureOrSignature(ids.datasetOwner, ids.datasetorderStruct, _datasetorder.sign), 'iExecV5-matchOrders-0x31');\n\t\t\trequire(_isAuthorized(ids.datasetOwner), 'iExecV5-matchOrders-0x32');\n\t\t}\n\n\t\t// workerpool\n\t\tids.workerpoolorderStruct = _toEthTypedStruct(_workerpoolorder.hash(), EIP712DOMAIN_SEPARATOR);\n\t\tids.workerpoolorderHash = keccak256(ids.workerpoolorderStruct);\n\t\tids.workerpoolOwner = Workerpool(_workerpoolorder.workerpool).owner();\n\n\t\trequire(m_workerpoolregistry.isRegistered(_workerpoolorder.workerpool), 'iExecV5-matchOrders-0x40');\n\t\trequire(_checkPresignatureOrSignature(ids.workerpoolOwner, ids.workerpoolorderStruct, _workerpoolorder.sign), 'iExecV5-matchOrders-0x41');\n\t\trequire(_isAuthorized(ids.workerpoolOwner), 'iExecV5-matchOrders-0x42');\n\n\t\t// request\n\t\tids.requestorderStruct = _toEthTypedStruct(_requestorder.hash(), EIP712DOMAIN_SEPARATOR);\n\t\tids.requestorderHash = keccak256(ids.requestorderStruct);\n\t\trequire(_checkPresignatureOrSignature(_requestorder.requester, ids.requestorderStruct, _requestorder.sign), 'iExecV5-matchOrders-0x50');\n\t\trequire(_isAuthorized(_requestorder.requester), 'iExecV5-matchOrders-0x51');\n\n\t\t/**\n\t\t * Check availability\n\t\t */\n\t\tuint256 volume;\n\t\tvolume = _apporder.volume.sub (m_consumed[ids.apporderHash ]);\n\t\tvolume = ids.hasDataset ? volume.min(_datasetorder.volume.sub (m_consumed[ids.datasetorderHash ])) : volume;\n\t\tvolume = volume.min(_workerpoolorder.volume.sub(m_consumed[ids.workerpoolorderHash]));\n\t\tvolume = volume.min(_requestorder.volume.sub (m_consumed[ids.requestorderHash ]));\n\t\trequire(volume > 0, 'iExecV5-matchOrders-0x60');\n\n\t\t/**\n\t\t * Record\n\t\t */\n\t\tbytes32 dealid = keccak256(abi.encodePacked(\n\t\t\tids.requestorderHash, // requestHash\n\t\t\tm_consumed[ids.requestorderHash] // idx of first subtask\n\t\t));\n\n\t\tIexecLibCore_v5.Deal storage deal = m_deals[dealid];\n\t\tdeal.app.pointer = _apporder.app;\n\t\tdeal.app.owner = ids.appOwner;\n\t\tdeal.app.price = _apporder.appprice;\n\t\tdeal.dataset.owner = ids.datasetOwner;\n\t\tdeal.dataset.pointer = _datasetorder.dataset;\n\t\tdeal.dataset.price = ids.hasDataset ? _datasetorder.datasetprice : 0;\n\t\tdeal.workerpool.pointer = _workerpoolorder.workerpool;\n\t\tdeal.workerpool.owner = ids.workerpoolOwner;\n\t\tdeal.workerpool.price = _workerpoolorder.workerpoolprice;\n\t\tdeal.trust = _requestorder.trust.max(1);\n\t\tdeal.category = _requestorder.category;\n\t\tdeal.tag = tag;\n\t\tdeal.requester = _requestorder.requester;\n\t\tdeal.beneficiary = _requestorder.beneficiary;\n\t\tdeal.callback = _requestorder.callback;\n\t\tdeal.params = _requestorder.params;\n\t\tdeal.startTime = now;\n\t\tdeal.botFirst = m_consumed[ids.requestorderHash];\n\t\tdeal.botSize = volume;\n\t\tdeal.workerStake = _workerpoolorder.workerpoolprice.percentage(Workerpool(_workerpoolorder.workerpool).m_workerStakeRatioPolicy());\n\t\tdeal.schedulerRewardRatio = Workerpool(_workerpoolorder.workerpool).m_schedulerRewardRatioPolicy();\n\n\t\t/**\n\t\t * Update consumed\n\t\t */\n\t\tm_consumed[ids.apporderHash ] = m_consumed[ids.apporderHash ].add( volume );\n\t\tm_consumed[ids.datasetorderHash ] = m_consumed[ids.datasetorderHash ].add(ids.hasDataset ? volume : 0);\n\t\tm_consumed[ids.workerpoolorderHash] = m_consumed[ids.workerpoolorderHash].add( volume );\n\t\tm_consumed[ids.requestorderHash ] = m_consumed[ids.requestorderHash ].add( volume );\n\n\t\t/**\n\t\t * Lock\n\t\t */\n\t\tlock(\n\t\t\tdeal.requester,\n\t\t\tdeal.app.price\n\t\t\t.add(deal.dataset.price)\n\t\t\t.add(deal.workerpool.price)\n\t\t\t.mul(volume)\n\t\t);\n\t\tlock(\n\t\t\tdeal.workerpool.owner,\n\t\t\tdeal.workerpool.price\n\t\t\t.percentage(WORKERPOOL_STAKE_RATIO) // ORDER IS IMPORTANT HERE!\n\t\t\t.mul(volume) // ORDER IS IMPORTANT HERE!\n\t\t);\n\n\t\t/**\n\t\t * Advertize deal\n\t\t */\n\t\temit SchedulerNotice(deal.workerpool.pointer, dealid);\n\n\t\t/**\n\t\t * Advertize consumption\n\t\t */\n\t\temit OrdersMatched(\n\t\t\tdealid\n\t\t,\tids.apporderHash\n\t\t,\tids.datasetorderHash\n\t\t,\tids.workerpoolorderHash\n\t\t,\tids.requestorderHash\n\t\t,\tvolume\n\t\t);\n\n\t\treturn dealid;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco1Delegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco1Delegate.sol", - "exportedSymbols": { - "IexecPoco1Delegate": [ - 6190 - ], - "Matching": [ - 5169 - ] - }, - "id": 6191, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 5139, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:27" - }, - { - "id": 5140, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:27" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 5141, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 2940, - "src": "1301:30:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 5142, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 8802, - "src": "1332:33:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 5143, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 1659, - "src": "1366:29:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "../interfaces/IexecPoco1.sol", - "id": 5144, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 9732, - "src": "1396:38:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "canonicalName": "Matching", - "id": 5169, - "members": [ - { - "constant": false, - "id": 5146, - "mutability": "mutable", - "name": "apporderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1456:22:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5145, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1456:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5148, - "mutability": "mutable", - "name": "apporderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1481:20:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5147, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1481:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5150, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1504:16:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1504:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5152, - "mutability": "mutable", - "name": "datasetorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1523:26:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5151, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1523:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "datasetorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1552:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1552:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5156, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1579:20:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1579:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "workerpoolorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1602:29:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5157, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1602:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5160, - "mutability": "mutable", - "name": "workerpoolorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1634:27:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5159, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1634:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1664:23:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5164, - "mutability": "mutable", - "name": "requestorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1690:26:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5163, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1690:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5166, - "mutability": "mutable", - "name": "requestorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1719:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5165, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1719:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5168, - "mutability": "mutable", - "name": "hasDataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1746:18:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5167, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1746:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Matching", - "nodeType": "StructDefinition", - "scope": 6191, - "src": "1437:330:27", - "visibility": "public" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5170, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "1800:10:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 5171, - "nodeType": "InheritanceSpecifier", - "src": "1800:10:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5172, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1812:12:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 5173, - "nodeType": "InheritanceSpecifier", - "src": "1812:12:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5174, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1826:14:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 5175, - "nodeType": "InheritanceSpecifier", - "src": "1826:14:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5176, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1842:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 5177, - "nodeType": "InheritanceSpecifier", - "src": "1842:17:27" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9731, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 6190, - "linearizedBaseContracts": [ - 6190, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9731 - ], - "name": "IexecPoco1Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 5180, - "libraryName": { - "contractScope": null, - "id": 5178, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1869:16:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1863:36:27", - "typeName": { - "id": 5179, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1891:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 5183, - "libraryName": { - "contractScope": null, - "id": 5181, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1907:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1901:55:27", - "typeName": { - "contractScope": null, - "id": 5182, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1929:26:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 5186, - "libraryName": { - "contractScope": null, - "id": 5184, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1964:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1958:59:27", - "typeName": { - "contractScope": null, - "id": 5185, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1986:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 5189, - "libraryName": { - "contractScope": null, - "id": 5187, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "2025:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "2019:62:27", - "typeName": { - "contractScope": null, - "id": 5188, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2047:33:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 5192, - "libraryName": { - "contractScope": null, - "id": 5190, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "2089:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "2083:59:27", - "typeName": { - "contractScope": null, - "id": 5191, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "2111:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "baseFunctions": [ - 9697 - ], - "body": { - "id": 5210, - "nodeType": "Block", - "src": "2506:60:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5205, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "2533:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5206, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5196, - "src": "2544:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5207, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5198, - "src": "2551:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 5204, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8669, - "src": "2517:15:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2517:45:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5203, - "id": 5209, - "nodeType": "Return", - "src": "2510:52:27" - } - ] - }, - "documentation": null, - "functionSelector": "01751998", - "id": 5211, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5200, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2481:8:27" - }, - "parameters": { - "id": 5199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5194, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2405:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2405:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5196, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2424:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5195, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2424:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5198, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2439:25:27", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5197, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2439:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2404:61:27" - }, - "returnParameters": { - "id": 5203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5202, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2499:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5201, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2499:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2498:6:27" - }, - "scope": 6190, - "src": "2380:186:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9706 - ], - "body": { - "id": 5226, - "nodeType": "Block", - "src": "2671:51:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5222, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5213, - "src": "2701:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5223, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5215, - "src": "2712:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5221, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "2682:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2682:36:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5220, - "id": 5225, - "nodeType": "Return", - "src": "2675:43:27" - } - ] - }, - "documentation": null, - "functionSelector": "c87b582a", - "id": 5227, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyPresignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5217, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2646:8:27" - }, - "parameters": { - "id": 5216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5213, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2597:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2597:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5215, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2616:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5214, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2616:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2596:34:27" - }, - "returnParameters": { - "id": 5220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5219, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2664:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2664:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2663:6:27" - }, - "scope": 6190, - "src": "2569:153:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9717 - ], - "body": { - "id": 5245, - "nodeType": "Block", - "src": "2865:74:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5240, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5229, - "src": "2906:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5241, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5231, - "src": "2917:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5242, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5233, - "src": "2924:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 5239, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8775, - "src": "2876:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2876:59:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5238, - "id": 5244, - "nodeType": "Return", - "src": "2869:66:27" - } - ] - }, - "documentation": null, - "functionSelector": "bf36994e", - "id": 5246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5235, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2840:8:27" - }, - "parameters": { - "id": 5234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5229, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2764:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2764:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5231, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2783:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5230, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2783:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5233, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2798:25:27", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5232, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2798:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2763:61:27" - }, - "returnParameters": { - "id": 5238, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5237, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2858:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5236, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2858:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2857:6:27" - }, - "scope": 6190, - "src": "2725:214:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9730 - ], - "body": { - "id": 6188, - "nodeType": "Block", - "src": "3489:9126:27", - "statements": [ - { - "assignments": [ - 5262 - ], - "declarations": [ - { - "constant": false, - "id": 5262, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "3590:11:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5261, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3590:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5271, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5263, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "3604:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "3604:13:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "|", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5265, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "3620:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1263, - "src": "3620:17:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3604:33:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "|", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5268, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3640:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5269, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1315, - "src": "3640:17:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3604:53:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3590:67:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5273, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3669:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5274, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "3669:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5275, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "3705:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5276, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1284, - "src": "3705:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3669:61:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783030", - "id": 5278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3739:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3507d68335c507d7966f377934c4d42e7aa51aab903a61b104ae7e1ebe6f2b08", - "typeString": "literal_string \"iExecV5-matchOrders-0x00\"" - }, - "value": "iExecV5-matchOrders-0x00" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3507d68335c507d7966f377934c4d42e7aa51aab903a61b104ae7e1ebe6f2b08", - "typeString": "literal_string \"iExecV5-matchOrders-0x00\"" - } - ], - "id": 5272, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3661:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3661:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5280, - "nodeType": "ExpressionStatement", - "src": "3661:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5282, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3778:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5283, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "3778:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5284, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3814:12:27", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 5285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3814:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3778:55:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783031", - "id": 5287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3848:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_349a9b42be2f807208c237eb1033ac4c73ee8d78db4a4686b5f52f0daf92e0ec", - "typeString": "literal_string \"iExecV5-matchOrders-0x01\"" - }, - "value": "iExecV5-matchOrders-0x01" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_349a9b42be2f807208c237eb1033ac4c73ee8d78db4a4686b5f52f0daf92e0ec", - "typeString": "literal_string \"iExecV5-matchOrders-0x01\"" - } - ], - "id": 5281, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3770:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3770:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5289, - "nodeType": "ExpressionStatement", - "src": "3770:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5291, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3887:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5292, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1319, - "src": "3887:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5293, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "3923:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1286, - "src": "3923:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3887:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783032", - "id": 5296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3957:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c2077ac7e3f2f12a0a178ea638737a15bdcdcbd742967ee2eaeff1c1031a9c9", - "typeString": "literal_string \"iExecV5-matchOrders-0x02\"" - }, - "value": "iExecV5-matchOrders-0x02" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6c2077ac7e3f2f12a0a178ea638737a15bdcdcbd742967ee2eaeff1c1031a9c9", - "typeString": "literal_string \"iExecV5-matchOrders-0x02\"" - } - ], - "id": 5290, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3879:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3879:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5298, - "nodeType": "ExpressionStatement", - "src": "3879:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5300, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3996:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1301, - "src": "3996:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5302, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4032:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5303, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "4032:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3996:54:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783033", - "id": 5305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4066:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6ab12182cde99a5986448052a3d9d0202ee4be9d59c003844f3c32c8eb23042", - "typeString": "literal_string \"iExecV5-matchOrders-0x03\"" - }, - "value": "iExecV5-matchOrders-0x03" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b6ab12182cde99a5986448052a3d9d0202ee4be9d59c003844f3c32c8eb23042", - "typeString": "literal_string \"iExecV5-matchOrders-0x03\"" - } - ], - "id": 5299, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3988:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3988:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5307, - "nodeType": "ExpressionStatement", - "src": "3988:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5309, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4105:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1305, - "src": "4105:29:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5311, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "4141:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "4141:26:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4105:62:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783034", - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4175:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51536a989a45f02e7aa2c2eb11135038b3ee2860412e0182dbb18cc5f3ac38d1", - "typeString": "literal_string \"iExecV5-matchOrders-0x04\"" - }, - "value": "iExecV5-matchOrders-0x04" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51536a989a45f02e7aa2c2eb11135038b3ee2860412e0182dbb18cc5f3ac38d1", - "typeString": "literal_string \"iExecV5-matchOrders-0x04\"" - } - ], - "id": 5308, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4097:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4097:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5316, - "nodeType": "ExpressionStatement", - "src": "4097:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5318, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4214:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1309, - "src": "4214:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5320, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "4250:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5321, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "4250:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4214:68:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783035", - "id": 5323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4284:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28a5e93603e56ac687da40804cb7efbce727bbb47bbda7cb1fb5909a6da26f6a", - "typeString": "literal_string \"iExecV5-matchOrders-0x05\"" - }, - "value": "iExecV5-matchOrders-0x05" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_28a5e93603e56ac687da40804cb7efbce727bbb47bbda7cb1fb5909a6da26f6a", - "typeString": "literal_string \"iExecV5-matchOrders-0x05\"" - } - ], - "id": 5317, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4206:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4206:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "4206:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5327, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "4323:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "id": 5330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "~", - "prefix": true, - "src": "4329:21:27", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5328, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "4330:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1282, - "src": "4330:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4323:27:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 5332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4359:3:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "4323:39:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783036", - "id": 5334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4393:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_603c3a691c27e109c2df65d26af5f8a5e8d0e2d790fcdfbfdaf504d07a8aa18a", - "typeString": "literal_string \"iExecV5-matchOrders-0x06\"" - }, - "value": "iExecV5-matchOrders-0x06" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_603c3a691c27e109c2df65d26af5f8a5e8d0e2d790fcdfbfdaf504d07a8aa18a", - "typeString": "literal_string \"iExecV5-matchOrders-0x06\"" - } - ], - "id": 5326, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4315:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4315:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5336, - "nodeType": "ExpressionStatement", - "src": "4315:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 5348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5338, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "4433:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5339, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4439:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5340, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "4439:13:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4433:19:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 5342, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4432:21:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5344, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 5343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4454:2:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4432:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 5345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4460:4:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "4432:32:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 5347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4468:3:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "4432:39:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783037", - "id": 5349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4502:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a08ef796bac294c72f558abcc70f50507b0cd004c1c44be09868bd731300b71", - "typeString": "literal_string \"iExecV5-matchOrders-0x07\"" - }, - "value": "iExecV5-matchOrders-0x07" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a08ef796bac294c72f558abcc70f50507b0cd004c1c44be09868bd731300b71", - "typeString": "literal_string \"iExecV5-matchOrders-0x07\"" - } - ], - "id": 5337, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4424:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4424:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5351, - "nodeType": "ExpressionStatement", - "src": "4424:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5353, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4579:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5354, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1299, - "src": "4579:17:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5355, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4604:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "4604:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4579:38:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783130", - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4733:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b429eab07e7befe09d82f236a7beac1472d7d28b91fc1926bc399a44e955f656", - "typeString": "literal_string \"iExecV5-matchOrders-0x10\"" - }, - "value": "iExecV5-matchOrders-0x10" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b429eab07e7befe09d82f236a7beac1472d7d28b91fc1926bc399a44e955f656", - "typeString": "literal_string \"iExecV5-matchOrders-0x10\"" - } - ], - "id": 5352, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4571:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4571:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5360, - "nodeType": "ExpressionStatement", - "src": "4571:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5362, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4772:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1303, - "src": "4772:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5364, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "4797:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5365, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "4797:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4772:46:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783131", - "id": 5367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4926:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_10af25a6975775551a34346555fa1b067b7d33d9602bab316c328989d6536d0b", - "typeString": "literal_string \"iExecV5-matchOrders-0x11\"" - }, - "value": "iExecV5-matchOrders-0x11" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_10af25a6975775551a34346555fa1b067b7d33d9602bab316c328989d6536d0b", - "typeString": "literal_string \"iExecV5-matchOrders-0x11\"" - } - ], - "id": 5361, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4764:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4764:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "4764:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5371, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4965:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5372, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1307, - "src": "4965:24:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5011:1:27", - "subdenomination": null, - "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": 5374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5003:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5373, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5003:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5003:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4965:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5379, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "5032:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1307, - "src": "5032:24:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5381, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "5068:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5382, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "5068:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5383, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5097:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5378, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5017:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5017:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4965:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783132", - "id": 5386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5119:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dd250873be6ce6bb63186d7a4a3f2a0a81bf410f53c7574e969fc1afbe7bc9e7", - "typeString": "literal_string \"iExecV5-matchOrders-0x12\"" - }, - "value": "iExecV5-matchOrders-0x12" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_dd250873be6ce6bb63186d7a4a3f2a0a81bf410f53c7574e969fc1afbe7bc9e7", - "typeString": "literal_string \"iExecV5-matchOrders-0x12\"" - } - ], - "id": 5370, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4957:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5388, - "nodeType": "ExpressionStatement", - "src": "4957:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5390, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5202:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "5202:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5248:1:27", - "subdenomination": null, - "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": 5393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5240:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5240:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5240:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5202:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5398, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5269:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5399, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "5269:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5400, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5305:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "5305:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5402, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5334:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5397, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5254:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5254:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5202:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783133", - "id": 5405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5356:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_271ce0a5615ce826ed8710f548a45e435717973216632a6fa50ef6883c72eab7", - "typeString": "literal_string \"iExecV5-matchOrders-0x13\"" - }, - "value": "iExecV5-matchOrders-0x13" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_271ce0a5615ce826ed8710f548a45e435717973216632a6fa50ef6883c72eab7", - "typeString": "literal_string \"iExecV5-matchOrders-0x13\"" - } - ], - "id": 5389, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5194:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5194:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5407, - "nodeType": "ExpressionStatement", - "src": "5194:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5409, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5395:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "5395:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5441:1:27", - "subdenomination": null, - "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": 5412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5433:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5411, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5433:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5433:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5395:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5417, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5462:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "5462:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5419, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "5498:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "5498:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5421, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5527:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5416, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5447:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5447:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5395:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783134", - "id": 5424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5549:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_83f4f59b03aa94fb6fb6445cd0444930aef3f89e7af52c612711d6852eb67ea4", - "typeString": "literal_string \"iExecV5-matchOrders-0x14\"" - }, - "value": "iExecV5-matchOrders-0x14" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_83f4f59b03aa94fb6fb6445cd0444930aef3f89e7af52c612711d6852eb67ea4", - "typeString": "literal_string \"iExecV5-matchOrders-0x14\"" - } - ], - "id": 5408, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5387:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5387:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5426, - "nodeType": "ExpressionStatement", - "src": "5387:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5428, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5588:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5429, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "5588:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5634:1:27", - "subdenomination": null, - "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": 5431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5626:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5626:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5626:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5588:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5436, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5655:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "5655:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5438, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "5691:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "5691:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5440, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5720:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5435, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5640:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5640:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5588:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783135", - "id": 5443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5742:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d04f91fbdc69ad7e24fb6730e584438d54f220f45d6a8c334b31d63a9b02de92", - "typeString": "literal_string \"iExecV5-matchOrders-0x15\"" - }, - "value": "iExecV5-matchOrders-0x15" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d04f91fbdc69ad7e24fb6730e584438d54f220f45d6a8c334b31d63a9b02de92", - "typeString": "literal_string \"iExecV5-matchOrders-0x15\"" - } - ], - "id": 5427, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5580:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5580:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5445, - "nodeType": "ExpressionStatement", - "src": "5580:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5447, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5781:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1265, - "src": "5781:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5827:1:27", - "subdenomination": null, - "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": 5450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5819:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5819:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5819:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5781:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5455, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5848:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1265, - "src": "5848:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5457, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5884:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5458, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "5884:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5459, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5913:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5454, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5833:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5833:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5781:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783136", - "id": 5462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5935:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87156354f38f211fdb36d0bfb76429daa1cf70e3ee9b048e30ef7ab138c96876", - "typeString": "literal_string \"iExecV5-matchOrders-0x16\"" - }, - "value": "iExecV5-matchOrders-0x16" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87156354f38f211fdb36d0bfb76429daa1cf70e3ee9b048e30ef7ab138c96876", - "typeString": "literal_string \"iExecV5-matchOrders-0x16\"" - } - ], - "id": 5446, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5773:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5773:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5464, - "nodeType": "ExpressionStatement", - "src": "5773:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5466, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5974:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1267, - "src": "5974:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6020:1:27", - "subdenomination": null, - "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": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6012:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5468, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6012:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6012:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5974:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5474, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6041:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1267, - "src": "6041:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5476, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6077:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "6077:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5478, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6106:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5473, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6026:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6026:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5974:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783137", - "id": 5481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6128:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb6463f185af90bfd3c4a7345623c3ed5253e0160081699804962ae883325128", - "typeString": "literal_string \"iExecV5-matchOrders-0x17\"" - }, - "value": "iExecV5-matchOrders-0x17" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fb6463f185af90bfd3c4a7345623c3ed5253e0160081699804962ae883325128", - "typeString": "literal_string \"iExecV5-matchOrders-0x17\"" - } - ], - "id": 5465, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5966:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5966:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5483, - "nodeType": "ExpressionStatement", - "src": "5966:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5485, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6167:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5486, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1269, - "src": "6167:31:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6213:1:27", - "subdenomination": null, - "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": 5488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6205:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6205:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6205:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6167:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5493, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6234:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5494, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1269, - "src": "6234:31:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5495, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "6270:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "6270:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5497, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6299:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5492, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6219:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6219:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6167:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783138", - "id": 5500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6321:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8bdb94718afb88bffbac36e694ef5a83b932f3ee9583b6c4b981d56a50f58922", - "typeString": "literal_string \"iExecV5-matchOrders-0x18\"" - }, - "value": "iExecV5-matchOrders-0x18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_8bdb94718afb88bffbac36e694ef5a83b932f3ee9583b6c4b981d56a50f58922", - "typeString": "literal_string \"iExecV5-matchOrders-0x18\"" - } - ], - "id": 5484, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6159:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6159:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5502, - "nodeType": "ExpressionStatement", - "src": "6159:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5504, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6360:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5505, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1288, - "src": "6360:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6406:1:27", - "subdenomination": null, - "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": 5507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6398:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6398:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6398:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6360:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5512, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6427:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5513, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1288, - "src": "6427:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5514, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "6463:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5515, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "6463:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5516, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6492:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5511, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6412:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6412:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6360:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783139", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6514:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0247d4bd87a60f3c2e3bd36c23e0d0a411b62a362435dd23d8900e180890f9d8", - "typeString": "literal_string \"iExecV5-matchOrders-0x19\"" - }, - "value": "iExecV5-matchOrders-0x19" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0247d4bd87a60f3c2e3bd36c23e0d0a411b62a362435dd23d8900e180890f9d8", - "typeString": "literal_string \"iExecV5-matchOrders-0x19\"" - } - ], - "id": 5503, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6352:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6352:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5521, - "nodeType": "ExpressionStatement", - "src": "6352:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5523, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6553:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1290, - "src": "6553:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6599:1:27", - "subdenomination": null, - "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": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6591:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6591:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6591:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6553:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5531, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6620:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5532, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1290, - "src": "6620:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5533, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6656:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5534, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "6656:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5535, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6685:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5530, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6605:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6605:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6553:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783161", - "id": 5538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6707:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_374ba584c5da1862d940866e7f0ff9d01edcac924bd5fc334c65bf818dc6929c", - "typeString": "literal_string \"iExecV5-matchOrders-0x1a\"" - }, - "value": "iExecV5-matchOrders-0x1a" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_374ba584c5da1862d940866e7f0ff9d01edcac924bd5fc334c65bf818dc6929c", - "typeString": "literal_string \"iExecV5-matchOrders-0x1a\"" - } - ], - "id": 5522, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6545:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6545:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5540, - "nodeType": "ExpressionStatement", - "src": "6545:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5542, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6746:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5543, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "6746:34:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6792:1:27", - "subdenomination": null, - "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": 5545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6784:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6784:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6784:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6746:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5550, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6813:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "6813:34:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5552, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "6849:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5553, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "6849:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5554, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6878:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5549, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6798:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6798:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6746:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783162", - "id": 5557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6900:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed45d85309e562d1e5c9e3d11630d7a36155bc002696b5ce28477ccf468fa60", - "typeString": "literal_string \"iExecV5-matchOrders-0x1b\"" - }, - "value": "iExecV5-matchOrders-0x1b" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4ed45d85309e562d1e5c9e3d11630d7a36155bc002696b5ce28477ccf468fa60", - "typeString": "literal_string \"iExecV5-matchOrders-0x1b\"" - } - ], - "id": 5541, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6738:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6738:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5559, - "nodeType": "ExpressionStatement", - "src": "6738:189:27" - }, - { - "assignments": [ - 5562 - ], - "declarations": [ - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "ids", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "6975:19:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching" - }, - "typeName": { - "contractScope": null, - "id": 5561, - "name": "Matching", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5169, - "src": "6975:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_storage_ptr", - "typeString": "struct Matching" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5563, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "6975:19:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5564, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "6998:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5566, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "6998:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5567, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7015:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5568, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7015:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7048:1:27", - "subdenomination": null, - "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": 5570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7040:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7040:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7040:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7015:35:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6998:52:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5575, - "nodeType": "ExpressionStatement", - "src": "6998:52:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5576, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7064:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5578, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7064:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5580, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7103:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "7103:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 5582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7103:16:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5583, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7121:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5579, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7085:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7085:59:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "7064:80:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5586, - "nodeType": "ExpressionStatement", - "src": "7064:80:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5587, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7148:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5589, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "7148:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5591, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7179:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5592, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7179:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5590, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7169:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7169:29:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "7148:50:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5595, - "nodeType": "ExpressionStatement", - "src": "7148:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5596, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7202:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5598, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7202:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5600, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7227:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "7227:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5599, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10343, - "src": "7223:3:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10343_$", - "typeString": "type(contract App)" - } - }, - "id": 5602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7223:18:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10343", - "typeString": "contract App" - } - }, - "id": 5603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "7223:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7223:26:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7202:47:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5606, - "nodeType": "ExpressionStatement", - "src": "7202:47:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5610, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7289:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "7289:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5608, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "7262:13:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "7262:26:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7262:41:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783230", - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7343:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87a31e8874b04ba9e36927606e9050cbad73ab14601f027368bac64c184e8878", - "typeString": "literal_string \"iExecV5-matchOrders-0x20\"" - }, - "value": "iExecV5-matchOrders-0x20" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87a31e8874b04ba9e36927606e9050cbad73ab14601f027368bac64c184e8878", - "typeString": "literal_string \"iExecV5-matchOrders-0x20\"" - } - ], - "id": 5607, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7254:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7254:116:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5615, - "nodeType": "ExpressionStatement", - "src": "7254:116:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5618, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7412:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7412:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5620, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7426:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5621, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7426:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5622, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7446:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1254, - "src": "7446:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5617, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "7382:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7382:79:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783231", - "id": 5625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7463:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d979440d505335c33529ec0e29aa61d8b77dcf0196d8edaffba15fbfd90ac849", - "typeString": "literal_string \"iExecV5-matchOrders-0x21\"" - }, - "value": "iExecV5-matchOrders-0x21" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d979440d505335c33529ec0e29aa61d8b77dcf0196d8edaffba15fbfd90ac849", - "typeString": "literal_string \"iExecV5-matchOrders-0x21\"" - } - ], - "id": 5616, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7374:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7374:116:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5627, - "nodeType": "ExpressionStatement", - "src": "7374:116:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5630, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7516:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5631, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7516:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5629, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "7502:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7502:27:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783232", - "id": 5633, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7590:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e793fd1a9e47073f384d20f28ffaec917e5d41b1085716d10eaf55159257742b", - "typeString": "literal_string \"iExecV5-matchOrders-0x22\"" - }, - "value": "iExecV5-matchOrders-0x22" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e793fd1a9e47073f384d20f28ffaec917e5d41b1085716d10eaf55159257742b", - "typeString": "literal_string \"iExecV5-matchOrders-0x22\"" - } - ], - "id": 5628, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7494:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7494:123:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5635, - "nodeType": "ExpressionStatement", - "src": "7494:123:27" - }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5636, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7639:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "7639:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5699, - "nodeType": "IfStatement", - "src": "7635:694:27", - "trueBody": { - "id": 5698, - "nodeType": "Block", - "src": "7693:636:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5638, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7698:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "7698:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5642, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7741:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5643, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "7741:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 5644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7741:20:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5645, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7763:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5641, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7723:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7723:63:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "7698:88:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5648, - "nodeType": "ExpressionStatement", - "src": "7698:88:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5649, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7791:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5651, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "7791:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5653, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7826:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5654, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "7826:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5652, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7816:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7816:33:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "7791:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5657, - "nodeType": "ExpressionStatement", - "src": "7791:58:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5658, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7854:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "7854:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5662, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7887:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7887:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5661, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10495, - "src": "7879:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10495_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7879:30:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10495", - "typeString": "contract Dataset" - } - }, - "id": 5665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "7879:36:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7879:38:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7854:63:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5668, - "nodeType": "ExpressionStatement", - "src": "7854:63:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5672, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7962:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5673, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7962:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5670, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "7931:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "7931:30:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7931:53:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783330", - "id": 5675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8024:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_248335991405d77420780aa4d9180936097ee4d9153fd1ff54056e5d09e9fab2", - "typeString": "literal_string \"iExecV5-matchOrders-0x30\"" - }, - "value": "iExecV5-matchOrders-0x30" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_248335991405d77420780aa4d9180936097ee4d9153fd1ff54056e5d09e9fab2", - "typeString": "literal_string \"iExecV5-matchOrders-0x30\"" - } - ], - "id": 5669, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7923:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7923:128:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5677, - "nodeType": "ExpressionStatement", - "src": "7923:128:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5680, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8094:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "8094:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5682, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8112:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5683, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "8112:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5684, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "8136:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1273, - "src": "8136:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5679, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "8064:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8064:91:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783331", - "id": 5687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8157:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0361b427f057d58d1476450e9c11db1ebc3751e144fbf84c1f8309403f778d09", - "typeString": "literal_string \"iExecV5-matchOrders-0x31\"" - }, - "value": "iExecV5-matchOrders-0x31" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0361b427f057d58d1476450e9c11db1ebc3751e144fbf84c1f8309403f778d09", - "typeString": "literal_string \"iExecV5-matchOrders-0x31\"" - } - ], - "id": 5678, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8056:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8056:128:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5689, - "nodeType": "ExpressionStatement", - "src": "8056:128:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5692, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8211:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "8211:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5691, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8197:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8197:31:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783332", - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8297:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e6f1fc918d802225872f34fe01d0aa5a3b4b7db7de9f9f394d0d3b304856584f", - "typeString": "literal_string \"iExecV5-matchOrders-0x32\"" - }, - "value": "iExecV5-matchOrders-0x32" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e6f1fc918d802225872f34fe01d0aa5a3b4b7db7de9f9f394d0d3b304856584f", - "typeString": "literal_string \"iExecV5-matchOrders-0x32\"" - } - ], - "id": 5690, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8189:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8189:135:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "8189:135:27" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 5709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5700, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8349:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5702, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8349:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5704, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8395:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5705, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "8395:21:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8395:23:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5707, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "8420:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5703, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "8377:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8377:66:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "8349:94:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5710, - "nodeType": "ExpressionStatement", - "src": "8349:94:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5711, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8447:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5713, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "8447:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5715, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8485:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5716, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8485:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5714, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8475:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8475:36:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8447:64:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5719, - "nodeType": "ExpressionStatement", - "src": "8447:64:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5720, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8515:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5722, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8515:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5724, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8554:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5725, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "8554:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5723, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "8543:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8543:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 5727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "8543:45:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8543:47:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8515:75:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5730, - "nodeType": "ExpressionStatement", - "src": "8515:75:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5734, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8637:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5735, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "8637:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5732, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "8603:20:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "8603:33:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8603:62:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783430", - "id": 5737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8705:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68b9f774e6537c559babbc1afba0c516d0101735ad4481d99158d211f9bb5102", - "typeString": "literal_string \"iExecV5-matchOrders-0x40\"" - }, - "value": "iExecV5-matchOrders-0x40" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_68b9f774e6537c559babbc1afba0c516d0101735ad4481d99158d211f9bb5102", - "typeString": "literal_string \"iExecV5-matchOrders-0x40\"" - } - ], - "id": 5731, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8595:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8595:137:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5739, - "nodeType": "ExpressionStatement", - "src": "8595:137:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5742, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8774:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8774:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5744, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8795:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5745, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8795:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5746, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8822:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5747, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1296, - "src": "8822:21:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5741, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "8744:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8744:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783431", - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8846:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11665fe3bc6c7efad8eaeee9eb8535182240fda33c3f129bbfe2daee0cd1ab77", - "typeString": "literal_string \"iExecV5-matchOrders-0x41\"" - }, - "value": "iExecV5-matchOrders-0x41" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_11665fe3bc6c7efad8eaeee9eb8535182240fda33c3f129bbfe2daee0cd1ab77", - "typeString": "literal_string \"iExecV5-matchOrders-0x41\"" - } - ], - "id": 5740, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8736:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8736:137:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5751, - "nodeType": "ExpressionStatement", - "src": "8736:137:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5754, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8899:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5755, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8899:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5753, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8885:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8885:34:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783432", - "id": 5757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8993:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09ac6239ffbe7d69fb9bc5825fd81c44e15d67ab0118cb19b1d249d0616837ad", - "typeString": "literal_string \"iExecV5-matchOrders-0x42\"" - }, - "value": "iExecV5-matchOrders-0x42" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_09ac6239ffbe7d69fb9bc5825fd81c44e15d67ab0118cb19b1d249d0616837ad", - "typeString": "literal_string \"iExecV5-matchOrders-0x42\"" - } - ], - "id": 5752, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8877:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8877:143:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5759, - "nodeType": "ExpressionStatement", - "src": "8877:143:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5760, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9038:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5762, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9038:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5764, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9081:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5765, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "9081:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 5766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9081:20:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5767, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "9103:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5763, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "9063:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9063:63:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "9038:88:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "9038:88:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5771, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9130:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5773, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "9130:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5775, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9165:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5776, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9165:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5774, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9155:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9155:33:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9130:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5779, - "nodeType": "ExpressionStatement", - "src": "9130:58:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5782, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9230:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "9230:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5784, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9255:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9255:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5786, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9279:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5787, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1329, - "src": "9279:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5781, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "9200:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9200:98:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783530", - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9300:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68a361fd1b835dd41be1f02038934644cc2fe461b00a8ad3a7224d2e1cdcc213", - "typeString": "literal_string \"iExecV5-matchOrders-0x50\"" - }, - "value": "iExecV5-matchOrders-0x50" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_68a361fd1b835dd41be1f02038934644cc2fe461b00a8ad3a7224d2e1cdcc213", - "typeString": "literal_string \"iExecV5-matchOrders-0x50\"" - } - ], - "id": 5780, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9192:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9192:135:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5791, - "nodeType": "ExpressionStatement", - "src": "9192:135:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5794, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9353:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5795, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "9353:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5793, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "9339:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9339:38:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783531", - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9446:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b41390566feee9cdebe52a1984630e9cf6a3a611a18e3744e46110ef5946661c", - "typeString": "literal_string \"iExecV5-matchOrders-0x51\"" - }, - "value": "iExecV5-matchOrders-0x51" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b41390566feee9cdebe52a1984630e9cf6a3a611a18e3744e46110ef5946661c", - "typeString": "literal_string \"iExecV5-matchOrders-0x51\"" - } - ], - "id": 5792, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9331:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9331:142:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5799, - "nodeType": "ExpressionStatement", - "src": "9331:142:27" - }, - { - "assignments": [ - 5802 - ], - "declarations": [ - { - "constant": false, - "id": 5802, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "9514:14:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5801, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9514:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5803, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "9514:14:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5804, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9532:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5808, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9597:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5811, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5809, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9608:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5810, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "9608:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9597:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5805, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "9569:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "9569:16:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9569:20:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9569:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9532:101:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5814, - "nodeType": "ExpressionStatement", - "src": "9532:101:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5815, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9637:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5816, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9646:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "9646:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 5829, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9742:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "9646:102:27", - "trueExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5823, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9702:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5826, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5824, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9713:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "9713:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9702:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5820, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "9674:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5821, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "9674:20:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9674:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9674:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5818, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9663:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9663:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9663:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9637:111:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5832, - "nodeType": "ExpressionStatement", - "src": "9637:111:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5833, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9752:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5839, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9817:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5842, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5840, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9828:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "9828:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9817:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5836, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "9789:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5837, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "9789:23:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9789:27:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9789:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5834, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9778:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9778:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9778:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9752:102:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5846, - "nodeType": "ExpressionStatement", - "src": "9752:102:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5847, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9858:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5853, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9923:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5856, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5854, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9934:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5855, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "9934:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9923:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5850, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9895:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "9895:20:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9895:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9895:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5848, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9884:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9884:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9884:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9858:102:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5860, - "nodeType": "ExpressionStatement", - "src": "9858:102:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5862, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9972:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9981:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9972:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783630", - "id": 5865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9984:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d0b10b14c742827d8e27989e6cf7c0ff2ca632c2ab7fdd3df3c24fa415d2ad0", - "typeString": "literal_string \"iExecV5-matchOrders-0x60\"" - }, - "value": "iExecV5-matchOrders-0x60" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7d0b10b14c742827d8e27989e6cf7c0ff2ca632c2ab7fdd3df3c24fa415d2ad0", - "typeString": "literal_string \"iExecV5-matchOrders-0x60\"" - } - ], - "id": 5861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9964:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9964:47:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5867, - "nodeType": "ExpressionStatement", - "src": "9964:47:27" - }, - { - "assignments": [ - 5870 - ], - "declarations": [ - { - "constant": false, - "id": 5870, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "10040:14:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5869, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10040:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5882, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5874, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10088:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5875, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "10088:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5876, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "10139:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5879, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5877, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10150:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "10150:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10139:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5872, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10067:3:27", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10067:16:27", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10067:132:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5871, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10057:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10057:143:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10040:160:27" - }, - { - "assignments": [ - 5886 - ], - "declarations": [ - { - "constant": false, - "id": 5886, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "10205:33:27", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 5885, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "10205:20:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5890, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5887, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "10241:7:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 5889, - "indexExpression": { - "argumentTypes": null, - "id": 5888, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "10249:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10241:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10205:51:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5891, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10260:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10260:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5895, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10260:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5896, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "10288:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5897, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "10288:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10260:41:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "nodeType": "ExpressionStatement", - "src": "10260:41:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5900, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10305:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5903, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10305:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5904, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10305:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5905, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10333:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5906, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "10333:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10305:40:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5908, - "nodeType": "ExpressionStatement", - "src": "10305:40:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5909, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10349:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5912, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10349:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10349:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5914, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "10377:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5915, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "10377:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10349:46:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5917, - "nodeType": "ExpressionStatement", - "src": "10349:46:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5918, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10399:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10399:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5922, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10399:18:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5923, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10427:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5924, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "10427:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10399:44:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5926, - "nodeType": "ExpressionStatement", - "src": "10399:44:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5927, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10447:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10447:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10447:20:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5932, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "10475:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5933, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "10475:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10447:49:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5935, - "nodeType": "ExpressionStatement", - "src": "10447:49:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5936, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10500:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5939, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10500:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5940, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10500:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5941, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10528:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5942, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "10528:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10574:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "10528:47:27", - "trueExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5943, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "10545:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5944, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "10545:26:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10500:75:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5948, - "nodeType": "ExpressionStatement", - "src": "10500:75:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5949, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10579:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10579:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5953, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10579:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5954, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "10607:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5955, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "10607:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10579:55:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5957, - "nodeType": "ExpressionStatement", - "src": "10579:55:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5958, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10638:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5961, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10638:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5962, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10638:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5963, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10666:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5964, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "10666:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10638:47:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5966, - "nodeType": "ExpressionStatement", - "src": "10638:47:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5967, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10689:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10689:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5971, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10689:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5972, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "10717:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "10717:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10689:60:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5975, - "nodeType": "ExpressionStatement", - "src": "10689:60:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5976, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10753:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5978, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "10753:10:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 5982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10805:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5979, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10781:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5980, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1319, - "src": "10781:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "10781:23:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10781:26:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10753:54:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5985, - "nodeType": "ExpressionStatement", - "src": "10753:54:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5986, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10811:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5988, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "10811:13:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5989, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10839:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "10839:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10811:50:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5992, - "nodeType": "ExpressionStatement", - "src": "10811:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5993, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10865:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5995, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "10865:8:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5996, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "10893:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10865:31:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5998, - "nodeType": "ExpressionStatement", - "src": "10865:31:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5999, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10900:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6001, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "10900:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6002, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10928:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "10928:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10900:51:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6005, - "nodeType": "ExpressionStatement", - "src": "10900:51:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6006, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10955:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6008, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1117, - "src": "10955:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6009, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10983:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1321, - "src": "10983:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10955:53:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6012, - "nodeType": "ExpressionStatement", - "src": "10955:53:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6013, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11012:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6015, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "11012:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6016, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "11040:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1323, - "src": "11040:22:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11012:50:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6019, - "nodeType": "ExpressionStatement", - "src": "11012:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6020, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11066:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6022, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1121, - "src": "11066:11:27", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6023, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "11094:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1325, - "src": "11094:20:27", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11066:48:27", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 6026, - "nodeType": "ExpressionStatement", - "src": "11066:48:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6027, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11118:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "11118:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6030, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "11146:3:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11118:31:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "11118:31:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6033, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11153:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6035, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "11153:13:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6036, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11181:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6039, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6037, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11192:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11192:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11181:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11153:60:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6041, - "nodeType": "ExpressionStatement", - "src": "11153:60:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6042, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11217:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6044, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "11217:12:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6045, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11245:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11217:34:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6047, - "nodeType": "ExpressionStatement", - "src": "11217:34:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6048, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11255:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "11255:16:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6055, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11338:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6056, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "11338:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6054, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "11327:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11327:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 6058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "m_workerStakeRatioPolicy", - "nodeType": "MemberAccess", - "referencedDeclaration": 10598, - "src": "11327:64:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", - "typeString": "function () view external returns (uint256)" - } - }, - "id": 6059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11327:66:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6051, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11283:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6052, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "11283:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "11283:43:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11283:111:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11255:139:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6062, - "nodeType": "ExpressionStatement", - "src": "11255:139:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6063, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11398:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6065, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "11398:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6067, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11437:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6068, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "11437:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6066, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "11426:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 6069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11426:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 6070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "m_schedulerRewardRatioPolicy", - "nodeType": "MemberAccess", - "referencedDeclaration": 10600, - "src": "11426:68:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", - "typeString": "function () view external returns (uint256)" - } - }, - "id": 6071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11426:70:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11398:98:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6073, - "nodeType": "ExpressionStatement", - "src": "11398:98:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6074, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11534:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6077, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6075, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11545:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6076, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "11545:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11534:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6083, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11629:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6078, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11572:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6081, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6079, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11583:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6080, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "11583:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11572:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11572:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11572:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11534:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6086, - "nodeType": "ExpressionStatement", - "src": "11534:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6087, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11644:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6090, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6088, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11655:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6089, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "11655:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11644:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6096, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11722:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6097, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "11722:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11748:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "11722:27:27", - "trueExpression": { - "argumentTypes": null, - "id": 6098, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11739:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6091, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11682:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6094, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6092, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11693:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6093, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "11693:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11682:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11682:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11682:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11644:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6103, - "nodeType": "ExpressionStatement", - "src": "11644:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6104, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11754:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6107, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6105, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11765:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6106, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "11765:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11754:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6113, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11849:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6108, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11792:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6111, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6109, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11803:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6110, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "11803:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11792:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11792:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11792:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11754:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6116, - "nodeType": "ExpressionStatement", - "src": "11754:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6117, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11864:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6120, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6118, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11875:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6119, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11875:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11864:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6126, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11959:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6121, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11902:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6124, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6122, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11913:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6123, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11913:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11902:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11902:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11902:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11864:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6129, - "nodeType": "ExpressionStatement", - "src": "11864:106:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6131, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12006:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "12006:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6147, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12107:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6142, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12076:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6143, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12076:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6144, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12076:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6137, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12048:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6138, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "12048:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6139, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12048:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6133, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12025:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "12025:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6135, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12025:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "12025:22:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:42:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "12025:50:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:73:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "12025:81:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:89:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6130, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "11997:4:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11997:121:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6150, - "nodeType": "ExpressionStatement", - "src": "11997:121:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6152, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12131:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12131:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "12131:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6162, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12254:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6159, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "12194:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6155, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12157:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6156, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12157:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6157, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12157:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "12157:36:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12157:60:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "12157:96:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12157:104:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6151, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "12122:4:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12122:194:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6165, - "nodeType": "ExpressionStatement", - "src": "12122:194:27" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6167, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12374:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12374:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6169, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "12374:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6170, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12399:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6166, - "name": "SchedulerNotice", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9686, - "src": "12358:15:27", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 6171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12358:48:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6172, - "nodeType": "EmitStatement", - "src": "12353:53:27" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6174, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12473:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6175, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12484:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6176, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "12484:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6177, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12505:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6178, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "12505:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6179, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12530:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "12530:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6181, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12558:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "12558:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6183, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12583:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6173, - "name": "OrdersMatched", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9680, - "src": "12455:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,bytes32,bytes32,bytes32,bytes32,uint256)" - } - }, - "id": 6184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12455:138:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6185, - "nodeType": "EmitStatement", - "src": "12450:143:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6186, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12605:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 5259, - "id": 6187, - "nodeType": "Return", - "src": "12598:13:27" - } - ] - }, - "documentation": null, - "functionSelector": "156194d4", - "id": 6189, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5256, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3461:8:27" - }, - "parameters": { - "id": 5255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5248, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3224:50:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 5247, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "3224:26:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5250, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3278:54:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 5249, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "3278:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5252, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3336:57:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 5251, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "3336:33:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5254, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3397:54:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 5253, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "3397:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3220:232:27" - }, - "returnParameters": { - "id": 5259, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5258, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3479:7:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5257, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3479:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3478:9:27" - }, - "scope": 6190, - "src": "3200:9415:27", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 6191, - "src": "1769:10848:27" - } - ], - "src": "1242:11376:27" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco1Delegate.sol", - "exportedSymbols": { - "IexecPoco1Delegate": [ - 6190 - ], - "Matching": [ - 5169 - ] - }, - "id": 6191, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 5139, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:27" - }, - { - "id": 5140, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:27" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 5141, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 2940, - "src": "1301:30:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 5142, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 8802, - "src": "1332:33:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 5143, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 1659, - "src": "1366:29:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco1.sol", - "file": "../interfaces/IexecPoco1.sol", - "id": 5144, - "nodeType": "ImportDirective", - "scope": 6191, - "sourceUnit": 9732, - "src": "1396:38:27", - "symbolAliases": [], - "unitAlias": "" - }, - { - "canonicalName": "Matching", - "id": 5169, - "members": [ - { - "constant": false, - "id": 5146, - "mutability": "mutable", - "name": "apporderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1456:22:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5145, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1456:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5148, - "mutability": "mutable", - "name": "apporderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1481:20:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5147, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1481:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5150, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1504:16:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1504:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5152, - "mutability": "mutable", - "name": "datasetorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1523:26:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5151, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1523:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "datasetorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1552:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5153, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1552:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5156, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1579:20:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1579:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "workerpoolorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1602:29:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5157, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1602:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5160, - "mutability": "mutable", - "name": "workerpoolorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1634:27:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5159, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1634:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1664:23:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5164, - "mutability": "mutable", - "name": "requestorderStruct", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1690:26:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5163, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1690:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5166, - "mutability": "mutable", - "name": "requestorderHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1719:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5165, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1719:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5168, - "mutability": "mutable", - "name": "hasDataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5169, - "src": "1746:18:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5167, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1746:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Matching", - "nodeType": "StructDefinition", - "scope": 6191, - "src": "1437:330:27", - "visibility": "public" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5170, - "name": "IexecPoco1", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9731, - "src": "1800:10:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco1_$9731", - "typeString": "contract IexecPoco1" - } - }, - "id": 5171, - "nodeType": "InheritanceSpecifier", - "src": "1800:10:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5172, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1812:12:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 5173, - "nodeType": "InheritanceSpecifier", - "src": "1812:12:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5174, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1826:14:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 5175, - "nodeType": "InheritanceSpecifier", - "src": "1826:14:27" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 5176, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1842:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 5177, - "nodeType": "InheritanceSpecifier", - "src": "1842:17:27" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9731, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 6190, - "linearizedBaseContracts": [ - 6190, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9731 - ], - "name": "IexecPoco1Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 5180, - "libraryName": { - "contractScope": null, - "id": 5178, - "name": "SafeMathExtended", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13545, - "src": "1869:16:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMathExtended_$13545", - "typeString": "library SafeMathExtended" - } - }, - "nodeType": "UsingForDirective", - "src": "1863:36:27", - "typeName": { - "id": 5179, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1891:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 5183, - "libraryName": { - "contractScope": null, - "id": 5181, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1907:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1901:55:27", - "typeName": { - "contractScope": null, - "id": 5182, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1929:26:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - } - }, - { - "id": 5186, - "libraryName": { - "contractScope": null, - "id": 5184, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "1964:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "1958:59:27", - "typeName": { - "contractScope": null, - "id": 5185, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1986:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - } - }, - { - "id": 5189, - "libraryName": { - "contractScope": null, - "id": 5187, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "2025:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "2019:62:27", - "typeName": { - "contractScope": null, - "id": 5188, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "2047:33:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - } - }, - { - "id": 5192, - "libraryName": { - "contractScope": null, - "id": 5190, - "name": "IexecLibOrders_v5", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1629, - "src": "2089:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecLibOrders_v5_$1629", - "typeString": "library IexecLibOrders_v5" - } - }, - "nodeType": "UsingForDirective", - "src": "2083:59:27", - "typeName": { - "contractScope": null, - "id": 5191, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "2111:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - } - }, - { - "baseFunctions": [ - 9697 - ], - "body": { - "id": 5210, - "nodeType": "Block", - "src": "2506:60:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5205, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5194, - "src": "2533:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5206, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5196, - "src": "2544:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5207, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5198, - "src": "2551:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 5204, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8669, - "src": "2517:15:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2517:45:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5203, - "id": 5209, - "nodeType": "Return", - "src": "2510:52:27" - } - ] - }, - "documentation": null, - "functionSelector": "01751998", - "id": 5211, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifySignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5200, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2481:8:27" - }, - "parameters": { - "id": 5199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5194, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2405:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2405:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5196, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2424:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5195, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2424:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5198, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2439:25:27", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5197, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2439:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2404:61:27" - }, - "returnParameters": { - "id": 5203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5202, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5211, - "src": "2499:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5201, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2499:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2498:6:27" - }, - "scope": 6190, - "src": "2380:186:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9706 - ], - "body": { - "id": 5226, - "nodeType": "Block", - "src": "2671:51:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5222, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5213, - "src": "2701:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5223, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5215, - "src": "2712:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5221, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "2682:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2682:36:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5220, - "id": 5225, - "nodeType": "Return", - "src": "2675:43:27" - } - ] - }, - "documentation": null, - "functionSelector": "c87b582a", - "id": 5227, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyPresignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5217, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2646:8:27" - }, - "parameters": { - "id": 5216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5213, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2597:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2597:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5215, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2616:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5214, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2616:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2596:34:27" - }, - "returnParameters": { - "id": 5220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5219, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5227, - "src": "2664:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2664:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2663:6:27" - }, - "scope": 6190, - "src": "2569:153:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9717 - ], - "body": { - "id": 5245, - "nodeType": "Block", - "src": "2865:74:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5240, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5229, - "src": "2906:9:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5241, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5231, - "src": "2917:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5242, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5233, - "src": "2924:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 5239, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8775, - "src": "2876:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2876:59:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5238, - "id": 5244, - "nodeType": "Return", - "src": "2869:66:27" - } - ] - }, - "documentation": null, - "functionSelector": "bf36994e", - "id": 5246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5235, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2840:8:27" - }, - "parameters": { - "id": 5234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5229, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2764:17:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2764:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5231, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2783:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5230, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2783:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5233, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2798:25:27", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5232, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2798:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2763:61:27" - }, - "returnParameters": { - "id": 5238, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5237, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 5246, - "src": "2858:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5236, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2858:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2857:6:27" - }, - "scope": 6190, - "src": "2725:214:27", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9730 - ], - "body": { - "id": 6188, - "nodeType": "Block", - "src": "3489:9126:27", - "statements": [ - { - "assignments": [ - 5262 - ], - "declarations": [ - { - "constant": false, - "id": 5262, - "mutability": "mutable", - "name": "tag", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "3590:11:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5261, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3590:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5271, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5263, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "3604:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "3604:13:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "|", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5265, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "3620:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1263, - "src": "3620:17:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3604:33:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "|", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5268, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3640:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5269, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1315, - "src": "3640:17:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3604:53:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3590:67:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5273, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3669:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5274, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "3669:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5275, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "3705:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5276, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1284, - "src": "3705:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3669:61:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783030", - "id": 5278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3739:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3507d68335c507d7966f377934c4d42e7aa51aab903a61b104ae7e1ebe6f2b08", - "typeString": "literal_string \"iExecV5-matchOrders-0x00\"" - }, - "value": "iExecV5-matchOrders-0x00" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3507d68335c507d7966f377934c4d42e7aa51aab903a61b104ae7e1ebe6f2b08", - "typeString": "literal_string \"iExecV5-matchOrders-0x00\"" - } - ], - "id": 5272, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3661:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3661:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5280, - "nodeType": "ExpressionStatement", - "src": "3661:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5282, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3778:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5283, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "3778:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5284, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3814:12:27", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 5285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3814:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3778:55:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783031", - "id": 5287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3848:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_349a9b42be2f807208c237eb1033ac4c73ee8d78db4a4686b5f52f0daf92e0ec", - "typeString": "literal_string \"iExecV5-matchOrders-0x01\"" - }, - "value": "iExecV5-matchOrders-0x01" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_349a9b42be2f807208c237eb1033ac4c73ee8d78db4a4686b5f52f0daf92e0ec", - "typeString": "literal_string \"iExecV5-matchOrders-0x01\"" - } - ], - "id": 5281, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3770:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3770:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5289, - "nodeType": "ExpressionStatement", - "src": "3770:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5291, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3887:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5292, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1319, - "src": "3887:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5293, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "3923:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1286, - "src": "3923:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3887:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783032", - "id": 5296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3957:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c2077ac7e3f2f12a0a178ea638737a15bdcdcbd742967ee2eaeff1c1031a9c9", - "typeString": "literal_string \"iExecV5-matchOrders-0x02\"" - }, - "value": "iExecV5-matchOrders-0x02" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6c2077ac7e3f2f12a0a178ea638737a15bdcdcbd742967ee2eaeff1c1031a9c9", - "typeString": "literal_string \"iExecV5-matchOrders-0x02\"" - } - ], - "id": 5290, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3879:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3879:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5298, - "nodeType": "ExpressionStatement", - "src": "3879:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5300, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "3996:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1301, - "src": "3996:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5302, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4032:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5303, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "4032:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3996:54:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783033", - "id": 5305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4066:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6ab12182cde99a5986448052a3d9d0202ee4be9d59c003844f3c32c8eb23042", - "typeString": "literal_string \"iExecV5-matchOrders-0x03\"" - }, - "value": "iExecV5-matchOrders-0x03" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b6ab12182cde99a5986448052a3d9d0202ee4be9d59c003844f3c32c8eb23042", - "typeString": "literal_string \"iExecV5-matchOrders-0x03\"" - } - ], - "id": 5299, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3988:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3988:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5307, - "nodeType": "ExpressionStatement", - "src": "3988:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5309, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4105:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1305, - "src": "4105:29:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5311, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "4141:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "4141:26:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4105:62:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783034", - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4175:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51536a989a45f02e7aa2c2eb11135038b3ee2860412e0182dbb18cc5f3ac38d1", - "typeString": "literal_string \"iExecV5-matchOrders-0x04\"" - }, - "value": "iExecV5-matchOrders-0x04" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51536a989a45f02e7aa2c2eb11135038b3ee2860412e0182dbb18cc5f3ac38d1", - "typeString": "literal_string \"iExecV5-matchOrders-0x04\"" - } - ], - "id": 5308, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4097:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4097:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5316, - "nodeType": "ExpressionStatement", - "src": "4097:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5318, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4214:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolmaxprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1309, - "src": "4214:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5320, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "4250:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5321, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "4250:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4214:68:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783035", - "id": 5323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4284:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28a5e93603e56ac687da40804cb7efbce727bbb47bbda7cb1fb5909a6da26f6a", - "typeString": "literal_string \"iExecV5-matchOrders-0x05\"" - }, - "value": "iExecV5-matchOrders-0x05" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_28a5e93603e56ac687da40804cb7efbce727bbb47bbda7cb1fb5909a6da26f6a", - "typeString": "literal_string \"iExecV5-matchOrders-0x05\"" - } - ], - "id": 5317, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4206:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4206:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "4206:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5327, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "4323:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "id": 5330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "~", - "prefix": true, - "src": "4329:21:27", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5328, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "4330:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1282, - "src": "4330:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4323:27:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 5332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4359:3:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "4323:39:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783036", - "id": 5334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4393:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_603c3a691c27e109c2df65d26af5f8a5e8d0e2d790fcdfbfdaf504d07a8aa18a", - "typeString": "literal_string \"iExecV5-matchOrders-0x06\"" - }, - "value": "iExecV5-matchOrders-0x06" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_603c3a691c27e109c2df65d26af5f8a5e8d0e2d790fcdfbfdaf504d07a8aa18a", - "typeString": "literal_string \"iExecV5-matchOrders-0x06\"" - } - ], - "id": 5326, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4315:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4315:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5336, - "nodeType": "ExpressionStatement", - "src": "4315:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 5348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5338, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "4433:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5339, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4439:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5340, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1244, - "src": "4439:13:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4433:19:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 5342, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4432:21:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5344, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 5343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4454:2:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4432:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 5345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4460:4:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "4432:32:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 5347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4468:3:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "4432:39:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783037", - "id": 5349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4502:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a08ef796bac294c72f558abcc70f50507b0cd004c1c44be09868bd731300b71", - "typeString": "literal_string \"iExecV5-matchOrders-0x07\"" - }, - "value": "iExecV5-matchOrders-0x07" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2a08ef796bac294c72f558abcc70f50507b0cd004c1c44be09868bd731300b71", - "typeString": "literal_string \"iExecV5-matchOrders-0x07\"" - } - ], - "id": 5337, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4424:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4424:105:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5351, - "nodeType": "ExpressionStatement", - "src": "4424:105:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5353, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4579:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5354, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1299, - "src": "4579:17:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5355, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "4604:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "4604:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4579:38:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783130", - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4733:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b429eab07e7befe09d82f236a7beac1472d7d28b91fc1926bc399a44e955f656", - "typeString": "literal_string \"iExecV5-matchOrders-0x10\"" - }, - "value": "iExecV5-matchOrders-0x10" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b429eab07e7befe09d82f236a7beac1472d7d28b91fc1926bc399a44e955f656", - "typeString": "literal_string \"iExecV5-matchOrders-0x10\"" - } - ], - "id": 5352, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4571:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4571:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5360, - "nodeType": "ExpressionStatement", - "src": "4571:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5362, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4772:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1303, - "src": "4772:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5364, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "4797:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5365, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "4797:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4772:46:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783131", - "id": 5367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4926:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_10af25a6975775551a34346555fa1b067b7d33d9602bab316c328989d6536d0b", - "typeString": "literal_string \"iExecV5-matchOrders-0x11\"" - }, - "value": "iExecV5-matchOrders-0x11" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_10af25a6975775551a34346555fa1b067b7d33d9602bab316c328989d6536d0b", - "typeString": "literal_string \"iExecV5-matchOrders-0x11\"" - } - ], - "id": 5361, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4764:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4764:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "4764:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5371, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "4965:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5372, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1307, - "src": "4965:24:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5011:1:27", - "subdenomination": null, - "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": 5374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5003:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5373, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5003:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5003:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4965:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5379, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "5032:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1307, - "src": "5032:24:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5381, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "5068:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5382, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "5068:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5383, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5097:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5378, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5017:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5017:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4965:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783132", - "id": 5386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5119:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dd250873be6ce6bb63186d7a4a3f2a0a81bf410f53c7574e969fc1afbe7bc9e7", - "typeString": "literal_string \"iExecV5-matchOrders-0x12\"" - }, - "value": "iExecV5-matchOrders-0x12" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_dd250873be6ce6bb63186d7a4a3f2a0a81bf410f53c7574e969fc1afbe7bc9e7", - "typeString": "literal_string \"iExecV5-matchOrders-0x12\"" - } - ], - "id": 5370, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4957:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4957:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5388, - "nodeType": "ExpressionStatement", - "src": "4957:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5390, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5202:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "5202:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5248:1:27", - "subdenomination": null, - "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": 5393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5240:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5240:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5240:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5202:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5398, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5269:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5399, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1246, - "src": "5269:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5400, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5305:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "5305:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5402, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5334:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5397, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5254:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5254:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5202:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783133", - "id": 5405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5356:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_271ce0a5615ce826ed8710f548a45e435717973216632a6fa50ef6883c72eab7", - "typeString": "literal_string \"iExecV5-matchOrders-0x13\"" - }, - "value": "iExecV5-matchOrders-0x13" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_271ce0a5615ce826ed8710f548a45e435717973216632a6fa50ef6883c72eab7", - "typeString": "literal_string \"iExecV5-matchOrders-0x13\"" - } - ], - "id": 5389, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5194:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5194:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5407, - "nodeType": "ExpressionStatement", - "src": "5194:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5409, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5395:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "5395:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5441:1:27", - "subdenomination": null, - "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": 5412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5433:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5411, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5433:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5433:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5395:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5417, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5462:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1248, - "src": "5462:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5419, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "5498:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "5498:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5421, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5527:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5416, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5447:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5447:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5395:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783134", - "id": 5424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5549:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_83f4f59b03aa94fb6fb6445cd0444930aef3f89e7af52c612711d6852eb67ea4", - "typeString": "literal_string \"iExecV5-matchOrders-0x14\"" - }, - "value": "iExecV5-matchOrders-0x14" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_83f4f59b03aa94fb6fb6445cd0444930aef3f89e7af52c612711d6852eb67ea4", - "typeString": "literal_string \"iExecV5-matchOrders-0x14\"" - } - ], - "id": 5408, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5387:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5387:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5426, - "nodeType": "ExpressionStatement", - "src": "5387:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5428, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5588:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5429, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "5588:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5634:1:27", - "subdenomination": null, - "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": 5431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5626:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5626:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5626:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5588:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5436, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5655:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1250, - "src": "5655:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5438, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "5691:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "5691:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5440, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5720:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5435, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5640:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5640:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5588:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783135", - "id": 5443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5742:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d04f91fbdc69ad7e24fb6730e584438d54f220f45d6a8c334b31d63a9b02de92", - "typeString": "literal_string \"iExecV5-matchOrders-0x15\"" - }, - "value": "iExecV5-matchOrders-0x15" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d04f91fbdc69ad7e24fb6730e584438d54f220f45d6a8c334b31d63a9b02de92", - "typeString": "literal_string \"iExecV5-matchOrders-0x15\"" - } - ], - "id": 5427, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5580:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5580:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5445, - "nodeType": "ExpressionStatement", - "src": "5580:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5447, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5781:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1265, - "src": "5781:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5827:1:27", - "subdenomination": null, - "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": 5450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5819:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5819:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5819:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5781:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5455, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5848:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5456, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1265, - "src": "5848:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5457, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "5884:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5458, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "5884:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5459, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "5913:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5454, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "5833:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5833:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5781:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783136", - "id": 5462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5935:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87156354f38f211fdb36d0bfb76429daa1cf70e3ee9b048e30ef7ab138c96876", - "typeString": "literal_string \"iExecV5-matchOrders-0x16\"" - }, - "value": "iExecV5-matchOrders-0x16" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87156354f38f211fdb36d0bfb76429daa1cf70e3ee9b048e30ef7ab138c96876", - "typeString": "literal_string \"iExecV5-matchOrders-0x16\"" - } - ], - "id": 5446, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5773:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5773:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5464, - "nodeType": "ExpressionStatement", - "src": "5773:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5466, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "5974:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1267, - "src": "5974:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6020:1:27", - "subdenomination": null, - "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": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6012:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5468, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6012:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6012:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5974:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5474, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6041:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1267, - "src": "6041:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5476, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6077:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "6077:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5478, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6106:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5473, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6026:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6026:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5974:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783137", - "id": 5481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6128:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb6463f185af90bfd3c4a7345623c3ed5253e0160081699804962ae883325128", - "typeString": "literal_string \"iExecV5-matchOrders-0x17\"" - }, - "value": "iExecV5-matchOrders-0x17" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fb6463f185af90bfd3c4a7345623c3ed5253e0160081699804962ae883325128", - "typeString": "literal_string \"iExecV5-matchOrders-0x17\"" - } - ], - "id": 5465, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5966:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5966:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5483, - "nodeType": "ExpressionStatement", - "src": "5966:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5485, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6167:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5486, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1269, - "src": "6167:31:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6213:1:27", - "subdenomination": null, - "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": 5488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6205:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6205:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6205:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6167:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5493, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6234:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5494, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1269, - "src": "6234:31:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5495, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "6270:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "6270:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5497, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6299:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5492, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6219:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6219:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6167:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783138", - "id": 5500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6321:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8bdb94718afb88bffbac36e694ef5a83b932f3ee9583b6c4b981d56a50f58922", - "typeString": "literal_string \"iExecV5-matchOrders-0x18\"" - }, - "value": "iExecV5-matchOrders-0x18" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_8bdb94718afb88bffbac36e694ef5a83b932f3ee9583b6c4b981d56a50f58922", - "typeString": "literal_string \"iExecV5-matchOrders-0x18\"" - } - ], - "id": 5484, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6159:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6159:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5502, - "nodeType": "ExpressionStatement", - "src": "6159:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5504, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6360:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5505, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1288, - "src": "6360:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6406:1:27", - "subdenomination": null, - "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": 5507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6398:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6398:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6398:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6360:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5512, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6427:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5513, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apprestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1288, - "src": "6427:28:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5514, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "6463:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5515, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "6463:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5516, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6492:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5511, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6412:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6412:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6360:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783139", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6514:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0247d4bd87a60f3c2e3bd36c23e0d0a411b62a362435dd23d8900e180890f9d8", - "typeString": "literal_string \"iExecV5-matchOrders-0x19\"" - }, - "value": "iExecV5-matchOrders-0x19" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0247d4bd87a60f3c2e3bd36c23e0d0a411b62a362435dd23d8900e180890f9d8", - "typeString": "literal_string \"iExecV5-matchOrders-0x19\"" - } - ], - "id": 5503, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6352:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6352:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5521, - "nodeType": "ExpressionStatement", - "src": "6352:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5523, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6553:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1290, - "src": "6553:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6599:1:27", - "subdenomination": null, - "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": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6591:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6591:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6591:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6553:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5531, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6620:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5532, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1290, - "src": "6620:32:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5533, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "6656:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5534, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "6656:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5535, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6685:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5530, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6605:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6605:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6553:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783161", - "id": 5538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6707:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_374ba584c5da1862d940866e7f0ff9d01edcac924bd5fc334c65bf818dc6929c", - "typeString": "literal_string \"iExecV5-matchOrders-0x1a\"" - }, - "value": "iExecV5-matchOrders-0x1a" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_374ba584c5da1862d940866e7f0ff9d01edcac924bd5fc334c65bf818dc6929c", - "typeString": "literal_string \"iExecV5-matchOrders-0x1a\"" - } - ], - "id": 5522, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6545:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6545:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5540, - "nodeType": "ExpressionStatement", - "src": "6545:189:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5542, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6746:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5543, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "6746:34:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6792:1:27", - "subdenomination": null, - "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": 5545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6784:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6784:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6784:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6746:48:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5550, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "6813:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requesterrestrict", - "nodeType": "MemberAccess", - "referencedDeclaration": 1292, - "src": "6813:34:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5552, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "6849:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5553, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "6849:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5554, - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "6878:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5549, - "name": "_checkIdentity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "6798:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) view returns (bool)" - } - }, - "id": 5555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6798:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6746:152:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783162", - "id": 5557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6900:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed45d85309e562d1e5c9e3d11630d7a36155bc002696b5ce28477ccf468fa60", - "typeString": "literal_string \"iExecV5-matchOrders-0x1b\"" - }, - "value": "iExecV5-matchOrders-0x1b" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_4ed45d85309e562d1e5c9e3d11630d7a36155bc002696b5ce28477ccf468fa60", - "typeString": "literal_string \"iExecV5-matchOrders-0x1b\"" - } - ], - "id": 5541, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6738:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6738:189:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5559, - "nodeType": "ExpressionStatement", - "src": "6738:189:27" - }, - { - "assignments": [ - 5562 - ], - "declarations": [ - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "ids", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "6975:19:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching" - }, - "typeName": { - "contractScope": null, - "id": 5561, - "name": "Matching", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5169, - "src": "6975:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_storage_ptr", - "typeString": "struct Matching" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5563, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "6975:19:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5564, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "6998:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5566, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "6998:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5567, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7015:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5568, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7015:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7048:1:27", - "subdenomination": null, - "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": 5570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7040:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7040:7:27", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 5572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7040:10:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7015:35:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6998:52:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5575, - "nodeType": "ExpressionStatement", - "src": "6998:52:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5576, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7064:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5578, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7064:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5580, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7103:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5581, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1422, - "src": "7103:14:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_AppOrder_$1255_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_AppOrder_$1255_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory) pure returns (bytes32)" - } - }, - "id": 5582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7103:16:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5583, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7121:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5579, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7085:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7085:59:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "7064:80:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5586, - "nodeType": "ExpressionStatement", - "src": "7064:80:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5587, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7148:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5589, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "7148:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5591, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7179:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5592, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7179:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5590, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7169:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7169:29:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "7148:50:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5595, - "nodeType": "ExpressionStatement", - "src": "7148:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5596, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7202:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5598, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7202:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5600, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7227:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "7227:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5599, - "name": "App", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10343, - "src": "7223:3:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_App_$10343_$", - "typeString": "type(contract App)" - } - }, - "id": 5602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7223:18:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_App_$10343", - "typeString": "contract App" - } - }, - "id": 5603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "7223:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7223:26:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7202:47:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5606, - "nodeType": "ExpressionStatement", - "src": "7202:47:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5610, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7289:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "7289:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5608, - "name": "m_appregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "7262:13:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "7262:26:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7262:41:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783230", - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7343:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_87a31e8874b04ba9e36927606e9050cbad73ab14601f027368bac64c184e8878", - "typeString": "literal_string \"iExecV5-matchOrders-0x20\"" - }, - "value": "iExecV5-matchOrders-0x20" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_87a31e8874b04ba9e36927606e9050cbad73ab14601f027368bac64c184e8878", - "typeString": "literal_string \"iExecV5-matchOrders-0x20\"" - } - ], - "id": 5607, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7254:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7254:116:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5615, - "nodeType": "ExpressionStatement", - "src": "7254:116:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5618, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7412:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7412:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5620, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7426:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5621, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5146, - "src": "7426:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5622, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "7446:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1254, - "src": "7446:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5617, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "7382:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7382:79:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783231", - "id": 5625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7463:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d979440d505335c33529ec0e29aa61d8b77dcf0196d8edaffba15fbfd90ac849", - "typeString": "literal_string \"iExecV5-matchOrders-0x21\"" - }, - "value": "iExecV5-matchOrders-0x21" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d979440d505335c33529ec0e29aa61d8b77dcf0196d8edaffba15fbfd90ac849", - "typeString": "literal_string \"iExecV5-matchOrders-0x21\"" - } - ], - "id": 5616, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7374:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7374:116:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5627, - "nodeType": "ExpressionStatement", - "src": "7374:116:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5630, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7516:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5631, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "7516:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5629, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "7502:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7502:27:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783232", - "id": 5633, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7590:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e793fd1a9e47073f384d20f28ffaec917e5d41b1085716d10eaf55159257742b", - "typeString": "literal_string \"iExecV5-matchOrders-0x22\"" - }, - "value": "iExecV5-matchOrders-0x22" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e793fd1a9e47073f384d20f28ffaec917e5d41b1085716d10eaf55159257742b", - "typeString": "literal_string \"iExecV5-matchOrders-0x22\"" - } - ], - "id": 5628, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7494:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7494:123:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5635, - "nodeType": "ExpressionStatement", - "src": "7494:123:27" - }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5636, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7639:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "7639:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5699, - "nodeType": "IfStatement", - "src": "7635:694:27", - "trueBody": { - "id": 5698, - "nodeType": "Block", - "src": "7693:636:27", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5638, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7698:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "7698:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5642, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7741:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5643, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1453, - "src": "7741:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_DatasetOrder_$1274_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory) pure returns (bytes32)" - } - }, - "id": 5644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7741:20:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5645, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "7763:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5641, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "7723:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7723:63:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "7698:88:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5648, - "nodeType": "ExpressionStatement", - "src": "7698:88:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5649, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7791:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5651, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "7791:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5653, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7826:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5654, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "7826:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5652, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "7816:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5655, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7816:33:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "7791:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5657, - "nodeType": "ExpressionStatement", - "src": "7791:58:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5658, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "7854:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "7854:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5662, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7887:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7887:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5661, - "name": "Dataset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10495, - "src": "7879:7:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Dataset_$10495_$", - "typeString": "type(contract Dataset)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7879:30:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Dataset_$10495", - "typeString": "contract Dataset" - } - }, - "id": 5665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "7879:36:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7879:38:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7854:63:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5668, - "nodeType": "ExpressionStatement", - "src": "7854:63:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5672, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "7962:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5673, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "7962:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5670, - "name": "m_datasetregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 213, - "src": "7931:17:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "7931:30:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7931:53:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783330", - "id": 5675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8024:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_248335991405d77420780aa4d9180936097ee4d9153fd1ff54056e5d09e9fab2", - "typeString": "literal_string \"iExecV5-matchOrders-0x30\"" - }, - "value": "iExecV5-matchOrders-0x30" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_248335991405d77420780aa4d9180936097ee4d9153fd1ff54056e5d09e9fab2", - "typeString": "literal_string \"iExecV5-matchOrders-0x30\"" - } - ], - "id": 5669, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7923:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7923:128:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5677, - "nodeType": "ExpressionStatement", - "src": "7923:128:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5680, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8094:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "8094:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5682, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8112:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5683, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5152, - "src": "8112:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5684, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "8136:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1273, - "src": "8136:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5679, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "8064:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8064:91:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783331", - "id": 5687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8157:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0361b427f057d58d1476450e9c11db1ebc3751e144fbf84c1f8309403f778d09", - "typeString": "literal_string \"iExecV5-matchOrders-0x31\"" - }, - "value": "iExecV5-matchOrders-0x31" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0361b427f057d58d1476450e9c11db1ebc3751e144fbf84c1f8309403f778d09", - "typeString": "literal_string \"iExecV5-matchOrders-0x31\"" - } - ], - "id": 5678, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8056:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8056:128:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5689, - "nodeType": "ExpressionStatement", - "src": "8056:128:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5692, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8211:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "8211:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5691, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8197:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8197:31:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783332", - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8297:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e6f1fc918d802225872f34fe01d0aa5a3b4b7db7de9f9f394d0d3b304856584f", - "typeString": "literal_string \"iExecV5-matchOrders-0x32\"" - }, - "value": "iExecV5-matchOrders-0x32" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e6f1fc918d802225872f34fe01d0aa5a3b4b7db7de9f9f394d0d3b304856584f", - "typeString": "literal_string \"iExecV5-matchOrders-0x32\"" - } - ], - "id": 5690, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8189:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8189:135:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "8189:135:27" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 5709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5700, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8349:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5702, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8349:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5704, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8395:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5705, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1488, - "src": "8395:21:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory) pure returns (bytes32)" - } - }, - "id": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8395:23:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5707, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "8420:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5703, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "8377:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8377:66:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "8349:94:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5710, - "nodeType": "ExpressionStatement", - "src": "8349:94:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5711, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8447:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5713, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "8447:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5715, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8485:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5716, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8485:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5714, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8475:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8475:36:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8447:64:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5719, - "nodeType": "ExpressionStatement", - "src": "8447:64:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5720, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8515:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5722, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8515:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5724, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8554:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5725, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "8554:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5723, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "8543:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8543:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 5727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 10255, - "src": "8543:45:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", - "typeString": "function () view external returns (address)" - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8543:47:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "8515:75:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5730, - "nodeType": "ExpressionStatement", - "src": "8515:75:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5734, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8637:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5735, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "8637:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 5732, - "name": "m_workerpoolregistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 215, - "src": "8603:20:27", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9984, - "src": "8603:33:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 5736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8603:62:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783430", - "id": 5737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8705:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68b9f774e6537c559babbc1afba0c516d0101735ad4481d99158d211f9bb5102", - "typeString": "literal_string \"iExecV5-matchOrders-0x40\"" - }, - "value": "iExecV5-matchOrders-0x40" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_68b9f774e6537c559babbc1afba0c516d0101735ad4481d99158d211f9bb5102", - "typeString": "literal_string \"iExecV5-matchOrders-0x40\"" - } - ], - "id": 5731, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8595:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8595:137:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5739, - "nodeType": "ExpressionStatement", - "src": "8595:137:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5742, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8774:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8774:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5744, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8795:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5745, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5158, - "src": "8795:25:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5746, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "8822:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5747, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1296, - "src": "8822:21:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5741, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "8744:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8744:100:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783431", - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8846:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11665fe3bc6c7efad8eaeee9eb8535182240fda33c3f129bbfe2daee0cd1ab77", - "typeString": "literal_string \"iExecV5-matchOrders-0x41\"" - }, - "value": "iExecV5-matchOrders-0x41" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_11665fe3bc6c7efad8eaeee9eb8535182240fda33c3f129bbfe2daee0cd1ab77", - "typeString": "literal_string \"iExecV5-matchOrders-0x41\"" - } - ], - "id": 5740, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8736:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8736:137:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5751, - "nodeType": "ExpressionStatement", - "src": "8736:137:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5754, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "8899:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5755, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "8899:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5753, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8885:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8885:34:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783432", - "id": 5757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8993:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09ac6239ffbe7d69fb9bc5825fd81c44e15d67ab0118cb19b1d249d0616837ad", - "typeString": "literal_string \"iExecV5-matchOrders-0x42\"" - }, - "value": "iExecV5-matchOrders-0x42" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_09ac6239ffbe7d69fb9bc5825fd81c44e15d67ab0118cb19b1d249d0616837ad", - "typeString": "literal_string \"iExecV5-matchOrders-0x42\"" - } - ], - "id": 5752, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8877:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8877:143:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5759, - "nodeType": "ExpressionStatement", - "src": "8877:143:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5760, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9038:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5762, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9038:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 5764, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9081:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5765, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1544, - "src": "9081:18:27", - "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_pure$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$_t_bytes32_$bound_to$_t_struct$_RequestOrder_$1330_memory_ptr_$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory) pure returns (bytes32)" - } - }, - "id": 5766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9081:20:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 5767, - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "9103:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5763, - "name": "_toEthTypedStruct", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8458, - "src": "9063:17:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes memory)" - } - }, - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9063:63:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "9038:88:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "9038:88:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5771, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9130:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5773, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "9130:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5775, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9165:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5776, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9165:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5774, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9155:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9155:33:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9130:58:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5779, - "nodeType": "ExpressionStatement", - "src": "9130:58:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5782, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9230:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "9230:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5784, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9255:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderStruct", - "nodeType": "MemberAccess", - "referencedDeclaration": 5164, - "src": "9255:22:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5786, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9279:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5787, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "sign", - "nodeType": "MemberAccess", - "referencedDeclaration": 1329, - "src": "9279:18:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5781, - "name": "_checkPresignatureOrSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8775, - 8800 - ], - "referencedDeclaration": 8800, - "src": "9200:29:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9200:98:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783530", - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9300:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68a361fd1b835dd41be1f02038934644cc2fe461b00a8ad3a7224d2e1cdcc213", - "typeString": "literal_string \"iExecV5-matchOrders-0x50\"" - }, - "value": "iExecV5-matchOrders-0x50" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_68a361fd1b835dd41be1f02038934644cc2fe461b00a8ad3a7224d2e1cdcc213", - "typeString": "literal_string \"iExecV5-matchOrders-0x50\"" - } - ], - "id": 5780, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9192:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9192:135:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5791, - "nodeType": "ExpressionStatement", - "src": "9192:135:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5794, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9353:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5795, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "9353:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5793, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "9339:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 5796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9339:38:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783531", - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9446:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b41390566feee9cdebe52a1984630e9cf6a3a611a18e3744e46110ef5946661c", - "typeString": "literal_string \"iExecV5-matchOrders-0x51\"" - }, - "value": "iExecV5-matchOrders-0x51" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b41390566feee9cdebe52a1984630e9cf6a3a611a18e3744e46110ef5946661c", - "typeString": "literal_string \"iExecV5-matchOrders-0x51\"" - } - ], - "id": 5792, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9331:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9331:142:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5799, - "nodeType": "ExpressionStatement", - "src": "9331:142:27" - }, - { - "assignments": [ - 5802 - ], - "declarations": [ - { - "constant": false, - "id": 5802, - "mutability": "mutable", - "name": "volume", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "9514:14:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5801, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9514:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5803, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "9514:14:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5804, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9532:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5808, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9597:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5811, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5809, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9608:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5810, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "9608:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9597:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5805, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "9569:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1242, - "src": "9569:16:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9569:20:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9569:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9532:101:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5814, - "nodeType": "ExpressionStatement", - "src": "9532:101:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5815, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9637:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5816, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9646:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "9646:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 5829, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9742:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "9646:102:27", - "trueExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5823, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9702:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5826, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5824, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9713:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "9713:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9702:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5820, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "9674:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5821, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1261, - "src": "9674:20:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9674:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9674:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5818, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9663:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9663:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9663:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9637:111:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5832, - "nodeType": "ExpressionStatement", - "src": "9637:111:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5833, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9752:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5839, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9817:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5842, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5840, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9828:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5841, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "9828:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9817:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5836, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "9789:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5837, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1280, - "src": "9789:23:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9789:27:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9789:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5834, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9778:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9778:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9778:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9752:102:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5846, - "nodeType": "ExpressionStatement", - "src": "9752:102:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5847, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9858:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5853, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "9923:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5856, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5854, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "9934:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5855, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "9934:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9923:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5850, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "9895:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "volume", - "nodeType": "MemberAccess", - "referencedDeclaration": 1313, - "src": "9895:20:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "9895:24:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9895:64:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5848, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9884:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "9884:10:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9884:76:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9858:102:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5860, - "nodeType": "ExpressionStatement", - "src": "9858:102:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5862, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "9972:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9981:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9972:10:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656356352d6d617463684f72646572732d30783630", - "id": 5865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9984:26:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d0b10b14c742827d8e27989e6cf7c0ff2ca632c2ab7fdd3df3c24fa415d2ad0", - "typeString": "literal_string \"iExecV5-matchOrders-0x60\"" - }, - "value": "iExecV5-matchOrders-0x60" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7d0b10b14c742827d8e27989e6cf7c0ff2ca632c2ab7fdd3df3c24fa415d2ad0", - "typeString": "literal_string \"iExecV5-matchOrders-0x60\"" - } - ], - "id": 5861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9964:7:27", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9964:47:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5867, - "nodeType": "ExpressionStatement", - "src": "9964:47:27" - }, - { - "assignments": [ - 5870 - ], - "declarations": [ - { - "constant": false, - "id": 5870, - "mutability": "mutable", - "name": "dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "10040:14:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5869, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10040:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5882, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5874, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10088:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5875, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "10088:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5876, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "10139:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5879, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5877, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10150:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "10150:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10139:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5872, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10067:3:27", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10067:16:27", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10067:132:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5871, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10057:9:27", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10057:143:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10040:160:27" - }, - { - "assignments": [ - 5886 - ], - "declarations": [ - { - "constant": false, - "id": 5886, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6188, - "src": "10205:33:27", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 5885, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "10205:20:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5890, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5887, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "10241:7:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 5889, - "indexExpression": { - "argumentTypes": null, - "id": 5888, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "10249:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10241:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10205:51:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5891, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10260:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10260:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5895, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10260:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5896, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "10288:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5897, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1238, - "src": "10288:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10260:41:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "nodeType": "ExpressionStatement", - "src": "10260:41:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5900, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10305:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5903, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10305:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5904, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10305:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5905, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10333:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5906, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5150, - "src": "10333:12:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10305:40:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5908, - "nodeType": "ExpressionStatement", - "src": "10305:40:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5909, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10349:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5912, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "10349:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5913, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10349:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5914, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5248, - "src": "10377:9:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder memory" - } - }, - "id": 5915, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "appprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1240, - "src": "10377:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10349:46:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5917, - "nodeType": "ExpressionStatement", - "src": "10349:46:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5918, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10399:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5921, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10399:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5922, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10399:18:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5923, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10427:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5924, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5156, - "src": "10427:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10399:44:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5926, - "nodeType": "ExpressionStatement", - "src": "10399:44:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5927, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10447:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10447:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10447:20:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5932, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "10475:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5933, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1257, - "src": "10475:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10447:49:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5935, - "nodeType": "ExpressionStatement", - "src": "10447:49:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5936, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10500:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5939, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "10500:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5940, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10500:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5941, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10528:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5942, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "10528:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10574:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "10528:47:27", - "trueExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5943, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5250, - "src": "10545:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder memory" - } - }, - "id": 5944, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1259, - "src": "10545:26:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10500:75:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5948, - "nodeType": "ExpressionStatement", - "src": "10500:75:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5949, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10579:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5952, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10579:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5953, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "10579:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5954, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "10607:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5955, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "10607:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10579:55:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5957, - "nodeType": "ExpressionStatement", - "src": "10579:55:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5958, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10638:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5961, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10638:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5962, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "10638:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5963, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "10666:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 5964, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 5162, - "src": "10666:19:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10638:47:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5966, - "nodeType": "ExpressionStatement", - "src": "10638:47:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5967, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10689:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "10689:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 5971, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "10689:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5972, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "10717:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "10717:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10689:60:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5975, - "nodeType": "ExpressionStatement", - "src": "10689:60:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5976, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10753:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5978, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "10753:10:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 5982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10805:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5979, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10781:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5980, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1319, - "src": "10781:19:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "10781:23:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10781:26:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10753:54:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5985, - "nodeType": "ExpressionStatement", - "src": "10753:54:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5986, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10811:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5988, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "10811:13:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5989, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10839:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 5990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1317, - "src": "10839:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10811:50:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5992, - "nodeType": "ExpressionStatement", - "src": "10811:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 5997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5993, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10865:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 5995, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "10865:8:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5996, - "name": "tag", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5262, - "src": "10893:3:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10865:31:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5998, - "nodeType": "ExpressionStatement", - "src": "10865:31:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5999, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10900:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6001, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "10900:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6002, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10928:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1311, - "src": "10928:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10900:51:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6005, - "nodeType": "ExpressionStatement", - "src": "10900:51:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6006, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10955:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6008, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1117, - "src": "10955:16:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6009, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "10983:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "beneficiary", - "nodeType": "MemberAccess", - "referencedDeclaration": 1321, - "src": "10983:25:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10955:53:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6012, - "nodeType": "ExpressionStatement", - "src": "10955:53:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6013, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11012:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6015, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "11012:13:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6016, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "11040:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1323, - "src": "11040:22:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11012:50:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6019, - "nodeType": "ExpressionStatement", - "src": "11012:50:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6020, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11066:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6022, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1121, - "src": "11066:11:27", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6023, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5254, - "src": "11094:13:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder memory" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "params", - "nodeType": "MemberAccess", - "referencedDeclaration": 1325, - "src": "11094:20:27", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11066:48:27", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 6026, - "nodeType": "ExpressionStatement", - "src": "11066:48:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6027, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11118:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "11118:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6030, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "11146:3:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11118:31:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "11118:31:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6033, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11153:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6035, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "11153:13:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6036, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11181:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6039, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6037, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11192:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11192:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11181:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11153:60:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6041, - "nodeType": "ExpressionStatement", - "src": "11153:60:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6042, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11217:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6044, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "11217:12:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6045, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11245:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11217:34:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6047, - "nodeType": "ExpressionStatement", - "src": "11217:34:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6048, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11255:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "11255:16:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6055, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11338:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6056, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "11338:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6054, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "11327:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11327:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 6058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "m_workerStakeRatioPolicy", - "nodeType": "MemberAccess", - "referencedDeclaration": 10598, - "src": "11327:64:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", - "typeString": "function () view external returns (uint256)" - } - }, - "id": 6059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11327:66:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6051, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11283:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6052, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolprice", - "nodeType": "MemberAccess", - "referencedDeclaration": 1278, - "src": "11283:32:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "11283:43:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11283:111:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11255:139:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6062, - "nodeType": "ExpressionStatement", - "src": "11255:139:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6063, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "11398:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6065, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "11398:25:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6067, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5252, - "src": "11437:16:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder memory" - } - }, - "id": 6068, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1276, - "src": "11437:27:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6066, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10667, - "src": "11426:10:27", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10667_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 6069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11426:39:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10667", - "typeString": "contract Workerpool" - } - }, - "id": 6070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "m_schedulerRewardRatioPolicy", - "nodeType": "MemberAccess", - "referencedDeclaration": 10600, - "src": "11426:68:27", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", - "typeString": "function () view external returns (uint256)" - } - }, - "id": 6071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11426:70:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11398:98:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6073, - "nodeType": "ExpressionStatement", - "src": "11398:98:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6074, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11534:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6077, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6075, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11545:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6076, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "11545:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11534:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6083, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11629:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6078, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11572:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6081, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6079, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11583:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6080, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "11583:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11572:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11572:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11572:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11534:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6086, - "nodeType": "ExpressionStatement", - "src": "11534:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6087, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11644:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6090, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6088, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11655:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6089, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "11655:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11644:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6096, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11722:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6097, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "hasDataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 5168, - "src": "11722:14:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11748:1:27", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "11722:27:27", - "trueExpression": { - "argumentTypes": null, - "id": 6098, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11739:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6091, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11682:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6094, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6092, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11693:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6093, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "11693:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11682:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11682:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11682:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11644:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6103, - "nodeType": "ExpressionStatement", - "src": "11644:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6104, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11754:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6107, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6105, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11765:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6106, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "11765:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11754:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6113, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11849:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6108, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11792:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6111, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6109, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11803:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6110, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "11803:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11792:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11792:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11792:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11754:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6116, - "nodeType": "ExpressionStatement", - "src": "11754:106:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6117, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11864:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6120, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6118, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11875:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6119, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11875:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11864:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6126, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "11959:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6121, - "name": "m_consumed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "11902:10:27", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6124, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6122, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "11913:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6123, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "11913:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11902:35:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11902:39:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11902:68:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11864:106:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6129, - "nodeType": "ExpressionStatement", - "src": "11864:106:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6131, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12006:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "12006:14:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6147, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12107:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6142, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12076:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6143, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12076:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6144, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12076:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6137, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12048:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6138, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "12048:12:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6139, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12048:18:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6133, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12025:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "12025:8:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6135, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12025:14:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "12025:22:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:42:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "12025:50:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:73:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "12025:81:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12025:89:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6130, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "11997:4:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11997:121:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6150, - "nodeType": "ExpressionStatement", - "src": "11997:121:27" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6152, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12131:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12131:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "12131:21:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6162, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12254:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6159, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "12194:22:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6155, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12157:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6156, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12157:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6157, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "12157:21:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "12157:36:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12157:60:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "12157:96:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12157:104:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6151, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "12122:4:27", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12122:194:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6165, - "nodeType": "ExpressionStatement", - "src": "12122:194:27" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6167, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "12374:4:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "12374:15:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6169, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "12374:23:27", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6170, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12399:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6166, - "name": "SchedulerNotice", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9686, - "src": "12358:15:27", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 6171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12358:48:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6172, - "nodeType": "EmitStatement", - "src": "12353:53:27" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6174, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12473:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6175, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12484:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6176, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "apporderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5148, - "src": "12484:16:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6177, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12505:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6178, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "datasetorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5154, - "src": "12505:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6179, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12530:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpoolorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5160, - "src": "12530:23:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6181, - "name": "ids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5562, - "src": "12558:3:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Matching_$5169_memory_ptr", - "typeString": "struct Matching memory" - } - }, - "id": 6182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requestorderHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 5166, - "src": "12558:20:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6183, - "name": "volume", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5802, - "src": "12583:6:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6173, - "name": "OrdersMatched", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9680, - "src": "12455:13:27", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,bytes32,bytes32,bytes32,bytes32,uint256)" - } - }, - "id": 6184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12455:138:27", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6185, - "nodeType": "EmitStatement", - "src": "12450:143:27" - }, - { - "expression": { - "argumentTypes": null, - "id": 6186, - "name": "dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "12605:6:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 5259, - "id": 6187, - "nodeType": "Return", - "src": "12598:13:27" - } - ] - }, - "documentation": null, - "functionSelector": "156194d4", - "id": 6189, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "matchOrders", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 5256, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3461:8:27" - }, - "parameters": { - "id": 5255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5248, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3224:50:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 5247, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "3224:26:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5250, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3278:54:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 5249, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "3278:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5252, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3336:57:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 5251, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "3336:33:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5254, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3397:54:27", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 5253, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "3397:30:27", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3220:232:27" - }, - "returnParameters": { - "id": 5259, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5258, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6189, - "src": "3479:7:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5257, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3479:7:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3478:9:27" - }, - "scope": 6190, - "src": "3200:9415:27", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 6191, - "src": "1769:10848:27" - } - ], - "src": "1242:11376:27" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.613Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecPoco2.json b/build/contracts/IexecPoco2.json deleted file mode 100644 index 9f1a204c6..000000000 --- a/build/contracts/IexecPoco2.json +++ /dev/null @@ -1,5112 +0,0 @@ -{ - "contractName": "IexecPoco2", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":\"IexecPoco2\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecPoco2\n{\n\tevent Reward(address owner, uint256 amount, bytes32 ref);\n\tevent Seize (address owner, uint256 amount, bytes32 ref);\n\tevent Lock (address owner, uint256 amount);\n\tevent Unlock(address owner, uint256 amount);\n\n\tevent AccurateContribution(address indexed worker, bytes32 indexed taskid);\n\tevent FaultyContribution (address indexed worker, bytes32 indexed taskid);\n\n\tevent TaskInitialize(bytes32 indexed taskid, address indexed workerpool);\n\tevent TaskContribute(bytes32 indexed taskid, address indexed worker, bytes32 hash);\n\tevent TaskConsensus (bytes32 indexed taskid, bytes32 consensus);\n\tevent TaskReveal (bytes32 indexed taskid, address indexed worker, bytes32 digest);\n\tevent TaskFinalize (bytes32 indexed taskid, bytes results);\n\tevent TaskClaimed (bytes32 indexed taskid);\n\tevent TaskReopen (bytes32 indexed taskid);\n\n\tfunction initialize(bytes32,uint256) external returns (bytes32);\n\tfunction claim(bytes32) external;\n\tfunction contribute(bytes32,bytes32,bytes32,address,bytes calldata,bytes calldata) external;\n\tfunction contributeAndFinalize(bytes32,bytes32,bytes calldata,bytes calldata,address,bytes calldata,bytes calldata) external; // Expansion - result separation\n\tfunction reveal(bytes32,bytes32) external;\n\tfunction reopen(bytes32) external;\n\tfunction finalize(bytes32,bytes calldata,bytes calldata) external;\n\tfunction initializeArray(bytes32[] calldata,uint256[] calldata) external returns (bool);\n\tfunction claimArray(bytes32[] calldata) external returns (bool);\n\tfunction initializeAndClaimArray(bytes32[] calldata,uint256[] calldata) external returns (bool);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "exportedSymbols": { - "IexecPoco2": [ - 9914 - ] - }, - "id": 9915, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9733, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:47" - }, - { - "id": 9734, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:47" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9914, - "linearizedBaseContracts": [ - 9914 - ], - "name": "IexecPoco2", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9742, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9736, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1339:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9735, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1339:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9738, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1354:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9737, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1354:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9740, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1370:11:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1370:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1338:44:47" - }, - "src": "1326:57:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9750, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9744, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1398:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1398:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9746, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1413:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9745, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1413:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9748, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1429:11:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9747, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1429:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1397:44:47" - }, - "src": "1385:57:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9756, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9752, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9756, - "src": "1457:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1457:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9754, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9756, - "src": "1472:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1472:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1456:31:47" - }, - "src": "1444:44:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9762, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9758, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9762, - "src": "1503:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9757, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1503:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9760, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9762, - "src": "1518:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1518:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1502:31:47" - }, - "src": "1490:44:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9768, - "name": "AccurateContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 9767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9764, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9768, - "src": "1564:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1564:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9766, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9768, - "src": "1588:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9765, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1588:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1563:48:47" - }, - "src": "1537:75:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9774, - "name": "FaultyContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 9773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9770, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9774, - "src": "1641:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1641:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9772, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9774, - "src": "1665:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9771, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1665:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1640:48:47" - }, - "src": "1614:75:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9780, - "name": "TaskInitialize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9776, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9780, - "src": "1713:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9775, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1713:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9778, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9780, - "src": "1737:26:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1737:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1712:52:47" - }, - "src": "1692:73:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9788, - "name": "TaskContribute", - "nodeType": "EventDefinition", - "parameters": { - "id": 9787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9782, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1788:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9781, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1788:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9784, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1812:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1812:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9786, - "indexed": false, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1836:12:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9785, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1836:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1787:62:47" - }, - "src": "1767:83:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9794, - "name": "TaskConsensus", - "nodeType": "EventDefinition", - "parameters": { - "id": 9793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9790, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9794, - "src": "1873:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9789, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1873:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9792, - "indexed": false, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9794, - "src": "1897:17:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9791, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1897:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1872:43:47" - }, - "src": "1852:64:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9802, - "name": "TaskReveal", - "nodeType": "EventDefinition", - "parameters": { - "id": 9801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9796, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1939:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9795, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1939:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9798, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1963:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9797, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1963:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9800, - "indexed": false, - "mutability": "mutable", - "name": "digest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1987:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9799, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1987:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1938:64:47" - }, - "src": "1918:85:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9808, - "name": "TaskFinalize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9804, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9808, - "src": "2026:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9803, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2026:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9806, - "indexed": false, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9808, - "src": "2050:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2050:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2025:39:47" - }, - "src": "2005:60:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9812, - "name": "TaskClaimed", - "nodeType": "EventDefinition", - "parameters": { - "id": 9811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9810, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9812, - "src": "2088:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2088:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2087:24:47" - }, - "src": "2067:45:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9816, - "name": "TaskReopen", - "nodeType": "EventDefinition", - "parameters": { - "id": 9815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9814, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9816, - "src": "2135:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9813, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2135:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2134:24:47" - }, - "src": "2114:45:47" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 9825, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9818, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2182:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9817, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2182:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9820, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2190:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9819, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2190:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2181:17:47" - }, - "returnParameters": { - "id": 9824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9823, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2217:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9822, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2217:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2216:9:47" - }, - "scope": 9914, - "src": "2162:64:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd66528a", - "id": 9830, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9827, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9830, - "src": "2243:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9826, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2243:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2242:9:47" - }, - "returnParameters": { - "id": 9829, - "nodeType": "ParameterList", - "parameters": [], - "src": "2260:0:47" - }, - "scope": 9914, - "src": "2228:33:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "34623484", - "id": 9845, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9832, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2283:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9831, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2283:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9834, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2291:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9833, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2291:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9836, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2299:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9835, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2299:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9838, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2307:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9837, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2307:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9840, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2315:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2315:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9842, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2330:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9841, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2330:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2282:63:47" - }, - "returnParameters": { - "id": 9844, - "nodeType": "ParameterList", - "parameters": [], - "src": "2354:0:47" - }, - "scope": 9914, - "src": "2263:92:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5facd761", - "id": 9862, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contributeAndFinalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9847, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2388:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9846, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2388:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9849, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2396:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2396:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9851, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2404:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9850, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2404:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9853, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2419:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9852, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2419:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9855, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2434:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9854, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2434:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9857, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2442:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9856, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2442:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2457:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2457:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2387:85:47" - }, - "returnParameters": { - "id": 9861, - "nodeType": "ParameterList", - "parameters": [], - "src": "2481:0:47" - }, - "scope": 9914, - "src": "2357:125:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 9869, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9864, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "2533:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9863, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2533:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9866, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "2541:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9865, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2541:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2532:17:47" - }, - "returnParameters": { - "id": 9868, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:47" - }, - "scope": 9914, - "src": "2517:42:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 9874, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9871, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9874, - "src": "2577:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9870, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2577:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2576:9:47" - }, - "returnParameters": { - "id": 9873, - "nodeType": "ParameterList", - "parameters": [], - "src": "2594:0:47" - }, - "scope": 9914, - "src": "2561:34:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8fc375e5", - "id": 9883, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9876, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2615:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9875, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2615:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9878, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2623:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9877, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2623:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2638:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9879, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2638:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2614:39:47" - }, - "returnParameters": { - "id": 9882, - "nodeType": "ParameterList", - "parameters": [], - "src": "2662:0:47" - }, - "scope": 9914, - "src": "2597:66:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b504681d", - "id": 9894, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9886, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2690:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9884, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2690:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9885, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2690:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9889, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2709:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9887, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2709:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9888, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2709:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2689:39:47" - }, - "returnParameters": { - "id": 9893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9892, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2747:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9891, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2747:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2746:6:47" - }, - "scope": 9914, - "src": "2665:88:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 9902, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9897, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9902, - "src": "2775:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9895, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2775:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9896, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2775:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2774:20:47" - }, - "returnParameters": { - "id": 9901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9900, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9902, - "src": "2813:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9899, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2813:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2812:6:47" - }, - "scope": 9914, - "src": "2755:64:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f722cb32", - "id": 9913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9905, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2854:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2854:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9904, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2854:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2873:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9906, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2873:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2873:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2853:39:47" - }, - "returnParameters": { - "id": 9912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2911:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9910, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2911:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2910:6:47" - }, - "scope": 9914, - "src": "2821:96:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9915, - "src": "1302:1617:47" - } - ], - "src": "1242:1678:47" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "exportedSymbols": { - "IexecPoco2": [ - 9914 - ] - }, - "id": 9915, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9733, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:47" - }, - { - "id": 9734, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:47" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9914, - "linearizedBaseContracts": [ - 9914 - ], - "name": "IexecPoco2", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9742, - "name": "Reward", - "nodeType": "EventDefinition", - "parameters": { - "id": 9741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9736, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1339:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9735, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1339:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9738, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1354:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9737, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1354:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9740, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9742, - "src": "1370:11:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1370:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1338:44:47" - }, - "src": "1326:57:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9750, - "name": "Seize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9744, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1398:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1398:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9746, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1413:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9745, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1413:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9748, - "indexed": false, - "mutability": "mutable", - "name": "ref", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9750, - "src": "1429:11:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9747, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1429:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1397:44:47" - }, - "src": "1385:57:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9756, - "name": "Lock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9752, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9756, - "src": "1457:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1457:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9754, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9756, - "src": "1472:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1472:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1456:31:47" - }, - "src": "1444:44:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9762, - "name": "Unlock", - "nodeType": "EventDefinition", - "parameters": { - "id": 9761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9758, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9762, - "src": "1503:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9757, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1503:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9760, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9762, - "src": "1518:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1518:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1502:31:47" - }, - "src": "1490:44:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9768, - "name": "AccurateContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 9767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9764, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9768, - "src": "1564:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1564:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9766, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9768, - "src": "1588:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9765, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1588:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1563:48:47" - }, - "src": "1537:75:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9774, - "name": "FaultyContribution", - "nodeType": "EventDefinition", - "parameters": { - "id": 9773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9770, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9774, - "src": "1641:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1641:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9772, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9774, - "src": "1665:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9771, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1665:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1640:48:47" - }, - "src": "1614:75:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9780, - "name": "TaskInitialize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9776, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9780, - "src": "1713:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9775, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1713:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9778, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9780, - "src": "1737:26:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1737:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1712:52:47" - }, - "src": "1692:73:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9788, - "name": "TaskContribute", - "nodeType": "EventDefinition", - "parameters": { - "id": 9787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9782, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1788:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9781, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1788:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9784, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1812:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1812:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9786, - "indexed": false, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9788, - "src": "1836:12:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9785, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1836:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1787:62:47" - }, - "src": "1767:83:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9794, - "name": "TaskConsensus", - "nodeType": "EventDefinition", - "parameters": { - "id": 9793, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9790, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9794, - "src": "1873:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9789, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1873:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9792, - "indexed": false, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9794, - "src": "1897:17:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9791, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1897:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1872:43:47" - }, - "src": "1852:64:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9802, - "name": "TaskReveal", - "nodeType": "EventDefinition", - "parameters": { - "id": 9801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9796, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1939:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9795, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1939:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9798, - "indexed": true, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1963:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9797, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1963:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9800, - "indexed": false, - "mutability": "mutable", - "name": "digest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9802, - "src": "1987:14:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9799, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1987:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1938:64:47" - }, - "src": "1918:85:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9808, - "name": "TaskFinalize", - "nodeType": "EventDefinition", - "parameters": { - "id": 9807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9804, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9808, - "src": "2026:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9803, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2026:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9806, - "indexed": false, - "mutability": "mutable", - "name": "results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9808, - "src": "2050:13:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2050:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2025:39:47" - }, - "src": "2005:60:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9812, - "name": "TaskClaimed", - "nodeType": "EventDefinition", - "parameters": { - "id": 9811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9810, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9812, - "src": "2088:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9809, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2088:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2087:24:47" - }, - "src": "2067:45:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9816, - "name": "TaskReopen", - "nodeType": "EventDefinition", - "parameters": { - "id": 9815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9814, - "indexed": true, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9816, - "src": "2135:22:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9813, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2135:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2134:24:47" - }, - "src": "2114:45:47" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 9825, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9818, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2182:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9817, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2182:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9820, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2190:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9819, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2190:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2181:17:47" - }, - "returnParameters": { - "id": 9824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9823, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9825, - "src": "2217:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9822, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2217:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2216:9:47" - }, - "scope": 9914, - "src": "2162:64:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "bd66528a", - "id": 9830, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9827, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9830, - "src": "2243:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9826, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2243:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2242:9:47" - }, - "returnParameters": { - "id": 9829, - "nodeType": "ParameterList", - "parameters": [], - "src": "2260:0:47" - }, - "scope": 9914, - "src": "2228:33:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "34623484", - "id": 9845, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9832, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2283:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9831, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2283:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9834, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2291:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9833, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2291:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9836, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2299:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9835, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2299:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9838, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2307:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9837, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2307:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9840, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2315:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2315:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9842, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9845, - "src": "2330:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9841, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2330:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2282:63:47" - }, - "returnParameters": { - "id": 9844, - "nodeType": "ParameterList", - "parameters": [], - "src": "2354:0:47" - }, - "scope": 9914, - "src": "2263:92:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "5facd761", - "id": 9862, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "contributeAndFinalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9847, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2388:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9846, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2388:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9849, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2396:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2396:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9851, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2404:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9850, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2404:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9853, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2419:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9852, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2419:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9855, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2434:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9854, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2434:7:47", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9857, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2442:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9856, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2442:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9859, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9862, - "src": "2457:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2457:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2387:85:47" - }, - "returnParameters": { - "id": 9861, - "nodeType": "ParameterList", - "parameters": [], - "src": "2481:0:47" - }, - "scope": 9914, - "src": "2357:125:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 9869, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9864, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "2533:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9863, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2533:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9866, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "2541:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9865, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2541:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2532:17:47" - }, - "returnParameters": { - "id": 9868, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:47" - }, - "scope": 9914, - "src": "2517:42:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 9874, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9871, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9874, - "src": "2577:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9870, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2577:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2576:9:47" - }, - "returnParameters": { - "id": 9873, - "nodeType": "ParameterList", - "parameters": [], - "src": "2594:0:47" - }, - "scope": 9914, - "src": "2561:34:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8fc375e5", - "id": 9883, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9876, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2615:7:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9875, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2615:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9878, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2623:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9877, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2623:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "2638:14:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9879, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2638:5:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2614:39:47" - }, - "returnParameters": { - "id": 9882, - "nodeType": "ParameterList", - "parameters": [], - "src": "2662:0:47" - }, - "scope": 9914, - "src": "2597:66:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b504681d", - "id": 9894, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9886, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2690:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9884, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2690:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9885, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2690:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9889, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2709:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9887, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2709:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9888, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2709:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2689:39:47" - }, - "returnParameters": { - "id": 9893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9892, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9894, - "src": "2747:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9891, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2747:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2746:6:47" - }, - "scope": 9914, - "src": "2665:88:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 9902, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9897, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9902, - "src": "2775:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9895, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2775:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9896, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2775:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2774:20:47" - }, - "returnParameters": { - "id": 9901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9900, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9902, - "src": "2813:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9899, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2813:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2812:6:47" - }, - "scope": 9914, - "src": "2755:64:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f722cb32", - "id": 9913, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9905, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2854:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 9903, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2854:7:47", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9904, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2854:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2873:18:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 9906, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2873:7:47", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9907, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2873:9:47", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2853:39:47" - }, - "returnParameters": { - "id": 9912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9911, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9913, - "src": "2911:4:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9910, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2911:4:47", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2910:6:47" - }, - "scope": 9914, - "src": "2821:96:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9915, - "src": "1302:1617:47" - } - ], - "src": "1242:1678:47" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-05T09:36:21.677Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecPoco2Delegate.json b/build/contracts/IexecPoco2Delegate.json deleted file mode 100644 index 86739838a..000000000 --- a/build/contracts/IexecPoco2Delegate.json +++ /dev/null @@ -1,57448 +0,0 @@ -{ - "contractName": "IexecPoco2Delegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "AccurateContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "FaultyContribution", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Lock", - "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": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Reward", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ref", - "type": "bytes32" - } - ], - "name": "Seize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "consensus", - "type": "bytes32" - } - ], - "name": "TaskConsensus", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "name": "TaskContribute", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "results", - "type": "bytes" - } - ], - "name": "TaskFinalize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - } - ], - "name": "TaskInitialize", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - } - ], - "name": "TaskReopen", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "taskid", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "worker", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "digest", - "type": "bytes32" - } - ], - "name": "TaskReveal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Unlock", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_dealid", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "idx", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultSeal", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_authorizationSign", - "type": "bytes" - } - ], - "name": "contribute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_resultsCallback", - "type": "bytes" - }, - { - "internalType": "address", - "name": "_enclaveChallenge", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_enclaveSign", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_authorizationSign", - "type": "bytes" - } - ], - "name": "contributeAndFinalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_resultDigest", - "type": "bytes32" - } - ], - "name": "reveal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "reopen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "_results", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_resultsCallback", - "type": "bytes" - } - ], - "name": "finalize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_taskid", - "type": "bytes32" - } - ], - "name": "claim", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_taskid", - "type": "bytes32[]" - } - ], - "name": "claimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32[]", - "name": "_dealid", - "type": "bytes32[]" - }, - { - "internalType": "uint256[]", - "name": "_idx", - "type": "uint256[]" - } - ], - "name": "initializeAndClaimArray", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"AccurateContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"FaultyContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"ref\",\"type\":\"bytes32\"}],\"name\":\"Seize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"consensus\",\"type\":\"bytes32\"}],\"name\":\"TaskConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"TaskContribute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"results\",\"type\":\"bytes\"}],\"name\":\"TaskFinalize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"}],\"name\":\"TaskInitialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"}],\"name\":\"TaskReopen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"taskid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"name\":\"TaskReveal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_taskid\",\"type\":\"bytes32[]\"}],\"name\":\"claimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultSeal\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_enclaveSign\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_authorizationSign\",\"type\":\"bytes\"}],\"name\":\"contribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultDigest\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_results\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_resultsCallback\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_enclaveChallenge\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_enclaveSign\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_authorizationSign\",\"type\":\"bytes\"}],\"name\":\"contributeAndFinalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_results\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_resultsCallback\",\"type\":\"bytes\"}],\"name\":\"finalize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_dealid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_dealid\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_idx\",\"type\":\"uint256[]\"}],\"name\":\"initializeAndClaimArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_dealid\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_idx\",\"type\":\"uint256[]\"}],\"name\":\"initializeArray\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"}],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_resultDigest\",\"type\":\"bytes32\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco2Delegate.sol\":\"IexecPoco2Delegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol\":{\"keccak256\":\"0x28db238625e52e31aa9d602612e6874d2a1f8091063dd04e8cd7870642af3d54\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e6e5db14c0e38900a3f92476f45c608b143fd83fa48fffe82bd03bd4a28a1bc6\",\"dweb:/ipfs/QmecHBiCZgekCafN6BnopvRuiiZ9GjRn6PeM6x7PHkUHLZ\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco2Delegate.sol\":{\"keccak256\":\"0xb2866b2953e13cf29cb80d0fa1206cd53c9b83853afb68fcef6e743819c6c952\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://0da7d72d317661d281d3608ac33e8794c795edddece1c9b3e73dd356fd9dc099\",\"dweb:/ipfs/QmQPzy1CLT5ZbBmfdSDBj7vGF8ebRBQTqN7NXDrhjAQ3Td\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":{\"keccak256\":\"0xba769d239982db0002541e750395aaceda605036bc1a7a1bb9982780c3cc206d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d7404ee2d2a812df8af1b31efa41c40a4576fb361beccd044320a8bd3fe778e6\",\"dweb:/ipfs/QmaxWP1sWGHahrUBdfvrvTJJAuyoWoGRQ1Pz68qAJhLzZw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol\":{\"keccak256\":\"0x37a8fbf46336d6eb8bdcfb68dc26611197539fbb1ee1d9ca5e36d97004858122\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c474b6dfb549a06e0548d5dc74aaf93ca622b52e45a06bdeff67482ab4218369\",\"dweb:/ipfs/QmdUSHD4wyvsdgeymZ5wfVWCJbZ4qWALH6st4JomdGFiQN\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]},\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]},\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060006200001e62000067565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062003fde833981519152908290a350620000616200006b565b6200011c565b3390565b6200007562000067565b6000546001600160a01b03908116911614620000ae5760405162461bcd60e51b8152600401620000a590620000e7565b60405180910390fd5b600080546040516001600160a01b039091169060008051602062003fde833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b613eb2806200012c6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063b504681d1161008c578063f6c68e1011610066578063f6c68e101461019b578063f722cb32146101ae578063fa055d7e146101c1578063fc334e8c146101d4576100cf565b8063b504681d14610155578063bd66528a14610175578063f2fde38b14610188576100cf565b806334623484146100d45780635b36c66b146100e95780635facd76114610112578063715018a6146101255780638da5cb5b1461012d5780638fc375e514610142575b600080fd5b6100e76100e23660046138e8565b6101e7565b005b6100fc6100f73660046138c7565b6106f4565b6040516101099190613c35565b60405180910390f35b6100e7610120366004613982565b610a1a565b6100e761100a565b610135611092565b6040516101099190613bdc565b6100e7610150366004613a4f565b6110a1565b610168610163366004613846565b61141c565b6040516101099190613c2a565b6100e76101833660046138af565b611478565b6100e76101963660046137eb565b611568565b6100e76101a93660046138af565b61161e565b6101686101bc366004613846565b6117f2565b6101686101cf366004613806565b611838565b6100e76101e23660046138c7565b611871565b6101f76101f26119fb565b6119ff565b61020057600080fd5b600086815260146020908152604080832060169092528220909190816102246119fb565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061024e613486565b60018381015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f8101859004850287018501909552848652909491936101208601938301828280156103c35780601f10610398576101008083540402835291602001916103c3565b820191906000526020600020905b8154815290600101906020018083116103a657829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506001835460ff16600481111561041357fe5b1461041d57600080fd5b4283600401541161042d57600080fd5b6000825460ff16600381111561043f57fe5b1461044957600080fd5b6001600160a01b03861615158061046e575060a0810151601f1a60f81b600160f81b16155b61047757600080fd5b6104fb6001600160a01b0387161580159061049c57506018546001600160a01b031615155b6104ae578160400151602001516104bb565b6018546001600160a01b03165b6104f56104c66119fb565b8c8a6040516020016104da93929190613b1a565b60405160208183030381529060405280519060200120611a05565b86611a2e565b61050457600080fd5b6001600160a01b038616158061053557506105358661052f8a8a6040516020016104da929190613b71565b87611a2e565b61053e57600080fd5b8154600160ff19909116811783558201889055600282018790556003820180546001600160a01b0319166001600160a01b038816179055600a83016105816119fb565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b03929092169190911790558301546105c7906105c26119fb565b611c0f565b6105cf6119fb565b6001600160a01b0316897f3fdb8d7797562d49a81078dbf7fa1771958ea452f8b13d1148383bd9506aecfb8a6040516106089190613c35565b60405180910390a3600089815260156020526040812090610664600161065e6003610658816017876106386119fb565b6001600160a01b0316815260208101919091526040016000205490611c33565b90611c55565b90611c6c565b60008b81526020849052604081205491925061068f8261065e85610689836001611c55565b90611c81565b905061069a83611ca8565b600487015560008c8152602085905260409020546106b89082611e66565b60008d81526020869052604090205560018401546106d69082611e66565b60018501556106e58d8d611e78565b50505050505050505050505050565b60006106fe613486565b60008481526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090508061016001518310156108c257600080fd5b6101808101516101608201516108d791611e66565b83106108e257600080fd5b600084846040516020016108f7929190613b71565b60408051601f1981840301815291815281516020928301206000818152601490935290822090925090815460ff16600481111561093057fe5b1461093a57600080fd5b805460ff1916600190811782558101869055600281018590556080830151601a8054909190811061096757fe5b600091825260209091206003918202016002015490820181905561014084015161099c91610996906007611c81565b90611e66565b600482015561014083015160038201546109bc919061099690600a611c81565b6006820155600082815260156020526040808220600190810155848101515190516001600160a01b039091169184917f252992fb0468d68d6a5784ec03214f0d0a362083f2d7ebd157af43b017a22e069190a3509150505b92915050565b610a256101f26119fb565b610a2e57600080fd5b60008781526014602090815260408083206016909252822090919081610a526119fb565b6001600160a01b03166001600160a01b031681526020019081526020016000209050610a7c613486565b60018381015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f810185900485028701850190955284865290949193610120860193830182828015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506001835460ff166004811115610c4157fe5b14610c4b57600080fd5b42836004015411610c5b57600080fd5b600a83015415610c6a57600080fd5b8060600151600114610c7b57600080fd5b60008a8a604051602001610c90929190613b71565b6040516020818303038152906040528051906020012090506000610cb26119fb565b8c8c604051602001610cc693929190613b47565b60405160208183030381529060405280519060200120905060006001600160a01b03168361010001516001600160a01b0316148015610d0457508851155b80610d185750600b850154895160208b0120145b610d2157600080fd5b6001600160a01b038816151580610d46575060a0830151601f1a60f81b600160f81b16155b610d4f57600080fd5b610db86001600160a01b03891615801590610d7457506018546001600160a01b031615155b610d8657836040015160200151610d93565b6018546001600160a01b03165b610db2610d9e6119fb565b8f8c6040516020016104da93929190613b1a565b88611a2e565b610dc157600080fd5b6001600160a01b0388161580610df25750610df288610dec84846040516020016104da929190613b71565b89611a2e565b610dfb57600080fd5b8354600260ff199182168117865560018601848155818701849055600380880180546001600160a01b0319166001600160a01b038e1617905588549093168317885554600788015590860154610e5691429161099691611c81565b60058601556001600886018190556009860155600b85018b90558951610e8590600c87019060208d019061352c565b508851610e9b90600e87019060208c019061352c565b5084600a01610ea86119fb565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b0392909216919091179055850154610ee7908d61200f565b610ef08c612196565b610ef86119fb565b6001600160a01b03168c7f3fdb8d7797562d49a81078dbf7fa1771958ea452f8b13d1148383bd9506aecfb84604051610f319190613c35565b60405180910390a38b7ff6d49bf3e05d33a4bc497d3c793fb5756388bb96b947cf51bb60aaecb0e022e383604051610f699190613c35565b60405180910390a2610f796119fb565b6001600160a01b03168c7f4b1763d473ac8fa80b4432ba90047e1b92444d8fabc55e6a002d9b1a316d79598d604051610fb29190613c35565b60405180910390a38b7f78ce8a8bc0fcb704e8ba3b3dbb36aa88002df8038128b4af2f27ef65db6650448b604051610fea9190613ca4565b60405180910390a2610ffc8c8a6125fd565b505050505050505050505050565b6110126119fb565b6000546001600160a01b039081169116146110485760405162461bcd60e51b815260040161103f90613d9b565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000858152601460209081526040808320600101548352601390915290206007015485906001600160a01b03166110d66119fb565b6001600160a01b0316146110e957600080fd5b60008681526014602052604090206110ff613486565b60018281015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f8101859004850287018501909552848652909491936101208601938301828280156112745780601f1061124957610100808354040283529160200191611274565b820191906000526020600020905b81548152906001019060200180831161125757829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506002825460ff1660048111156112c457fe5b146112ce57600080fd5b428260060154116112de57600080fd5b816009015482600801541480611307575060008260080154118015611307575042826005015411155b61131057600080fd5b6101008101516001600160a01b031615801561132a575083155b8061134f575081600b01548585604051611345929190613b7f565b6040518091039020145b61135857600080fd5b815460ff19166003178255611371600c830188886135aa565b50611380600e830186866135aa565b5061138f82600101548961200f565b611398886126e9565b877f78ce8a8bc0fcb704e8ba3b3dbb36aa88002df8038128b4af2f27ef65db66504488886040516113ca929190613c75565b60405180910390a26114128886868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506125fd92505050565b5050505050505050565b600083821461142a57600080fd5b60005b8481101561146c5761146386868381811061144457fe5b9050602002013585858481811061145757fe5b905060200201356106f4565b5060010161142d565b50600195945050505050565b60008181526014602052604090206001815460ff16600481111561149857fe5b14806114b357506002815460ff1660048111156114b157fe5b145b6114bc57600080fd5b42816006015411156114cd57600080fd5b805460ff1916600417815560018101546114e79083612d72565b60005b600a82015481101561153857600082600a01828154811061150757fe5b60009182526020909120015460018401546001600160a01b03909116915061152f9082612fdd565b506001016114ea565b5060405182907fcbc308b5f91040d2659a5201858344b0b583cd2f9e18e8470c2fa052c5b21ff890600090a25050565b6115706119fb565b6000546001600160a01b0390811691161461159d5760405162461bcd60e51b815260040161103f90613d9b565b6001600160a01b0381166115c35760405162461bcd60e51b815260040161103f90613d28565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152601460209081526040808320600101548352601390915290206007015481906001600160a01b03166116536119fb565b6001600160a01b03161461166657600080fd5b60008281526014602052604090206002815460ff16600481111561168657fe5b1461169057600080fd5b428160060154116116a057600080fd5b428160050154111580156116b657506008810154155b6116bf57600080fd5b60005b600a82015481101561175857600082600a0182815481106116df57fe5b600091825260208083209091015460078601548884526016835260408085206001600160a01b03909316808652929093529190922060010154919250141561174f5760008581526016602090815260408083206001600160a01b03851684529091529020805460ff191660031790555b506001016116c2565b506000838152601560209081526040808320600785015484529182905290912054600182015461178791611c6c565b600182810191909155600783018054600090815260208490526040808220829055855460ff19169093178555908190556005840181905560098401819055905185917f3afe0f24796ce653c6ab1f3e7aba5ce564eece5e82aee724aff28253e829f07b91a250505050565b600083821461180057600080fd5b60005b8481101561146c5761183061018387878481811061181d57fe5b9050602002013586868581811061145757fe5b600101611803565b6000805b828110156118675761185f84848381811061185357fe5b90506020020135611478565b60010161183c565b5060019392505050565b600082815260146020908152604080832060169092528220909190816118956119fb565b6001600160a01b03168152602081019190915260400160002090506002825460ff1660048111156118c257fe5b146118cc57600080fd5b428260050154116118dc57600080fd5b6001815460ff1660038111156118ee57fe5b146118f857600080fd5b816007015481600101541461190c57600080fd5b838360405160200161191f929190613b71565b6040516020818303038152906040528051906020012081600101541461194457600080fd5b61194c6119fb565b848460405160200161196093929190613b47565b6040516020818303038152906040528051906020012081600201541461198557600080fd5b805460ff1916600217815560088201546119a0906001611e66565b6008830155600b82018390556119b46119fb565b6001600160a01b0316847f4b1763d473ac8fa80b4432ba90047e1b92444d8fabc55e6a002d9b1a316d7959856040516119ed9190613c35565b60405180910390a350505050565b3390565b50600190565b606081604051602001611a189190613bab565b6040516020818303038152906040529050919050565b6000611a3984612ffd565b15611be0576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b90611a6c9086908690600401613cb7565b60206040518083038186803b158015611a8457600080fd5b505afa925050508015611ab4575060408051601f3d908101601f19168201909252611ab191810190613ac6565b60015b611aee573d808015611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b5050611b08565b6001600160e01b0319166320c13b0b60e01b149050611c08565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e91611b3c91908690600401613c3e565b60206040518083038186803b158015611b5457600080fd5b505afa925050508015611b84575060408051601f3d908101601f19168201909252611b8191810190613ac6565b60015b611bbe573d808015611bb2576040519150601f19603f3d011682016040523d82523d6000602084013e611bb7565b606091505b5050611bd8565b6001600160e01b031916630b135d3f60e11b149050611c08565b506000611c08565b836001600160a01b0316611bfb848051906020012084613039565b6001600160a01b03161490505b9392505050565b611c2f816013600085815260200190815260200160002060130154613143565b5050565b6000808211611c4157600080fd5b6000828481611c4c57fe5b04949350505050565b600081831015611c655781611c08565b5090919050565b600082821115611c7b57600080fd5b50900390565b600082611c9057506000610a14565b82820282848281611c9d57fe5b0414611c0857600080fd5b604080517ff8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd81527ff5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe60208201527ff6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616818301527fc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff60608201527ff7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e60808201527fe39ed557db96902cd38ed14fad815115c786af479b7e8324736353433727170760a08201527fc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d236242260660c08201527f753a6d1b65325d0c552a4d1345224105391a310b29122104190a11030902010060e0820152610100808201909252600160f81b6001600160801b68010000000000000000640100000000620100006010600460026000198c019081041790810417908104178881041790810417908104179081041790810417017e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff0281900460ff039091015104600160ff1b909211020190565b600082820183811015611c0857600080fd5b6000828152601460209081526040808320601583528184206001808301548652601390945291909320600901549091611ec190611eb6908390611c6c565b600184015490611c81565b600085815260208490526040902054611eda9083611c81565b1115612008576000805b600a850154811015611f9057600085600a018281548110611f0157fe5b60009182526020808320909101548a83526016825260408084206001600160a01b039092168085529190925291206001015490915087148015611f745750600160008981526016602090815260408083206001600160a01b038616845290915290205460ff166003811115611f7257fe5b145b15611f8757611f84836001611e66565b92505b50600101611ee4565b50835460ff191660029081178555600785018690556003850154611fb991429161099691611c81565b6005850155600060088501556009840181905560405186907ff6d49bf3e05d33a4bc497d3c793fb5756388bb96b947cf51bb60aaecb0e022e390611ffe908890613c35565b60405180910390a2505b5050505050565b600082815260136020526040812060088101546005820154600283015492939261203e92916109969190611e66565b600883015490915060009061205490601e6131cb565b600c840154909150612070906001600160a01b031683866131d9565b6002830154156120985760018301546002840154612098916001600160a01b03169086613259565b6005830154158015906120b7575060038301546001600160a01b031615155b156120da57600483015460058401546120da916001600160a01b03169086613259565b60078301546120f2906001600160a01b031682613297565b7399c2268479b93fde36232351229815df80837e23600052600e6020527f0c6541af8a90dc64ec40ead0c49d5d6bd34489a48d08db53d659372ff556a43054801561218e576121548161214e633b9aca0061065883600a6131cb565b90613313565b90506121757399c2268479b93fde36232351229815df80837e2382876131d9565b600784015461218e906001600160a01b03168287613259565b505050505050565b61219e613618565b6000828152601460205260409081902081516101e081019092528054829060ff1660048111156121ca57fe5b60048111156121d557fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561228c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161226e575b5050509183525050600b820154602080830191909152600c8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561232a5780601f106122ff5761010080835404028352916020019161232a565b820191906000526020600020905b81548152906001019060200180831161230d57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156123c85780601f1061239d576101008083540402835291602001916123c8565b820191906000526020600020905b8154815290600101906020018083116123ab57829003601f168201915b50505050508152505090506123db613486565b60208281015160009081526013825260409081902081516102408101835281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845285516060808201885260038701548516825260048701548516828a0152600587015482890152858901919091528651808201885260068701548516815260078701548516818a015260088701548189015285880152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548751948116159092026000190190911691909104601f8101879004870283018701909552848252919492936101208601939192918301828280156125525780601f1061252757610100808354040283529160200191612552565b820191906000526020600020905b81548152906001019060200180831161253557829003601f168201915b5050505050815260200160108201548152602001601182015481526020016012820154815260200160138201548152602001601482015481525050905060006125bb6125ad836101c001516064611c6c90919063ffffffff16565b6040808501510151906131cb565b905060006125da82846040015160400151611c6c90919063ffffffff16565b90506125ee6125e76119fb565b8387613322565b6120088460200151828761332d565b600082815260146020908152604080832060010154835260139091529020600e01546001600160a01b031680156126e45760006060826001600160a01b03166019548686604051602401612652929190613c3e565b60408051601f198184030181529181526020820180516001600160e01b0316635dd8085560e01b179052516126879190613b8f565b60006040518083038160008787f1925050503d80600081146126c5576040519150601f19603f3d011682016040523d82523d6000602084013e6126ca565b606091505b5091509150603f601954816126db57fe5b045a1161200857fe5b505050565b6126f1613618565b6000828152601460205260409081902081516101e081019092528054829060ff16600481111561271d57fe5b600481111561272857fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82018054806020026020016040519081016040528092919081815260200182805480156127df57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116127c1575b5050509183525050600b820154602080830191909152600c8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561287d5780601f106128525761010080835404028352916020019161287d565b820191906000526020600020905b81548152906001019060200180831161286057829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561291b5780601f106128f05761010080835404028352916020019161291b565b820191906000526020600020905b8154815290600101906020018083116128fe57829003601f168201915b505050505081525050905061292e613486565b60208281015160009081526013825260409081902081516102408101835281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845285516060808201885260038701548516825260048701548516828a0152600587015482890152858901919091528651808201885260068701548516815260078701548516818a015260088701548189015285880152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548751948116159092026000190190911691909104601f810187900487028301870190955284825291949293610120860193919291830182828015612aa55780601f10612a7a57610100808354040283529160200191612aa5565b820191906000526020600020905b815481529060010190602001808311612a8857829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050600080826040015160400151905060005b84610140015151811015612b915760008561014001518281518110612b1457fe5b60209081029190910181015160008981526016835260408082206001600160a01b0384168352909352919091209091506002815460ff166003811115612b5657fe5b1415612b73576004810154612b6c908690611e66565b9450612b87565b6101a0860151612b84908590611e66565b93505b5050600101612af3565b506000612bb7612bb0856101c001516064611c6c90919063ffffffff16565b83906131cb565b905060005b85610140015151811015612d625760008661014001518281518110612bdd57fe5b60209081029190910181015160008a81526016835260408082206001600160a01b0384168352909352919091209091506002815460ff166003811115612c1f57fe5b1415612cde576004810154600090612c3990869089613353565b9050612c458682611c6c565b9550612c55896020015184612fdd565b612c6083828c613322565b6001896101400151511115612cd8576001600160a01b038316600090815260176020526040902054612c93906001611e66565b6001600160a01b0384166000818152601760205260408082209390935591518c927f9703f4589802246c80b822e63697180da799e363cd1b6fd9465a5e5574d5349291a35b50612d58565b612ced8860200151838b613368565b6001600160a01b038216600090815260176020526040902054612d139060026003613353565b6001600160a01b0383166000818152601760205260408082209390935591518b927ff868788948d55240774fdbad06555105ef20bbc70d1b7eccda982b65e11e79bb91a35b5050600101612bbc565b5061218e8560200151838861332d565b612d7a613486565b60008381526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015612eef5780601f10612ec457610100808354040283529160200191612eef565b820191906000526020600020905b815481529060010190602001808311612ed257829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090506000612f5d826040015160400151610996846020015160400151856000015160400151611e6690919063ffffffff16565b90506000612f7d601e8460400151604001516131cb90919063ffffffff16565b9050612f8d8360c0015183613297565b612fa083604001516020015182866131d9565b612fbf7399c2268479b93fde36232351229815df80837e238286613259565b6120087399c2268479b93fde36232351229815df80837e2382613143565b611c2f816013600085815260200190815260200160002060130154613297565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061303157508115155b949350505050565b6000806000808451604114156130635750505060208201516040830151606084015160001a6130a8565b84516040141561309057505050602082015160408301516001600160ff1b0381169060001a60071c6130a8565b60405162461bcd60e51b815260040161103f90613e15565b601b8160ff1610156130b857601b015b8060ff16601b14806130cd57508060ff16601c145b6130e95760405162461bcd60e51b815260040161103f90613d6e565b6001868285856040516000815260200160405260405161310c9493929190613c57565b6020604051602081039080840390855afa15801561312e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b61314e823083613389565b6001600160a01b0382166000908152600e60205260409020546131719082611e66565b6001600160a01b0383166000908152600e60205260409081902091909155517f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906131bf9084908490613bf0565b60405180910390a15050565b6000611c0883836064613353565b6001600160a01b0383166000908152600e60205260409020546131fc9083611c6c565b6001600160a01b0384166000908152600e60205260409081902091909155517f1bccc549c38561cd5b57f0db11ceb8dde1b0b6ee05ab5e155b51c7c5ba64becb9061324c90859085908590613c09565b60405180910390a1505050565b613264308484613389565b7fc2aca55aa696938c7e95842e8939ca0fbb2120a3eeb8948cdcee2b70da56667283838360405161324c93929190613c09565b6132a2308383613389565b6001600160a01b0382166000908152600e60205260409020546132c59082611c6c565b6001600160a01b0383166000908152600e60205260409081902091909155517f6381d9813cabeb57471b5a7e05078e64845ccdb563146a6911d536f24ce960f1906131bf9084908490613bf0565b6000818310611c655781611c08565b6126e4838383613259565b6000838152601360205260409020600701546126e4906001600160a01b03168383613259565b60006130316133628585611c81565b83611c33565b6126e4826013600086815260200190815260200160002060130154836131d9565b6001600160a01b0383166133af5760405162461bcd60e51b815260040161103f90613dd0565b6001600160a01b0382166133d55760405162461bcd60e51b815260040161103f90613ce5565b6001600160a01b0383166000908152600d60205260409020546133f89082611c6c565b6001600160a01b038085166000908152600d602052604080822093909355908416815220546134279082611e66565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90613479908590613c35565b60405180910390a3505050565b604051806101e0016040528061349a613698565b81526020016134a7613698565b81526020016134b4613698565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061356d57805160ff191683800117855561359a565b8280016001018555821561359a579182015b8281111561359a57825182559160200191906001019061357f565b506135a69291506136b8565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106135eb5782800160ff1982351617855561359a565b8280016001018555821561359a579182015b8281111561359a5782358255916020019190600101906135fd565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604080516060810182526000808252602082018190529181019190915290565b5b808211156135a657600081556001016136b9565b80356001600160a01b0381168114610a1457600080fd5b60008083601f8401126136f5578182fd5b50813567ffffffffffffffff81111561370c578182fd5b602083019150836020808302850101111561372657600080fd5b9250929050565b60008083601f84011261373e578182fd5b50813567ffffffffffffffff811115613755578182fd5b60208301915083602082850101111561372657600080fd5b600082601f83011261377d578081fd5b813567ffffffffffffffff80821115613794578283fd5b604051601f8301601f1916810160200182811182821017156137b4578485fd5b6040528281529250828483016020018610156137cf57600080fd5b8260208601602083013760006020848301015250505092915050565b6000602082840312156137fc578081fd5b611c0883836136cd565b60008060208385031215613818578081fd5b823567ffffffffffffffff81111561382e578182fd5b61383a858286016136e4565b90969095509350505050565b6000806000806040858703121561385b578182fd5b843567ffffffffffffffff80821115613872578384fd5b61387e888389016136e4565b90965094506020870135915080821115613896578384fd5b506138a3878288016136e4565b95989497509550505050565b6000602082840312156138c0578081fd5b5035919050565b600080604083850312156138d9578182fd5b50508035926020909101359150565b60008060008060008060c08789031215613900578182fd5b86359550602087013594506040870135935060608701356001600160a01b038116811461392b578283fd5b9250608087013567ffffffffffffffff80821115613947578384fd5b6139538a838b0161376d565b935060a0890135915080821115613968578283fd5b5061397589828a0161376d565b9150509295509295509295565b600080600080600080600060e0888a03121561399c578081fd5b8735965060208801359550604088013567ffffffffffffffff808211156139c1578283fd5b6139cd8b838c0161376d565b965060608a01359150808211156139e2578283fd5b6139ee8b838c0161376d565b95506139fd8b60808c016136cd565b945060a08a0135915080821115613a12578283fd5b613a1e8b838c0161376d565b935060c08a0135915080821115613a33578283fd5b50613a408a828b0161376d565b91505092959891949750929550565b600080600080600060608688031215613a66578081fd5b85359450602086013567ffffffffffffffff80821115613a84578283fd5b613a9089838a0161372d565b90965094506040880135915080821115613aa8578283fd5b50613ab58882890161372d565b969995985093965092949392505050565b600060208284031215613ad7578081fd5b81516001600160e01b031981168114611c08578182fd5b60008151808452613b06816020860160208601613e4c565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606094851b811682526014820193909352921b16603482015260480190565b60609390931b6bffffffffffffffffffffffff191683526014830191909152603482015260540190565b918252602082015260400190565b6000828483379101908152919050565b60008251613ba1818460208701613e4c565b9190910192915050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b901515815260200190565b90815260200190565b6000838252604060208301526130316040830184613aee565b93845260ff9290921660208401526040830152606082015260800190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b600060208252611c086020830184613aee565b600060408252613cca6040830185613aee565b8281036020840152613cdc8185613aee565b95945050505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b60005b83811015613e67578181015183820152602001613e4f565b83811115613e76576000848401525b5050505056fea264697066735822122068a5258dd8b226cf7604ee06c0b0dbb9bf713d1de823becebf60c20bb697f54f64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063b504681d1161008c578063f6c68e1011610066578063f6c68e101461019b578063f722cb32146101ae578063fa055d7e146101c1578063fc334e8c146101d4576100cf565b8063b504681d14610155578063bd66528a14610175578063f2fde38b14610188576100cf565b806334623484146100d45780635b36c66b146100e95780635facd76114610112578063715018a6146101255780638da5cb5b1461012d5780638fc375e514610142575b600080fd5b6100e76100e23660046138e8565b6101e7565b005b6100fc6100f73660046138c7565b6106f4565b6040516101099190613c35565b60405180910390f35b6100e7610120366004613982565b610a1a565b6100e761100a565b610135611092565b6040516101099190613bdc565b6100e7610150366004613a4f565b6110a1565b610168610163366004613846565b61141c565b6040516101099190613c2a565b6100e76101833660046138af565b611478565b6100e76101963660046137eb565b611568565b6100e76101a93660046138af565b61161e565b6101686101bc366004613846565b6117f2565b6101686101cf366004613806565b611838565b6100e76101e23660046138c7565b611871565b6101f76101f26119fb565b6119ff565b61020057600080fd5b600086815260146020908152604080832060169092528220909190816102246119fb565b6001600160a01b03166001600160a01b03168152602001908152602001600020905061024e613486565b60018381015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f8101859004850287018501909552848652909491936101208601938301828280156103c35780601f10610398576101008083540402835291602001916103c3565b820191906000526020600020905b8154815290600101906020018083116103a657829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506001835460ff16600481111561041357fe5b1461041d57600080fd5b4283600401541161042d57600080fd5b6000825460ff16600381111561043f57fe5b1461044957600080fd5b6001600160a01b03861615158061046e575060a0810151601f1a60f81b600160f81b16155b61047757600080fd5b6104fb6001600160a01b0387161580159061049c57506018546001600160a01b031615155b6104ae578160400151602001516104bb565b6018546001600160a01b03165b6104f56104c66119fb565b8c8a6040516020016104da93929190613b1a565b60405160208183030381529060405280519060200120611a05565b86611a2e565b61050457600080fd5b6001600160a01b038616158061053557506105358661052f8a8a6040516020016104da929190613b71565b87611a2e565b61053e57600080fd5b8154600160ff19909116811783558201889055600282018790556003820180546001600160a01b0319166001600160a01b038816179055600a83016105816119fb565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b03929092169190911790558301546105c7906105c26119fb565b611c0f565b6105cf6119fb565b6001600160a01b0316897f3fdb8d7797562d49a81078dbf7fa1771958ea452f8b13d1148383bd9506aecfb8a6040516106089190613c35565b60405180910390a3600089815260156020526040812090610664600161065e6003610658816017876106386119fb565b6001600160a01b0316815260208101919091526040016000205490611c33565b90611c55565b90611c6c565b60008b81526020849052604081205491925061068f8261065e85610689836001611c55565b90611c81565b905061069a83611ca8565b600487015560008c8152602085905260409020546106b89082611e66565b60008d81526020869052604090205560018401546106d69082611e66565b60018501556106e58d8d611e78565b50505050505050505050505050565b60006106fe613486565b60008481526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f810186900486028301860190965285825291949293610120860193919291908301828280156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090508061016001518310156108c257600080fd5b6101808101516101608201516108d791611e66565b83106108e257600080fd5b600084846040516020016108f7929190613b71565b60408051601f1981840301815291815281516020928301206000818152601490935290822090925090815460ff16600481111561093057fe5b1461093a57600080fd5b805460ff1916600190811782558101869055600281018590556080830151601a8054909190811061096757fe5b600091825260209091206003918202016002015490820181905561014084015161099c91610996906007611c81565b90611e66565b600482015561014083015160038201546109bc919061099690600a611c81565b6006820155600082815260156020526040808220600190810155848101515190516001600160a01b039091169184917f252992fb0468d68d6a5784ec03214f0d0a362083f2d7ebd157af43b017a22e069190a3509150505b92915050565b610a256101f26119fb565b610a2e57600080fd5b60008781526014602090815260408083206016909252822090919081610a526119fb565b6001600160a01b03166001600160a01b031681526020019081526020016000209050610a7c613486565b60018381015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f810185900485028701850190955284865290949193610120860193830182828015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506001835460ff166004811115610c4157fe5b14610c4b57600080fd5b42836004015411610c5b57600080fd5b600a83015415610c6a57600080fd5b8060600151600114610c7b57600080fd5b60008a8a604051602001610c90929190613b71565b6040516020818303038152906040528051906020012090506000610cb26119fb565b8c8c604051602001610cc693929190613b47565b60405160208183030381529060405280519060200120905060006001600160a01b03168361010001516001600160a01b0316148015610d0457508851155b80610d185750600b850154895160208b0120145b610d2157600080fd5b6001600160a01b038816151580610d46575060a0830151601f1a60f81b600160f81b16155b610d4f57600080fd5b610db86001600160a01b03891615801590610d7457506018546001600160a01b031615155b610d8657836040015160200151610d93565b6018546001600160a01b03165b610db2610d9e6119fb565b8f8c6040516020016104da93929190613b1a565b88611a2e565b610dc157600080fd5b6001600160a01b0388161580610df25750610df288610dec84846040516020016104da929190613b71565b89611a2e565b610dfb57600080fd5b8354600260ff199182168117865560018601848155818701849055600380880180546001600160a01b0319166001600160a01b038e1617905588549093168317885554600788015590860154610e5691429161099691611c81565b60058601556001600886018190556009860155600b85018b90558951610e8590600c87019060208d019061352c565b508851610e9b90600e87019060208c019061352c565b5084600a01610ea86119fb565b815460018082018455600093845260209093200180546001600160a01b0319166001600160a01b0392909216919091179055850154610ee7908d61200f565b610ef08c612196565b610ef86119fb565b6001600160a01b03168c7f3fdb8d7797562d49a81078dbf7fa1771958ea452f8b13d1148383bd9506aecfb84604051610f319190613c35565b60405180910390a38b7ff6d49bf3e05d33a4bc497d3c793fb5756388bb96b947cf51bb60aaecb0e022e383604051610f699190613c35565b60405180910390a2610f796119fb565b6001600160a01b03168c7f4b1763d473ac8fa80b4432ba90047e1b92444d8fabc55e6a002d9b1a316d79598d604051610fb29190613c35565b60405180910390a38b7f78ce8a8bc0fcb704e8ba3b3dbb36aa88002df8038128b4af2f27ef65db6650448b604051610fea9190613ca4565b60405180910390a2610ffc8c8a6125fd565b505050505050505050505050565b6110126119fb565b6000546001600160a01b039081169116146110485760405162461bcd60e51b815260040161103f90613d9b565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000858152601460209081526040808320600101548352601390915290206007015485906001600160a01b03166110d66119fb565b6001600160a01b0316146110e957600080fd5b60008681526014602052604090206110ff613486565b60018281015460009081526013602090815260409182902082516102408101845281546001600160a01b039081166101e0830190815283870154821661020084015260028085015461022085015290835285516060808201885260038601548416825260048601548416828801526005860154828901528487019190915286518082018852600686015484168152600786015484168188015260088601548189015284880152600985015490840152600a8401546080840152600b84015460a0840152600c840154821660c0840152600d840154821660e0840152600e84015490911661010080840191909152600f840180548751988116159092026000190190911691909104601f8101859004850287018501909552848652909491936101208601938301828280156112745780601f1061124957610100808354040283529160200191611274565b820191906000526020600020905b81548152906001019060200180831161125757829003601f168201915b50505091835250506010820154602082015260118201546040820152601282015460608201526013820154608082015260149091015460a09091015290506002825460ff1660048111156112c457fe5b146112ce57600080fd5b428260060154116112de57600080fd5b816009015482600801541480611307575060008260080154118015611307575042826005015411155b61131057600080fd5b6101008101516001600160a01b031615801561132a575083155b8061134f575081600b01548585604051611345929190613b7f565b6040518091039020145b61135857600080fd5b815460ff19166003178255611371600c830188886135aa565b50611380600e830186866135aa565b5061138f82600101548961200f565b611398886126e9565b877f78ce8a8bc0fcb704e8ba3b3dbb36aa88002df8038128b4af2f27ef65db66504488886040516113ca929190613c75565b60405180910390a26114128886868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506125fd92505050565b5050505050505050565b600083821461142a57600080fd5b60005b8481101561146c5761146386868381811061144457fe5b9050602002013585858481811061145757fe5b905060200201356106f4565b5060010161142d565b50600195945050505050565b60008181526014602052604090206001815460ff16600481111561149857fe5b14806114b357506002815460ff1660048111156114b157fe5b145b6114bc57600080fd5b42816006015411156114cd57600080fd5b805460ff1916600417815560018101546114e79083612d72565b60005b600a82015481101561153857600082600a01828154811061150757fe5b60009182526020909120015460018401546001600160a01b03909116915061152f9082612fdd565b506001016114ea565b5060405182907fcbc308b5f91040d2659a5201858344b0b583cd2f9e18e8470c2fa052c5b21ff890600090a25050565b6115706119fb565b6000546001600160a01b0390811691161461159d5760405162461bcd60e51b815260040161103f90613d9b565b6001600160a01b0381166115c35760405162461bcd60e51b815260040161103f90613d28565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152601460209081526040808320600101548352601390915290206007015481906001600160a01b03166116536119fb565b6001600160a01b03161461166657600080fd5b60008281526014602052604090206002815460ff16600481111561168657fe5b1461169057600080fd5b428160060154116116a057600080fd5b428160050154111580156116b657506008810154155b6116bf57600080fd5b60005b600a82015481101561175857600082600a0182815481106116df57fe5b600091825260208083209091015460078601548884526016835260408085206001600160a01b03909316808652929093529190922060010154919250141561174f5760008581526016602090815260408083206001600160a01b03851684529091529020805460ff191660031790555b506001016116c2565b506000838152601560209081526040808320600785015484529182905290912054600182015461178791611c6c565b600182810191909155600783018054600090815260208490526040808220829055855460ff19169093178555908190556005840181905560098401819055905185917f3afe0f24796ce653c6ab1f3e7aba5ce564eece5e82aee724aff28253e829f07b91a250505050565b600083821461180057600080fd5b60005b8481101561146c5761183061018387878481811061181d57fe5b9050602002013586868581811061145757fe5b600101611803565b6000805b828110156118675761185f84848381811061185357fe5b90506020020135611478565b60010161183c565b5060019392505050565b600082815260146020908152604080832060169092528220909190816118956119fb565b6001600160a01b03168152602081019190915260400160002090506002825460ff1660048111156118c257fe5b146118cc57600080fd5b428260050154116118dc57600080fd5b6001815460ff1660038111156118ee57fe5b146118f857600080fd5b816007015481600101541461190c57600080fd5b838360405160200161191f929190613b71565b6040516020818303038152906040528051906020012081600101541461194457600080fd5b61194c6119fb565b848460405160200161196093929190613b47565b6040516020818303038152906040528051906020012081600201541461198557600080fd5b805460ff1916600217815560088201546119a0906001611e66565b6008830155600b82018390556119b46119fb565b6001600160a01b0316847f4b1763d473ac8fa80b4432ba90047e1b92444d8fabc55e6a002d9b1a316d7959856040516119ed9190613c35565b60405180910390a350505050565b3390565b50600190565b606081604051602001611a189190613bab565b6040516020818303038152906040529050919050565b6000611a3984612ffd565b15611be0576040516320c13b0b60e01b81526001600160a01b038516906320c13b0b90611a6c9086908690600401613cb7565b60206040518083038186803b158015611a8457600080fd5b505afa925050508015611ab4575060408051601f3d908101601f19168201909252611ab191810190613ac6565b60015b611aee573d808015611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b5050611b08565b6001600160e01b0319166320c13b0b60e01b149050611c08565b82516020840120604051630b135d3f60e11b81526001600160a01b03861691631626ba7e91611b3c91908690600401613c3e565b60206040518083038186803b158015611b5457600080fd5b505afa925050508015611b84575060408051601f3d908101601f19168201909252611b8191810190613ac6565b60015b611bbe573d808015611bb2576040519150601f19603f3d011682016040523d82523d6000602084013e611bb7565b606091505b5050611bd8565b6001600160e01b031916630b135d3f60e11b149050611c08565b506000611c08565b836001600160a01b0316611bfb848051906020012084613039565b6001600160a01b03161490505b9392505050565b611c2f816013600085815260200190815260200160002060130154613143565b5050565b6000808211611c4157600080fd5b6000828481611c4c57fe5b04949350505050565b600081831015611c655781611c08565b5090919050565b600082821115611c7b57600080fd5b50900390565b600082611c9057506000610a14565b82820282848281611c9d57fe5b0414611c0857600080fd5b604080517ff8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd81527ff5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe60208201527ff6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616818301527fc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff60608201527ff7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e60808201527fe39ed557db96902cd38ed14fad815115c786af479b7e8324736353433727170760a08201527fc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d236242260660c08201527f753a6d1b65325d0c552a4d1345224105391a310b29122104190a11030902010060e0820152610100808201909252600160f81b6001600160801b68010000000000000000640100000000620100006010600460026000198c019081041790810417908104178881041790810417908104179081041790810417017e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff0281900460ff039091015104600160ff1b909211020190565b600082820183811015611c0857600080fd5b6000828152601460209081526040808320601583528184206001808301548652601390945291909320600901549091611ec190611eb6908390611c6c565b600184015490611c81565b600085815260208490526040902054611eda9083611c81565b1115612008576000805b600a850154811015611f9057600085600a018281548110611f0157fe5b60009182526020808320909101548a83526016825260408084206001600160a01b039092168085529190925291206001015490915087148015611f745750600160008981526016602090815260408083206001600160a01b038616845290915290205460ff166003811115611f7257fe5b145b15611f8757611f84836001611e66565b92505b50600101611ee4565b50835460ff191660029081178555600785018690556003850154611fb991429161099691611c81565b6005850155600060088501556009840181905560405186907ff6d49bf3e05d33a4bc497d3c793fb5756388bb96b947cf51bb60aaecb0e022e390611ffe908890613c35565b60405180910390a2505b5050505050565b600082815260136020526040812060088101546005820154600283015492939261203e92916109969190611e66565b600883015490915060009061205490601e6131cb565b600c840154909150612070906001600160a01b031683866131d9565b6002830154156120985760018301546002840154612098916001600160a01b03169086613259565b6005830154158015906120b7575060038301546001600160a01b031615155b156120da57600483015460058401546120da916001600160a01b03169086613259565b60078301546120f2906001600160a01b031682613297565b7399c2268479b93fde36232351229815df80837e23600052600e6020527f0c6541af8a90dc64ec40ead0c49d5d6bd34489a48d08db53d659372ff556a43054801561218e576121548161214e633b9aca0061065883600a6131cb565b90613313565b90506121757399c2268479b93fde36232351229815df80837e2382876131d9565b600784015461218e906001600160a01b03168287613259565b505050505050565b61219e613618565b6000828152601460205260409081902081516101e081019092528054829060ff1660048111156121ca57fe5b60048111156121d557fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561228c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161226e575b5050509183525050600b820154602080830191909152600c8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561232a5780601f106122ff5761010080835404028352916020019161232a565b820191906000526020600020905b81548152906001019060200180831161230d57829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f600260001961010060018716150201909416939093049283018590048502810185018252828152940193928301828280156123c85780601f1061239d576101008083540402835291602001916123c8565b820191906000526020600020905b8154815290600101906020018083116123ab57829003601f168201915b50505050508152505090506123db613486565b60208281015160009081526013825260409081902081516102408101835281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845285516060808201885260038701548516825260048701548516828a0152600587015482890152858901919091528651808201885260068701548516815260078701548516818a015260088701548189015285880152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548751948116159092026000190190911691909104601f8101879004870283018701909552848252919492936101208601939192918301828280156125525780601f1061252757610100808354040283529160200191612552565b820191906000526020600020905b81548152906001019060200180831161253557829003601f168201915b5050505050815260200160108201548152602001601182015481526020016012820154815260200160138201548152602001601482015481525050905060006125bb6125ad836101c001516064611c6c90919063ffffffff16565b6040808501510151906131cb565b905060006125da82846040015160400151611c6c90919063ffffffff16565b90506125ee6125e76119fb565b8387613322565b6120088460200151828761332d565b600082815260146020908152604080832060010154835260139091529020600e01546001600160a01b031680156126e45760006060826001600160a01b03166019548686604051602401612652929190613c3e565b60408051601f198184030181529181526020820180516001600160e01b0316635dd8085560e01b179052516126879190613b8f565b60006040518083038160008787f1925050503d80600081146126c5576040519150601f19603f3d011682016040523d82523d6000602084013e6126ca565b606091505b5091509150603f601954816126db57fe5b045a1161200857fe5b505050565b6126f1613618565b6000828152601460205260409081902081516101e081019092528054829060ff16600481111561271d57fe5b600481111561272857fe5b8152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82018054806020026020016040519081016040528092919081815260200182805480156127df57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116127c1575b5050509183525050600b820154602080830191909152600c8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561287d5780601f106128525761010080835404028352916020019161287d565b820191906000526020600020905b81548152906001019060200180831161286057829003601f168201915b5050509183525050600d820154602080830191909152600e8301805460408051601f6002600019610100600187161502019094169390930492830185900485028101850182528281529401939283018282801561291b5780601f106128f05761010080835404028352916020019161291b565b820191906000526020600020905b8154815290600101906020018083116128fe57829003601f168201915b505050505081525050905061292e613486565b60208281015160009081526013825260409081902081516102408101835281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845285516060808201885260038701548516825260048701548516828a0152600587015482890152858901919091528651808201885260068701548516815260078701548516818a015260088701548189015285880152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548751948116159092026000190190911691909104601f810187900487028301870190955284825291949293610120860193919291830182828015612aa55780601f10612a7a57610100808354040283529160200191612aa5565b820191906000526020600020905b815481529060010190602001808311612a8857829003601f168201915b50505050508152602001601082015481526020016011820154815260200160128201548152602001601382015481526020016014820154815250509050600080826040015160400151905060005b84610140015151811015612b915760008561014001518281518110612b1457fe5b60209081029190910181015160008981526016835260408082206001600160a01b0384168352909352919091209091506002815460ff166003811115612b5657fe5b1415612b73576004810154612b6c908690611e66565b9450612b87565b6101a0860151612b84908590611e66565b93505b5050600101612af3565b506000612bb7612bb0856101c001516064611c6c90919063ffffffff16565b83906131cb565b905060005b85610140015151811015612d625760008661014001518281518110612bdd57fe5b60209081029190910181015160008a81526016835260408082206001600160a01b0384168352909352919091209091506002815460ff166003811115612c1f57fe5b1415612cde576004810154600090612c3990869089613353565b9050612c458682611c6c565b9550612c55896020015184612fdd565b612c6083828c613322565b6001896101400151511115612cd8576001600160a01b038316600090815260176020526040902054612c93906001611e66565b6001600160a01b0384166000818152601760205260408082209390935591518c927f9703f4589802246c80b822e63697180da799e363cd1b6fd9465a5e5574d5349291a35b50612d58565b612ced8860200151838b613368565b6001600160a01b038216600090815260176020526040902054612d139060026003613353565b6001600160a01b0383166000818152601760205260408082209390935591518b927ff868788948d55240774fdbad06555105ef20bbc70d1b7eccda982b65e11e79bb91a35b5050600101612bbc565b5061218e8560200151838861332d565b612d7a613486565b60008381526013602090815260409182902082516102408101845281546001600160a01b039081166101e08301908152600180850154831661020085015260028086015461022086015291845286516060808201895260038701548516825260048701548516828901526005870154828a0152858801919091528751808201895260068701548516815260078701548516818901526008870154818a015285890152600986015490850152600a8501546080850152600b85015460a0850152600c850154831660c0850152600d850154831660e0850152600e85015490921661010080850191909152600f850180548851948116159092026000190190911691909104601f81018690048602830186019096528582529194929361012086019391929190830182828015612eef5780601f10612ec457610100808354040283529160200191612eef565b820191906000526020600020905b815481529060010190602001808311612ed257829003601f168201915b505050505081526020016010820154815260200160118201548152602001601282015481526020016013820154815260200160148201548152505090506000612f5d826040015160400151610996846020015160400151856000015160400151611e6690919063ffffffff16565b90506000612f7d601e8460400151604001516131cb90919063ffffffff16565b9050612f8d8360c0015183613297565b612fa083604001516020015182866131d9565b612fbf7399c2268479b93fde36232351229815df80837e238286613259565b6120087399c2268479b93fde36232351229815df80837e2382613143565b611c2f816013600085815260200190815260200160002060130154613297565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061303157508115155b949350505050565b6000806000808451604114156130635750505060208201516040830151606084015160001a6130a8565b84516040141561309057505050602082015160408301516001600160ff1b0381169060001a60071c6130a8565b60405162461bcd60e51b815260040161103f90613e15565b601b8160ff1610156130b857601b015b8060ff16601b14806130cd57508060ff16601c145b6130e95760405162461bcd60e51b815260040161103f90613d6e565b6001868285856040516000815260200160405260405161310c9493929190613c57565b6020604051602081039080840390855afa15801561312e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b61314e823083613389565b6001600160a01b0382166000908152600e60205260409020546131719082611e66565b6001600160a01b0383166000908152600e60205260409081902091909155517f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427906131bf9084908490613bf0565b60405180910390a15050565b6000611c0883836064613353565b6001600160a01b0383166000908152600e60205260409020546131fc9083611c6c565b6001600160a01b0384166000908152600e60205260409081902091909155517f1bccc549c38561cd5b57f0db11ceb8dde1b0b6ee05ab5e155b51c7c5ba64becb9061324c90859085908590613c09565b60405180910390a1505050565b613264308484613389565b7fc2aca55aa696938c7e95842e8939ca0fbb2120a3eeb8948cdcee2b70da56667283838360405161324c93929190613c09565b6132a2308383613389565b6001600160a01b0382166000908152600e60205260409020546132c59082611c6c565b6001600160a01b0383166000908152600e60205260409081902091909155517f6381d9813cabeb57471b5a7e05078e64845ccdb563146a6911d536f24ce960f1906131bf9084908490613bf0565b6000818310611c655781611c08565b6126e4838383613259565b6000838152601360205260409020600701546126e4906001600160a01b03168383613259565b60006130316133628585611c81565b83611c33565b6126e4826013600086815260200190815260200160002060130154836131d9565b6001600160a01b0383166133af5760405162461bcd60e51b815260040161103f90613dd0565b6001600160a01b0382166133d55760405162461bcd60e51b815260040161103f90613ce5565b6001600160a01b0383166000908152600d60205260409020546133f89082611c6c565b6001600160a01b038085166000908152600d602052604080822093909355908416815220546134279082611e66565b6001600160a01b038084166000818152600d602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90613479908590613c35565b60405180910390a3505050565b604051806101e0016040528061349a613698565b81526020016134a7613698565b81526020016134b4613698565b815260200160008152602001600081526020016000801916815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b031681526020016060815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061356d57805160ff191683800117855561359a565b8280016001018555821561359a579182015b8281111561359a57825182559160200191906001019061357f565b506135a69291506136b8565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106135eb5782800160ff1982351617855561359a565b8280016001018555821561359a579182015b8281111561359a5782358255916020019190600101906135fd565b604080516101e08101909152806000815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815260200160008019168152602001600081526020016000815260200160608152602001600080191681526020016060815260200160008152602001606081525090565b604080516060810182526000808252602082018190529181019190915290565b5b808211156135a657600081556001016136b9565b80356001600160a01b0381168114610a1457600080fd5b60008083601f8401126136f5578182fd5b50813567ffffffffffffffff81111561370c578182fd5b602083019150836020808302850101111561372657600080fd5b9250929050565b60008083601f84011261373e578182fd5b50813567ffffffffffffffff811115613755578182fd5b60208301915083602082850101111561372657600080fd5b600082601f83011261377d578081fd5b813567ffffffffffffffff80821115613794578283fd5b604051601f8301601f1916810160200182811182821017156137b4578485fd5b6040528281529250828483016020018610156137cf57600080fd5b8260208601602083013760006020848301015250505092915050565b6000602082840312156137fc578081fd5b611c0883836136cd565b60008060208385031215613818578081fd5b823567ffffffffffffffff81111561382e578182fd5b61383a858286016136e4565b90969095509350505050565b6000806000806040858703121561385b578182fd5b843567ffffffffffffffff80821115613872578384fd5b61387e888389016136e4565b90965094506020870135915080821115613896578384fd5b506138a3878288016136e4565b95989497509550505050565b6000602082840312156138c0578081fd5b5035919050565b600080604083850312156138d9578182fd5b50508035926020909101359150565b60008060008060008060c08789031215613900578182fd5b86359550602087013594506040870135935060608701356001600160a01b038116811461392b578283fd5b9250608087013567ffffffffffffffff80821115613947578384fd5b6139538a838b0161376d565b935060a0890135915080821115613968578283fd5b5061397589828a0161376d565b9150509295509295509295565b600080600080600080600060e0888a03121561399c578081fd5b8735965060208801359550604088013567ffffffffffffffff808211156139c1578283fd5b6139cd8b838c0161376d565b965060608a01359150808211156139e2578283fd5b6139ee8b838c0161376d565b95506139fd8b60808c016136cd565b945060a08a0135915080821115613a12578283fd5b613a1e8b838c0161376d565b935060c08a0135915080821115613a33578283fd5b50613a408a828b0161376d565b91505092959891949750929550565b600080600080600060608688031215613a66578081fd5b85359450602086013567ffffffffffffffff80821115613a84578283fd5b613a9089838a0161372d565b90965094506040880135915080821115613aa8578283fd5b50613ab58882890161372d565b969995985093965092949392505050565b600060208284031215613ad7578081fd5b81516001600160e01b031981168114611c08578182fd5b60008151808452613b06816020860160208601613e4c565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606094851b811682526014820193909352921b16603482015260480190565b60609390931b6bffffffffffffffffffffffff191683526014830191909152603482015260540190565b918252602082015260400190565b6000828483379101908152919050565b60008251613ba1818460208701613e4c565b9190910192915050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b901515815260200190565b90815260200190565b6000838252604060208301526130316040830184613aee565b93845260ff9290921660208401526040830152606082015260800190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b600060208252611c086020830184613aee565b600060408252613cca6040830185613aee565b8281036020840152613cdc8185613aee565b95945050505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526013908201527234b73b30b634b216b9b4b3b730ba3ab93296bb60691b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526018908201527f696e76616c69642d7369676e61747572652d666f726d61740000000000000000604082015260600190565b60005b83811015613e67578181015183820152602001613e4f565b83811115613e76576000848401525b5050505056fea264697066735822122068a5258dd8b226cf7604ee06c0b0dbb9bf713d1de823becebf60c20bb697f54f64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1494:20782:29:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1494:20782:29;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1494:20782:29;;;;;;", - "deployedSourceMap": "1494:20782:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:2847;;;;;;:::i;:::-;;:::i;:::-;;3803:977;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7784:3034;;;;;;:::i;:::-;;:::i;1689:145:83:-;;;:::i;1066:77::-;;;:::i;:::-;;;;;;;:::i;12963:1173:29:-;;;;;;:::i;:::-;;:::i;21540:267::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;14139:587::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;11935:1025:29:-;;;;;;:::i;:::-;;:::i;21992:282::-;;;;;;:::i;:::-;;:::i;21810:179::-;;;;;;:::i;:::-;;:::i;10821:1111::-;;;;;;:::i;:::-;;:::i;4858:2847::-;5087:27;5101:12;:10;:12::i;:::-;5087:13;:27::i;:::-;5079:36;;;;;;5120:41;5172:16;;;:7;:16;;;;;;;;5244:15;:24;;;;;5172:16;;5120:41;;5269:12;:10;:12::i;:::-;-1:-1:-1;;;;;5244:38:29;-1:-1:-1;;;;;5244:38:29;;;;;;;;;;;;5192:90;;5286:41;;:::i;:::-;5346:11;;;;;5338:20;;;;:7;:20;;;;;;;;;5286:72;;;;;;;;;-1:-1:-1;;;;;5286:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5286:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;5338:20;;5286:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5286:72:29;;;-1:-1:-1;;5286:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5400:37:29;5371:11;;;;:66;;;;;;;;;5363:82;;;;;;5486:3;5457:4;:25;;;:32;5449:82;;;;;;5572:44;5543:19;;;;:73;;;;;;;;;5535:82;;;;;;-1:-1:-1;;;;;5672:31:29;;;;;:61;;-1:-1:-1;5708:8:29;;;;5717:2;5708:12;;;-1:-1:-1;;;5708:19:29;:24;5672:61;5664:70;;;;;;5849:261;-1:-1:-1;;;;;5871:31:29;;;;;;:60;;-1:-1:-1;5906:11:29;;-1:-1:-1;;;;;5906:11:29;:25;;5871:60;5869:102;;5950:4;:15;;;:21;;;5869:102;;;5936:11;;-1:-1:-1;;;;;5936:11:29;5869:102;5976:107;6028:12;:10;:12::i;:::-;6046:7;6059:17;6006:75;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5996:86;;;;;;5976:19;:107::i;:::-;6088:18;5849:15;:261::i;:::-;5841:270;;;;;;-1:-1:-1;;;;;6153:31:29;;;;:185;;;6188:150;6208:17;6230:87;6282:11;6299;6260:55;;;;;;;;;:::i;6230:87::-;6322:12;6188:15;:150::i;:::-;6145:194;;;;;;6375:82;;6407:50;-1:-1:-1;;6375:82:29;;;;;;;6461:23;;:43;;;6508:23;;;:43;;;6555:29;;;:49;;-1:-1:-1;;;;;;6555:49:29;-1:-1:-1;;;;;6555:49:29;;;;;6608:17;;;6631:12;:10;:12::i;:::-;6608:36;;;;;;;;-1:-1:-1;6608:36:29;;;;;;;;;;-1:-1:-1;;;;;;6608:36:29;-1:-1:-1;;;;;6608:36:29;;;;;;;;;;6666:11;;;6649:43;;6679:12;:10;:12::i;:::-;6649:16;:43::i;:::-;6726:12;:10;:12::i;:::-;-1:-1:-1;;;;;6702:50:29;6717:7;6702:50;6740:11;6702:50;;;;;;:::i;:::-;;;;;;;;7214:43;7260:20;;;:11;:20;;;;;;7302:49;7349:1;7302:42;7342:1;7302:35;7342:1;7302:14;7214:43;7317:12;:10;:12::i;:::-;-1:-1:-1;;;;;7302:28:29;;;;;;;;;;;;-1:-1:-1;7302:28:29;;;:32;:35::i;:::-;:39;;:42::i;:::-;:46;;:49::i;:::-;7355:13;7372:28;;;;;;;;;;;7285:66;;-1:-1:-1;7421:35:29;7372:28;7421:24;7285:66;7421:12;7372:28;7431:1;7421:9;:12::i;:::-;:16;;:24::i;:35::-;7404:52;;7492:12;:6;:10;:12::i;:::-;7461:19;;;:43;7539:15;:28;;;;;;;;;;;:39;;7572:5;7539:32;:39::i;:::-;7508:15;:28;;;;;;;;;;:70;7613:15;;;;:26;;7633:5;7613:19;:26::i;:::-;7582:15;;;:57;7665:36;7680:7;7689:11;7665:14;:36::i;:::-;4858:2847;;;;;;;;;;;;;:::o;3803:977::-;3879:7;3893:32;;:::i;:::-;3928:16;;;;:7;:16;;;;;;;;;3893:51;;;;;;;;;-1:-1:-1;;;;;3893:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3893:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;3928:16;;3893:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3964:4;:13;;;3957:3;:20;;3949:47;;;;;;4033:12;;;;4015:13;;;;:31;;:17;:31::i;:::-;4008:3;:38;4000:47;;;;;;4052:14;4097:7;4106:3;4080:30;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4080:30:29;;;;;;;;;4070:41;;4080:30;4070:41;;;;4115:33;4151:15;;;:7;:15;;;;;;4070:41;;-1:-1:-1;4151:15:29;4178:11;;;;:51;;;;;;;;;4170:60;;;;;;4235:65;;-1:-1:-1;;4235:65:29;4263:37;4235:65;;;;;4304:11;;:35;;;4343:8;;;:31;;;4419:13;;;;4406:12;:27;;:12;;4419:13;4406:27;;;;;;;;;;;;;;;;;;;:44;;;4378:12;;;:72;;;4532:14;;;;4482:65;;:45;;3041:1:4;4482:16:29;:45::i;:::-;:49;;:65::i;:::-;4454:25;;;:93;4629:14;;;;4579:12;;;;:65;;4629:14;4579:45;;3161:2:4;4579:16:29;:45::i;:65::-;4551:18;;;:93;4672:19;;;;:11;:19;;;;;;4700:1;4672:25;;;:29;4734:15;;;;:23;4711:47;;-1:-1:-1;;;;;4711:47:29;;;;4684:6;;4711:47;;4672:19;4711:47;-1:-1:-1;4770:6:29;-1:-1:-1;;3803:977:29;;;;;:::o;7784:3034::-;8089:27;8103:12;:10;:12::i;8089:27::-;8081:36;;;;;;8122:41;8174:16;;;:7;:16;;;;;;;;8246:15;:24;;;;;8174:16;;8122:41;;8271:12;:10;:12::i;:::-;-1:-1:-1;;;;;8246:38:29;-1:-1:-1;;;;;8246:38:29;;;;;;;;;;;;8194:90;;8288:41;;:::i;:::-;8348:11;;;;;8340:20;;;;:7;:20;;;;;;;;;8288:72;;;;;;;;;-1:-1:-1;;;;;8288:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8288:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;8340:20;;8288:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8288:72:29;;;-1:-1:-1;;8288:72:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8402:37:29;8373:11;;;;:66;;;;;;;;;8365:75;;;;;;8481:3;8452:4;:25;;;:32;8444:75;;;;;;8531:17;;;:24;:30;8523:75;;;;;;8610:4;:10;;;8639:1;8610:30;8602:75;;;;;;8734:18;8796:7;8805:13;8765:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8755:65;;;;;;8734:86;;8824:18;8872:12;:10;:12::i;:::-;8886:7;8895:13;8855:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8845:65;;;;;;8824:86;;8949:1;-1:-1:-1;;;;;8924:27:29;:4;:13;;;-1:-1:-1;;;;;8924:27:29;;:59;;;;-1:-1:-1;8955:23:29;;:28;8924:59;8923:113;;;-1:-1:-1;9019:17:29;;;;8988:27;;;;;;:48;8923:113;8915:122;;;;;;-1:-1:-1;;;;;9092:31:29;;;;;:61;;-1:-1:-1;9128:8:29;;;;9137:2;9128:12;;;-1:-1:-1;;;9128:19:29;:24;9092:61;9084:70;;;;;;9269:261;-1:-1:-1;;;;;9291:31:29;;;;;;:60;;-1:-1:-1;9326:11:29;;-1:-1:-1;;;;;9326:11:29;:25;;9291:60;9289:102;;9370:4;:15;;;:21;;;9289:102;;;9356:11;;-1:-1:-1;;;;;9356:11:29;9289:102;9396:107;9448:12;:10;:12::i;:::-;9466:7;9479:17;9426:75;;;;;;;;;;:::i;9396:107::-;9508:18;9269:15;:261::i;:::-;9261:270;;;;;;-1:-1:-1;;;;;9573:31:29;;;;:183;;;9608:148;9628:17;9650:85;9702:10;9718;9680:53;;;;;;;;;:::i;9650:85::-;9740:12;9608:15;:148::i;:::-;9565:192;;;;;;9762:77;;9794:45;-1:-1:-1;;9762:77:29;;;;;;;-1:-1:-1;9843:23:29;;:42;;;9889:23;;;:42;;;9935:29;;;;:49;;-1:-1:-1;;;;;;9935:49:29;-1:-1:-1;;;;;9935:49:29;;;;;9989:72;;;;;;;;;10097:23;10065:19;;;:55;10156:12;;;;:48;;10200:3;;10156:39;;:16;:39::i;:48::-;10124:19;;;:80;10240:1;10208:18;;;:33;;;10245:18;;;:33;10282:17;;;:45;;;10331:40;;;;:12;;;;:40;;;;;:::i;:::-;-1:-1:-1;10375:48:29;;;;:20;;;;:48;;;;;:::i;:::-;;10460:4;:17;;10483:12;:10;:12::i;:::-;10460:36;;;;;;;;-1:-1:-1;10460:36:29;;;;;;;;;;-1:-1:-1;;;;;;10460:36:29;-1:-1:-1;;;;;10460:36:29;;;;;;;;;;10513:11;;;10501:33;;10526:7;10501:11;:33::i;:::-;10538:30;10560:7;10538:21;:30::i;:::-;10602:12;:10;:12::i;:::-;-1:-1:-1;;;;;10578:49:29;10593:7;10578:49;10616:10;10578:49;;;;;;:::i;:::-;;;;;;;;10650:7;10636:34;10659:10;10636:34;;;;;;:::i;:::-;;;;;;;;10699:12;:10;:12::i;:::-;-1:-1:-1;;;;;10679:48:29;10690:7;10679:48;10713:13;10679:48;;;;;;:::i;:::-;;;;;;;;10749:7;10736:31;10758:8;10736:31;;;;;;:::i;:::-;;;;;;;;10772:42;10788:7;10797:16;10772:15;:42::i;:::-;7784:3034;;;;;;;;;;;;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;12963:1173:29:-;1481:32:11;1489:16;;;:7;:16;;;;;;;;:23;;;1481:32;;:7;:32;;;;;:49;;;13142:7:29;;-1:-1:-1;;;;;1481:49:11;1465:12;:10;:12::i;:::-;-1:-1:-1;;;;;1465:65:11;;1457:74;;;;;;13156:33:29::1;13192:16:::0;;;:7:::1;:16;::::0;;;;13212:33:::1;;:::i;:::-;13256:11;::::0;;::::1;::::0;13248:20:::1;::::0;;;:7:::1;:20;::::0;;;;;;;;13212:56;;;;;;;;;-1:-1:-1;;;;;13212:56:29;;::::1;;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;;::::1;;::::0;;::::1;-1:-1:-1::0;;13212:56:29;;;::::1;::::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;13248:20;;13212:56;;;;;::::1;::::0;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;13212:56:29;;;-1:-1:-1;;13212:56:29::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;-1:-1:-1;13303:40:29::1;13281:11:::0;;::::1;;:62;::::0;::::1;;;;;;;13273:107;;;::::0;::::1;;13414:3;13392:4;:18;;;:25;13384:107;;;::::0;::::1;;13525:4;:18;;;13503:4;:18;;;:40;:98;;;;13569:1;13548:4;:18;;;:22;:52;;;;;13597:3;13574:4;:19;;;:26;;13548:52;13495:107;;;::::0;::::1;;13616:13;::::0;::::1;::::0;-1:-1:-1;;;;;13616:27:29::1;::::0;:59;::::1;;;-1:-1:-1::0;13647:28:29;;13616:59:::1;13615:113;;;;13711:4;:17;;;13690:16;;13680:27;;;;;;;:::i;:::-;;;;;;;;:48;13615:113;13607:122;;;::::0;::::1;;13734:63:::0;;-1:-1:-1;;13734:63:29::1;13757:40;13734:63;::::0;;13801:31:::1;:12;::::0;::::1;13824:8:::0;;13801:31:::1;:::i;:::-;-1:-1:-1::0;13836:39:29::1;:20;::::0;::::1;13859:16:::0;;13836:39:::1;:::i;:::-;;13958:33;13970:4;:11;;;13983:7;13958:11;:33::i;:::-;13995:26;14013:7;13995:17;:26::i;:::-;14067:7;14054:31;14076:8;;14054:31;;;;;;;:::i;:::-;;;;;;;;14090:42;14106:7;14115:16;;14090:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14090:15:29::1;::::0;-1:-1:-1;;;14090:42:29:i:1;:::-;1535:1:11;;12963:1173:29::0;;;;;;:::o;21540:267::-;21651:4;21670:29;;;21662:38;;;;;;21709:6;21704:85;21721:18;;;21704:85;;;21753:31;21764:7;;21772:1;21764:10;;;;;;;;;;;;;21776:4;;21781:1;21776:7;;;;;;;;;;;;;21753:10;:31::i;:::-;-1:-1:-1;21741:3:29;;21704:85;;;-1:-1:-1;21799:4:29;;21540:267;-1:-1:-1;;;;;21540:267:29:o;14139:587::-;14196:33;14232:16;;;:7;:16;;;;;14275:37;14260:11;;;;:52;;;;;;;;;:115;;;-1:-1:-1;14335:40:29;14320:11;;;;:55;;;;;;;;;14260:115;14252:124;;;;;;14410:3;14388:4;:18;;;:25;;14380:34;;;;;;14419:51;;-1:-1:-1;;14419:51:29;14433:37;14419:51;;;;14520:11;;;14509:32;;14533:7;14509:10;:32::i;:::-;14550:9;14545:148;14569:17;;;:24;14565:28;;14545:148;;;14607:14;14624:4;:17;;14642:1;14624:20;;;;;;;;;;;;;;;;;;;14668:11;;;-1:-1:-1;;;;;14624:20:29;;;;-1:-1:-1;14649:39:29;;14624:20;14649:18;:39::i;:::-;-1:-1:-1;14595:3:29;;14545:148;;;-1:-1:-1;14702:20:29;;14714:7;;14702:20;;;;;14139:587;;:::o;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;11935:1025:29:-;1481:32:11;1489:16;;;:7;:16;;;;;;;;:23;;;1481:32;;:7;:32;;;;;:49;;;12004:7:29;;-1:-1:-1;;;;;1481:49:11;1465:12;:10;:12::i;:::-;-1:-1:-1;;;;;1465:65:11;;1457:74;;;;;;12018:33:29::1;12054:16:::0;;;:7:::1;:16;::::0;;;;12105:40:::1;12082:11:::0;;::::1;;:63;::::0;::::1;;;;;;;12074:72;;;::::0;::::1;;12181:3;12158:4;:18;;;:26;12150:72;;;::::0;::::1;;12257:3;12234:4;:19;;;:26;;:53;;;;-1:-1:-1::0;12264:18:29::1;::::0;::::1;::::0;:23;12234:53:::1;12226:72;;;::::0;::::1;;12308:9;12303:284;12327:17;::::0;::::1;:24:::0;12323:28;::::1;12303:284;;;12365:14;12382:4;:17;;12400:1;12382:20;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;12458:19:::1;::::0;::::1;::::0;12411:24;;;:15:::1;:24:::0;;;;;;-1:-1:-1;;;;;12382:20:29;;::::1;12411:32:::0;;;;;;;;;;;12382:20;12411:43:::1;::::0;12382:20;;-1:-1:-1;12411:66:29::1;12407:176;;;12488:24;::::0;;;:15:::1;:24;::::0;;;;;;;-1:-1:-1;;;;;12488:32:29;::::1;::::0;;;;;;;:89;;-1:-1:-1;;12488:89:29::1;12530:47;12488:89;::::0;;12407:176:::1;-1:-1:-1::0;12353:3:29::1;;12303:284;;;-1:-1:-1::0;12591:43:29::1;12637:20:::0;;;:11:::1;:20;::::0;;;;;;;12715:19:::1;::::0;::::1;::::0;12699:36;;;;;;;;;;12679:15:::1;::::0;::::1;::::0;:57:::1;::::0;:19:::1;:57::i;:::-;12661:15;::::0;;::::1;:75:::0;;;;12756:19:::1;::::0;::::1;::::0;;12779:1:::1;12740:36:::0;;;::::1;::::0;;;;;;;:40;;;12785:59;;-1:-1:-1;;12785:59:29::1;::::0;;::::1;::::0;;12848:25;;;;12877:19:::1;::::0;::::1;:23:::0;;;12904:18:::1;::::0;::::1;:23:::0;;;12937:19;;12948:7;;12937:19:::1;::::0;::::1;1535:1:11;;11935:1025:29::0;;:::o;21992:282::-;22111:4;22130:29;;;22122:38;;;;;;22169:6;22164:92;22181:18;;;22164:92;;;22213:38;22219:31;22230:7;;22238:1;22230:10;;;;;;;;;;;;;22242:4;;22247:1;22242:7;;;;;;22213:38;22201:3;;22164:92;;21810:179;21889:4;;21900:71;21917:18;;;21900:71;;;21949:17;21955:7;;21963:1;21955:10;;;;;;;;;;;;;21949:5;:17::i;:::-;21937:3;;21900:71;;;-1:-1:-1;21981:4:29;;21810:179;-1:-1:-1;;;21810:179:29:o;10821:1111::-;10916:41;10968:16;;;:7;:16;;;;;;;;11040:15;:24;;;;;10968:16;;10916:41;;11065:12;:10;:12::i;:::-;-1:-1:-1;;;;;11040:38:29;;;;;;;;;;;;-1:-1:-1;11040:38:29;;-1:-1:-1;11117:40:29;11090:11;;;;:67;;;;;;;;;11082:101;;;;;;11222:3;11195:4;:19;;;:30;11187:101;;;;;;11327:50;11300:19;;;;:77;;;;;;;;;11292:101;;;;;;11432:4;:19;;;11405:12;:23;;;:46;11397:101;;;;;;11578:7;11587:13;11547:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11537:65;;;;;;11510:12;:23;;;:92;11502:101;;;;;;11669:12;:10;:12::i;:::-;11683:7;11692:13;11652:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11642:65;;;;;;11615:12;:23;;;:92;11607:101;;;;;;11713:67;;-1:-1:-1;;11713:67:29;11735:45;11713:67;;;11806:18;;;;:25;;11713:67;11806:22;:25::i;:::-;11784:18;;;:47;11835:17;;;:35;;;11900:12;:10;:12::i;:::-;-1:-1:-1;;;;;11880:48:29;11891:7;11880:48;11914:13;11880:48;;;;;;:::i;:::-;;;;;;;;10821:1111;;;;:::o;590:104:81:-;677:10;590:104;:::o;1569:85:16:-;-1:-1:-1;1646:4:16;;1569:85::o;1614:163:32:-;1685:12;1764:8;1711:62;;;;;;;;:::i;:::-;;;;;;;;;;;;;1704:69;;1614:163;;;:::o;4605:684::-;4722:4;4737:22;4749:9;4737:11;:22::i;:::-;4733:553;;;4772:59;;-1:-1:-1;;;4772:59:32;;-1:-1:-1;;;;;4772:36:32;;;;;:59;;4809:9;;4820:10;;4772:59;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4772:59:32;;;;;;;;-1:-1:-1;;4772:59:32;;;;;;;;;;;;:::i;:::-;;;4768:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4927:40;4768:199;;;-1:-1:-1;;;;;;4871:46:32;-1:-1:-1;;;4871:46:32;;-1:-1:-1;4864:53:32;;4768:199;5013:20;;;;;;4976:70;;-1:-1:-1;;;4976:70:32;;-1:-1:-1;;;;;4976:36:32;;;;;:70;;5013:20;5035:10;;4976:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4976:70:32;;;;;;;;-1:-1:-1;;4976:70:32;;;;;;;;;;;;:::i;:::-;;;4972:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5142:40;4972:210;;;-1:-1:-1;;;;;;5086:46:32;-1:-1:-1;;;5086:46:32;;-1:-1:-1;5079:53:32;;4972:210;-1:-1:-1;5194:5:32;5187:12;;4733:553;5272:9;-1:-1:-1;;;;;5226:55:32;:42;5245:9;5235:20;;;;;;5257:10;5226:8;:42::i;:::-;-1:-1:-1;;;;;5226:55:32;;5219:62;;4733:553;4605:684;;;;;:::o;4938:122:16:-;5013:43;5018:7;5027;:16;5035:7;5027:16;;;;;;;;;;;:28;;;5013:4;:43::i;:::-;4938:122;;:::o;1147:268:77:-;1205:7;1293:1;1289;:5;1281:14;;;;;;1300:9;1316:1;1312;:5;;;;;;;1147:268;-1:-1:-1;;;;1147:268:77:o;1715:97::-;1773:7;1799:1;1794;:6;;:14;;1807:1;1794:14;;;-1:-1:-1;1803:1:77;;1787:21;-1:-1:-1;1715:97:77:o;470:124::-;528:7;555:1;550;:6;;542:15;;;;;;-1:-1:-1;573:5:77;;;470:124::o;669:362::-;727:7;944:6;940:32;;-1:-1:-1;966:1:77;959:8;;940:32;987:5;;;991:1;987;:5;:1;1004:5;;;;;:10;996:19;;;;;2487:1539;2907:4;2901:11;;2936:66;2916:87;;3027:66;3020:4;3014:11;;3007:87;3118:66;3105:11;;;3098:87;3209:66;3202:4;3196:11;;3189:87;3300:66;3293:4;3287:11;;3280:87;3391:66;3384:4;3378:11;;3371:87;3482:66;3475:4;3469:11;;3462:87;3573:66;3566:4;3560:11;;3553:87;2695:5;3657:13;;;3644:27;;;-1:-1:-1;;;2587:1:77;-1:-1:-1;;;2790:19:77;2755:11;2724:7;2667:4;2639;2611;-1:-1:-1;;2581:8:77;;2604:12;;;2598:19;2632:12;;;2626:19;2660:12;;;2654:19;2688:13;;;2682:20;2717:15;;;2711:22;2748:19;;;2742:26;2783:27;;;2777:34;2826:43;;;2820:50;2879:9;3688:64;3851:13;3847:25;;;3901:3;3897:10;3891:17;;;3885:24;3881:36;-1:-1:-1;;;3942:75:77;;;3933:85;3926:93;;2555:1468::o;227:124::-;285:7;311:5;;;328:6;;;;320:15;;;;;14997:1624:29;15078:38;15124:16;;;:7;:16;;;;;;;;15190:11;:20;;;;;15239:11;;;;;15231:20;;:7;:20;;;;;;;:26;;;15190:20;;15769:33;;15789:12;;15231:26;;15789:9;:12::i;:::-;15769:15;;;;;:19;:33::i;:::-;15728:15;:27;;;;;;;;;;;:38;;15760:5;15728:31;:38::i;:::-;:74;15724:894;;;15859:21;15894:9;15889:379;15913:17;;;:24;15909:28;;15889:379;;;15953:9;15965:4;:17;;15983:1;15965:20;;;;;;;;;;;;;;;;;;;;16005:24;;;:15;:24;;;;;;-1:-1:-1;;;;;15965:20:29;;;16005:27;;;;;;;;;15965:20;16005:38;;15965:20;;-1:-1:-1;16005:52:29;;:154;;;;-1:-1:-1;16109:50:29;16071:24;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;16071:27:29;;;;;;;;;:34;;;:88;;;;;;;;;16005:154;15991:272;;;16236:20;:13;16254:1;16236:17;:20::i;:::-;16220:36;;15991:272;-1:-1:-1;15939:3:29;;15889:379;;;-1:-1:-1;16326:62:29;;-1:-1:-1;;16326:62:29;16348:40;16326:62;;;;;16393:19;;;:32;;;16452:12;;;;:48;;16496:3;;16452:39;;:16;:39::i;:48::-;16430:19;;;:70;16527:1;16505:18;;;:23;16533:18;;;:35;;;16579:34;;16593:7;;16579:34;;;;16602:10;;16579:34;:::i;:::-;;;;;;;;15724:894;;14997:1624;;;;;:::o;1823:1159::-;1893:33;1929:16;;;:7;:16;;;;;2038:21;;;;2004:18;;;;2038:21;1975:14;;;1929:16;;1893:33;1975:85;;2038:21;1975:48;;:14;:28;:48::i;:85::-;2084:21;;;;1950:110;;-1:-1:-1;2064:17:29;;2084:64;;3222:2:4;2084:40:29;:64::i;:::-;2186:14;;;;2064:84;;-1:-1:-1;2180:46:29;;-1:-1:-1;;;;;2186:14:29;2202;2218:7;2180:5;:46::i;:::-;2251:14;;;;:18;2247:83;;2285:14;;;;2301;;;;2278:47;;-1:-1:-1;;;;;2285:14:29;;2317:7;2278:6;:47::i;:::-;2354:18;;;;:22;;;;:60;;-1:-1:-1;2380:12:29;;;:20;-1:-1:-1;;;;;2380:20:29;:34;;2354:60;2350:133;;;2430:18;;;;2450;;;;2423:55;;-1:-1:-1;;;;;2430:18:29;;2470:7;2423:6;:55::i;:::-;2516:21;;;;2509:40;;-1:-1:-1;;;;;2516:21:29;2539:9;2509:6;:40::i;:::-;3437:42:4;2646:13:29;2662:24;:9;:24;;;;2694:9;;2690:289;;2720:111;2825:5;2720:68;3344:10:4;2720:35:29;2825:5;3283:2:4;2720:22:29;:35::i;:68::-;:104;;:111::i;:::-;2712:119;;2879:45;3437:42:4;2909:5:29;2916:7;2879:5;:45::i;:::-;2936:21;;;;2929:45;;-1:-1:-1;;;;;2936:21:29;2959:5;2966:7;2929:6;:45::i;:::-;1823:1159;;;;;;:::o;19639:521::-;19702:32;;:::i;:::-;19737:16;;;;:7;:16;;;;;;;19702:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19702:51:29;;;;;;;;;;;;;;;;-1:-1:-1;;;19702:51:29;;;-1:-1:-1;;19702:51:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19702:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19702:51:29;;;-1:-1:-1;;19702:51:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19702:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19757:32;;:::i;:::-;19800:11;;;;;19792:20;;;;:7;:20;;;;;;;19757:55;;;;;;;;;-1:-1:-1;;;;;19757:55:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19757:55:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;19792:20;;19757:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19860:20;19886:77;19919:43;19936:4;:25;;;19927:3;19919:16;;:43;;;;:::i;:::-;19886:15;;;;;:21;;;:32;:77::i;:::-;19860:103;;19967:23;19993:39;20019:12;19993:4;:15;;;:21;;;:25;;:39;;;;:::i;:::-;19967:65;;20036:58;20058:12;:10;:12::i;:::-;20072;20086:7;20036:21;:58::i;:::-;20098;20118:4;:11;;;20131:15;20148:7;20098:19;:58::i;20219:1083::-;20307:14;20332:16;;;:7;:16;;;;;;;;:23;;;20324:32;;:7;:32;;;;;:41;;;-1:-1:-1;;;;;20324:41:29;20373:20;;20369:930;;21031:12;21045:23;21072:6;-1:-1:-1;;;;;21072:11:29;21089:13;;21160:7;21169:16;21104:82;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21104:82:29;;;;;;;;;;;;;;-1:-1:-1;;;;;21104:82:29;-1:-1:-1;;;21104:82:29;;;21072:115;;;21104:82;21072:115;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21030:157;;;;21227:2;21211:13;;:18;;;;;;21199:9;:30;21192:38;;;20369:930;20219:1083;;;:::o;16657:2920::-;16716:32;;:::i;:::-;16751:16;;;;:7;:16;;;;;;;16716:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16716:51:29;;;;;;;;;;;;;;;;-1:-1:-1;;;16716:51:29;;;-1:-1:-1;;16716:51:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16716:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16716:51:29;;;-1:-1:-1;;16716:51:29;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16716:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16771:32;;:::i;:::-;16814:11;;;;;16806:20;;;;:7;:20;;;;;;;16771:55;;;;;;;;;-1:-1:-1;;;;;16771:55:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16771:55:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;16806:20;;16771:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16831:22;16861:19;16886:4;:15;;;:21;;;16861:46;;16917:9;16912:535;16936:4;:17;;;:24;16932:1;:28;16912:535;;;16974:43;17026:4;:17;;;17044:1;17026:20;;;;;;;;;;;;;;;;;;;17051:49;17103:24;;;:15;:24;;;;;;-1:-1:-1;;;;;17103:32:29;;;;;;;;;;;17026:20;;-1:-1:-1;17168:45:29;17145:19;;;;:68;;;;;;;;;17141:302;;;17260:19;;;;17241:39;;:14;;:18;:39::i;:::-;17224:56;;17141:302;;;17420:16;;;;17404:33;;:11;;:15;:33::i;:::-;17390:47;;17141:302;-1:-1:-1;;16962:3:29;;16912:535;;;;17497:21;17521:67;17544:43;17561:4;:25;;;17552:3;17544:16;;:43;;;;:::i;:::-;17521:11;;:22;:67::i;:::-;17497:91;;17598:9;17593:1873;17617:4;:17;;;:24;17613:1;:28;17593:1873;;;17655:43;17707:4;:17;;;17725:1;17707:20;;;;;;;;;;;;;;;;;;;17732:49;17784:24;;;:15;:24;;;;;;-1:-1:-1;;;;;17784:32:29;;;;;;;;;;;17707:20;;-1:-1:-1;17849:45:29;17826:19;;;;:68;;;;;;;;;17822:1640;;;17956:19;;;;17905:20;;17928:64;;:13;;17977:14;17928:27;:64::i;:::-;17905:87;-1:-1:-1;18021:29:29;:11;17905:87;18021:15;:29::i;:::-;17998:52;;18057:39;18076:4;:11;;;18089:6;18057:18;:39::i;:::-;18102:52;18124:6;18132:12;18146:7;18102:21;:52::i;:::-;18235:1;18208:4;:17;;;:24;:28;18204:526;;;-1:-1:-1;;;;;18645:22:29;;;;;;:14;:22;;;;;;:29;;18672:1;18645:26;:29::i;:::-;-1:-1:-1;;;;;18620:22:29;;;;;;:14;:22;;;;;;:54;;;;18686:37;;18715:7;;18686:37;;;18204:526;17822:1640;;;;18853:47;18871:4;:11;;;18884:6;18892:7;18853:17;:47::i;:::-;-1:-1:-1;;;;;19362:22:29;;;;;;:14;:22;;;;;;:41;;19399:1;19401;19362:36;:41::i;:::-;-1:-1:-1;;;;;19337:22:29;;;;;;:14;:22;;;;;;:66;;;;19415:35;;19442:7;;19415:35;;;17822:1640;-1:-1:-1;;17643:3:29;;17593:1873;;;;19519:54;19539:4;:11;;;19552;19565:7;19519:19;:54::i;2985:580::-;3054:32;;:::i;:::-;3089:16;;;;:7;:16;;;;;;;;;3054:51;;;;;;;;;-1:-1:-1;;;;;3054:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3054:51:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;3089:16;;3054:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3110:22;3135:85;3198:4;:15;;;:21;;;3135:48;3164:4;:12;;;:18;;;3135:4;:8;;;:14;;;:28;;:48;;;;:::i;:85::-;3110:110;;3224:17;3244:64;3222:2:4;3244:4:29;:15;;;:21;;;:40;;:64;;;;:::i;:::-;3224:84;;3313:49;3320:4;:14;;;3343;3313:6;:49::i;:::-;3366;3373:4;:15;;;:21;;;3396:9;3407:7;3366:5;:49::i;:::-;3419;3437:42:4;3449:9:29;3460:7;3419:6;:49::i;:::-;3492;3437:42:4;3522:9:29;3492:4;:49::i;5063:126:16:-;5140:45;5147:7;5156;:16;5164:7;5156:16;;;;;;;;;;;:28;;;5140:6;:45::i;2957:562:32:-;3019:4;3439:20;;3296:66;3472:23;;;;;;:42;;-1:-1:-1;3499:15:32;;;3472:42;3464:51;2957:562;-1:-1:-1;;;;2957:562:32:o;2067:820::-;2144:7;2158:9;2171;2184;2202:5;:12;2218:2;2202:18;2198:572;;;-1:-1:-1;;;2302:4:32;2291:16;;2285:23;2343:4;2332:16;;2326:23;2384:4;2373:16;;2367:23;2364:1;2359:32;2266:130;;;2412:5;:12;2428:2;2412:18;2408:362;;;-1:-1:-1;;;2534:4:32;2523:16;;2517:23;2582:4;2571:16;;2565:23;-1:-1:-1;;;;;2550:107:32;;;2679:1;2674:32;2671:1;2667:40;2491:221;;;2731:34;;-1:-1:-1;;;2731:34:32;;;;;;;:::i;2408:362::-;2782:2;2778:1;:6;;;2774:19;;;2791:2;2786:7;2774:19;2805:1;:7;;2810:2;2805:7;:18;;;;2816:1;:7;;2821:2;2816:7;2805:18;2797:50;;;;-1:-1:-1;;;2797:50:32;;;;;;;:::i;:::-;2858:25;2868:5;2875:1;2878;2881;2858:25;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2858:25:32;;-1:-1:-1;;2858:25:32;;;2067:820;-1:-1:-1;;;;;;;2067:820:32:o;4213:228:16:-;4293:47;4312:4;4326;4333:6;4293:18;:47::i;:::-;-1:-1:-1;;;;;4362:15:16;;;;;;:9;:15;;;;;;:27;;4382:6;4362:19;:27::i;:::-;-1:-1:-1;;;;;4344:15:16;;;;;;:9;:15;;;;;;;:45;;;;4398:18;;;;;4354:4;;4409:6;;4398:18;:::i;:::-;;;;;;;;4213:228;;:::o;2218:114:77:-;2283:7;2304:24;2318:1;2321;2324:3;2304:13;:24::i;4013:197:16:-;-1:-1:-1;;;;;4125:15:16;;;;;;:9;:15;;;;;;:27;;4145:6;4125:19;:27::i;:::-;-1:-1:-1;;;;;4107:15:16;;;;;;:9;:15;;;;;;;:45;;;;4161:24;;;;;4117:4;;4173:6;;4181:3;;4161:24;:::i;:::-;;;;;;;;4013:197;;;:::o;3785:225::-;3880:47;3907:4;3914;3920:6;3880:18;:47::i;:::-;3960:25;3967:4;3973:6;3981:3;3960:25;;;;;;;;:::i;4444:256::-;4526:47;4553:4;4560;4566:6;4526:18;:47::i;:::-;-1:-1:-1;;;;;4619:15:16;;;;;;:9;:15;;;;;;:27;;4639:6;4619:19;:27::i;:::-;-1:-1:-1;;;;;4601:15:16;;;;;;:9;:15;;;;;;;:45;;;;4655:20;;;;;4611:4;;4668:6;;4655:20;:::i;1869:96:77:-;1927:7;1952:1;1948;:5;:13;;1960:1;1948:13;;5192:134:16;5289:33;5296:7;5305;5314;5289:6;:33::i;5482:158::-;5584:16;;;;:7;:16;;;;;:33;;;5577:59;;-1:-1:-1;;;;;5584:33:16;5619:7;5628;5577:6;:59::i;2022:121:77:-;2101:7;2122:17;2126:9;2130:1;2133;2126:3;:9::i;:::-;2137:1;2122:3;:17::i;5329:150:16:-;5422:53;5428:7;5437;:16;5445:7;5437:16;;;;;;;;;;;:28;;;5467:7;5422:5;:53::i;1755:404::-;-1:-1:-1;;;;;1857:20:16;;1849:70;;;;-1:-1:-1;;;1849:70:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;1931:23:16;;1923:71;;;;-1:-1:-1;;;1923:71:16;;;;;;;:::i;:::-;-1:-1:-1;;;;;2020:18:16;;;;;;:10;:18;;;;;;:30;;2043:6;2020:22;:30::i;:::-;-1:-1:-1;;;;;1999:18:16;;;;;;;:10;:18;;;;;;:51;;;;2078:21;;;;;;;:33;;2104:6;2078:25;:33::i;:::-;-1:-1:-1;;;;;2054:21:16;;;;;;;:10;:21;;;;;;;:57;;;;2120:35;;;;;;;;;;2148:6;;2120:35;:::i;:::-;;;;;;;;1755:404;;;:::o;-1:-1:-1:-;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;5:130;72:20;;-1:-1;;;;;24523:54;;25923:35;;25913:2;;25972:1;;25962:12;160:352;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;1188:336::-;;;1302:3;1295:4;1287:6;1283:17;1279:27;1269:2;;-1:-1;;1310:12;1269:2;-1:-1;1340:20;;1380:18;1369:30;;1366:2;;;-1:-1;;1402:12;1366:2;1446:4;1438:6;1434:17;1422:29;;1497:3;1446:4;1477:17;1438:6;1463:32;;1460:41;1457:2;;;1514:1;;1504:12;1533:440;;1634:3;1627:4;1619:6;1615:17;1611:27;1601:2;;-1:-1;;1642:12;1601:2;1689:6;1676:20;22972:18;;22964:6;22961:30;22958:2;;;-1:-1;;22994:12;22958:2;22628;22622:9;23067;23048:17;;-1:-1;;23044:33;22654:17;;23135:4;22654:17;22714:34;;;22750:22;;;22711:62;22708:2;;;-1:-1;;22776:12;22708:2;22628;22795:22;1781:21;;;1702:73;-1:-1;1702:73;1881:16;;;23135:4;1881:16;1878:25;-1:-1;1875:2;;;1916:1;;1906:12;1875:2;24838:6;23135:4;1823:6;1819:17;23135:4;1857:5;1853:16;24815:30;24894:1;23135:4;24885:6;1857:5;24876:16;;24869:27;;;;1594:379;;;;:::o;2118:241::-;;2222:2;2210:9;2201:7;2197:23;2193:32;2190:2;;;-1:-1;;2228:12;2190:2;2290:53;2335:7;2311:22;2290:53;:::i;2366:397::-;;;2505:2;2493:9;2484:7;2480:23;2476:32;2473:2;;;-1:-1;;2511:12;2473:2;2569:17;2556:31;2607:18;2599:6;2596:30;2593:2;;;-1:-1;;2629:12;2593:2;2667:80;2739:7;2730:6;2719:9;2715:22;2667:80;:::i;:::-;2649:98;;;;-1:-1;2467:296;-1:-1;;;;2467:296::o;2770:678::-;;;;;2961:2;2949:9;2940:7;2936:23;2932:32;2929:2;;;-1:-1;;2967:12;2929:2;3025:17;3012:31;3063:18;;3055:6;3052:30;3049:2;;;-1:-1;;3085:12;3049:2;3123:80;3195:7;3186:6;3175:9;3171:22;3123:80;:::i;:::-;3105:98;;-1:-1;3105:98;-1:-1;3268:2;3253:18;;3240:32;;-1:-1;3281:30;;;3278:2;;;-1:-1;;3314:12;3278:2;;3352:80;3424:7;3415:6;3404:9;3400:22;3352:80;:::i;:::-;2923:525;;;;-1:-1;3334:98;-1:-1;;;;2923:525::o;3455:241::-;;3559:2;3547:9;3538:7;3534:23;3530:32;3527:2;;;-1:-1;;3565:12;3527:2;-1:-1;965:20;;3521:175;-1:-1;3521:175::o;3703:366::-;;;3824:2;3812:9;3803:7;3799:23;3795:32;3792:2;;;-1:-1;;3830:12;3792:2;-1:-1;;965:20;;;3982:2;4021:22;;;965:20;;-1:-1;3786:283::o;4076:1077::-;;;;;;;4283:3;4271:9;4262:7;4258:23;4254:33;4251:2;;;-1:-1;;4290:12;4251:2;965:20;;;-1:-1;4442:2;4481:22;;965:20;;-1:-1;4550:2;4589:22;;965:20;;-1:-1;4658:2;4697:22;;72:20;-1:-1;;;;;24523:54;;25923:35;;25913:2;;-1:-1;;25962:12;25913:2;4666:63;-1:-1;4794:3;4779:19;;4766:33;4819:18;4808:30;;;4805:2;;;-1:-1;;4841:12;4805:2;4871:62;4925:7;4916:6;4905:9;4901:22;4871:62;:::i;:::-;4861:72;;4998:3;4987:9;4983:19;4970:33;4956:47;;4819:18;5015:6;5012:30;5009:2;;;-1:-1;;5045:12;5009:2;;5075:62;5129:7;5120:6;5109:9;5105:22;5075:62;:::i;:::-;5065:72;;;4245:908;;;;;;;;:::o;5160:1411::-;;;;;;;;5402:3;5390:9;5381:7;5377:23;5373:33;5370:2;;;-1:-1;;5409:12;5370:2;5492:22;965:20;5461:63;;5561:2;5604:9;5600:22;965:20;5569:63;;5697:2;5686:9;5682:18;5669:32;5721:18;;5713:6;5710:30;5707:2;;;-1:-1;;5743:12;5707:2;5773:62;5827:7;5818:6;5807:9;5803:22;5773:62;:::i;:::-;5763:72;;5900:2;5889:9;5885:18;5872:32;5858:46;;5721:18;5916:6;5913:30;5910:2;;;-1:-1;;5946:12;5910:2;5976:62;6030:7;6021:6;6010:9;6006:22;5976:62;:::i;:::-;5966:72;;6094:53;6139:7;6075:3;6119:9;6115:22;6094:53;:::i;:::-;6084:63;;6212:3;6201:9;6197:19;6184:33;6170:47;;5721:18;6229:6;6226:30;6223:2;;;-1:-1;;6259:12;6223:2;6289:62;6343:7;6334:6;6323:9;6319:22;6289:62;:::i;:::-;6279:72;;6416:3;6405:9;6401:19;6388:33;6374:47;;5721:18;6433:6;6430:30;6427:2;;;-1:-1;;6463:12;6427:2;;6493:62;6547:7;6538:6;6527:9;6523:22;6493:62;:::i;:::-;6483:72;;;5364:1207;;;;;;;;;;:::o;6578:739::-;;;;;;6754:2;6742:9;6733:7;6729:23;6725:32;6722:2;;;-1:-1;;6760:12;6722:2;978:6;965:20;6812:63;;6940:2;6929:9;6925:18;6912:32;6964:18;;6956:6;6953:30;6950:2;;;-1:-1;;6986:12;6950:2;7024:64;7080:7;7071:6;7060:9;7056:22;7024:64;:::i;:::-;7006:82;;-1:-1;7006:82;-1:-1;7153:2;7138:18;;7125:32;;-1:-1;7166:30;;;7163:2;;;-1:-1;;7199:12;7163:2;;7237:64;7293:7;7284:6;7273:9;7269:22;7237:64;:::i;:::-;6716:601;;;;-1:-1;6716:601;;-1:-1;7219:82;;;6716:601;-1:-1;;;6716:601::o;7697:261::-;;7811:2;7799:9;7790:7;7786:23;7782:32;7779:2;;;-1:-1;;7817:12;7779:2;1112:13;;-1:-1;;;;;;24371:78;;26170:34;;26160:2;;-1:-1;;26208:12;9494:343;;9636:5;23244:12;23400:6;23395:3;23388:19;9729:52;9774:6;23437:4;23432:3;23428:14;23437:4;9755:5;9751:16;9729:52;:::i;:::-;23067:9;25725:14;-1:-1;;25721:28;9793:39;;;;23437:4;9793:39;;9584:253;-1:-1;;9584:253::o;13159:563::-;-1:-1;;25836:2;25832:14;;;;;8070:74;;13472:2;13463:12;;8617:37;;;;25832:14;;;13574:12;;;8070:74;13685:12;;;13347:375::o;13729:563::-;25836:2;25832:14;;;;-1:-1;;25832:14;8070:74;;14042:2;14033:12;;8617:37;;;;14144:12;;;8617:37;14255:12;;;13917:375::o;14299:392::-;8617:37;;;14552:2;14543:12;;8617:37;14654:12;;;14443:248::o;15097:291::-;;24838:6;24833:3;24828;24815:30;24876:16;;24869:27;;;24876:16;15241:147;-1:-1;15241:147::o;15395:271::-;;10004:5;23244:12;10115:52;10160:6;10155:3;10148:4;10141:5;10137:16;10115:52;:::i;:::-;10179:16;;;;;15529:137;-1:-1;;15529:137::o;15673:520::-;10885:66;10865:87;;10849:2;10971:12;;8617:37;;;;16156:12;;;15890:303::o;16200:222::-;-1:-1;;;;;24523:54;;;;8227:37;;16327:2;16312:18;;16298:124::o;16429:333::-;-1:-1;;;;;24523:54;;;;8227:37;;16748:2;16733:18;;8617:37;16584:2;16569:18;;16555:207::o;16769:444::-;-1:-1;;;;;24523:54;;;;8227:37;;17116:2;17101:18;;8617:37;;;;17199:2;17184:18;;8617:37;16952:2;16937:18;;16923:290::o;17220:210::-;24205:13;;24198:21;8500:34;;17341:2;17326:18;;17312:118::o;17437:222::-;8617:37;;;17564:2;17549:18;;17535:124::o;17666:417::-;;8647:5;8624:3;8617:37;17839:2;17957;17946:9;17942:18;17935:48;17997:76;17839:2;17828:9;17824:18;18059:6;17997:76;:::i;18090:548::-;8617:37;;;24739:4;24728:16;;;;18458:2;18443:18;;13112:35;18541:2;18526:18;;8617:37;18624:2;18609:18;;8617:37;18297:3;18282:19;;18268:370::o;18645:326::-;;18800:2;18821:17;18814:47;23400:6;18800:2;18789:9;18785:18;23388:19;24838:6;24833:3;23428:14;18789:9;23428:14;24815:30;24876:16;;;23428:14;24876:16;;;24869:27;;;;23067:9;25725:14;;;-1:-1;;25721:28;9100:39;;;18771:200;-1:-1;18771:200::o;18978:306::-;;19123:2;19144:17;19137:47;19198:76;19123:2;19112:9;19108:18;19260:6;19198:76;:::i;19291:501::-;;19482:2;19503:17;19496:47;19557:76;19482:2;19471:9;19467:18;19619:6;19557:76;:::i;:::-;19681:9;19675:4;19671:20;19666:2;19655:9;19651:18;19644:48;19706:76;19777:4;19768:6;19706:76;:::i;:::-;19698:84;19453:339;-1:-1;;;;;19453:339::o;19799:416::-;19999:2;20013:47;;;10432:2;19984:18;;;23388:19;10468:34;23428:14;;;10448:55;-1:-1;;;10523:12;;;10516:27;10562:12;;;19970:245::o;20222:416::-;20422:2;20436:47;;;11222:2;20407:18;;;23388:19;11258:34;23428:14;;;11238:55;-1:-1;;;11313:12;;;11306:30;11355:12;;;20393:245::o;20645:416::-;20845:2;20859:47;;;11606:2;20830:18;;;23388:19;-1:-1;;;23428:14;;;11622:42;11683:12;;;20816:245::o;21068:416::-;21268:2;21282:47;;;21253:18;;;23388:19;11970:34;23428:14;;;11950:55;12024:12;;;21239:245::o;21491:416::-;21691:2;21705:47;;;12275:2;21676:18;;;23388:19;12311:34;23428:14;;;12291:55;-1:-1;;;12366:12;;;12359:29;12407:12;;;21662:245::o;21914:416::-;22114:2;22128:47;;;12658:2;22099:18;;;23388:19;12694:26;23428:14;;;12674:47;12740:12;;;22085:245::o;24911:268::-;24976:1;24983:101;24997:6;24994:1;24991:13;24983:101;;;25064:11;;;25058:18;25045:11;;;25038:39;25019:2;25012:10;24983:101;;;25099:6;25096:1;25093:13;25090:2;;;24976:1;25155:6;25150:3;25146:16;25139:27;25090:2;;24960:219;;;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@iexec/solidity/contracts/ERC1154/IERC1154.sol\";\nimport \"./IexecERC20Core.sol\";\nimport \"./SignatureVerifier.sol\";\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecPoco2.sol\";\n\n\ncontract IexecPoco2Delegate is IexecPoco2, DelegateBase, IexecERC20Core, SignatureVerifier\n{\n\t/***************************************************************************\n\t * Escrow overhead for contribution *\n\t ***************************************************************************/\n\tfunction successWork(bytes32 _dealid, bytes32 _taskid)\n\tinternal\n\t{\n\t\tIexecLibCore_v5.Deal storage deal = m_deals[_dealid];\n\n\t\tuint256 requesterstake = deal.app.price\n\t\t\t\t\t\t\t\t .add(deal.dataset.price)\n\t\t\t\t\t\t\t\t .add(deal.workerpool.price);\n\t\tuint256 poolstake = deal.workerpool.price\n\t\t\t\t\t\t\t.percentage(WORKERPOOL_STAKE_RATIO);\n\n\t\t// seize requester funds\n\t\tseize(deal.requester, requesterstake, _taskid);\n\t\t// dapp reward\n\t\tif (deal.app.price > 0)\n\t\t{\n\t\t\treward(deal.app.owner, deal.app.price, _taskid);\n\t\t}\n\t\t// data reward\n\t\tif (deal.dataset.price > 0 && deal.dataset.pointer != address(0))\n\t\t{\n\t\t\treward(deal.dataset.owner, deal.dataset.price, _taskid);\n\t\t}\n\t\t// unlock pool stake\n\t\tunlock(deal.workerpool.owner, poolstake);\n\t\t// pool reward performed by consensus manager\n\n\t\t/**\n\t\t * Retrieve part of the kitty\n\t\t */\n\t\tuint256 kitty = m_frozens[KITTY_ADDRESS];\n\t\tif (kitty > 0)\n\t\t{\n\t\t\tkitty = kitty\n\t\t\t\t\t.percentage(KITTY_RATIO) // fraction\n\t\t\t\t\t.max(KITTY_MIN) // at least this\n\t\t\t\t\t.min(kitty); // but not more than available\n\t\t\tseize (KITTY_ADDRESS, kitty, _taskid);\n\t\t\treward(deal.workerpool.owner, kitty, _taskid);\n\t\t}\n\t}\n\n\tfunction failedWork(bytes32 _dealid, bytes32 _taskid)\n\tinternal\n\t{\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[_dealid];\n\n\t\tuint256 requesterstake = deal.app.price\n\t\t\t\t\t\t\t\t .add(deal.dataset.price)\n\t\t\t\t\t\t\t\t .add(deal.workerpool.price);\n\t\tuint256 poolstake = deal.workerpool.price\n\t\t\t\t\t\t\t.percentage(WORKERPOOL_STAKE_RATIO);\n\n\t\tunlock(deal.requester, requesterstake );\n\t\tseize (deal.workerpool.owner, poolstake, _taskid);\n\t\treward(KITTY_ADDRESS, poolstake, _taskid); // → Kitty / Burn\n\t\tlock (KITTY_ADDRESS, poolstake ); // → Kitty / Burn\n\t}\n\n\t/***************************************************************************\n\t * Consensus methods *\n\t ***************************************************************************/\n\tfunction initialize(bytes32 _dealid, uint256 idx)\n\tpublic override returns (bytes32)\n\t{\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[_dealid];\n\n\t\trequire(idx >= deal.botFirst );\n\t\trequire(idx < deal.botFirst.add(deal.botSize));\n\n\t\tbytes32 taskid = keccak256(abi.encodePacked(_dealid, idx));\n\t\tIexecLibCore_v5.Task storage task = m_tasks[taskid];\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.UNSET);\n\n\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.ACTIVE;\n\t\ttask.dealid = _dealid;\n\t\ttask.idx = idx;\n\t\ttask.timeref = m_categories[deal.category].workClockTimeRef;\n\t\ttask.contributionDeadline = task.timeref.mul(CONTRIBUTION_DEADLINE_RATIO).add(deal.startTime);\n\t\ttask.finalDeadline = task.timeref.mul( FINAL_DEADLINE_RATIO).add(deal.startTime);\n\n\t\t// setup denominator\n\t\tm_consensus[taskid].total = 1;\n\n\t\temit TaskInitialize(taskid, deal.workerpool.pointer);\n\n\t\treturn taskid;\n\t}\n\t// TODO / COMPILER ERROR: making it external causes \"stack too deep\" error\n\tfunction contribute(\n\t\tbytes32 _taskid,\n\t\tbytes32 _resultHash,\n\t\tbytes32 _resultSeal,\n\t\taddress _enclaveChallenge,\n\t\tbytes memory _enclaveSign,\n\t\tbytes memory _authorizationSign)\n\tpublic override\n\t{\n\t\trequire(_isAuthorized(_msgSender()));\n\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Contribution storage contribution = m_contributions[_taskid][_msgSender()];\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[task.dealid];\n\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.ACTIVE );\n\t\trequire(task.contributionDeadline > now );\n\t\trequire(contribution.status == IexecLibCore_v5.ContributionStatusEnum.UNSET);\n\n\t\t// need enclave challenge if tag is set\n\t\trequire(_enclaveChallenge != address(0) || (deal.tag[31] & 0x01 == 0));\n\n\t\t// Check that the worker + taskid + enclave combo is authorized to contribute (scheduler signature)\n\t\trequire(_checkSignature(\n\t\t\t( _enclaveChallenge != address(0) && m_teebroker != address(0) ) ? m_teebroker : deal.workerpool.owner,\n\t\t\t_toEthSignedMessage(keccak256(abi.encodePacked(\n\t\t\t\t_msgSender(),\n\t\t\t\t_taskid,\n\t\t\t\t_enclaveChallenge\n\t\t\t))),\n\t\t\t_authorizationSign\n\t\t));\n\n\t\t// Check enclave signature\n\t\trequire(_enclaveChallenge == address(0) || _checkSignature(\n\t\t\t_enclaveChallenge,\n\t\t\t_toEthSignedMessage(keccak256(abi.encodePacked(\n\t\t\t\t_resultHash,\n\t\t\t\t_resultSeal\n\t\t\t))),\n\t\t\t_enclaveSign\n\t\t));\n\n\t\t// Update contribution entry\n\t\tcontribution.status = IexecLibCore_v5.ContributionStatusEnum.CONTRIBUTED;\n\t\tcontribution.resultHash = _resultHash;\n\t\tcontribution.resultSeal = _resultSeal;\n\t\tcontribution.enclaveChallenge = _enclaveChallenge;\n\t\ttask.contributors.push(_msgSender());\n\n\t\tlockContribution(task.dealid, _msgSender());\n\n\t\temit TaskContribute(_taskid, _msgSender(), _resultHash);\n\n\t\t// Contribution done → updating and checking consensus\n\n\t\t/*************************************************************************\n\t\t * SCORE POLICY 1/3 *\n\t\t * *\n\t\t * see documentation! *\n\t\t *************************************************************************/\n\t\t// k = 3\n\t\tIexecLibCore_v5.Consensus storage consensus = m_consensus[_taskid];\n\n\t\tuint256 weight = m_workerScores[_msgSender()].div(3).max(3).sub(1);\n\t\tuint256 group = consensus.group[_resultHash];\n\t\tuint256 delta = group.max(1).mul(weight).sub(group);\n\n\t\tcontribution.weight = weight.log();\n\t\tconsensus.group[_resultHash] = consensus.group[_resultHash].add(delta);\n\t\tconsensus.total = consensus.total.add(delta);\n\n\t\t// Check consensus\n\t\tcheckConsensus(_taskid, _resultHash);\n\t}\n\n\t// TODO / COMPILER ERROR: making it external causes \"stack too deep\" error\n\tfunction contributeAndFinalize(\n\t\tbytes32 _taskid,\n\t\tbytes32 _resultDigest,\n\t\tbytes memory _results,\n\t\tbytes memory _resultsCallback, // Expansion - result separation\n\t\taddress _enclaveChallenge,\n\t\tbytes memory _enclaveSign,\n\t\tbytes memory _authorizationSign)\n\tpublic override\n\t{\n\t\trequire(_isAuthorized(_msgSender()));\n\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Contribution storage contribution = m_contributions[_taskid][_msgSender()];\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[task.dealid];\n\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.ACTIVE);\n\t\trequire(task.contributionDeadline > now );\n\t\trequire(task.contributors.length == 0 );\n\t\trequire(deal.trust == 1 ); // TODO / FUTURE FEATURE: consider sender's score ?\n\n\t\tbytes32 resultHash = keccak256(abi.encodePacked( _taskid, _resultDigest));\n\t\tbytes32 resultSeal = keccak256(abi.encodePacked(_msgSender(), _taskid, _resultDigest));\n\n\t\trequire((deal.callback == address(0) && _resultsCallback.length == 0) || keccak256(_resultsCallback) == task.resultDigest);\n\n\t\t// need enclave challenge if tag is set\n\t\trequire(_enclaveChallenge != address(0) || (deal.tag[31] & 0x01 == 0));\n\n\t\t// Check that the worker + taskid + enclave combo is authorized to contribute (scheduler signature)\n\t\trequire(_checkSignature(\n\t\t\t( _enclaveChallenge != address(0) && m_teebroker != address(0) ) ? m_teebroker : deal.workerpool.owner,\n\t\t\t_toEthSignedMessage(keccak256(abi.encodePacked(\n\t\t\t\t_msgSender(),\n\t\t\t\t_taskid,\n\t\t\t\t_enclaveChallenge\n\t\t\t))),\n\t\t\t_authorizationSign\n\t\t));\n\n\t\t// Check enclave signature\n\t\trequire(_enclaveChallenge == address(0) || _checkSignature(\n\t\t\t_enclaveChallenge,\n\t\t\t_toEthSignedMessage(keccak256(abi.encodePacked(\n\t\t\t\tresultHash,\n\t\t\t\tresultSeal\n\t\t\t))),\n\t\t\t_enclaveSign\n\t\t));\n\n\t\tcontribution.status = IexecLibCore_v5.ContributionStatusEnum.PROVED;\n\t\tcontribution.resultHash = resultHash;\n\t\tcontribution.resultSeal = resultSeal;\n\t\tcontribution.enclaveChallenge = _enclaveChallenge;\n\n\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.COMPLETED;\n\t\ttask.consensusValue = contribution.resultHash;\n\t\ttask.revealDeadline = task.timeref.mul(REVEAL_DEADLINE_RATIO).add(now);\n\t\ttask.revealCounter = 1;\n\t\ttask.winnerCounter = 1;\n\t\ttask.resultDigest = _resultDigest;\n\t\ttask.results = _results;\n\t\ttask.resultsCallback = _resultsCallback; // Expansion - result separation\n\t\ttask.contributors.push(_msgSender());\n\n\t\tsuccessWork(task.dealid, _taskid);\n\t\tdistributeRewardsFast(_taskid);\n\n\t\temit TaskContribute(_taskid, _msgSender(), resultHash);\n\t\temit TaskConsensus(_taskid, resultHash);\n\t\temit TaskReveal(_taskid, _msgSender(), _resultDigest);\n\t\temit TaskFinalize(_taskid, _results);\n\n\t\texecuteCallback(_taskid, _resultsCallback);\n\t}\n\n\tfunction reveal(\n\t\tbytes32 _taskid,\n\t\tbytes32 _resultDigest)\n\texternal override // worker\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Contribution storage contribution = m_contributions[_taskid][_msgSender()];\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.REVEALING );\n\t\trequire(task.revealDeadline > now );\n\t\trequire(contribution.status == IexecLibCore_v5.ContributionStatusEnum.CONTRIBUTED );\n\t\trequire(contribution.resultHash == task.consensusValue );\n\t\trequire(contribution.resultHash == keccak256(abi.encodePacked( _taskid, _resultDigest)));\n\t\trequire(contribution.resultSeal == keccak256(abi.encodePacked(_msgSender(), _taskid, _resultDigest)));\n\n\t\tcontribution.status = IexecLibCore_v5.ContributionStatusEnum.PROVED;\n\t\ttask.revealCounter = task.revealCounter.add(1);\n\t\ttask.resultDigest = _resultDigest;\n\n\t\temit TaskReveal(_taskid, _msgSender(), _resultDigest);\n\t}\n\n\tfunction reopen(\n\t\tbytes32 _taskid)\n\texternal override onlyScheduler(_taskid)\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.REVEALING);\n\t\trequire(task.finalDeadline > now );\n\t\trequire(task.revealDeadline <= now && task.revealCounter == 0 );\n\n\t\tfor (uint256 i = 0; i < task.contributors.length; ++i)\n\t\t{\n\t\t\taddress worker = task.contributors[i];\n\t\t\tif (m_contributions[_taskid][worker].resultHash == task.consensusValue)\n\t\t\t{\n\t\t\t\tm_contributions[_taskid][worker].status = IexecLibCore_v5.ContributionStatusEnum.REJECTED;\n\t\t\t}\n\t\t}\n\n\t\tIexecLibCore_v5.Consensus storage consensus = m_consensus[_taskid];\n\t\tconsensus.total = consensus.total.sub(consensus.group[task.consensusValue]);\n\t\tconsensus.group[task.consensusValue] = 0;\n\n\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.ACTIVE;\n\t\ttask.consensusValue = 0x0;\n\t\ttask.revealDeadline = 0;\n\t\ttask.winnerCounter = 0;\n\n\t\temit TaskReopen(_taskid);\n\t}\n\n\tfunction finalize(\n\t\tbytes32 _taskid,\n\t\tbytes calldata _results,\n\t\tbytes calldata _resultsCallback) // Expansion - result separation\n\texternal override onlyScheduler(_taskid)\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[task.dealid];\n\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.REVEALING );\n\t\trequire(task.finalDeadline > now );\n\t\trequire(task.revealCounter == task.winnerCounter || (task.revealCounter > 0 && task.revealDeadline <= now));\n\n\t\trequire((deal.callback == address(0) && _resultsCallback.length == 0) || keccak256(_resultsCallback) == task.resultDigest);\n\n\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.COMPLETED;\n\t\ttask.results = _results;\n\t\ttask.resultsCallback = _resultsCallback; // Expansion - result separation\n\n\t\t/**\n\t\t * Stake and reward management\n\t\t */\n\t\tsuccessWork(task.dealid, _taskid);\n\t\tdistributeRewards(_taskid);\n\n\t\t/**\n\t\t * Event\n\t\t */\n\t\temit TaskFinalize(_taskid, _results);\n\n\t\texecuteCallback(_taskid, _resultsCallback);\n\t}\n\n\tfunction claim(\n\t\tbytes32 _taskid)\n\tpublic override\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\trequire(task.status == IexecLibCore_v5.TaskStatusEnum.ACTIVE\n\t\t\t || task.status == IexecLibCore_v5.TaskStatusEnum.REVEALING);\n\t\trequire(task.finalDeadline <= now);\n\n\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.FAILED;\n\n\t\t/**\n\t\t * Stake management\n\t\t */\n\t\tfailedWork(task.dealid, _taskid);\n\t\tfor (uint256 i = 0; i < task.contributors.length; ++i)\n\t\t{\n\t\t\taddress worker = task.contributors[i];\n\t\t\tunlockContribution(task.dealid, worker);\n\t\t}\n\n\t\temit TaskClaimed(_taskid);\n\t}\n\n\t/***************************************************************************\n\t * Internal Consensus methods *\n\t ***************************************************************************/\n\t/*\n\t * Consensus detection\n\t */\n\tfunction checkConsensus(\n\t\tbytes32 _taskid,\n\t\tbytes32 _consensus)\n\tinternal\n\t{\n\t\tIexecLibCore_v5.Task storage task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Consensus storage consensus = m_consensus[_taskid];\n\n\t\tuint256 trust = m_deals[task.dealid].trust;\n\t\t/*************************************************************************\n\t\t * Consensus detection *\n\t\t * *\n\t\t * see documentation: *\n\t\t * ./ audit/docs/iExec_PoCo_and_trustmanagement_v1.pdf *\n\t\t *************************************************************************/\n\t\tif (consensus.group[_consensus].mul(trust) > consensus.total.mul(trust.sub(1)))\n\t\t{\n\t\t\t// Preliminary checks done in \"contribute()\"\n\t\t\tuint256 winnerCounter = 0;\n\t\t\tfor (uint256 i = 0; i < task.contributors.length; ++i)\n\t\t\t{\n\t\t\t\taddress w = task.contributors[i];\n\t\t\t\tif\n\t\t\t\t(\n\t\t\t\t\tm_contributions[_taskid][w].resultHash == _consensus\n\t\t\t\t\t&&\n\t\t\t\t\tm_contributions[_taskid][w].status == IexecLibCore_v5.ContributionStatusEnum.CONTRIBUTED // REJECTED contribution must not be count\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\twinnerCounter = winnerCounter.add(1);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// _msgSender() is a contributor: no need to check\n\t\t\ttask.status = IexecLibCore_v5.TaskStatusEnum.REVEALING;\n\t\t\ttask.consensusValue = _consensus;\n\t\t\ttask.revealDeadline = task.timeref.mul(REVEAL_DEADLINE_RATIO).add(now);\n\t\t\ttask.revealCounter = 0;\n\t\t\ttask.winnerCounter = winnerCounter;\n\n\t\t\temit TaskConsensus(_taskid, _consensus);\n\t\t}\n\t}\n\n\t/*\n\t * Reward distribution\n\t */\n\tfunction distributeRewards(bytes32 _taskid)\n\tinternal\n\t{\n\t\tIexecLibCore_v5.Task memory task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[task.dealid];\n\n\t\tuint256 totalLogWeight = 0;\n\t\tuint256 totalReward = deal.workerpool.price;\n\n\t\tfor (uint256 i = 0; i < task.contributors.length; ++i)\n\t\t{\n\t\t\taddress worker = task.contributors[i];\n\t\t\tIexecLibCore_v5.Contribution storage contribution = m_contributions[_taskid][worker];\n\n\t\t\tif (contribution.status == IexecLibCore_v5.ContributionStatusEnum.PROVED)\n\t\t\t{\n\t\t\t\ttotalLogWeight = totalLogWeight.add(contribution.weight);\n\t\t\t}\n\t\t\telse // ContributionStatusEnum.REJECT or ContributionStatusEnum.CONTRIBUTED (not revealed)\n\t\t\t{\n\t\t\t\ttotalReward = totalReward.add(deal.workerStake);\n\t\t\t}\n\t\t}\n\n\t\t// compute how much is going to the workers\n\t\tuint256 workersReward = totalReward.percentage(uint256(100).sub(deal.schedulerRewardRatio));\n\n\t\tfor (uint256 i = 0; i < task.contributors.length; ++i)\n\t\t{\n\t\t\taddress worker = task.contributors[i];\n\t\t\tIexecLibCore_v5.Contribution storage contribution = m_contributions[_taskid][worker];\n\n\t\t\tif (contribution.status == IexecLibCore_v5.ContributionStatusEnum.PROVED)\n\t\t\t{\n\t\t\t\tuint256 workerReward = workersReward.mulByFraction(contribution.weight, totalLogWeight);\n\t\t\t\ttotalReward = totalReward.sub(workerReward);\n\n\t\t\t\tunlockContribution(task.dealid, worker);\n\t\t\t\trewardForContribution(worker, workerReward, _taskid);\n\n\t\t\t\t// Only reward if replication happened\n\t\t\t\tif (task.contributors.length > 1)\n\t\t\t\t{\n\t\t\t\t\t/*******************************************************************\n\t\t\t\t\t * SCORE POLICY 2/3 *\n\t\t\t\t\t * *\n\t\t\t\t\t * see documentation! *\n\t\t\t\t\t *******************************************************************/\n\t\t\t\t\tm_workerScores[worker] = m_workerScores[worker].add(1);\n\t\t\t\t\temit AccurateContribution(worker, _taskid);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse // WorkStatusEnum.POCO_REJECT or ContributionStatusEnum.CONTRIBUTED (not revealed)\n\t\t\t{\n\t\t\t\t// No Reward\n\t\t\t\tseizeContribution(task.dealid, worker, _taskid);\n\n\t\t\t\t// Always punish bad contributors\n\t\t\t\t{\n\t\t\t\t\t/*******************************************************************\n\t\t\t\t\t * SCORE POLICY 3/3 *\n\t\t\t\t\t * *\n\t\t\t\t\t * see documentation! *\n\t\t\t\t\t *******************************************************************/\n\t\t\t\t\t// k = 3\n\t\t\t\t\tm_workerScores[worker] = m_workerScores[worker].mulByFraction(2,3);\n\t\t\t\t\temit FaultyContribution(worker, _taskid);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// totalReward now contains the scheduler share\n\t\trewardForScheduling(task.dealid, totalReward, _taskid);\n\t}\n\n\t/*\n\t * Reward distribution for contributeAndFinalize\n\t */\n\tfunction distributeRewardsFast(bytes32 _taskid)\n\tinternal\n\t{\n\t\tIexecLibCore_v5.Task memory task = m_tasks[_taskid];\n\t\tIexecLibCore_v5.Deal memory deal = m_deals[task.dealid];\n\n\t\t// simple reward, no score consideration\n\t\tuint256 workerReward = deal.workerpool.price.percentage(uint256(100).sub(deal.schedulerRewardRatio));\n\t\tuint256 schedulerReward = deal.workerpool.price.sub(workerReward);\n\t\trewardForContribution(_msgSender(), workerReward, _taskid);\n\t\trewardForScheduling(task.dealid, schedulerReward, _taskid);\n\t}\n\n\t/**\n\t * Callback for smartcontracts using EIP1154\n\t */\n\tfunction executeCallback(bytes32 _taskid, bytes memory _resultsCallback)\n\tinternal\n\t{\n\t\taddress target = m_deals[m_tasks[_taskid].dealid].callback;\n\t\tif (target != address(0))\n\t\t{\n\t\t\t// Solidity 0.6.0 reverts if target is not a smartcontracts\n\t\t\t// /**\n\t\t\t// * Call does not revert if the target smart contract is incompatible or reverts\n\t\t\t// * Solidity 0.6.0 update. Check hit history for 0.5.0 implementation.\n\t\t\t// */\n\t\t\t// try IOracleConsumer(target).receiveResult{gas: m_callbackgas}(_taskid, _results)\n\t\t\t// {\n\t\t\t// \t// Callback success, do nothing\n\t\t\t// }\n\t\t\t// catch (bytes memory /*lowLevelData*/)\n\t\t\t// {\n\t\t\t// \t// Check gas: https://ronan.eth.link/blog/ethereum-gas-dangers/\n\t\t\t// \tassert(gasleft() > m_callbackgas / 63); // no need for safemath here\n\t\t\t// }\n\n\t\t\t// Pre solidity 0.6.0 version\n\t\t\t(bool success, bytes memory returndata) = target.call{gas: m_callbackgas}(abi.encodeWithSignature(\"receiveResult(bytes32,bytes)\", _taskid, _resultsCallback));\n\t\t\tassert(gasleft() > m_callbackgas / 63);\n\t\t\t// silent unused variable warning\n\t\t\tsuccess;\n\t\t\treturndata;\n\t\t}\n\t}\n\n\t/***************************************************************************\n\t * Array operations *\n\t ***************************************************************************/\n\tfunction initializeArray(\n\t\tbytes32[] calldata _dealid,\n\t\tuint256[] calldata _idx)\n\texternal override returns (bool)\n\t{\n\t\trequire(_dealid.length == _idx.length);\n\t\tfor (uint i = 0; i < _dealid.length; ++i)\n\t\t{\n\t\t\tinitialize(_dealid[i], _idx[i]);\n\t\t}\n\t\treturn true;\n\t}\n\n\tfunction claimArray(\n\t\tbytes32[] calldata _taskid)\n\texternal override returns (bool)\n\t{\n\t\tfor (uint i = 0; i < _taskid.length; ++i)\n\t\t{\n\t\t\tclaim(_taskid[i]);\n\t\t}\n\t\treturn true;\n\t}\n\n\tfunction initializeAndClaimArray(\n\t\tbytes32[] calldata _dealid,\n\t\tuint256[] calldata _idx)\n\texternal override returns (bool)\n\t{\n\t\trequire(_dealid.length == _idx.length);\n\t\tfor (uint i = 0; i < _dealid.length; ++i)\n\t\t{\n\t\t\tclaim(initialize(_dealid[i], _idx[i]));\n\t\t}\n\t\treturn true;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco2Delegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco2Delegate.sol", - "exportedSymbols": { - "IexecPoco2Delegate": [ - 8316 - ] - }, - "id": 8317, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 6239, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:29" - }, - { - "id": 6240, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:29" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 6241, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 13137, - "src": "1301:56:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 6242, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 2940, - "src": "1358:30:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 6243, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 8802, - "src": "1389:33:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 6244, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 1659, - "src": "1423:29:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "../interfaces/IexecPoco2.sol", - "id": 6245, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 9915, - "src": "1453:38:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6246, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "1525:10:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 6247, - "nodeType": "InheritanceSpecifier", - "src": "1525:10:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6248, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1537:12:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 6249, - "nodeType": "InheritanceSpecifier", - "src": "1537:12:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6250, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1551:14:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 6251, - "nodeType": "InheritanceSpecifier", - "src": "1551:14:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6252, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1567:17:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 6253, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:29" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9914, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8316, - "linearizedBaseContracts": [ - 8316, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9914 - ], - "name": "IexecPoco2Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 6389, - "nodeType": "Block", - "src": "1889:1093:29", - "statements": [ - { - "assignments": [ - 6263 - ], - "declarations": [ - { - "constant": false, - "id": 6263, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "1893:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6262, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "1893:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6267, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6264, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1929:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6266, - "indexExpression": { - "argumentTypes": null, - "id": 6265, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6255, - "src": "1937:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1929:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1893:52:29" - }, - { - "assignments": [ - 6269 - ], - "declarations": [ - { - "constant": false, - "id": 6269, - "mutability": "mutable", - "name": "requesterstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "1950:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1950:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6283, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6279, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2038:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2038:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6281, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2038:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6274, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2004:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6275, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2004:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6276, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2004:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6270, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "1975:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6271, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1975:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6272, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1975:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "1975:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1975:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "1975:62:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1975:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1950:110:29" - }, - { - "assignments": [ - 6285 - ], - "declarations": [ - { - "constant": false, - "id": 6285, - "mutability": "mutable", - "name": "poolstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "2064:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6284, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2064:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6292, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6290, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "2125:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6286, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2084:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6287, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2084:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6288, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2084:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "2084:40:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2084:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2064:84:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6294, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2186:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6295, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "2186:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6296, - "name": "requesterstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6269, - "src": "2202:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6297, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2218:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6293, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "2180:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2180:46:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6299, - "nodeType": "ExpressionStatement", - "src": "2180:46:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6300, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2251:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2251:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6302, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2251:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6303, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2268:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2251:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6316, - "nodeType": "IfStatement", - "src": "2247:83:29", - "trueBody": { - "id": 6315, - "nodeType": "Block", - "src": "2273:57:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6306, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2285:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6307, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2285:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6308, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2285:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6309, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2301:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2301:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6311, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2301:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6312, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2317:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6305, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2278:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2278:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6314, - "nodeType": "ExpressionStatement", - "src": "2278:47:29" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6317, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2354:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6318, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2354:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2354:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2375:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2354:22:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6322, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2380:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2380:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "2380:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2412:1:29", - "subdenomination": null, - "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": 6326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2404:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2404:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2404:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2380:34:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2354:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6342, - "nodeType": "IfStatement", - "src": "2350:133:29", - "trueBody": { - "id": 6341, - "nodeType": "Block", - "src": "2418:65:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6332, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2430:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2430:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2430:18:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6335, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2450:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2450:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6337, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2450:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6338, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2470:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6331, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2423:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2423:55:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6340, - "nodeType": "ExpressionStatement", - "src": "2423:55:29" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6344, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2516:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2516:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6346, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2516:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6347, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6285, - "src": "2539:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6343, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "2509:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2509:40:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6349, - "nodeType": "ExpressionStatement", - "src": "2509:40:29" - }, - { - "assignments": [ - 6352 - ], - "declarations": [ - { - "constant": false, - "id": 6352, - "mutability": "mutable", - "name": "kitty", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "2646:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6351, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2646:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6356, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6353, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2662:9:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 6355, - "indexExpression": { - "argumentTypes": null, - "id": 6354, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "2672:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2662:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2646:40:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6357, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2694:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2702:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2694:9:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6388, - "nodeType": "IfStatement", - "src": "2690:289:29", - "trueBody": { - "id": 6387, - "nodeType": "Block", - "src": "2707:272:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6360, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2712:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6369, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2825:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6366, - "name": "KITTY_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2778:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6363, - "name": "KITTY_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "2743:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6361, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2720:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "2720:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "2720:57:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:68:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "2720:104:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:111:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2712:119:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6372, - "nodeType": "ExpressionStatement", - "src": "2712:119:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6374, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "2886:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6375, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2909:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6376, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2916:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6373, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "2879:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2879:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6378, - "nodeType": "ExpressionStatement", - "src": "2879:45:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6380, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2936:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6382, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2936:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6383, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2959:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6384, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2966:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6379, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2929:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2929:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6386, - "nodeType": "ExpressionStatement", - "src": "2929:45:29" - } - ] - } - } - ] - }, - "documentation": null, - "id": 6390, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "successWork", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 6258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6255, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6390, - "src": "1844:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6254, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1844:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6257, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6390, - "src": "1861:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6256, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1861:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1843:34:29" - }, - "returnParameters": { - "id": 6259, - "nodeType": "ParameterList", - "parameters": [], - "src": "1889:0:29" - }, - "scope": 8316, - "src": "1823:1159:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6455, - "nodeType": "Block", - "src": "3050:515:29", - "statements": [ - { - "assignments": [ - 6400 - ], - "declarations": [ - { - "constant": false, - "id": 6400, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3054:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6399, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3054:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6404, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6401, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "3089:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6403, - "indexExpression": { - "argumentTypes": null, - "id": 6402, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6392, - "src": "3097:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3089:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3054:51:29" - }, - { - "assignments": [ - 6406 - ], - "declarations": [ - { - "constant": false, - "id": 6406, - "mutability": "mutable", - "name": "requesterstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3110:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6405, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3110:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6420, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6416, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3198:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3198:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3198:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6411, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3164:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "3164:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6413, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3164:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6407, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3135:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "3135:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3135:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "3135:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3135:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "3135:62:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3135:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3110:110:29" - }, - { - "assignments": [ - 6422 - ], - "declarations": [ - { - "constant": false, - "id": 6422, - "mutability": "mutable", - "name": "poolstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3224:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6429, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6427, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "3285:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6423, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3244:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3244:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6425, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3244:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "3244:40:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3244:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3224:84:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6431, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3320:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6432, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "3320:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6433, - "name": "requesterstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6406, - "src": "3343:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6430, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "3313:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3313:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6435, - "nodeType": "ExpressionStatement", - "src": "3313:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6437, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3373:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6438, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3373:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "3373:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6440, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3396:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6441, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6394, - "src": "3407:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6436, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "3366:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3366:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6443, - "nodeType": "ExpressionStatement", - "src": "3366:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6445, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "3426:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6446, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3449:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6447, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6394, - "src": "3460:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6444, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "3419:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3419:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6449, - "nodeType": "ExpressionStatement", - "src": "3419:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6451, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "3499:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6452, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3522:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6450, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "3492:4:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3492:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6454, - "nodeType": "ExpressionStatement", - "src": "3492:49:29" - } - ] - }, - "documentation": null, - "id": 6456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "failedWork", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 6395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6392, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6456, - "src": "3005:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6391, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3005:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6394, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6456, - "src": "3022:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6393, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3022:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3004:34:29" - }, - "returnParameters": { - "id": 6396, - "nodeType": "ParameterList", - "parameters": [], - "src": "3050:0:29" - }, - "scope": 8316, - "src": "2985:580:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9825 - ], - "body": { - "id": 6593, - "nodeType": "Block", - "src": "3889:891:29", - "statements": [ - { - "assignments": [ - 6469 - ], - "declarations": [ - { - "constant": false, - "id": 6469, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "3893:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6468, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3893:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6473, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6470, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "3928:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6472, - "indexExpression": { - "argumentTypes": null, - "id": 6471, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "3936:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3928:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3893:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6475, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "3957:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6476, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "3964:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "3964:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3957:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6474, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3949:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3949:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6480, - "nodeType": "ExpressionStatement", - "src": "3949:47:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6482, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4008:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6486, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4033:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6487, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "4033:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6483, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4015:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6484, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "4015:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4015:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4015:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4008:38:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6481, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4000:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4000:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6491, - "nodeType": "ExpressionStatement", - "src": "4000:47:29" - }, - { - "assignments": [ - 6493 - ], - "declarations": [ - { - "constant": false, - "id": 6493, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "4052:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6492, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4052:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6501, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6497, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "4097:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6498, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4106:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4080:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4080:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4080:30:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6494, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4070:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4070:41:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:59:29" - }, - { - "assignments": [ - 6505 - ], - "declarations": [ - { - "constant": false, - "id": 6505, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "4115:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6504, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "4115:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6509, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6506, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "4151:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6508, - "indexExpression": { - "argumentTypes": null, - "id": 6507, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4159:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4151:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4115:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6511, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4178:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6512, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "4178:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6513, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "4193:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "4193:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "UNSET", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4193:36:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "4178:51:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6510, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4170:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4170:60:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6518, - "nodeType": "ExpressionStatement", - "src": "4170:60:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6519, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4235:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6521, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "4235:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6522, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "4263:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "4263:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4263:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "4235:65:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 6526, - "nodeType": "ExpressionStatement", - "src": "4235:65:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6527, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4304:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6529, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "4304:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6530, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "4332:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4304:35:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6532, - "nodeType": "ExpressionStatement", - "src": "4304:35:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6533, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4343:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6535, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "idx", - "nodeType": "MemberAccess", - "referencedDeclaration": 1144, - "src": "4343:8:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6536, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4371:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4343:31:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6538, - "nodeType": "ExpressionStatement", - "src": "4343:31:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6539, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4378:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4378:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6542, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "4406:12:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 6545, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6543, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4419:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6544, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "4419:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4406:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "id": 6546, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workClockTimeRef", - "nodeType": "MemberAccess", - "referencedDeclaration": 1093, - "src": "4406:44:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4378:72:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6548, - "nodeType": "ExpressionStatement", - "src": "4378:72:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6549, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4454:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "4454:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6558, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4532:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6559, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "4532:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6555, - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "4499:27:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6552, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4482:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6553, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4482:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "4482:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4482:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4482:49:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4482:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4454:93:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6562, - "nodeType": "ExpressionStatement", - "src": "4454:93:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6563, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4551:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6565, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "4551:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6572, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4629:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "4629:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6569, - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 248, - "src": "4603:20:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6566, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4579:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6567, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4579:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "4579:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4579:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4579:49:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4579:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4551:93:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6576, - "nodeType": "ExpressionStatement", - "src": "4551:93:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6577, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "4672:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 6579, - "indexExpression": { - "argumentTypes": null, - "id": 6578, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4684:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4672:19:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "id": 6580, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "4672:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 6581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4700:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4672:29:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6583, - "nodeType": "ExpressionStatement", - "src": "4672:29:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6585, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4726:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6586, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4734:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "4734:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "4734:23:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6584, - "name": "TaskInitialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9780, - "src": "4711:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 6589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4711:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6590, - "nodeType": "EmitStatement", - "src": "4706:52:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6591, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4770:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6465, - "id": 6592, - "nodeType": "Return", - "src": "4763:13:29" - } - ] - }, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 6594, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6462, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3861:8:29" - }, - "parameters": { - "id": 6461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6458, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3823:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6457, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3823:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6460, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3840:11:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6459, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3840:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3822:30:29" - }, - "returnParameters": { - "id": 6465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3879:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6463, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3879:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3878:9:29" - }, - "scope": 8316, - "src": "3803:977:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9845 - ], - "body": { - "id": 6878, - "nodeType": "Block", - "src": "5075:2630:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6612, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5101:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5101:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6611, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "5087:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 6614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5087:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6610, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5079:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5079:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6616, - "nodeType": "ExpressionStatement", - "src": "5079:36:29" - }, - { - "assignments": [ - 6620 - ], - "declarations": [ - { - "constant": false, - "id": 6620, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5120:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6619, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "5120:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6624, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6621, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "5172:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6623, - "indexExpression": { - "argumentTypes": null, - "id": 6622, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "5180:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5172:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5120:68:29" - }, - { - "assignments": [ - 6628 - ], - "declarations": [ - { - "constant": false, - "id": 6628, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5192:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 6627, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "5192:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6635, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6629, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "5244:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 6631, - "indexExpression": { - "argumentTypes": null, - "id": 6630, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "5260:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5244:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 6634, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6632, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5269:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5269:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5244:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5192:90:29" - }, - { - "assignments": [ - 6639 - ], - "declarations": [ - { - "constant": false, - "id": 6639, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5286:41:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6638, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "5286:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6640, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5338:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6643, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6641, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5346:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "5346:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5338:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5286:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6646, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5371:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "5371:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6648, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "5400:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "5400:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5400:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "5371:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6645, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5363:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5363:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6653, - "nodeType": "ExpressionStatement", - "src": "5363:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6655, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5457:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6656, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "5457:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6657, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "5486:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5457:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6654, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5449:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5449:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6660, - "nodeType": "ExpressionStatement", - "src": "5449:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6662, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "5543:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "5543:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6664, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "5572:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "5572:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 6666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "UNSET", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5572:44:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "5543:73:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6661, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5535:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5535:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6669, - "nodeType": "ExpressionStatement", - "src": "5535:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6671, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "5672:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5701:1:29", - "subdenomination": null, - "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": 6673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5693:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5693:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5693:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5672:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6677, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6639, - "src": "5708:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6678, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "5708:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6680, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5717:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5708:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 6681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5723:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "5708:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5731:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5708:24:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6685, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5707:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5672:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6670, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5664:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5664:70:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6688, - "nodeType": "ExpressionStatement", - "src": "5664:70:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6691, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "5871:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5900:1:29", - "subdenomination": null, - "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": 6693, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5892:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5892:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5892:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5871:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6697, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "5906:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5929:1:29", - "subdenomination": null, - "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": 6699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5921:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5921:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6701, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5921:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5906:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5871:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6704, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5869:64:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6706, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6639, - "src": "5950:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6707, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "5950:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "5950:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "5869:102:29", - "trueExpression": { - "argumentTypes": null, - "id": 6705, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "5936:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6714, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6028:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6028:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6716, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "6046:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6717, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6059:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 6712, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6006:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6006:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6006:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6711, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5996:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5996:86:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6710, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "5976:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 6720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5976:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 6721, - "name": "_authorizationSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6606, - "src": "6088:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6690, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5849:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 6722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5849:261:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6689, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5841:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5841:270:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6724, - "nodeType": "ExpressionStatement", - "src": "5841:270:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6726, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6153:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6182:1:29", - "subdenomination": null, - "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": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6174:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6174:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6174:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6153:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6733, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6208:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6738, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6282:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6739, - "name": "_resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6600, - "src": "6299:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6736, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6260:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6260:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6260:55:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6735, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6250:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6250:66:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6734, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "6230:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 6742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6230:87:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 6743, - "name": "_enclaveSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6604, - "src": "6322:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6732, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "6188:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6188:150:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6153:185:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6725, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6145:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6145:194:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6747, - "nodeType": "ExpressionStatement", - "src": "6145:194:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6748, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6375:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6750, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "6375:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6751, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "6407:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "6407:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 6753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6407:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "6375:82:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 6755, - "nodeType": "ExpressionStatement", - "src": "6375:82:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6756, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6461:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6758, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "6461:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6759, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6493:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6461:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6761, - "nodeType": "ExpressionStatement", - "src": "6461:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6762, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6508:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6764, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "6508:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6765, - "name": "_resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6600, - "src": "6540:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6508:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6767, - "nodeType": "ExpressionStatement", - "src": "6508:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6768, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6555:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "6555:29:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6771, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6587:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6555:49:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6773, - "nodeType": "ExpressionStatement", - "src": "6555:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6779, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6631:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6631:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6774, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "6608:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6777, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "6608:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 6778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6608:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 6781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6608:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6782, - "nodeType": "ExpressionStatement", - "src": "6608:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6784, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "6666:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "6666:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6786, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6679:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6679:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6783, - "name": "lockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2867, - "src": "6649:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6649:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6789, - "nodeType": "ExpressionStatement", - "src": "6649:43:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6791, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "6717:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6792, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6726:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6726:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6794, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6740:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6790, - "name": "TaskContribute", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9788, - "src": "6702:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 6795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6702:50:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6796, - "nodeType": "EmitStatement", - "src": "6697:55:29" - }, - { - "assignments": [ - 6800 - ], - "declarations": [ - { - "constant": false, - "id": 6800, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7214:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 6799, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "7214:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6804, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6801, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "7260:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 6803, - "indexExpression": { - "argumentTypes": null, - "id": 6802, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "7272:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7260:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7214:66:29" - }, - { - "assignments": [ - 6806 - ], - "declarations": [ - { - "constant": false, - "id": 6806, - "mutability": "mutable", - "name": "weight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7285:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6805, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7285:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6820, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 6818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7349:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "33", - "id": 6815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7342:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "33", - "id": 6812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7335:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6807, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "7302:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 6810, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6808, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "7317:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7317:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7302:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "7302:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "7302:39:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7302:46:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7285:66:29" - }, - { - "assignments": [ - 6822 - ], - "declarations": [ - { - "constant": false, - "id": 6822, - "mutability": "mutable", - "name": "group", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7355:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7355:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6827, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6823, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7372:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6824, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7372:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6826, - "indexExpression": { - "argumentTypes": null, - "id": 6825, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7388:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7372:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7355:45:29" - }, - { - "assignments": [ - 6829 - ], - "declarations": [ - { - "constant": false, - "id": 6829, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7404:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7404:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6840, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6838, - "name": "group", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6822, - "src": "7450:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6835, - "name": "weight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6806, - "src": "7438:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 6832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7431:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 6830, - "name": "group", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6822, - "src": "7421:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "7421:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "7421:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:24:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7421:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7404:52:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6841, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "7461:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "7461:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 6844, - "name": "weight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6806, - "src": "7492:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "log", - "nodeType": "MemberAccess", - "referencedDeclaration": 13544, - "src": "7492:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 6846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7492:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7461:43:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6848, - "nodeType": "ExpressionStatement", - "src": "7461:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6849, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7508:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7508:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6853, - "indexExpression": { - "argumentTypes": null, - "id": 6851, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7524:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7508:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6859, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6829, - "src": "7572:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6854, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7539:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6855, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7539:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6857, - "indexExpression": { - "argumentTypes": null, - "id": 6856, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7555:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7539:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "7539:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7539:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7508:70:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6862, - "nodeType": "ExpressionStatement", - "src": "7508:70:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6863, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7582:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6865, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "7582:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6869, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6829, - "src": "7633:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6866, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7613:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "7613:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "7613:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7613:26:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7582:57:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6872, - "nodeType": "ExpressionStatement", - "src": "7582:57:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6874, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "7680:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6875, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7689:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6873, - "name": "checkConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7848, - "src": "7665:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 6876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7665:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6877, - "nodeType": "ExpressionStatement", - "src": "7665:36:29" - } - ] - }, - "documentation": null, - "functionSelector": "34623484", - "id": 6879, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6608, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5065:8:29" - }, - "parameters": { - "id": 6607, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6596, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4881:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6595, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4881:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6598, - "mutability": "mutable", - "name": "_resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4905:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6597, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4905:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6600, - "mutability": "mutable", - "name": "_resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4933:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6599, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4933:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6602, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4961:30:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6601, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4961:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6604, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4995:25:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6603, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4995:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6606, - "mutability": "mutable", - "name": "_authorizationSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "5024:31:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6605, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5024:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4877:179:29" - }, - "returnParameters": { - "id": 6609, - "nodeType": "ParameterList", - "parameters": [], - "src": "5075:0:29" - }, - "scope": 8316, - "src": "4858:2847:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9862 - ], - "body": { - "id": 7218, - "nodeType": "Block", - "src": "8077:2741:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6899, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8103:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8103:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6898, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8089:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 6901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8089:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6897, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8081:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8081:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6903, - "nodeType": "ExpressionStatement", - "src": "8081:36:29" - }, - { - "assignments": [ - 6907 - ], - "declarations": [ - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8122:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6906, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "8122:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6911, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6908, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "8174:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6910, - "indexExpression": { - "argumentTypes": null, - "id": 6909, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8182:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8174:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8122:68:29" - }, - { - "assignments": [ - 6915 - ], - "declarations": [ - { - "constant": false, - "id": 6915, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8194:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 6914, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "8194:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6922, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6916, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "8246:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 6918, - "indexExpression": { - "argumentTypes": null, - "id": 6917, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8262:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8246:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 6921, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6919, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8271:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8271:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8246:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8194:90:29" - }, - { - "assignments": [ - 6926 - ], - "declarations": [ - { - "constant": false, - "id": 6926, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8288:41:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6925, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "8288:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6931, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6927, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "8340:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6930, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6928, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8348:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6929, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "8348:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8340:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8288:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6933, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8373:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6934, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "8373:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6935, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "8402:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "8402:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8402:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "8373:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6932, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8365:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8365:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6940, - "nodeType": "ExpressionStatement", - "src": "8365:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6942, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8452:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6943, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "8452:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6944, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "8481:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8452:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6941, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8444:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8444:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6947, - "nodeType": "ExpressionStatement", - "src": "8444:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6949, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8531:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6950, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "8531:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 6951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8531:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8560:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8531:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6948, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8523:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8523:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6955, - "nodeType": "ExpressionStatement", - "src": "8523:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6957, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "8610:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "8610:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8639:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8610:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6956, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8602:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8602:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6962, - "nodeType": "ExpressionStatement", - "src": "8602:75:29" - }, - { - "assignments": [ - 6964 - ], - "declarations": [ - { - "constant": false, - "id": 6964, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8734:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8734:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6972, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6968, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8796:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6969, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "8805:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6966, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8765:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8765:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8765:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6965, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8755:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8755:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8734:86:29" - }, - { - "assignments": [ - 6974 - ], - "declarations": [ - { - "constant": false, - "id": 6974, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8824:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6973, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8824:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6984, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6978, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8872:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8872:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6980, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8886:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6981, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "8895:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8855:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8855:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8855:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6975, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8845:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8845:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8824:86:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6986, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "8924:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6987, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "8924:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8949:1:29", - "subdenomination": null, - "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": 6989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8941:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6988, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8941:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8941:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "8924:27:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6993, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "8955:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8955:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8982:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8955:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8924:59:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6998, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8923:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7000, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "8998:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6999, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8988:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8988:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7002, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "9019:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "9019:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8988:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8923:113:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6985, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8915:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8915:122:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7007, - "nodeType": "ExpressionStatement", - "src": "8915:122:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7009, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9092:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9121:1:29", - "subdenomination": null, - "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": 7011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9113:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9113:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9113:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9092:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7015, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "9128:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "9128:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7018, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 7017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9137:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9128:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 7019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9143:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "9128:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9151:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9128:24:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7023, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9127:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9092:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7008, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9084:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9084:70:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7026, - "nodeType": "ExpressionStatement", - "src": "9084:70:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7029, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9291:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9320:1:29", - "subdenomination": null, - "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": 7031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9312:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7030, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9312:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9312:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9291:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7035, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "9326:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9349:1:29", - "subdenomination": null, - "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": 7037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9341:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9341:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9341:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9326:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9291:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7042, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9289:64:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7044, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "9370:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7045, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "9370:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 7046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "9370:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "9289:102:29", - "trueExpression": { - "argumentTypes": null, - "id": 7043, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "9356:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7052, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "9448:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9448:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7054, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "9466:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7055, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9479:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 7050, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9426:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9426:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9426:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7049, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9416:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9416:86:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7048, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "9396:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 7058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9396:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 7059, - "name": "_authorizationSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6893, - "src": "9508:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7028, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "9269:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 7060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9269:261:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7027, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9261:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9261:270:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7062, - "nodeType": "ExpressionStatement", - "src": "9261:270:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7064, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9573:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9602:1:29", - "subdenomination": null, - "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": 7066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9594:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9594:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9594:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9573:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7071, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9628:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7076, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "9702:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7077, - "name": "resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6974, - "src": "9718:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9680:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9680:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9680:53:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7073, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9670:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9670:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7072, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "9650:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 7080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9650:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 7081, - "name": "_enclaveSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6891, - "src": "9740:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7070, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "9608:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 7082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9608:148:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9573:183:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7063, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9565:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9565:192:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7085, - "nodeType": "ExpressionStatement", - "src": "9565:192:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7086, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9762:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7088, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "9762:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7089, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "9794:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "9794:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9794:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "9762:77:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7093, - "nodeType": "ExpressionStatement", - "src": "9762:77:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7094, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9843:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7096, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "9843:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7097, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "9875:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9843:42:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7099, - "nodeType": "ExpressionStatement", - "src": "9843:42:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7100, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9889:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7102, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "9889:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7103, - "name": "resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6974, - "src": "9921:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9889:42:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7105, - "nodeType": "ExpressionStatement", - "src": "9889:42:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7106, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9935:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "9935:29:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7109, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9967:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9935:49:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7111, - "nodeType": "ExpressionStatement", - "src": "9935:49:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7112, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "9989:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7114, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "9989:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7115, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "10021:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "10021:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10021:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "9989:72:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7119, - "nodeType": "ExpressionStatement", - "src": "9989:72:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7120, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10065:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7122, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "10065:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7123, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "10097:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7124, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "10097:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10065:55:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7126, - "nodeType": "ExpressionStatement", - "src": "10065:55:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7127, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10124:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7129, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "10124:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7136, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "10200:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7133, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "10173:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7130, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10156:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7131, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "10156:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "10156:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10156:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "10156:43:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10156:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10124:80:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7139, - "nodeType": "ExpressionStatement", - "src": "10124:80:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7140, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10208:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7142, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "10208:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 7143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10240:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10208:33:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7145, - "nodeType": "ExpressionStatement", - "src": "10208:33:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7146, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10245:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7148, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "10245:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 7149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10277:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10245:33:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7151, - "nodeType": "ExpressionStatement", - "src": "10245:33:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7152, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10282:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "10282:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7155, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "10314:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10282:45:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7157, - "nodeType": "ExpressionStatement", - "src": "10282:45:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7158, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10331:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "10331:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7161, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6885, - "src": "10363:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "10331:40:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7163, - "nodeType": "ExpressionStatement", - "src": "10331:40:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7164, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10375:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "10375:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7167, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "10407:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "10375:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7169, - "nodeType": "ExpressionStatement", - "src": "10375:48:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7175, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10483:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10483:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7170, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10460:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "10460:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10460:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 7177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10460:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7178, - "nodeType": "ExpressionStatement", - "src": "10460:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7180, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10513:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7181, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "10513:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7182, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10526:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7179, - "name": "successWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6390, - "src": "10501:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10501:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7184, - "nodeType": "ExpressionStatement", - "src": "10501:33:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7186, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10560:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7185, - "name": "distributeRewardsFast", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8136, - "src": "10538:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10538:30:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7188, - "nodeType": "ExpressionStatement", - "src": "10538:30:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7190, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10593:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7191, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10602:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10602:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7193, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "10616:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7189, - "name": "TaskContribute", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9788, - "src": "10578:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10578:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7195, - "nodeType": "EmitStatement", - "src": "10573:54:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7197, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10650:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7198, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "10659:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7196, - "name": "TaskConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9794, - "src": "10636:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10636:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7200, - "nodeType": "EmitStatement", - "src": "10631:39:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7202, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10690:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7203, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10699:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10699:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7205, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "10713:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7201, - "name": "TaskReveal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9802, - "src": "10679:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10679:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7207, - "nodeType": "EmitStatement", - "src": "10674:53:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7209, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10749:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7210, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6885, - "src": "10758:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7208, - "name": "TaskFinalize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9808, - "src": "10736:12:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10736:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7212, - "nodeType": "EmitStatement", - "src": "10731:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7214, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10788:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7215, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "10797:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7213, - "name": "executeCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8192, - "src": "10772:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10772:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7217, - "nodeType": "ExpressionStatement", - "src": "10772:42:29" - } - ] - }, - "documentation": null, - "functionSelector": "5facd761", - "id": 7219, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contributeAndFinalize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6895, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8067:8:29" - }, - "parameters": { - "id": 6894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6881, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7818:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6880, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7818:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6883, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7842:26:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6882, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7842:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6885, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7872:21:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6884, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7872:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6887, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7897:29:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6886, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7897:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6889, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7963:30:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7963:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6891, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7997:25:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7997:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6893, - "mutability": "mutable", - "name": "_authorizationSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "8026:31:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8026:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7814:244:29" - }, - "returnParameters": { - "id": 6896, - "nodeType": "ParameterList", - "parameters": [], - "src": "8077:0:29" - }, - "scope": 8316, - "src": "7784:3034:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9869 - ], - "body": { - "id": 7338, - "nodeType": "Block", - "src": "10912:1020:29", - "statements": [ - { - "assignments": [ - 7230 - ], - "declarations": [ - { - "constant": false, - "id": 7230, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7338, - "src": "10916:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7229, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "10916:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7234, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7231, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "10968:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7233, - "indexExpression": { - "argumentTypes": null, - "id": 7232, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "10976:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10968:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10916:68:29" - }, - { - "assignments": [ - 7238 - ], - "declarations": [ - { - "constant": false, - "id": 7238, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7338, - "src": "10988:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7237, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "10988:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7245, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7239, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "11040:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7241, - "indexExpression": { - "argumentTypes": null, - "id": 7240, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11056:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11040:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7244, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7242, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11065:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11065:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11040:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10988:90:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7247, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11090:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "11090:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7249, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11117:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "11117:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11117:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "11090:67:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7246, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11082:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11082:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7254, - "nodeType": "ExpressionStatement", - "src": "11082:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7256, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11195:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "11195:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7258, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "11222:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11195:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7255, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11187:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11187:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7261, - "nodeType": "ExpressionStatement", - "src": "11187:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7263, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11300:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "11300:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7265, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11327:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "11327:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7267, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11327:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "11300:77:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7262, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11292:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11292:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7270, - "nodeType": "ExpressionStatement", - "src": "11292:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7272, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11405:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7273, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "11405:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7274, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11432:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7275, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "11432:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11405:46:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7271, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11397:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11397:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7278, - "nodeType": "ExpressionStatement", - "src": "11397:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7280, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11510:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7281, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "11510:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7285, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11578:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7286, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11587:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11547:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11547:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11547:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7282, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "11537:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11537:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11510:92:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7279, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11502:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11502:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7291, - "nodeType": "ExpressionStatement", - "src": "11502:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7293, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11615:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "11615:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7298, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11669:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11669:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7300, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11683:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7301, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11692:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7296, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11652:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11652:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11652:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7295, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "11642:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11642:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11615:92:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7292, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11607:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11607:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7306, - "nodeType": "ExpressionStatement", - "src": "11607:101:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7307, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11713:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "11713:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7310, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11735:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "11735:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11735:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "11713:67:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7314, - "nodeType": "ExpressionStatement", - "src": "11713:67:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7315, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11784:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7317, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "11784:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11829:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7318, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11806:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "11806:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11806:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11806:25:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11784:47:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7324, - "nodeType": "ExpressionStatement", - "src": "11784:47:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7325, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11835:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "11835:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7328, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11857:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11835:35:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7330, - "nodeType": "ExpressionStatement", - "src": "11835:35:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7332, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11891:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7333, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11900:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11900:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7335, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11914:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7331, - "name": "TaskReveal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9802, - "src": "11880:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11880:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7337, - "nodeType": "EmitStatement", - "src": "11875:53:29" - } - ] - }, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 7339, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7225, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "10892:8:29" - }, - "parameters": { - "id": 7224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7221, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7339, - "src": "10840:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7220, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10840:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7223, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7339, - "src": "10859:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7222, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10859:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10836:45:29" - }, - "returnParameters": { - "id": 7226, - "nodeType": "ParameterList", - "parameters": [], - "src": "10912:0:29" - }, - "scope": 8316, - "src": "10821:1111:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9874 - ], - "body": { - "id": 7488, - "nodeType": "Block", - "src": "12014:946:29", - "statements": [ - { - "assignments": [ - 7351 - ], - "declarations": [ - { - "constant": false, - "id": 7351, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7488, - "src": "12018:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7350, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "12018:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7355, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7352, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "12054:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7354, - "indexExpression": { - "argumentTypes": null, - "id": 7353, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12062:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12054:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12018:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7357, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12082:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7358, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "12082:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7359, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12105:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "12105:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12105:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "12082:63:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7356, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12074:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12074:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7364, - "nodeType": "ExpressionStatement", - "src": "12074:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7366, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12158:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "12158:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7368, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "12181:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12158:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7365, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12150:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12150:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7371, - "nodeType": "ExpressionStatement", - "src": "12150:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7373, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12234:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7374, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "12234:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7375, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "12257:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12234:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7377, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12264:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "12264:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12286:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12264:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "12234:53:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7372, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12226:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12226:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7383, - "nodeType": "ExpressionStatement", - "src": "12226:72:29" - }, - { - "body": { - "id": 7425, - "nodeType": "Block", - "src": "12360:227:29", - "statements": [ - { - "assignments": [ - 7397 - ], - "declarations": [ - { - "constant": false, - "id": 7397, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7425, - "src": "12365:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7396, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12365:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7402, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7398, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12382:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7399, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "12382:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7401, - "indexExpression": { - "argumentTypes": null, - "id": 7400, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12400:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12382:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12365:37:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7403, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "12411:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7405, - "indexExpression": { - "argumentTypes": null, - "id": 7404, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12427:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12411:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7407, - "indexExpression": { - "argumentTypes": null, - "id": 7406, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7397, - "src": "12436:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12411:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "12411:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7409, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12458:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12458:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "12411:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7424, - "nodeType": "IfStatement", - "src": "12407:176:29", - "trueBody": { - "id": 7423, - "nodeType": "Block", - "src": "12482:101:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7412, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "12488:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7415, - "indexExpression": { - "argumentTypes": null, - "id": 7413, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12504:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12488:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7416, - "indexExpression": { - "argumentTypes": null, - "id": 7414, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7397, - "src": "12513:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12488:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "12488:39:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7418, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12530:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "12530:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REJECTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12530:47:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "12488:89:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7422, - "nodeType": "ExpressionStatement", - "src": "12488:89:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12323:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7389, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12327:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "12327:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12327:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12323:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7426, - "initializationExpression": { - "assignments": [ - 7385 - ], - "declarations": [ - { - "constant": false, - "id": 7385, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7426, - "src": "12308:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12308:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7387, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12320:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "12308:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "12353:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7393, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12355:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7395, - "nodeType": "ExpressionStatement", - "src": "12353:3:29" - }, - "nodeType": "ForStatement", - "src": "12303:284:29" - }, - { - "assignments": [ - 7430 - ], - "declarations": [ - { - "constant": false, - "id": 7430, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7488, - "src": "12591:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 7429, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "12591:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7434, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7431, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "12637:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 7433, - "indexExpression": { - "argumentTypes": null, - "id": 7432, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12649:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12637:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12591:66:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7435, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12661:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "12661:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7441, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12699:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7442, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "12699:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7445, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7443, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12715:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12715:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12699:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7438, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12679:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "12679:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "12679:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12679:57:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12661:75:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7448, - "nodeType": "ExpressionStatement", - "src": "12661:75:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7449, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12740:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7453, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "12740:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7454, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7451, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12756:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7452, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12756:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12740:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12779:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12740:40:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7457, - "nodeType": "ExpressionStatement", - "src": "12740:40:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7458, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12785:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "12785:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7461, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12807:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "12807:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12807:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "12785:59:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7465, - "nodeType": "ExpressionStatement", - "src": "12785:59:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7466, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12848:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7468, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12848:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "307830", - "id": 7469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12870:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "12848:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7471, - "nodeType": "ExpressionStatement", - "src": "12848:25:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7472, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12877:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7474, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "12877:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12899:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12877:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7477, - "nodeType": "ExpressionStatement", - "src": "12877:23:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7478, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12904:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7480, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "12904:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12926:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12904:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7483, - "nodeType": "ExpressionStatement", - "src": "12904:23:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7485, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12948:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7484, - "name": "TaskReopen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9816, - "src": "12937:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12937:19:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7487, - "nodeType": "EmitStatement", - "src": "12932:24:29" - } - ] - }, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 7489, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7345, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12004:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 7346, - "modifierName": { - "argumentTypes": null, - "id": 7344, - "name": "onlyScheduler", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "11990:13:29", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "11990:22:29" - } - ], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7343, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11981:8:29" - }, - "parameters": { - "id": 7342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7341, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7489, - "src": "11954:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7340, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11954:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11950:20:29" - }, - "returnParameters": { - "id": 7347, - "nodeType": "ParameterList", - "parameters": [], - "src": "12014:0:29" - }, - "scope": 8316, - "src": "11935:1025:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9883 - ], - "body": { - "id": 7617, - "nodeType": "Block", - "src": "13152:984:29", - "statements": [ - { - "assignments": [ - 7505 - ], - "declarations": [ - { - "constant": false, - "id": 7505, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7617, - "src": "13156:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7504, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "13156:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7509, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7506, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "13192:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7508, - "indexExpression": { - "argumentTypes": null, - "id": 7507, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13200:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13192:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13156:52:29" - }, - { - "assignments": [ - 7513 - ], - "declarations": [ - { - "constant": false, - "id": 7513, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7617, - "src": "13212:33:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 7512, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "13212:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7518, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7514, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "13248:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7517, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7515, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13256:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7516, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "13256:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13248:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13212:56:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7520, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13281:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7521, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "13281:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7522, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "13303:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "13303:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13303:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "13281:62:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7519, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13273:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13273:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7527, - "nodeType": "ExpressionStatement", - "src": "13273:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7529, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13392:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7530, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "13392:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7531, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "13414:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13392:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7528, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13384:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13384:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7534, - "nodeType": "ExpressionStatement", - "src": "13384:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7536, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13503:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7537, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "13503:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7538, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13525:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7539, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "13525:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13503:40:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7541, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13548:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7542, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "13548:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13569:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13548:22:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7545, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13574:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7546, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "13574:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7547, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "13597:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13574:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13548:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7550, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13547:54:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13503:98:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7535, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13495:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13495:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7553, - "nodeType": "ExpressionStatement", - "src": "13495:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7555, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7513, - "src": "13616:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "13616:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13641:1:29", - "subdenomination": null, - "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": 7558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13633:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13633:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13633:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "13616:27:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7562, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13647:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 7563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13647:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13674:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13647:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13616:59:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7567, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13615:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7569, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13690:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7568, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "13680:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13680:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7571, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13711:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7572, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "13711:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "13680:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13615:113:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7554, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13607:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13607:122:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7576, - "nodeType": "ExpressionStatement", - "src": "13607:122:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7577, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13734:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7579, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "13734:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7580, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "13757:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "13757:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13757:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "13734:63:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7584, - "nodeType": "ExpressionStatement", - "src": "13734:63:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7585, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13801:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7587, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "13801:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7588, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7493, - "src": "13824:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "13801:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7590, - "nodeType": "ExpressionStatement", - "src": "13801:31:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7591, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13836:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7593, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "13836:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7594, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13859:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "13836:39:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7596, - "nodeType": "ExpressionStatement", - "src": "13836:39:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7598, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13970:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7599, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "13970:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7600, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13983:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7597, - "name": "successWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6390, - "src": "13958:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13958:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7602, - "nodeType": "ExpressionStatement", - "src": "13958:33:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7604, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14013:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7603, - "name": "distributeRewards", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8074, - "src": "13995:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13995:26:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7606, - "nodeType": "ExpressionStatement", - "src": "13995:26:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7608, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14067:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7609, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7493, - "src": "14076:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7607, - "name": "TaskFinalize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9808, - "src": "14054:12:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14054:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7611, - "nodeType": "EmitStatement", - "src": "14049:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7613, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14106:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7614, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "14115:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7612, - "name": "executeCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8192, - "src": "14090:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14090:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7616, - "nodeType": "ExpressionStatement", - "src": "14090:42:29" - } - ] - }, - "documentation": null, - "functionSelector": "8fc375e5", - "id": 7618, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7499, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13142:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 7500, - "modifierName": { - "argumentTypes": null, - "id": 7498, - "name": "onlyScheduler", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "13128:13:29", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "13128:22:29" - } - ], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7497, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "13119:8:29" - }, - "parameters": { - "id": 7496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7491, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "12984:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7490, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12984:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7493, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "13012:25:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7492, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13012:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7495, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "13041:33:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13041:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12980:95:29" - }, - "returnParameters": { - "id": 7501, - "nodeType": "ParameterList", - "parameters": [], - "src": "13152:0:29" - }, - "scope": 8316, - "src": "12963:1173:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9830 - ], - "body": { - "id": 7700, - "nodeType": "Block", - "src": "14192:534:29", - "statements": [ - { - "assignments": [ - 7627 - ], - "declarations": [ - { - "constant": false, - "id": 7627, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7700, - "src": "14196:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7626, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "14196:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7631, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7628, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "14232:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7630, - "indexExpression": { - "argumentTypes": null, - "id": 7629, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14240:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14232:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14196:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7633, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14260:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7634, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14260:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7635, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14275:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14275:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14275:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14260:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7639, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14320:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14320:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7641, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14335:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14335:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14335:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14320:55:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "14260:115:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7632, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14252:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14252:124:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7647, - "nodeType": "ExpressionStatement", - "src": "14252:124:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7649, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14388:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "14388:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7651, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "14410:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14388:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7648, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14380:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14380:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7654, - "nodeType": "ExpressionStatement", - "src": "14380:34:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7655, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14419:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7657, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14419:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7658, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14433:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14433:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "FAILED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14433:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14419:51:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7662, - "nodeType": "ExpressionStatement", - "src": "14419:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7664, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14520:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "14520:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7666, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14533:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7663, - "name": "failedWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6456, - "src": "14509:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14509:32:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7668, - "nodeType": "ExpressionStatement", - "src": "14509:32:29" - }, - { - "body": { - "id": 7694, - "nodeType": "Block", - "src": "14602:91:29", - "statements": [ - { - "assignments": [ - 7682 - ], - "declarations": [ - { - "constant": false, - "id": 7682, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7694, - "src": "14607:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14607:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7687, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7683, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14624:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "14624:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7686, - "indexExpression": { - "argumentTypes": null, - "id": 7685, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14642:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14624:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14607:37:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7689, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14668:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7690, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "14668:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7691, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7682, - "src": "14681:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7688, - "name": "unlockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2883, - "src": "14649:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 7692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14649:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7693, - "nodeType": "ExpressionStatement", - "src": "14649:39:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7673, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14565:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7674, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14569:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7675, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "14569:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14569:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14565:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7695, - "initializationExpression": { - "assignments": [ - 7670 - ], - "declarations": [ - { - "constant": false, - "id": 7670, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7695, - "src": "14550:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7669, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14550:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7672, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14562:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "14550:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "14595:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7678, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14597:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7680, - "nodeType": "ExpressionStatement", - "src": "14595:3:29" - }, - "nodeType": "ForStatement", - "src": "14545:148:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7697, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14714:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7696, - "name": "TaskClaimed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9812, - "src": "14702:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14702:20:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7699, - "nodeType": "EmitStatement", - "src": "14697:25:29" - } - ] - }, - "documentation": null, - "functionSelector": "bd66528a", - "id": 7701, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7622, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "14182:8:29" - }, - "parameters": { - "id": 7621, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7620, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7701, - "src": "14157:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14157:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14153:20:29" - }, - "returnParameters": { - "id": 7623, - "nodeType": "ParameterList", - "parameters": [], - "src": "14192:0:29" - }, - "scope": 8316, - "src": "14139:587:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 7847, - "nodeType": "Block", - "src": "15074:1547:29", - "statements": [ - { - "assignments": [ - 7711 - ], - "declarations": [ - { - "constant": false, - "id": 7711, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15078:38:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7710, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "15078:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7715, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7712, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "15124:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7714, - "indexExpression": { - "argumentTypes": null, - "id": 7713, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "15132:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15124:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15078:62:29" - }, - { - "assignments": [ - 7719 - ], - "declarations": [ - { - "constant": false, - "id": 7719, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15144:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 7718, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "15144:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7723, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7720, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "15190:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 7722, - "indexExpression": { - "argumentTypes": null, - "id": 7721, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "15202:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15190:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15144:66:29" - }, - { - "assignments": [ - 7725 - ], - "declarations": [ - { - "constant": false, - "id": 7725, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15215:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15215:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7731, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7726, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "15231:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7729, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7727, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15239:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "15239:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15231:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 7730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "15231:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15215:42:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7737, - "name": "trust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7725, - "src": "15760:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7732, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7719, - "src": "15728:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7733, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "15728:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7735, - "indexExpression": { - "argumentTypes": null, - "id": 7734, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "15744:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15728:27:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "15728:31:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15728:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15799:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 7742, - "name": "trust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7725, - "src": "15789:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "15789:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15789:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7739, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7719, - "src": "15769:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "15769:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "15769:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15769:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15728:74:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7846, - "nodeType": "IfStatement", - "src": "15724:894:29", - "trueBody": { - "id": 7845, - "nodeType": "Block", - "src": "15806:812:29", - "statements": [ - { - "assignments": [ - 7749 - ], - "declarations": [ - { - "constant": false, - "id": 7749, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7845, - "src": "15859:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7748, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15859:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7751, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15883:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15859:25:29" - }, - { - "body": { - "id": 7799, - "nodeType": "Block", - "src": "15947:321:29", - "statements": [ - { - "assignments": [ - 7765 - ], - "declarations": [ - { - "constant": false, - "id": 7765, - "mutability": "mutable", - "name": "w", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7799, - "src": "15953:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15953:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7770, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7766, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15965:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7767, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "15965:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7769, - "indexExpression": { - "argumentTypes": null, - "id": 7768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15983:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15965:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15953:32:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7771, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "16005:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7773, - "indexExpression": { - "argumentTypes": null, - "id": 7772, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16021:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16005:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7775, - "indexExpression": { - "argumentTypes": null, - "id": 7774, - "name": "w", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7765, - "src": "16030:1:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16005:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7776, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "16005:38:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7777, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16047:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "16005:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7779, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "16071:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7781, - "indexExpression": { - "argumentTypes": null, - "id": 7780, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16087:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16071:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7783, - "indexExpression": { - "argumentTypes": null, - "id": 7782, - "name": "w", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7765, - "src": "16096:1:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16071:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7784, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "16071:34:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7785, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "16109:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "16109:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16109:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "16071:88:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "16005:154:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7798, - "nodeType": "IfStatement", - "src": "15991:272:29", - "trueBody": { - "id": 7797, - "nodeType": "Block", - "src": "16213:50:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7790, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16220:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7793, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16254:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 7791, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16236:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "16236:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16236:20:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16220:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7796, - "nodeType": "ExpressionStatement", - "src": "16220:36:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7756, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15909:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7757, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15913:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7758, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "15913:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15913:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15909:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7800, - "initializationExpression": { - "assignments": [ - 7753 - ], - "declarations": [ - { - "constant": false, - "id": 7753, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7800, - "src": "15894:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15894:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7755, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15906:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15894:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "15939:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7761, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15941:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7763, - "nodeType": "ExpressionStatement", - "src": "15939:3:29" - }, - "nodeType": "ForStatement", - "src": "15889:379:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7801, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16326:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7803, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "16326:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7804, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "16348:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "16348:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16348:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "16326:62:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7808, - "nodeType": "ExpressionStatement", - "src": "16326:62:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7809, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16393:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "16393:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7812, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16415:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "16393:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7814, - "nodeType": "ExpressionStatement", - "src": "16393:32:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7815, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16430:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "16430:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7824, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "16496:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7821, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "16469:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7818, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16452:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7819, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "16452:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "16452:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16452:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "16452:43:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16452:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16430:70:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7827, - "nodeType": "ExpressionStatement", - "src": "16430:70:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7828, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16505:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7830, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "16505:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16527:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16505:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7833, - "nodeType": "ExpressionStatement", - "src": "16505:23:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7834, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16533:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "16533:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7837, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16555:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16533:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7839, - "nodeType": "ExpressionStatement", - "src": "16533:35:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7841, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16593:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7842, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16602:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7840, - "name": "TaskConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9794, - "src": "16579:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16579:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7844, - "nodeType": "EmitStatement", - "src": "16574:39:29" - } - ] - } - } - ] - }, - "documentation": null, - "id": 7848, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checkConsensus", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 7706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7703, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7848, - "src": "15024:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7702, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15024:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7705, - "mutability": "mutable", - "name": "_consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7848, - "src": "15043:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7704, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15043:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15020:42:29" - }, - "returnParameters": { - "id": 7707, - "nodeType": "ParameterList", - "parameters": [], - "src": "15074:0:29" - }, - "scope": 8316, - "src": "14997:1624:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8073, - "nodeType": "Block", - "src": "16712:2865:29", - "statements": [ - { - "assignments": [ - 7856 - ], - "declarations": [ - { - "constant": false, - "id": 7856, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16716:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7855, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "16716:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7860, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7857, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "16751:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7859, - "indexExpression": { - "argumentTypes": null, - "id": 7858, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "16759:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16751:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16716:51:29" - }, - { - "assignments": [ - 7864 - ], - "declarations": [ - { - "constant": false, - "id": 7864, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16771:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 7863, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "16771:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7869, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7865, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "16806:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7868, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7866, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "16814:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "16814:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16806:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16771:55:29" - }, - { - "assignments": [ - 7871 - ], - "declarations": [ - { - "constant": false, - "id": 7871, - "mutability": "mutable", - "name": "totalLogWeight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16831:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16831:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7873, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16856:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "16831:26:29" - }, - { - "assignments": [ - 7875 - ], - "declarations": [ - { - "constant": false, - "id": 7875, - "mutability": "mutable", - "name": "totalReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16861:19:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16861:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7879, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7876, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "16886:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7877, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "16886:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 7878, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "16886:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16861:46:29" - }, - { - "body": { - "id": 7934, - "nodeType": "Block", - "src": "16969:478:29", - "statements": [ - { - "assignments": [ - 7893 - ], - "declarations": [ - { - "constant": false, - "id": 7893, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7934, - "src": "16974:43:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7892, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16974:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7898, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7894, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17026:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7895, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17026:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7897, - "indexExpression": { - "argumentTypes": null, - "id": 7896, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "17044:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17026:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16974:72:29" - }, - { - "assignments": [ - 7902 - ], - "declarations": [ - { - "constant": false, - "id": 7902, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7934, - "src": "17051:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7901, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "17051:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7908, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7903, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "17103:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7905, - "indexExpression": { - "argumentTypes": null, - "id": 7904, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "17119:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17103:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7907, - "indexExpression": { - "argumentTypes": null, - "id": 7906, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7893, - "src": "17128:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17103:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17051:84:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7909, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7902, - "src": "17145:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7910, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "17145:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7911, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "17168:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "17168:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17168:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "17145:68:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 7932, - "nodeType": "Block", - "src": "17384:59:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7924, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17390:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7927, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "17420:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "17420:16:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7925, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17404:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "17404:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17404:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17390:47:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7931, - "nodeType": "ExpressionStatement", - "src": "17390:47:29" - } - ] - }, - "id": 7933, - "nodeType": "IfStatement", - "src": "17141:302:29", - "trueBody": { - "id": 7923, - "nodeType": "Block", - "src": "17218:68:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7915, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17224:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7918, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7902, - "src": "17260:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7919, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "17260:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7916, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17241:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "17241:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17241:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17224:56:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7922, - "nodeType": "ExpressionStatement", - "src": "17224:56:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7884, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "16932:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7885, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "16936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7886, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "16936:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16936:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16932:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7935, - "initializationExpression": { - "assignments": [ - 7881 - ], - "declarations": [ - { - "constant": false, - "id": 7881, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7935, - "src": "16917:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7880, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16917:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7883, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16929:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "16917:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "16962:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7889, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "16964:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7891, - "nodeType": "ExpressionStatement", - "src": "16962:3:29" - }, - "nodeType": "ForStatement", - "src": "16912:535:29" - }, - { - "assignments": [ - 7937 - ], - "declarations": [ - { - "constant": false, - "id": 7937, - "mutability": "mutable", - "name": "workersReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "17497:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7936, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17497:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7949, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7945, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "17561:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7946, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "17561:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "313030", - "id": 7942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17552:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 7941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17544:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17544:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17544:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "17544:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17544:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7938, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17521:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "17521:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17521:67:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17497:91:29" - }, - { - "body": { - "id": 8064, - "nodeType": "Block", - "src": "17650:1816:29", - "statements": [ - { - "assignments": [ - 7963 - ], - "declarations": [ - { - "constant": false, - "id": 7963, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8064, - "src": "17655:43:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17655:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7968, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7964, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17707:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7965, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17707:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7967, - "indexExpression": { - "argumentTypes": null, - "id": 7966, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17725:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17707:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17655:72:29" - }, - { - "assignments": [ - 7972 - ], - "declarations": [ - { - "constant": false, - "id": 7972, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8064, - "src": "17732:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7971, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "17732:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7978, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7973, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "17784:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7975, - "indexExpression": { - "argumentTypes": null, - "id": 7974, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "17800:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17784:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7977, - "indexExpression": { - "argumentTypes": null, - "id": 7976, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "17809:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17784:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17732:84:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7979, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "17826:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7980, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "17826:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7981, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "17849:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "17849:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17849:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "17826:68:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8062, - "nodeType": "Block", - "src": "18830:632:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8038, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18871:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8039, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "18871:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8040, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18884:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8041, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18892:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8037, - "name": "seizeContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2918, - "src": "18853:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 8042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18853:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8043, - "nodeType": "ExpressionStatement", - "src": "18853:47:29" - }, - { - "id": 8061, - "nodeType": "Block", - "src": "18945:512:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8044, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "19337:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8046, - "indexExpression": { - "argumentTypes": null, - "id": 8045, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19352:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "19337:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 8051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19399:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - { - "argumentTypes": null, - "hexValue": "33", - "id": 8052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19401:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8047, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "19362:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8049, - "indexExpression": { - "argumentTypes": null, - "id": 8048, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19377:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19362:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mulByFraction", - "nodeType": "MemberAccess", - "referencedDeclaration": 13517, - "src": "19362:36:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 8053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19362:41:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19337:66:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8055, - "nodeType": "ExpressionStatement", - "src": "19337:66:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8057, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19434:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8058, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "19442:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8056, - "name": "FaultyContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9774, - "src": "19415:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 8059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19415:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8060, - "nodeType": "EmitStatement", - "src": "19410:40:29" - } - ] - } - ] - }, - "id": 8063, - "nodeType": "IfStatement", - "src": "17822:1640:29", - "trueBody": { - "id": 8036, - "nodeType": "Block", - "src": "17899:836:29", - "statements": [ - { - "assignments": [ - 7986 - ], - "declarations": [ - { - "constant": false, - "id": 7986, - "mutability": "mutable", - "name": "workerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8036, - "src": "17905:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17905:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7993, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7989, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "17956:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "17956:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7991, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17977:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7987, - "name": "workersReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7937, - "src": "17928:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mulByFraction", - "nodeType": "MemberAccess", - "referencedDeclaration": 13517, - "src": "17928:27:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 7992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17928:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17905:87:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7994, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17998:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7997, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7986, - "src": "18037:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7995, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "18021:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "18021:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18021:29:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17998:52:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8000, - "nodeType": "ExpressionStatement", - "src": "17998:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8002, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18076:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "18076:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8004, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18089:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8001, - "name": "unlockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2883, - "src": "18057:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 8005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18057:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8006, - "nodeType": "ExpressionStatement", - "src": "18057:39:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8008, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18124:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8009, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7986, - "src": "18132:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8010, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18146:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8007, - "name": "rewardForContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2899, - "src": "18102:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 8011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18102:52:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8012, - "nodeType": "ExpressionStatement", - "src": "18102:52:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8013, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18208:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8014, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "18208:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 8015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18208:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18235:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "18208:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8035, - "nodeType": "IfStatement", - "src": "18204:526:29", - "trueBody": { - "id": 8034, - "nodeType": "Block", - "src": "18242:488:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8018, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "18620:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8020, - "indexExpression": { - "argumentTypes": null, - "id": 8019, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18635:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18620:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 8025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18672:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8021, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "18645:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8023, - "indexExpression": { - "argumentTypes": null, - "id": 8022, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18660:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18645:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "18645:26:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18645:29:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18620:54:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8028, - "nodeType": "ExpressionStatement", - "src": "18620:54:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8030, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18707:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8031, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18715:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8029, - "name": "AccurateContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9768, - "src": "18686:20:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 8032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18686:37:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8033, - "nodeType": "EmitStatement", - "src": "18681:42:29" - } - ] - } - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7954, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17613:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7955, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17617:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7956, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17617:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17617:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17613:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8065, - "initializationExpression": { - "assignments": [ - 7951 - ], - "declarations": [ - { - "constant": false, - "id": 7951, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8065, - "src": "17598:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7950, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17598:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7953, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17610:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "17598:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "17643:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7959, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17645:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7961, - "nodeType": "ExpressionStatement", - "src": "17643:3:29" - }, - "nodeType": "ForStatement", - "src": "17593:1873:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8067, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "19539:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8068, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "19539:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8069, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "19552:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8070, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "19565:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8066, - "name": "rewardForScheduling", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "19519:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,uint256,bytes32)" - } - }, - "id": 8071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19519:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8072, - "nodeType": "ExpressionStatement", - "src": "19519:54:29" - } - ] - }, - "documentation": null, - "id": 8074, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "distributeRewards", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 7851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7850, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8074, - "src": "16684:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7849, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16684:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16683:17:29" - }, - "returnParameters": { - "id": 7852, - "nodeType": "ParameterList", - "parameters": [], - "src": "16712:0:29" - }, - "scope": 8316, - "src": "16657:2920:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8135, - "nodeType": "Block", - "src": "19698:462:29", - "statements": [ - { - "assignments": [ - 8082 - ], - "declarations": [ - { - "constant": false, - "id": 8082, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19702:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 8081, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "19702:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8086, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8083, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "19737:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 8085, - "indexExpression": { - "argumentTypes": null, - "id": 8084, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "19745:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19737:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19702:51:29" - }, - { - "assignments": [ - 8090 - ], - "declarations": [ - { - "constant": false, - "id": 8090, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19757:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 8089, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "19757:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8095, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8091, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "19792:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 8094, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8092, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8082, - "src": "19800:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8093, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "19800:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19792:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19757:55:29" - }, - { - "assignments": [ - 8097 - ], - "declarations": [ - { - "constant": false, - "id": 8097, - "mutability": "mutable", - "name": "workerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19860:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8096, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19860:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8111, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8107, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "19936:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "313030", - "id": 8104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19927:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 8103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19919:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19919:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19919:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "19919:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19919:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8098, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19886:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8099, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "19886:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 8100, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "19886:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "19886:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19886:77:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19860:103:29" - }, - { - "assignments": [ - 8113 - ], - "declarations": [ - { - "constant": false, - "id": 8113, - "mutability": "mutable", - "name": "schedulerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19967:23:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19967:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8120, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8118, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8097, - "src": "20019:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8114, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19993:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "19993:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 8116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "19993:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "19993:25:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19993:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19967:65:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 8122, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "20058:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 8123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20058:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 8124, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8097, - "src": "20072:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8125, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "20086:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8121, - "name": "rewardForContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2899, - "src": "20036:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 8126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20036:58:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8127, - "nodeType": "ExpressionStatement", - "src": "20036:58:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8129, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8082, - "src": "20118:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "20118:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8131, - "name": "schedulerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8113, - "src": "20131:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8132, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "20148:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8128, - "name": "rewardForScheduling", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "20098:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,uint256,bytes32)" - } - }, - "id": 8133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20098:58:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8134, - "nodeType": "ExpressionStatement", - "src": "20098:58:29" - } - ] - }, - "documentation": null, - "id": 8136, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "distributeRewardsFast", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8077, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8076, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8136, - "src": "19670:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8075, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19670:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19669:17:29" - }, - "returnParameters": { - "id": 8078, - "nodeType": "ParameterList", - "parameters": [], - "src": "19698:0:29" - }, - "scope": 8316, - "src": "19639:521:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8191, - "nodeType": "Block", - "src": "20303:999:29", - "statements": [ - { - "assignments": [ - 8145 - ], - "declarations": [ - { - "constant": false, - "id": 8145, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8191, - "src": "20307:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8144, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20307:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8153, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8146, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "20324:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 8151, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8147, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "20332:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 8149, - "indexExpression": { - "argumentTypes": null, - "id": 8148, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "20340:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20332:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "id": 8150, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "20332:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20324:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 8152, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "20324:41:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20307:58:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8154, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8145, - "src": "20373:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20391:1:29", - "subdenomination": null, - "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": 8156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "20383:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 8155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20383:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20383:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "20373:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8190, - "nodeType": "IfStatement", - "src": "20369:930:29", - "trueBody": { - "id": 8189, - "nodeType": "Block", - "src": "20397:902:29", - "statements": [ - { - "assignments": [ - 8161, - 8163 - ], - "declarations": [ - { - "constant": false, - "id": 8161, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8189, - "src": "21031:12:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21031:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8163, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8189, - "src": "21045:23:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8162, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21045:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8175, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "72656365697665526573756c7428627974657333322c627974657329", - "id": 8170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21128:30:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5dd808556ea6d99d62eaed95dd0610dd172ace47dc278f9c702d6204f1230f42", - "typeString": "literal_string \"receiveResult(bytes32,bytes)\"" - }, - "value": "receiveResult(bytes32,bytes)" - }, - { - "argumentTypes": null, - "id": 8171, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "21160:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8172, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8141, - "src": "21169:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5dd808556ea6d99d62eaed95dd0610dd172ace47dc278f9c702d6204f1230f42", - "typeString": "literal_string \"receiveResult(bytes32,bytes)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 8168, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21104:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21104:23:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21104:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 8164, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8145, - "src": "21072:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21072:11:29", - "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": 8167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "gas" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 8166, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "21089:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "21072:31:29", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$gas", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 8174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21072:115:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21030:157:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 8177, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "21199:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 8178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21199:9:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8179, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "21211:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3633", - "id": 8180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21227:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63_by_1", - "typeString": "int_const 63" - }, - "value": "63" - }, - "src": "21211:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21199:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8176, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -3, - "src": "21192:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21192:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8184, - "nodeType": "ExpressionStatement", - "src": "21192:38:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 8185, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8161, - "src": "21272:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8186, - "nodeType": "ExpressionStatement", - "src": "21272:7:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 8187, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8163, - "src": "21284:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8188, - "nodeType": "ExpressionStatement", - "src": "21284:10:29" - } - ] - } - } - ] - }, - "documentation": { - "id": 8137, - "nodeType": "StructuredDocumentation", - "src": "20163:54:29", - "text": " Callback for smartcontracts using EIP1154" - }, - "id": 8192, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "executeCallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8139, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8192, - "src": "20244:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8138, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20244:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8141, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8192, - "src": "20261:29:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8140, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "20261:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "20243:48:29" - }, - "returnParameters": { - "id": 8143, - "nodeType": "ParameterList", - "parameters": [], - "src": "20303:0:29" - }, - "scope": 8316, - "src": "20219:1083:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9894 - ], - "body": { - "id": 8236, - "nodeType": "Block", - "src": "21658:149:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8205, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21670:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21670:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8207, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8198, - "src": "21688:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21688:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21670:29:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8204, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "21662:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21662:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8211, - "nodeType": "ExpressionStatement", - "src": "21662:38:29" - }, - { - "body": { - "id": 8232, - "nodeType": "Block", - "src": "21748:41:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8224, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21764:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8226, - "indexExpression": { - "argumentTypes": null, - "id": 8225, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21772:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21764:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8227, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8198, - "src": "21776:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8229, - "indexExpression": { - "argumentTypes": null, - "id": 8228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21781:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21776:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8223, - "name": "initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6594, - "src": "21753:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes32,uint256) returns (bytes32)" - } - }, - "id": 8230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21753:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8231, - "nodeType": "ExpressionStatement", - "src": "21753:31:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8216, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21721:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8217, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21725:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8218, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21725:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21721:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8233, - "initializationExpression": { - "assignments": [ - 8213 - ], - "declarations": [ - { - "constant": false, - "id": 8213, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8233, - "src": "21709:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8212, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21709:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8215, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21718:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "21709:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "21741:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8220, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21743:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8222, - "nodeType": "ExpressionStatement", - "src": "21741:3:29" - }, - "nodeType": "ForStatement", - "src": "21704:85:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21799:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8203, - "id": 8235, - "nodeType": "Return", - "src": "21792:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "b504681d", - "id": 8237, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8200, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "21633:8:29" - }, - "parameters": { - "id": 8199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8195, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21568:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8193, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "21568:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8194, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21568:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8198, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21598:23:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21598:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8197, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21598:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21564:58:29" - }, - "returnParameters": { - "id": 8203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8202, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21651:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8201, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21651:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21650:6:29" - }, - "scope": 8316, - "src": "21540:267:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9902 - ], - "body": { - "id": 8267, - "nodeType": "Block", - "src": "21896:93:29", - "statements": [ - { - "body": { - "id": 8263, - "nodeType": "Block", - "src": "21944:27:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8258, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8240, - "src": "21955:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8260, - "indexExpression": { - "argumentTypes": null, - "id": 8259, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21963:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21955:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8257, - "name": "claim", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "21949:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 8261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21949:17:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8262, - "nodeType": "ExpressionStatement", - "src": "21949:17:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8250, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21917:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8251, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8240, - "src": "21921:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21921:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21917:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8264, - "initializationExpression": { - "assignments": [ - 8247 - ], - "declarations": [ - { - "constant": false, - "id": 8247, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8264, - "src": "21905:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8246, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21905:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8249, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21914:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "21905:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "21937:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8254, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21939:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8256, - "nodeType": "ExpressionStatement", - "src": "21937:3:29" - }, - "nodeType": "ForStatement", - "src": "21900:71:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21981:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8245, - "id": 8266, - "nodeType": "Return", - "src": "21974:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 8268, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8242, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "21871:8:29" - }, - "parameters": { - "id": 8241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8240, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8268, - "src": "21833:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "21833:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8239, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21833:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21829:31:29" - }, - "returnParameters": { - "id": 8245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8244, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8268, - "src": "21889:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8243, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21889:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21888:6:29" - }, - "scope": 8316, - "src": "21810:179:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9913 - ], - "body": { - "id": 8314, - "nodeType": "Block", - "src": "22118:156:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8281, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22130:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22130:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8283, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8274, - "src": "22148:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22148:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22130:29:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8280, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "22122:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22122:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8287, - "nodeType": "ExpressionStatement", - "src": "22122:38:29" - }, - { - "body": { - "id": 8310, - "nodeType": "Block", - "src": "22208:48:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8301, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22230:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8303, - "indexExpression": { - "argumentTypes": null, - "id": 8302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22238:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22230:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8304, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8274, - "src": "22242:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8306, - "indexExpression": { - "argumentTypes": null, - "id": 8305, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22247:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22242:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8300, - "name": "initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6594, - "src": "22219:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes32,uint256) returns (bytes32)" - } - }, - "id": 8307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22219:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8299, - "name": "claim", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "22213:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 8308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22213:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8309, - "nodeType": "ExpressionStatement", - "src": "22213:38:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22181:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8293, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22185:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22185:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22181:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8311, - "initializationExpression": { - "assignments": [ - 8289 - ], - "declarations": [ - { - "constant": false, - "id": 8289, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8311, - "src": "22169:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8288, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22169:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8291, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8290, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22178:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "22169:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "22201:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8296, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22203:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8298, - "nodeType": "ExpressionStatement", - "src": "22201:3:29" - }, - "nodeType": "ForStatement", - "src": "22164:92:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22266:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8279, - "id": 8313, - "nodeType": "Return", - "src": "22259:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "f722cb32", - "id": 8315, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8276, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "22093:8:29" - }, - "parameters": { - "id": 8275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8271, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22028:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8269, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "22028:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8270, - "length": null, - "nodeType": "ArrayTypeName", - "src": "22028:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8274, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22058:23:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8272, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22058:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8273, - "length": null, - "nodeType": "ArrayTypeName", - "src": "22058:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "22024:58:29" - }, - "returnParameters": { - "id": 8279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8278, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22111:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8277, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22111:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "22110:6:29" - }, - "scope": 8316, - "src": "21992:282:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8317, - "src": "1494:20782:29" - } - ], - "src": "1242:21035:29" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecPoco2Delegate.sol", - "exportedSymbols": { - "IexecPoco2Delegate": [ - 8316 - ] - }, - "id": 8317, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 6239, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:29" - }, - { - "id": 6240, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:29" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 6241, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 13137, - "src": "1301:56:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecERC20Core.sol", - "file": "./IexecERC20Core.sol", - "id": 6242, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 2940, - "src": "1358:30:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "file": "./SignatureVerifier.sol", - "id": 6243, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 8802, - "src": "1389:33:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 6244, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 1659, - "src": "1423:29:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecPoco2.sol", - "file": "../interfaces/IexecPoco2.sol", - "id": 6245, - "nodeType": "ImportDirective", - "scope": 8317, - "sourceUnit": 9915, - "src": "1453:38:29", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6246, - "name": "IexecPoco2", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9914, - "src": "1525:10:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecPoco2_$9914", - "typeString": "contract IexecPoco2" - } - }, - "id": 6247, - "nodeType": "InheritanceSpecifier", - "src": "1525:10:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6248, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1537:12:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 6249, - "nodeType": "InheritanceSpecifier", - "src": "1537:12:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6250, - "name": "IexecERC20Core", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2939, - "src": "1551:14:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecERC20Core_$2939", - "typeString": "contract IexecERC20Core" - } - }, - "id": 6251, - "nodeType": "InheritanceSpecifier", - "src": "1551:14:29" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6252, - "name": "SignatureVerifier", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 8801, - "src": "1567:17:29", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SignatureVerifier_$8801", - "typeString": "contract SignatureVerifier" - } - }, - "id": 6253, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:29" - } - ], - "contractDependencies": [ - 309, - 1658, - 2939, - 8801, - 9914, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8316, - "linearizedBaseContracts": [ - 8316, - 8801, - 2939, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9914 - ], - "name": "IexecPoco2Delegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 6389, - "nodeType": "Block", - "src": "1889:1093:29", - "statements": [ - { - "assignments": [ - 6263 - ], - "declarations": [ - { - "constant": false, - "id": 6263, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "1893:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6262, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "1893:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6267, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6264, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "1929:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6266, - "indexExpression": { - "argumentTypes": null, - "id": 6265, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6255, - "src": "1937:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1929:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1893:52:29" - }, - { - "assignments": [ - 6269 - ], - "declarations": [ - { - "constant": false, - "id": 6269, - "mutability": "mutable", - "name": "requesterstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "1950:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1950:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6283, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6279, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2038:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2038:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6281, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2038:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6274, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2004:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6275, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2004:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6276, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2004:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6270, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "1975:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6271, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "1975:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6272, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "1975:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "1975:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1975:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "1975:62:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1975:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1950:110:29" - }, - { - "assignments": [ - 6285 - ], - "declarations": [ - { - "constant": false, - "id": 6285, - "mutability": "mutable", - "name": "poolstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "2064:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6284, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2064:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6292, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6290, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "2125:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6286, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2084:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6287, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2084:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6288, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2084:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "2084:40:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2084:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2064:84:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6294, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2186:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6295, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "2186:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6296, - "name": "requesterstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6269, - "src": "2202:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6297, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2218:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6293, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "2180:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2180:46:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6299, - "nodeType": "ExpressionStatement", - "src": "2180:46:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6300, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2251:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2251:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6302, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2251:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6303, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2268:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2251:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6316, - "nodeType": "IfStatement", - "src": "2247:83:29", - "trueBody": { - "id": 6315, - "nodeType": "Block", - "src": "2273:57:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6306, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2285:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6307, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2285:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6308, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2285:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6309, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2301:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6310, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "2301:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6311, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2301:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6312, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2317:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6305, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2278:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2278:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6314, - "nodeType": "ExpressionStatement", - "src": "2278:47:29" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6317, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2354:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6318, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2354:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2354:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2375:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2354:22:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6322, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2380:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2380:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "2380:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2412:1:29", - "subdenomination": null, - "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": 6326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2404:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2404:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2404:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2380:34:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2354:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6342, - "nodeType": "IfStatement", - "src": "2350:133:29", - "trueBody": { - "id": 6341, - "nodeType": "Block", - "src": "2418:65:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6332, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2430:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2430:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2430:18:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6335, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2450:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "2450:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6337, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "2450:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6338, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2470:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6331, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2423:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2423:55:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6340, - "nodeType": "ExpressionStatement", - "src": "2423:55:29" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6344, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2516:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2516:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6346, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2516:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6347, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6285, - "src": "2539:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6343, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "2509:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2509:40:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6349, - "nodeType": "ExpressionStatement", - "src": "2509:40:29" - }, - { - "assignments": [ - 6352 - ], - "declarations": [ - { - "constant": false, - "id": 6352, - "mutability": "mutable", - "name": "kitty", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6389, - "src": "2646:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6351, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2646:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6356, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6353, - "name": "m_frozens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2662:9:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 6355, - "indexExpression": { - "argumentTypes": null, - "id": 6354, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "2672:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2662:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2646:40:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6357, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2694:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2702:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2694:9:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6388, - "nodeType": "IfStatement", - "src": "2690:289:29", - "trueBody": { - "id": 6387, - "nodeType": "Block", - "src": "2707:272:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6360, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2712:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6369, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2825:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6366, - "name": "KITTY_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "2778:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6363, - "name": "KITTY_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "2743:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6361, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2720:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "2720:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "2720:57:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:68:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "min", - "nodeType": "MemberAccess", - "referencedDeclaration": 13496, - "src": "2720:104:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2720:111:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2712:119:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6372, - "nodeType": "ExpressionStatement", - "src": "2712:119:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6374, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "2886:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6375, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2909:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6376, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2916:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6373, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "2879:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2879:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6378, - "nodeType": "ExpressionStatement", - "src": "2879:45:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6380, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "2936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal storage pointer" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "2936:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_storage", - "typeString": "struct IexecLibCore_v5.Resource storage ref" - } - }, - "id": 6382, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "2936:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6383, - "name": "kitty", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6352, - "src": "2959:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6384, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6257, - "src": "2966:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6379, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2929:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2929:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6386, - "nodeType": "ExpressionStatement", - "src": "2929:45:29" - } - ] - } - } - ] - }, - "documentation": null, - "id": 6390, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "successWork", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 6258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6255, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6390, - "src": "1844:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6254, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1844:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6257, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6390, - "src": "1861:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6256, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1861:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1843:34:29" - }, - "returnParameters": { - "id": 6259, - "nodeType": "ParameterList", - "parameters": [], - "src": "1889:0:29" - }, - "scope": 8316, - "src": "1823:1159:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6455, - "nodeType": "Block", - "src": "3050:515:29", - "statements": [ - { - "assignments": [ - 6400 - ], - "declarations": [ - { - "constant": false, - "id": 6400, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3054:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6399, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3054:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6404, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6401, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "3089:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6403, - "indexExpression": { - "argumentTypes": null, - "id": 6402, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6392, - "src": "3097:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3089:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3054:51:29" - }, - { - "assignments": [ - 6406 - ], - "declarations": [ - { - "constant": false, - "id": 6406, - "mutability": "mutable", - "name": "requesterstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3110:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6405, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3110:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6420, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6416, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3198:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3198:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3198:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6411, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3164:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dataset", - "nodeType": "MemberAccess", - "referencedDeclaration": 1105, - "src": "3164:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6413, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3164:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6407, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3135:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "app", - "nodeType": "MemberAccess", - "referencedDeclaration": 1103, - "src": "3135:8:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3135:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "3135:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3135:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "3135:62:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3135:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3110:110:29" - }, - { - "assignments": [ - 6422 - ], - "declarations": [ - { - "constant": false, - "id": 6422, - "mutability": "mutable", - "name": "poolstake", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6455, - "src": "3224:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3224:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6429, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6427, - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 251, - "src": "3285:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6423, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3244:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3244:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6425, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "3244:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "3244:40:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3244:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3224:84:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6431, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3320:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6432, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "requester", - "nodeType": "MemberAccess", - "referencedDeclaration": 1115, - "src": "3320:14:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6433, - "name": "requesterstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6406, - "src": "3343:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6430, - "name": "unlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2851, - "src": "3313:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3313:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6435, - "nodeType": "ExpressionStatement", - "src": "3313:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6437, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "3373:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6438, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "3373:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "3373:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6440, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3396:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6441, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6394, - "src": "3407:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6436, - "name": "seize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2785, - "src": "3366:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3366:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6443, - "nodeType": "ExpressionStatement", - "src": "3366:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6445, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "3426:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6446, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3449:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6447, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6394, - "src": "3460:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6444, - "name": "reward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "3419:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3419:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6449, - "nodeType": "ExpressionStatement", - "src": "3419:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6451, - "name": "KITTY_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "3499:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6452, - "name": "poolstake", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "3522:9:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6450, - "name": "lock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "3492:4:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3492:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6454, - "nodeType": "ExpressionStatement", - "src": "3492:49:29" - } - ] - }, - "documentation": null, - "id": 6456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "failedWork", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 6395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6392, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6456, - "src": "3005:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6391, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3005:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6394, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6456, - "src": "3022:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6393, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3022:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3004:34:29" - }, - "returnParameters": { - "id": 6396, - "nodeType": "ParameterList", - "parameters": [], - "src": "3050:0:29" - }, - "scope": 8316, - "src": "2985:580:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9825 - ], - "body": { - "id": 6593, - "nodeType": "Block", - "src": "3889:891:29", - "statements": [ - { - "assignments": [ - 6469 - ], - "declarations": [ - { - "constant": false, - "id": 6469, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "3893:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6468, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3893:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6473, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6470, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "3928:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6472, - "indexExpression": { - "argumentTypes": null, - "id": 6471, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "3936:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3928:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3893:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6475, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "3957:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6476, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "3964:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6477, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "3964:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3957:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6474, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3949:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3949:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6480, - "nodeType": "ExpressionStatement", - "src": "3949:47:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6482, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4008:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6486, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4033:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6487, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botSize", - "nodeType": "MemberAccess", - "referencedDeclaration": 1127, - "src": "4033:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6483, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4015:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6484, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "botFirst", - "nodeType": "MemberAccess", - "referencedDeclaration": 1125, - "src": "4015:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4015:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4015:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4008:38:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6481, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4000:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4000:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6491, - "nodeType": "ExpressionStatement", - "src": "4000:47:29" - }, - { - "assignments": [ - 6493 - ], - "declarations": [ - { - "constant": false, - "id": 6493, - "mutability": "mutable", - "name": "taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "4052:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6492, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4052:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6501, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6497, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "4097:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6498, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4106:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4080:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4080:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4080:30:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6494, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4070:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4070:41:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:59:29" - }, - { - "assignments": [ - 6505 - ], - "declarations": [ - { - "constant": false, - "id": 6505, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6593, - "src": "4115:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6504, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "4115:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6509, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6506, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "4151:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6508, - "indexExpression": { - "argumentTypes": null, - "id": 6507, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4159:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4151:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4115:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6511, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4178:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6512, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "4178:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6513, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "4193:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "4193:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "UNSET", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4193:36:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "4178:51:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6510, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4170:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4170:60:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6518, - "nodeType": "ExpressionStatement", - "src": "4170:60:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6519, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4235:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6521, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "4235:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6522, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "4263:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "4263:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4263:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "4235:65:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 6526, - "nodeType": "ExpressionStatement", - "src": "4235:65:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6527, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4304:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6529, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "4304:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6530, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6458, - "src": "4332:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4304:35:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6532, - "nodeType": "ExpressionStatement", - "src": "4304:35:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6533, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4343:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6535, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "idx", - "nodeType": "MemberAccess", - "referencedDeclaration": 1144, - "src": "4343:8:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6536, - "name": "idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "4371:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4343:31:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6538, - "nodeType": "ExpressionStatement", - "src": "4343:31:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6539, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4378:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4378:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6542, - "name": "m_categories", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "4406:12:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref[] storage ref" - } - }, - "id": 6545, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6543, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4419:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6544, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 1111, - "src": "4419:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4406:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage", - "typeString": "struct IexecLibCore_v5.Category storage ref" - } - }, - "id": 6546, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workClockTimeRef", - "nodeType": "MemberAccess", - "referencedDeclaration": 1093, - "src": "4406:44:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4378:72:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6548, - "nodeType": "ExpressionStatement", - "src": "4378:72:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6549, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4454:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6551, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "4454:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6558, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4532:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6559, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "4532:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6555, - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "4499:27:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6552, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4482:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6553, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4482:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "4482:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4482:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4482:49:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4482:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4454:93:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6562, - "nodeType": "ExpressionStatement", - "src": "4454:93:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6563, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4551:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6565, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "4551:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6572, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4629:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "startTime", - "nodeType": "MemberAccess", - "referencedDeclaration": 1123, - "src": "4629:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6569, - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 248, - "src": "4603:20:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6566, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6505, - "src": "4579:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6567, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "4579:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6568, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "4579:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4579:45:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "4579:49:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4579:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4551:93:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6576, - "nodeType": "ExpressionStatement", - "src": "4551:93:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6577, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "4672:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 6579, - "indexExpression": { - "argumentTypes": null, - "id": 6578, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4684:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4672:19:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "id": 6580, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "4672:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 6581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4700:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4672:29:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6583, - "nodeType": "ExpressionStatement", - "src": "4672:29:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6585, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4726:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6586, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6469, - "src": "4734:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "4734:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "pointer", - "nodeType": "MemberAccess", - "referencedDeclaration": 1096, - "src": "4734:23:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6584, - "name": "TaskInitialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9780, - "src": "4711:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 6589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4711:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6590, - "nodeType": "EmitStatement", - "src": "4706:52:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6591, - "name": "taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "4770:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6465, - "id": 6592, - "nodeType": "Return", - "src": "4763:13:29" - } - ] - }, - "documentation": null, - "functionSelector": "5b36c66b", - "id": 6594, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6462, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3861:8:29" - }, - "parameters": { - "id": 6461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6458, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3823:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6457, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3823:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6460, - "mutability": "mutable", - "name": "idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3840:11:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6459, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3840:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3822:30:29" - }, - "returnParameters": { - "id": 6465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6594, - "src": "3879:7:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6463, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3879:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3878:9:29" - }, - "scope": 8316, - "src": "3803:977:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9845 - ], - "body": { - "id": 6878, - "nodeType": "Block", - "src": "5075:2630:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6612, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5101:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5101:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6611, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "5087:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 6614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5087:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6610, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5079:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5079:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6616, - "nodeType": "ExpressionStatement", - "src": "5079:36:29" - }, - { - "assignments": [ - 6620 - ], - "declarations": [ - { - "constant": false, - "id": 6620, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5120:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6619, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "5120:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6624, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6621, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "5172:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6623, - "indexExpression": { - "argumentTypes": null, - "id": 6622, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "5180:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5172:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5120:68:29" - }, - { - "assignments": [ - 6628 - ], - "declarations": [ - { - "constant": false, - "id": 6628, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5192:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 6627, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "5192:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6635, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6629, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "5244:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 6631, - "indexExpression": { - "argumentTypes": null, - "id": 6630, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "5260:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5244:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 6634, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6632, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "5269:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5269:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5244:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5192:90:29" - }, - { - "assignments": [ - 6639 - ], - "declarations": [ - { - "constant": false, - "id": 6639, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "5286:41:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6638, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "5286:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6640, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "5338:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6643, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6641, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5346:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "5346:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5338:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5286:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6646, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5371:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "5371:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6648, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "5400:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "5400:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5400:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "5371:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6645, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5363:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5363:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6653, - "nodeType": "ExpressionStatement", - "src": "5363:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6655, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "5457:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6656, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "5457:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6657, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "5486:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5457:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6654, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5449:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5449:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6660, - "nodeType": "ExpressionStatement", - "src": "5449:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6662, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "5543:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6663, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "5543:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6664, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "5572:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "5572:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 6666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "UNSET", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5572:44:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "5543:73:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6661, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5535:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5535:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6669, - "nodeType": "ExpressionStatement", - "src": "5535:82:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6671, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "5672:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5701:1:29", - "subdenomination": null, - "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": 6673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5693:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6672, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5693:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5693:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5672:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6677, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6639, - "src": "5708:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6678, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "5708:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6680, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5717:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5708:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 6681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5723:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "5708:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5731:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5708:24:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6685, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5707:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5672:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6670, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5664:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5664:70:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6688, - "nodeType": "ExpressionStatement", - "src": "5664:70:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6691, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "5871:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5900:1:29", - "subdenomination": null, - "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": 6693, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5892:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5892:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5892:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5871:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6697, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "5906:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5929:1:29", - "subdenomination": null, - "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": 6699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5921:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5921:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6701, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5921:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5906:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5871:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6704, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5869:64:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6706, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6639, - "src": "5950:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6707, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "5950:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 6708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "5950:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "5869:102:29", - "trueExpression": { - "argumentTypes": null, - "id": 6705, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "5936:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6714, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6028:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6028:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6716, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "6046:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6717, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6059:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 6712, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6006:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6006:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6006:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6711, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5996:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5996:86:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6710, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "5976:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 6720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5976:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 6721, - "name": "_authorizationSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6606, - "src": "6088:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6690, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5849:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 6722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5849:261:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6689, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5841:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5841:270:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6724, - "nodeType": "ExpressionStatement", - "src": "5841:270:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6726, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6153:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6182:1:29", - "subdenomination": null, - "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": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6174:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6174:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6174:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "6153:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6733, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6208:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6738, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6282:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6739, - "name": "_resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6600, - "src": "6299:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6736, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6260:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6260:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6260:55:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6735, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "6250:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6250:66:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6734, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "6230:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 6742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6230:87:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 6743, - "name": "_enclaveSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6604, - "src": "6322:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6732, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "6188:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6188:150:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6153:185:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6725, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6145:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6145:194:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6747, - "nodeType": "ExpressionStatement", - "src": "6145:194:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6748, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6375:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6750, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "6375:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6751, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "6407:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "6407:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 6753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6407:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "6375:82:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 6755, - "nodeType": "ExpressionStatement", - "src": "6375:82:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6756, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6461:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6758, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "6461:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6759, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6493:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6461:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6761, - "nodeType": "ExpressionStatement", - "src": "6461:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6762, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6508:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6764, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "6508:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6765, - "name": "_resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6600, - "src": "6540:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "6508:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6767, - "nodeType": "ExpressionStatement", - "src": "6508:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6768, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "6555:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6770, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "6555:29:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6771, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6602, - "src": "6587:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6555:49:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6773, - "nodeType": "ExpressionStatement", - "src": "6555:49:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6779, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6631:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6631:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6774, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "6608:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6777, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "6608:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 6778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6608:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 6781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6608:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6782, - "nodeType": "ExpressionStatement", - "src": "6608:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6784, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6620, - "src": "6666:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "6666:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6786, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6679:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6679:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6783, - "name": "lockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2867, - "src": "6649:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6649:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6789, - "nodeType": "ExpressionStatement", - "src": "6649:43:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6791, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "6717:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6792, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "6726:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6726:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6794, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "6740:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6790, - "name": "TaskContribute", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9788, - "src": "6702:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 6795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6702:50:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6796, - "nodeType": "EmitStatement", - "src": "6697:55:29" - }, - { - "assignments": [ - 6800 - ], - "declarations": [ - { - "constant": false, - "id": 6800, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7214:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 6799, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "7214:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6804, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6801, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "7260:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 6803, - "indexExpression": { - "argumentTypes": null, - "id": 6802, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "7272:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7260:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7214:66:29" - }, - { - "assignments": [ - 6806 - ], - "declarations": [ - { - "constant": false, - "id": 6806, - "mutability": "mutable", - "name": "weight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7285:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6805, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7285:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6820, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 6818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7349:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "33", - "id": 6815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7342:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "33", - "id": 6812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7335:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6807, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "7302:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 6810, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6808, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "7317:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7317:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7302:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "div", - "nodeType": "MemberAccess", - "referencedDeclaration": 13439, - "src": "7302:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "7302:39:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7302:46:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7302:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7285:66:29" - }, - { - "assignments": [ - 6822 - ], - "declarations": [ - { - "constant": false, - "id": 6822, - "mutability": "mutable", - "name": "group", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7355:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7355:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6827, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6823, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7372:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6824, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7372:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6826, - "indexExpression": { - "argumentTypes": null, - "id": 6825, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7388:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7372:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7355:45:29" - }, - { - "assignments": [ - 6829 - ], - "declarations": [ - { - "constant": false, - "id": 6829, - "mutability": "mutable", - "name": "delta", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6878, - "src": "7404:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7404:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6840, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6838, - "name": "group", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6822, - "src": "7450:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6835, - "name": "weight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6806, - "src": "7438:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 6832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7431:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 6830, - "name": "group", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6822, - "src": "7421:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "max", - "nodeType": "MemberAccess", - "referencedDeclaration": 13478, - "src": "7421:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "7421:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:24:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "7421:28:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7421:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7404:52:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6841, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "7461:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 6843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "7461:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 6844, - "name": "weight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6806, - "src": "7492:6:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "log", - "nodeType": "MemberAccess", - "referencedDeclaration": 13544, - "src": "7492:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256) pure returns (uint256)" - } - }, - "id": 6846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7492:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7461:43:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6848, - "nodeType": "ExpressionStatement", - "src": "7461:43:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6849, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7508:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7508:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6853, - "indexExpression": { - "argumentTypes": null, - "id": 6851, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7524:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7508:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6859, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6829, - "src": "7572:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6854, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7539:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6855, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "7539:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6857, - "indexExpression": { - "argumentTypes": null, - "id": 6856, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7555:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7539:28:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "7539:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7539:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7508:70:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6862, - "nodeType": "ExpressionStatement", - "src": "7508:70:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 6871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6863, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7582:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6865, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "7582:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6869, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6829, - "src": "7633:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6866, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6800, - "src": "7613:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 6867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "7613:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "7613:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7613:26:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7582:57:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6872, - "nodeType": "ExpressionStatement", - "src": "7582:57:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6874, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6596, - "src": "7680:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6875, - "name": "_resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6598, - "src": "7689:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6873, - "name": "checkConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7848, - "src": "7665:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 6876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7665:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6877, - "nodeType": "ExpressionStatement", - "src": "7665:36:29" - } - ] - }, - "documentation": null, - "functionSelector": "34623484", - "id": 6879, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contribute", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6608, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5065:8:29" - }, - "parameters": { - "id": 6607, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6596, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4881:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6595, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4881:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6598, - "mutability": "mutable", - "name": "_resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4905:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6597, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4905:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6600, - "mutability": "mutable", - "name": "_resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4933:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6599, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4933:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6602, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4961:30:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6601, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4961:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6604, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "4995:25:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6603, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4995:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6606, - "mutability": "mutable", - "name": "_authorizationSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 6879, - "src": "5024:31:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6605, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5024:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4877:179:29" - }, - "returnParameters": { - "id": 6609, - "nodeType": "ParameterList", - "parameters": [], - "src": "5075:0:29" - }, - "scope": 8316, - "src": "4858:2847:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9862 - ], - "body": { - "id": 7218, - "nodeType": "Block", - "src": "8077:2741:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6899, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8103:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8103:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6898, - "name": "_isAuthorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2463, - "src": "8089:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) returns (bool)" - } - }, - "id": 6901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8089:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6897, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8081:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8081:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6903, - "nodeType": "ExpressionStatement", - "src": "8081:36:29" - }, - { - "assignments": [ - 6907 - ], - "declarations": [ - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8122:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 6906, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "8122:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6911, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6908, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "8174:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 6910, - "indexExpression": { - "argumentTypes": null, - "id": 6909, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8182:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8174:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8122:68:29" - }, - { - "assignments": [ - 6915 - ], - "declarations": [ - { - "constant": false, - "id": 6915, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8194:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 6914, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "8194:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6922, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6916, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "8246:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 6918, - "indexExpression": { - "argumentTypes": null, - "id": 6917, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8262:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8246:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 6921, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6919, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8271:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8271:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8246:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8194:90:29" - }, - { - "assignments": [ - 6926 - ], - "declarations": [ - { - "constant": false, - "id": 6926, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8288:41:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 6925, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "8288:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6931, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6927, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "8340:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 6930, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6928, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8348:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6929, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "8348:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8340:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8288:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 6938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6933, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8373:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6934, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "8373:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6935, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "8402:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 6936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "8402:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 6937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8402:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "8373:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6932, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8365:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8365:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6940, - "nodeType": "ExpressionStatement", - "src": "8365:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6942, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8452:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6943, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributionDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1148, - "src": "8452:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6944, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "8481:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8452:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6941, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8444:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8444:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6947, - "nodeType": "ExpressionStatement", - "src": "8444:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6949, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "8531:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 6950, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "8531:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 6951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8531:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8560:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8531:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6948, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8523:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8523:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6955, - "nodeType": "ExpressionStatement", - "src": "8523:75:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6957, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "8610:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "8610:10:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8639:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8610:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6956, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8602:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 6961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8602:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6962, - "nodeType": "ExpressionStatement", - "src": "8602:75:29" - }, - { - "assignments": [ - 6964 - ], - "declarations": [ - { - "constant": false, - "id": 6964, - "mutability": "mutable", - "name": "resultHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8734:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6963, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8734:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6972, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6968, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8796:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6969, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "8805:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6966, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8765:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8765:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8765:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6965, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8755:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8755:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8734:86:29" - }, - { - "assignments": [ - 6974 - ], - "declarations": [ - { - "constant": false, - "id": 6974, - "mutability": "mutable", - "name": "resultSeal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7218, - "src": "8824:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6973, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8824:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6984, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 6978, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "8872:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 6979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8872:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6980, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "8886:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 6981, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "8895:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 6976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8855:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8855:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8855:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6975, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8845:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8845:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8824:86:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6986, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "8924:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 6987, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "8924:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8949:1:29", - "subdenomination": null, - "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": 6989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8941:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6988, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8941:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 6991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8941:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "8924:27:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6993, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "8955:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8955:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8982:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8955:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8924:59:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6998, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8923:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7000, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "8998:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6999, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8988:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8988:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7002, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "9019:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "9019:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8988:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8923:113:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6985, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8915:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8915:122:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7007, - "nodeType": "ExpressionStatement", - "src": "8915:122:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7009, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9092:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9121:1:29", - "subdenomination": null, - "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": 7011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9113:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9113:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9113:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9092:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 7020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7015, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "9128:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7016, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "tag", - "nodeType": "MemberAccess", - "referencedDeclaration": 1113, - "src": "9128:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7018, - "indexExpression": { - "argumentTypes": null, - "hexValue": "3331", - "id": 7017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9137:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_31_by_1", - "typeString": "int_const 31" - }, - "value": "31" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9128:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30783031", - "id": 7019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9143:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "0x01" - }, - "src": "9128:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9151:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9128:24:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7023, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9127:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9092:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7008, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9084:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9084:70:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7026, - "nodeType": "ExpressionStatement", - "src": "9084:70:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7029, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9291:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9320:1:29", - "subdenomination": null, - "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": 7031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9312:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7030, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9312:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9312:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9291:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7035, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "9326:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9349:1:29", - "subdenomination": null, - "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": 7037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9341:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9341:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9341:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9326:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9291:60:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7042, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9289:64:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7044, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6926, - "src": "9370:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7045, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "9370:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 7046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 1098, - "src": "9370:21:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "9289:102:29", - "trueExpression": { - "argumentTypes": null, - "id": 7043, - "name": "m_teebroker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 297, - "src": "9356:11:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7052, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "9448:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9448:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7054, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "9466:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7055, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9479:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 7050, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9426:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9426:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9426:75:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7049, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9416:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9416:86:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7048, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "9396:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 7058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9396:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 7059, - "name": "_authorizationSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6893, - "src": "9508:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7028, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "9269:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 7060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9269:261:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7027, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9261:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9261:270:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7062, - "nodeType": "ExpressionStatement", - "src": "9261:270:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7064, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9573:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9602:1:29", - "subdenomination": null, - "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": 7066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9594:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9594:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9594:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9573:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7071, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9628:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7076, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "9702:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7077, - "name": "resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6974, - "src": "9718:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9680:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9680:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9680:53:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7073, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9670:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9670:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7072, - "name": "_toEthSignedMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8441, - "src": "9650:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes32) pure returns (bytes memory)" - } - }, - "id": 7080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9650:85:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 7081, - "name": "_enclaveSign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6891, - "src": "9740:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7070, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "9608:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 7082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9608:148:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9573:183:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7063, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9565:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9565:192:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7085, - "nodeType": "ExpressionStatement", - "src": "9565:192:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7086, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9762:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7088, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "9762:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7089, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "9794:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "9794:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9794:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "9762:77:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7093, - "nodeType": "ExpressionStatement", - "src": "9762:77:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7094, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9843:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7096, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "9843:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7097, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "9875:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9843:42:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7099, - "nodeType": "ExpressionStatement", - "src": "9843:42:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7100, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9889:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7102, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "9889:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7103, - "name": "resultSeal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6974, - "src": "9921:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9889:42:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7105, - "nodeType": "ExpressionStatement", - "src": "9889:42:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7106, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "9935:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "enclaveChallenge", - "nodeType": "MemberAccess", - "referencedDeclaration": 1190, - "src": "9935:29:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7109, - "name": "_enclaveChallenge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6889, - "src": "9967:17:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9935:49:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7111, - "nodeType": "ExpressionStatement", - "src": "9935:49:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7112, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "9989:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7114, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "9989:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7115, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "10021:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "10021:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10021:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "9989:72:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7119, - "nodeType": "ExpressionStatement", - "src": "9989:72:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7120, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10065:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7122, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "10065:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7123, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6915, - "src": "10097:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7124, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "10097:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10065:55:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7126, - "nodeType": "ExpressionStatement", - "src": "10065:55:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7127, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10124:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7129, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "10124:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7136, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "10200:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7133, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "10173:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7130, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10156:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7131, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "10156:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "10156:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10156:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "10156:43:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10156:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10124:80:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7139, - "nodeType": "ExpressionStatement", - "src": "10124:80:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7140, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10208:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7142, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "10208:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 7143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10240:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10208:33:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7145, - "nodeType": "ExpressionStatement", - "src": "10208:33:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7146, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10245:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7148, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "10245:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 7149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10277:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10245:33:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7151, - "nodeType": "ExpressionStatement", - "src": "10245:33:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7152, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10282:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7154, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "10282:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7155, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "10314:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10282:45:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7157, - "nodeType": "ExpressionStatement", - "src": "10282:45:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7158, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10331:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "10331:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7161, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6885, - "src": "10363:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "10331:40:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7163, - "nodeType": "ExpressionStatement", - "src": "10331:40:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7164, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10375:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "10375:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7167, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "10407:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "10375:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7169, - "nodeType": "ExpressionStatement", - "src": "10375:48:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7175, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10483:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10483:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7170, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10460:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "10460:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10460:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 7177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10460:36:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7178, - "nodeType": "ExpressionStatement", - "src": "10460:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7180, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "10513:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7181, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "10513:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7182, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10526:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7179, - "name": "successWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6390, - "src": "10501:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10501:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7184, - "nodeType": "ExpressionStatement", - "src": "10501:33:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7186, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10560:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7185, - "name": "distributeRewardsFast", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8136, - "src": "10538:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10538:30:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7188, - "nodeType": "ExpressionStatement", - "src": "10538:30:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7190, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10593:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7191, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10602:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10602:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7193, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "10616:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7189, - "name": "TaskContribute", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9788, - "src": "10578:14:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10578:49:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7195, - "nodeType": "EmitStatement", - "src": "10573:54:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7197, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10650:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7198, - "name": "resultHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6964, - "src": "10659:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7196, - "name": "TaskConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9794, - "src": "10636:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10636:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7200, - "nodeType": "EmitStatement", - "src": "10631:39:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7202, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10690:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7203, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "10699:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10699:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7205, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6883, - "src": "10713:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7201, - "name": "TaskReveal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9802, - "src": "10679:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10679:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7207, - "nodeType": "EmitStatement", - "src": "10674:53:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7209, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10749:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7210, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6885, - "src": "10758:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7208, - "name": "TaskFinalize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9808, - "src": "10736:12:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10736:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7212, - "nodeType": "EmitStatement", - "src": "10731:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7214, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "10788:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7215, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6887, - "src": "10797:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7213, - "name": "executeCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8192, - "src": "10772:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10772:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7217, - "nodeType": "ExpressionStatement", - "src": "10772:42:29" - } - ] - }, - "documentation": null, - "functionSelector": "5facd761", - "id": 7219, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contributeAndFinalize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 6895, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "8067:8:29" - }, - "parameters": { - "id": 6894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6881, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7818:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6880, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7818:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6883, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7842:26:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6882, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7842:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6885, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7872:21:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6884, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7872:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6887, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7897:29:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6886, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7897:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6889, - "mutability": "mutable", - "name": "_enclaveChallenge", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7963:30:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6888, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7963:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6891, - "mutability": "mutable", - "name": "_enclaveSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "7997:25:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7997:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6893, - "mutability": "mutable", - "name": "_authorizationSign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7219, - "src": "8026:31:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8026:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7814:244:29" - }, - "returnParameters": { - "id": 6896, - "nodeType": "ParameterList", - "parameters": [], - "src": "8077:0:29" - }, - "scope": 8316, - "src": "7784:3034:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9869 - ], - "body": { - "id": 7338, - "nodeType": "Block", - "src": "10912:1020:29", - "statements": [ - { - "assignments": [ - 7230 - ], - "declarations": [ - { - "constant": false, - "id": 7230, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7338, - "src": "10916:41:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7229, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "10916:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7234, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7231, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "10968:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7233, - "indexExpression": { - "argumentTypes": null, - "id": 7232, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "10976:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10968:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10916:68:29" - }, - { - "assignments": [ - 7238 - ], - "declarations": [ - { - "constant": false, - "id": 7238, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7338, - "src": "10988:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7237, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "10988:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7245, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7239, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "11040:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7241, - "indexExpression": { - "argumentTypes": null, - "id": 7240, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11056:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11040:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7244, - "indexExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7242, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11065:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11065:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11040:38:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10988:90:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7247, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11090:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "11090:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7249, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11117:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "11117:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11117:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "11090:67:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7246, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11082:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11082:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7254, - "nodeType": "ExpressionStatement", - "src": "11082:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7256, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11195:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "11195:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7258, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "11222:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11195:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7255, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11187:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11187:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7261, - "nodeType": "ExpressionStatement", - "src": "11187:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7263, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11300:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "11300:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7265, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11327:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "11327:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7267, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11327:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "11300:77:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7262, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11292:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11292:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7270, - "nodeType": "ExpressionStatement", - "src": "11292:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7272, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11405:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7273, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "11405:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7274, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11432:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7275, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "11432:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11405:46:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7271, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11397:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11397:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7278, - "nodeType": "ExpressionStatement", - "src": "11397:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7280, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11510:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7281, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "11510:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7285, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11578:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7286, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11587:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11547:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11547:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11547:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7282, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "11537:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11537:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11510:92:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7279, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11502:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11502:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7291, - "nodeType": "ExpressionStatement", - "src": "11502:101:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7293, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11615:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultSeal", - "nodeType": "MemberAccess", - "referencedDeclaration": 1188, - "src": "11615:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7298, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11669:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11669:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7300, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11683:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7301, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11692:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 7296, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11652:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7297, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11652:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 7302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11652:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7295, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "11642:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11642:65:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11615:92:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7292, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11607:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11607:101:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7306, - "nodeType": "ExpressionStatement", - "src": "11607:101:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7307, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7238, - "src": "11713:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "11713:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7310, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "11735:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "11735:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11735:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "11713:67:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7314, - "nodeType": "ExpressionStatement", - "src": "11713:67:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7315, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11784:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7317, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "11784:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11829:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7318, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11806:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "11806:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "11806:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11806:25:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11784:47:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7324, - "nodeType": "ExpressionStatement", - "src": "11784:47:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7325, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7230, - "src": "11835:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "11835:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7328, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11857:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "11835:35:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7330, - "nodeType": "ExpressionStatement", - "src": "11835:35:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7332, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7221, - "src": "11891:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 7333, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "11900:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 7334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11900:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7335, - "name": "_resultDigest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7223, - "src": "11914:13:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7331, - "name": "TaskReveal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9802, - "src": "11880:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 7336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11880:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7337, - "nodeType": "EmitStatement", - "src": "11875:53:29" - } - ] - }, - "documentation": null, - "functionSelector": "fc334e8c", - "id": 7339, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reveal", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7225, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "10892:8:29" - }, - "parameters": { - "id": 7224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7221, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7339, - "src": "10840:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7220, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10840:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7223, - "mutability": "mutable", - "name": "_resultDigest", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7339, - "src": "10859:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7222, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10859:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10836:45:29" - }, - "returnParameters": { - "id": 7226, - "nodeType": "ParameterList", - "parameters": [], - "src": "10912:0:29" - }, - "scope": 8316, - "src": "10821:1111:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9874 - ], - "body": { - "id": 7488, - "nodeType": "Block", - "src": "12014:946:29", - "statements": [ - { - "assignments": [ - 7351 - ], - "declarations": [ - { - "constant": false, - "id": 7351, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7488, - "src": "12018:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7350, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "12018:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7355, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7352, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "12054:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7354, - "indexExpression": { - "argumentTypes": null, - "id": 7353, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12062:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12054:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12018:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7357, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12082:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7358, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "12082:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7359, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12105:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "12105:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12105:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "12082:63:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7356, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12074:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12074:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7364, - "nodeType": "ExpressionStatement", - "src": "12074:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7366, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12158:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "12158:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7368, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "12181:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12158:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7365, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12150:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12150:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7371, - "nodeType": "ExpressionStatement", - "src": "12150:72:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7373, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12234:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7374, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "12234:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7375, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "12257:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12234:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7377, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12264:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "12264:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12286:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12264:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "12234:53:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7372, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "12226:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12226:72:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7383, - "nodeType": "ExpressionStatement", - "src": "12226:72:29" - }, - { - "body": { - "id": 7425, - "nodeType": "Block", - "src": "12360:227:29", - "statements": [ - { - "assignments": [ - 7397 - ], - "declarations": [ - { - "constant": false, - "id": 7397, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7425, - "src": "12365:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7396, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12365:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7402, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7398, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12382:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7399, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "12382:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7401, - "indexExpression": { - "argumentTypes": null, - "id": 7400, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12400:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12382:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12365:37:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7403, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "12411:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7405, - "indexExpression": { - "argumentTypes": null, - "id": 7404, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12427:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12411:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7407, - "indexExpression": { - "argumentTypes": null, - "id": 7406, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7397, - "src": "12436:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12411:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "12411:43:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7409, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12458:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7410, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12458:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "12411:66:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7424, - "nodeType": "IfStatement", - "src": "12407:176:29", - "trueBody": { - "id": 7423, - "nodeType": "Block", - "src": "12482:101:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7412, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "12488:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7415, - "indexExpression": { - "argumentTypes": null, - "id": 7413, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12504:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12488:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7416, - "indexExpression": { - "argumentTypes": null, - "id": 7414, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7397, - "src": "12513:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12488:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7417, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "12488:39:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7418, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12530:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "12530:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REJECTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12530:47:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "12488:89:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "id": 7422, - "nodeType": "ExpressionStatement", - "src": "12488:89:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12323:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7389, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12327:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "12327:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12327:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12323:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7426, - "initializationExpression": { - "assignments": [ - 7385 - ], - "declarations": [ - { - "constant": false, - "id": 7385, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7426, - "src": "12308:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12308:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7387, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12320:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "12308:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "12353:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7393, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7385, - "src": "12355:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7395, - "nodeType": "ExpressionStatement", - "src": "12353:3:29" - }, - "nodeType": "ForStatement", - "src": "12303:284:29" - }, - { - "assignments": [ - 7430 - ], - "declarations": [ - { - "constant": false, - "id": 7430, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7488, - "src": "12591:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 7429, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "12591:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7434, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7431, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "12637:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 7433, - "indexExpression": { - "argumentTypes": null, - "id": 7432, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12649:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12637:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12591:66:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7435, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12661:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "12661:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7441, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12699:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7442, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "12699:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7445, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7443, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12715:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12715:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12699:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7438, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12679:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "12679:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "12679:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12679:57:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12661:75:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7448, - "nodeType": "ExpressionStatement", - "src": "12661:75:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7449, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7430, - "src": "12740:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7453, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "12740:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7454, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7451, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12756:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7452, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12756:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12740:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12779:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12740:40:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7457, - "nodeType": "ExpressionStatement", - "src": "12740:40:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7458, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12785:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "12785:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7461, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "12807:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "12807:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12807:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "12785:59:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7465, - "nodeType": "ExpressionStatement", - "src": "12785:59:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7466, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12848:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7468, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "12848:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "307830", - "id": 7469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12870:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "12848:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7471, - "nodeType": "ExpressionStatement", - "src": "12848:25:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7472, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12877:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7474, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "12877:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12899:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12877:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7477, - "nodeType": "ExpressionStatement", - "src": "12877:23:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7478, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7351, - "src": "12904:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7480, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "12904:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12926:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12904:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7483, - "nodeType": "ExpressionStatement", - "src": "12904:23:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7485, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12948:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7484, - "name": "TaskReopen", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9816, - "src": "12937:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12937:19:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7487, - "nodeType": "EmitStatement", - "src": "12932:24:29" - } - ] - }, - "documentation": null, - "functionSelector": "f6c68e10", - "id": 7489, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7345, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7341, - "src": "12004:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 7346, - "modifierName": { - "argumentTypes": null, - "id": 7344, - "name": "onlyScheduler", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "11990:13:29", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "11990:22:29" - } - ], - "name": "reopen", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7343, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11981:8:29" - }, - "parameters": { - "id": 7342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7341, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7489, - "src": "11954:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7340, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11954:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11950:20:29" - }, - "returnParameters": { - "id": 7347, - "nodeType": "ParameterList", - "parameters": [], - "src": "12014:0:29" - }, - "scope": 8316, - "src": "11935:1025:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9883 - ], - "body": { - "id": 7617, - "nodeType": "Block", - "src": "13152:984:29", - "statements": [ - { - "assignments": [ - 7505 - ], - "declarations": [ - { - "constant": false, - "id": 7505, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7617, - "src": "13156:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7504, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "13156:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7509, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7506, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "13192:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7508, - "indexExpression": { - "argumentTypes": null, - "id": 7507, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13200:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13192:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13156:52:29" - }, - { - "assignments": [ - 7513 - ], - "declarations": [ - { - "constant": false, - "id": 7513, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7617, - "src": "13212:33:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 7512, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "13212:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7518, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7514, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "13248:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7517, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7515, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13256:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7516, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "13256:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13248:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13212:56:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7520, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13281:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7521, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "13281:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7522, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "13303:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "13303:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13303:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "13281:62:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7519, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13273:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13273:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7527, - "nodeType": "ExpressionStatement", - "src": "13273:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7529, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13392:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7530, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "13392:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 7531, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "13414:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13392:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7528, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13384:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13384:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7534, - "nodeType": "ExpressionStatement", - "src": "13384:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7536, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13503:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7537, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "13503:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7538, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13525:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7539, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "13525:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13503:40:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7541, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13548:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7542, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "13548:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13569:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13548:22:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7545, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13574:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7546, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "13574:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7547, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "13597:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13574:26:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13548:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7550, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13547:54:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13503:98:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7535, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13495:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13495:107:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7553, - "nodeType": "ExpressionStatement", - "src": "13495:107:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7555, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7513, - "src": "13616:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "13616:13:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13641:1:29", - "subdenomination": null, - "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": 7558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13633:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13633:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13633:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "13616:27:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7562, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13647:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 7563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13647:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13674:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13647:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13616:59:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7567, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13615:61:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7569, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13690:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7568, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "13680:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 7570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13680:27:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7571, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13711:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7572, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultDigest", - "nodeType": "MemberAccess", - "referencedDeclaration": 1163, - "src": "13711:17:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "13680:48:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13615:113:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7554, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "13607:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13607:122:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7576, - "nodeType": "ExpressionStatement", - "src": "13607:122:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7577, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13734:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7579, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "13734:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7580, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "13757:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "13757:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "COMPLETED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13757:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "13734:63:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7584, - "nodeType": "ExpressionStatement", - "src": "13734:63:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7585, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13801:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7587, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "results", - "nodeType": "MemberAccess", - "referencedDeclaration": 1165, - "src": "13801:12:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7588, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7493, - "src": "13824:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "13801:31:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7590, - "nodeType": "ExpressionStatement", - "src": "13801:31:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7591, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13836:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7593, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "resultsCallback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1169, - "src": "13836:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7594, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "13859:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "13836:39:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 7596, - "nodeType": "ExpressionStatement", - "src": "13836:39:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7598, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "13970:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7599, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "13970:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7600, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13983:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7597, - "name": "successWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6390, - "src": "13958:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13958:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7602, - "nodeType": "ExpressionStatement", - "src": "13958:33:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7604, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14013:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7603, - "name": "distributeRewards", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8074, - "src": "13995:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13995:26:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7606, - "nodeType": "ExpressionStatement", - "src": "13995:26:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7608, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14067:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7609, - "name": "_results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7493, - "src": "14076:8:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7607, - "name": "TaskFinalize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9808, - "src": "14054:12:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14054:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7611, - "nodeType": "EmitStatement", - "src": "14049:36:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7613, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "14106:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7614, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7495, - "src": "14115:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7612, - "name": "executeCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8192, - "src": "14090:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 7615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14090:42:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7616, - "nodeType": "ExpressionStatement", - "src": "14090:42:29" - } - ] - }, - "documentation": null, - "functionSelector": "8fc375e5", - "id": 7618, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7499, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7491, - "src": "13142:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 7500, - "modifierName": { - "argumentTypes": null, - "id": 7498, - "name": "onlyScheduler", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "13128:13:29", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "13128:22:29" - } - ], - "name": "finalize", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7497, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "13119:8:29" - }, - "parameters": { - "id": 7496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7491, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "12984:24:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7490, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12984:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7493, - "mutability": "mutable", - "name": "_results", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "13012:25:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7492, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13012:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7495, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7618, - "src": "13041:33:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13041:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12980:95:29" - }, - "returnParameters": { - "id": 7501, - "nodeType": "ParameterList", - "parameters": [], - "src": "13152:0:29" - }, - "scope": 8316, - "src": "12963:1173:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9830 - ], - "body": { - "id": 7700, - "nodeType": "Block", - "src": "14192:534:29", - "statements": [ - { - "assignments": [ - 7627 - ], - "declarations": [ - { - "constant": false, - "id": 7627, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7700, - "src": "14196:33:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7626, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "14196:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7631, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7628, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "14232:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7630, - "indexExpression": { - "argumentTypes": null, - "id": 7629, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14240:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14232:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14196:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7633, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14260:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7634, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14260:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7635, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14275:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14275:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "ACTIVE", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14275:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14260:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - }, - "id": 7644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7639, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14320:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7640, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14320:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7641, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14335:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14335:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14335:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14320:55:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "14260:115:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7632, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14252:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14252:124:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7647, - "nodeType": "ExpressionStatement", - "src": "14252:124:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7649, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14388:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "finalDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1152, - "src": "14388:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 7651, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "14410:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14388:25:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7648, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "14380:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14380:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7654, - "nodeType": "ExpressionStatement", - "src": "14380:34:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7655, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14419:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7657, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "14419:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7658, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "14433:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "14433:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "FAILED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14433:37:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "14419:51:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7662, - "nodeType": "ExpressionStatement", - "src": "14419:51:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7664, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14520:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "14520:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7666, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14533:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7663, - "name": "failedWork", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6456, - "src": "14509:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14509:32:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7668, - "nodeType": "ExpressionStatement", - "src": "14509:32:29" - }, - { - "body": { - "id": 7694, - "nodeType": "Block", - "src": "14602:91:29", - "statements": [ - { - "assignments": [ - 7682 - ], - "declarations": [ - { - "constant": false, - "id": 7682, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7694, - "src": "14607:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7681, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14607:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7687, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7683, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14624:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7684, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "14624:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7686, - "indexExpression": { - "argumentTypes": null, - "id": 7685, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14642:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14624:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14607:37:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7689, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14668:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7690, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "14668:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7691, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7682, - "src": "14681:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7688, - "name": "unlockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2883, - "src": "14649:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 7692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14649:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7693, - "nodeType": "ExpressionStatement", - "src": "14649:39:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7673, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14565:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7674, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7627, - "src": "14569:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7675, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "14569:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14569:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14565:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7695, - "initializationExpression": { - "assignments": [ - 7670 - ], - "declarations": [ - { - "constant": false, - "id": 7670, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7695, - "src": "14550:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7669, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14550:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7672, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14562:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "14550:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "14595:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7678, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "14597:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7680, - "nodeType": "ExpressionStatement", - "src": "14595:3:29" - }, - "nodeType": "ForStatement", - "src": "14545:148:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7697, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "14714:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7696, - "name": "TaskClaimed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9812, - "src": "14702:11:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 7698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14702:20:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7699, - "nodeType": "EmitStatement", - "src": "14697:25:29" - } - ] - }, - "documentation": null, - "functionSelector": "bd66528a", - "id": 7701, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 7622, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "14182:8:29" - }, - "parameters": { - "id": 7621, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7620, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7701, - "src": "14157:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "14157:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14153:20:29" - }, - "returnParameters": { - "id": 7623, - "nodeType": "ParameterList", - "parameters": [], - "src": "14192:0:29" - }, - "scope": 8316, - "src": "14139:587:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 7847, - "nodeType": "Block", - "src": "15074:1547:29", - "statements": [ - { - "assignments": [ - 7711 - ], - "declarations": [ - { - "constant": false, - "id": 7711, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15078:38:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7710, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "15078:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7715, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7712, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "15124:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7714, - "indexExpression": { - "argumentTypes": null, - "id": 7713, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "15132:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15124:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15078:62:29" - }, - { - "assignments": [ - 7719 - ], - "declarations": [ - { - "constant": false, - "id": 7719, - "mutability": "mutable", - "name": "consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15144:43:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - }, - "typeName": { - "contractScope": null, - "id": 7718, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "15144:25:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7723, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7720, - "name": "m_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 285, - "src": "15190:11:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus storage ref)" - } - }, - "id": 7722, - "indexExpression": { - "argumentTypes": null, - "id": 7721, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "15202:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15190:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage", - "typeString": "struct IexecLibCore_v5.Consensus storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15144:66:29" - }, - { - "assignments": [ - 7725 - ], - "declarations": [ - { - "constant": false, - "id": 7725, - "mutability": "mutable", - "name": "trust", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7847, - "src": "15215:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15215:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7731, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7726, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "15231:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7729, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7727, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15239:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "15239:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15231:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 7730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "trust", - "nodeType": "MemberAccess", - "referencedDeclaration": 1109, - "src": "15231:26:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15215:42:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7737, - "name": "trust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7725, - "src": "15760:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7732, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7719, - "src": "15728:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7733, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "group", - "nodeType": "MemberAccess", - "referencedDeclaration": 1174, - "src": "15728:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 7735, - "indexExpression": { - "argumentTypes": null, - "id": 7734, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "15744:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15728:27:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "15728:31:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15728:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15799:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 7742, - "name": "trust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7725, - "src": "15789:5:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "15789:9:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15789:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7739, - "name": "consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7719, - "src": "15769:9:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus storage pointer" - } - }, - "id": 7740, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "total", - "nodeType": "MemberAccess", - "referencedDeclaration": 1176, - "src": "15769:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "15769:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15769:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15728:74:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7846, - "nodeType": "IfStatement", - "src": "15724:894:29", - "trueBody": { - "id": 7845, - "nodeType": "Block", - "src": "15806:812:29", - "statements": [ - { - "assignments": [ - 7749 - ], - "declarations": [ - { - "constant": false, - "id": 7749, - "mutability": "mutable", - "name": "winnerCounter", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7845, - "src": "15859:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7748, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15859:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7751, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15883:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15859:25:29" - }, - { - "body": { - "id": 7799, - "nodeType": "Block", - "src": "15947:321:29", - "statements": [ - { - "assignments": [ - 7765 - ], - "declarations": [ - { - "constant": false, - "id": 7765, - "mutability": "mutable", - "name": "w", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7799, - "src": "15953:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7764, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15953:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7770, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7766, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15965:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7767, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "15965:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7769, - "indexExpression": { - "argumentTypes": null, - "id": 7768, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15983:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15965:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15953:32:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 7778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7771, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "16005:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7773, - "indexExpression": { - "argumentTypes": null, - "id": 7772, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16021:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16005:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7775, - "indexExpression": { - "argumentTypes": null, - "id": 7774, - "name": "w", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7765, - "src": "16030:1:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16005:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7776, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "resultHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "16005:38:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7777, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16047:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "16005:52:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7779, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "16071:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7781, - "indexExpression": { - "argumentTypes": null, - "id": 7780, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16087:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16071:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7783, - "indexExpression": { - "argumentTypes": null, - "id": 7782, - "name": "w", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7765, - "src": "16096:1:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16071:27:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "id": 7784, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "16071:34:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7785, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "16109:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "16109:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "CONTRIBUTED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16109:50:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "16071:88:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "16005:154:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7798, - "nodeType": "IfStatement", - "src": "15991:272:29", - "trueBody": { - "id": 7797, - "nodeType": "Block", - "src": "16213:50:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7790, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16220:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 7793, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16254:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "id": 7791, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16236:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "16236:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16236:20:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16220:36:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7796, - "nodeType": "ExpressionStatement", - "src": "16220:36:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7756, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15909:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7757, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "15913:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7758, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "15913:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 7759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "15913:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15909:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7800, - "initializationExpression": { - "assignments": [ - 7753 - ], - "declarations": [ - { - "constant": false, - "id": 7753, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7800, - "src": "15894:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15894:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7755, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15906:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15894:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "15939:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7761, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7753, - "src": "15941:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7763, - "nodeType": "ExpressionStatement", - "src": "15939:3:29" - }, - "nodeType": "ForStatement", - "src": "15889:379:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7801, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16326:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7803, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1140, - "src": "16326:11:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7804, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "16348:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "TaskStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1138, - "src": "16348:30:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_TaskStatusEnum_$1138_$", - "typeString": "type(enum IexecLibCore_v5.TaskStatusEnum)" - } - }, - "id": 7806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "REVEALING", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16348:40:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "src": "16326:62:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_TaskStatusEnum_$1138", - "typeString": "enum IexecLibCore_v5.TaskStatusEnum" - } - }, - "id": 7808, - "nodeType": "ExpressionStatement", - "src": "16326:62:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7809, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16393:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "consensusValue", - "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "16393:19:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7812, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16415:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "16393:32:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7814, - "nodeType": "ExpressionStatement", - "src": "16393:32:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7815, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16430:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7817, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealDeadline", - "nodeType": "MemberAccess", - "referencedDeclaration": 1150, - "src": "16430:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7824, - "name": "now", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -17, - "src": "16496:3:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7821, - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "16469:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7818, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16452:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7819, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeref", - "nodeType": "MemberAccess", - "referencedDeclaration": 1146, - "src": "16452:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mul", - "nodeType": "MemberAccess", - "referencedDeclaration": 13414, - "src": "16452:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16452:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "16452:43:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16452:48:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16430:70:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7827, - "nodeType": "ExpressionStatement", - "src": "16430:70:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7828, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16505:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7830, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "revealCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1156, - "src": "16505:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "30", - "id": 7831, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16527:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16505:23:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7833, - "nodeType": "ExpressionStatement", - "src": "16505:23:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7834, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7711, - "src": "16533:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task storage pointer" - } - }, - "id": 7836, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "winnerCounter", - "nodeType": "MemberAccess", - "referencedDeclaration": 1158, - "src": "16533:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7837, - "name": "winnerCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "16555:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16533:35:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7839, - "nodeType": "ExpressionStatement", - "src": "16533:35:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7841, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7703, - "src": "16593:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 7842, - "name": "_consensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "16602:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 7840, - "name": "TaskConsensus", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9794, - "src": "16579:13:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 7843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16579:34:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7844, - "nodeType": "EmitStatement", - "src": "16574:39:29" - } - ] - } - } - ] - }, - "documentation": null, - "id": 7848, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checkConsensus", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 7706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7703, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7848, - "src": "15024:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7702, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15024:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7705, - "mutability": "mutable", - "name": "_consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7848, - "src": "15043:18:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7704, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15043:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15020:42:29" - }, - "returnParameters": { - "id": 7707, - "nodeType": "ParameterList", - "parameters": [], - "src": "15074:0:29" - }, - "scope": 8316, - "src": "14997:1624:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8073, - "nodeType": "Block", - "src": "16712:2865:29", - "statements": [ - { - "assignments": [ - 7856 - ], - "declarations": [ - { - "constant": false, - "id": 7856, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16716:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 7855, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "16716:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7860, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7857, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "16751:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 7859, - "indexExpression": { - "argumentTypes": null, - "id": 7858, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "16759:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16751:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16716:51:29" - }, - { - "assignments": [ - 7864 - ], - "declarations": [ - { - "constant": false, - "id": 7864, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16771:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 7863, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "16771:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7869, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7865, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "16806:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 7868, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7866, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "16814:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "16814:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16806:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16771:55:29" - }, - { - "assignments": [ - 7871 - ], - "declarations": [ - { - "constant": false, - "id": 7871, - "mutability": "mutable", - "name": "totalLogWeight", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16831:22:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16831:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7873, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16856:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "16831:26:29" - }, - { - "assignments": [ - 7875 - ], - "declarations": [ - { - "constant": false, - "id": 7875, - "mutability": "mutable", - "name": "totalReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "16861:19:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16861:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7879, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7876, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "16886:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7877, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "16886:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 7878, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "16886:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16861:46:29" - }, - { - "body": { - "id": 7934, - "nodeType": "Block", - "src": "16969:478:29", - "statements": [ - { - "assignments": [ - 7893 - ], - "declarations": [ - { - "constant": false, - "id": 7893, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7934, - "src": "16974:43:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7892, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16974:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7898, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7894, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17026:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7895, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17026:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7897, - "indexExpression": { - "argumentTypes": null, - "id": 7896, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "17044:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17026:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16974:72:29" - }, - { - "assignments": [ - 7902 - ], - "declarations": [ - { - "constant": false, - "id": 7902, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7934, - "src": "17051:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7901, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "17051:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7908, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7903, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "17103:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7905, - "indexExpression": { - "argumentTypes": null, - "id": 7904, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "17119:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17103:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7907, - "indexExpression": { - "argumentTypes": null, - "id": 7906, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7893, - "src": "17128:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17103:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17051:84:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7909, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7902, - "src": "17145:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7910, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "17145:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7911, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "17168:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "17168:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17168:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "17145:68:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 7932, - "nodeType": "Block", - "src": "17384:59:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7924, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17390:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7927, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "17420:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7928, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerStake", - "nodeType": "MemberAccess", - "referencedDeclaration": 1129, - "src": "17420:16:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7925, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17404:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "17404:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17404:33:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17390:47:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7931, - "nodeType": "ExpressionStatement", - "src": "17390:47:29" - } - ] - }, - "id": 7933, - "nodeType": "IfStatement", - "src": "17141:302:29", - "trueBody": { - "id": 7923, - "nodeType": "Block", - "src": "17218:68:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7915, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17224:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7918, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7902, - "src": "17260:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7919, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "17260:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7916, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17241:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "17241:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17241:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17224:56:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7922, - "nodeType": "ExpressionStatement", - "src": "17224:56:29" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7884, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "16932:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7885, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "16936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7886, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "16936:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16936:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16932:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7935, - "initializationExpression": { - "assignments": [ - 7881 - ], - "declarations": [ - { - "constant": false, - "id": 7881, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 7935, - "src": "16917:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7880, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16917:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7883, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16929:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "16917:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "16962:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7889, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7881, - "src": "16964:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7891, - "nodeType": "ExpressionStatement", - "src": "16962:3:29" - }, - "nodeType": "ForStatement", - "src": "16912:535:29" - }, - { - "assignments": [ - 7937 - ], - "declarations": [ - { - "constant": false, - "id": 7937, - "mutability": "mutable", - "name": "workersReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8073, - "src": "17497:21:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7936, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17497:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7949, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7945, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7864, - "src": "17561:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 7946, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "17561:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "313030", - "id": 7942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17552:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 7941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17544:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 7940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17544:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 7943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17544:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "17544:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17544:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7938, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17521:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "17521:22:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17521:67:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17497:91:29" - }, - { - "body": { - "id": 8064, - "nodeType": "Block", - "src": "17650:1816:29", - "statements": [ - { - "assignments": [ - 7963 - ], - "declarations": [ - { - "constant": false, - "id": 7963, - "mutability": "mutable", - "name": "worker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8064, - "src": "17655:43:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17655:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7968, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7964, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17707:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7965, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17707:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7967, - "indexExpression": { - "argumentTypes": null, - "id": 7966, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17725:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17707:20:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17655:72:29" - }, - { - "assignments": [ - 7972 - ], - "declarations": [ - { - "constant": false, - "id": 7972, - "mutability": "mutable", - "name": "contribution", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8064, - "src": "17732:49:29", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - }, - "typeName": { - "contractScope": null, - "id": 7971, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "17732:28:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7978, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7973, - "name": "m_contributions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 291, - "src": "17784:15:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution storage ref))" - } - }, - "id": 7975, - "indexExpression": { - "argumentTypes": null, - "id": 7974, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "17800:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17784:24:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution storage ref)" - } - }, - "id": 7977, - "indexExpression": { - "argumentTypes": null, - "id": 7976, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "17809:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17784:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage", - "typeString": "struct IexecLibCore_v5.Contribution storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17732:84:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - }, - "id": 7984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7979, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "17826:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7980, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 1184, - "src": "17826:19:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7981, - "name": "IexecLibCore_v5", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "17849:15:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IexecLibCore_v5_$1194_$", - "typeString": "type(library IexecLibCore_v5)" - } - }, - "id": 7982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ContributionStatusEnum", - "nodeType": "MemberAccess", - "referencedDeclaration": 1182, - "src": "17849:38:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_ContributionStatusEnum_$1182_$", - "typeString": "type(enum IexecLibCore_v5.ContributionStatusEnum)" - } - }, - "id": 7983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "PROVED", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17849:45:29", - "typeDescriptions": { - "typeIdentifier": "t_enum$_ContributionStatusEnum_$1182", - "typeString": "enum IexecLibCore_v5.ContributionStatusEnum" - } - }, - "src": "17826:68:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8062, - "nodeType": "Block", - "src": "18830:632:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8038, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18871:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8039, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "18871:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8040, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18884:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8041, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18892:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8037, - "name": "seizeContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2918, - "src": "18853:17:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,address,bytes32)" - } - }, - "id": 8042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18853:47:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8043, - "nodeType": "ExpressionStatement", - "src": "18853:47:29" - }, - { - "id": 8061, - "nodeType": "Block", - "src": "18945:512:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8044, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "19337:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8046, - "indexExpression": { - "argumentTypes": null, - "id": 8045, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19352:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "19337:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "32", - "id": 8051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19399:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - { - "argumentTypes": null, - "hexValue": "33", - "id": 8052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19401:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8047, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "19362:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8049, - "indexExpression": { - "argumentTypes": null, - "id": 8048, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19377:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19362:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mulByFraction", - "nodeType": "MemberAccess", - "referencedDeclaration": 13517, - "src": "19362:36:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 8053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19362:41:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19337:66:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8055, - "nodeType": "ExpressionStatement", - "src": "19337:66:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8057, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "19434:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8058, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "19442:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8056, - "name": "FaultyContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9774, - "src": "19415:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 8059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19415:35:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8060, - "nodeType": "EmitStatement", - "src": "19410:40:29" - } - ] - } - ] - }, - "id": 8063, - "nodeType": "IfStatement", - "src": "17822:1640:29", - "trueBody": { - "id": 8036, - "nodeType": "Block", - "src": "17899:836:29", - "statements": [ - { - "assignments": [ - 7986 - ], - "declarations": [ - { - "constant": false, - "id": 7986, - "mutability": "mutable", - "name": "workerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8036, - "src": "17905:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17905:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7993, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7989, - "name": "contribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "17956:12:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution storage pointer" - } - }, - "id": 7990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "weight", - "nodeType": "MemberAccess", - "referencedDeclaration": 1192, - "src": "17956:19:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7991, - "name": "totalLogWeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "17977:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7987, - "name": "workersReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7937, - "src": "17928:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "mulByFraction", - "nodeType": "MemberAccess", - "referencedDeclaration": 13517, - "src": "17928:27:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 7992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17928:64:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17905:87:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 7999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7994, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "17998:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7997, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7986, - "src": "18037:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7995, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "18021:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "18021:15:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 7998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18021:29:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17998:52:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8000, - "nodeType": "ExpressionStatement", - "src": "17998:52:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8002, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18076:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8003, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "18076:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8004, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18089:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8001, - "name": "unlockContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2883, - "src": "18057:18:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 8005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18057:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8006, - "nodeType": "ExpressionStatement", - "src": "18057:39:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8008, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18124:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8009, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7986, - "src": "18132:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8010, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18146:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8007, - "name": "rewardForContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2899, - "src": "18102:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 8011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18102:52:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8012, - "nodeType": "ExpressionStatement", - "src": "18102:52:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8013, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "18208:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8014, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "18208:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 8015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18208:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18235:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "18208:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8035, - "nodeType": "IfStatement", - "src": "18204:526:29", - "trueBody": { - "id": 8034, - "nodeType": "Block", - "src": "18242:488:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8018, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "18620:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8020, - "indexExpression": { - "argumentTypes": null, - "id": 8019, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18635:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18620:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 8025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18672:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8021, - "name": "m_workerScores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "18645:14:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 8023, - "indexExpression": { - "argumentTypes": null, - "id": 8022, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18660:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18645:22:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 13355, - "src": "18645:26:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18645:29:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18620:54:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8028, - "nodeType": "ExpressionStatement", - "src": "18620:54:29" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8030, - "name": "worker", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "18707:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8031, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "18715:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8029, - "name": "AccurateContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9768, - "src": "18686:20:29", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32)" - } - }, - "id": 8032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18686:37:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8033, - "nodeType": "EmitStatement", - "src": "18681:42:29" - } - ] - } - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7954, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17613:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7955, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "17617:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 7956, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contributors", - "nodeType": "MemberAccess", - "referencedDeclaration": 1161, - "src": "17617:17:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 7957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17617:24:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17613:28:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8065, - "initializationExpression": { - "assignments": [ - 7951 - ], - "declarations": [ - { - "constant": false, - "id": 7951, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8065, - "src": "17598:9:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7950, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17598:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7953, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 7952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17610:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "17598:13:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 7960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "17643:3:29", - "subExpression": { - "argumentTypes": null, - "id": 7959, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7951, - "src": "17645:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7961, - "nodeType": "ExpressionStatement", - "src": "17643:3:29" - }, - "nodeType": "ForStatement", - "src": "17593:1873:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8067, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "19539:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8068, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "19539:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8069, - "name": "totalReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "19552:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8070, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "19565:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8066, - "name": "rewardForScheduling", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "19519:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,uint256,bytes32)" - } - }, - "id": 8071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19519:54:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8072, - "nodeType": "ExpressionStatement", - "src": "19519:54:29" - } - ] - }, - "documentation": null, - "id": 8074, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "distributeRewards", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 7851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7850, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8074, - "src": "16684:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7849, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16684:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16683:17:29" - }, - "returnParameters": { - "id": 7852, - "nodeType": "ParameterList", - "parameters": [], - "src": "16712:0:29" - }, - "scope": 8316, - "src": "16657:2920:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8135, - "nodeType": "Block", - "src": "19698:462:29", - "statements": [ - { - "assignments": [ - 8082 - ], - "declarations": [ - { - "constant": false, - "id": 8082, - "mutability": "mutable", - "name": "task", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19702:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task" - }, - "typeName": { - "contractScope": null, - "id": 8081, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "19702:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8086, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8083, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "19737:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 8085, - "indexExpression": { - "argumentTypes": null, - "id": 8084, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "19745:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19737:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19702:51:29" - }, - { - "assignments": [ - 8090 - ], - "declarations": [ - { - "constant": false, - "id": 8090, - "mutability": "mutable", - "name": "deal", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19757:32:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - }, - "typeName": { - "contractScope": null, - "id": 8089, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "19757:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8095, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8091, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "19792:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 8094, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8092, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8082, - "src": "19800:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8093, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "19800:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19792:20:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19757:55:29" - }, - { - "assignments": [ - 8097 - ], - "declarations": [ - { - "constant": false, - "id": 8097, - "mutability": "mutable", - "name": "workerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19860:20:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8096, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19860:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8111, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8107, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19936:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8108, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "schedulerRewardRatio", - "nodeType": "MemberAccess", - "referencedDeclaration": 1131, - "src": "19936:25:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "313030", - "id": 8104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19927:3:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 8103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "19919:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19919:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19919:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "19919:16:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19919:43:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8098, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19886:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8099, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "19886:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 8100, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "19886:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "percentage", - "nodeType": "MemberAccess", - "referencedDeclaration": 13534, - "src": "19886:32:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19886:77:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19860:103:29" - }, - { - "assignments": [ - 8113 - ], - "declarations": [ - { - "constant": false, - "id": 8113, - "mutability": "mutable", - "name": "schedulerReward", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8135, - "src": "19967:23:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19967:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8120, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8118, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8097, - "src": "20019:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8114, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8090, - "src": "19993:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_memory_ptr", - "typeString": "struct IexecLibCore_v5.Deal memory" - } - }, - "id": 8115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "workerpool", - "nodeType": "MemberAccess", - "referencedDeclaration": 1107, - "src": "19993:15:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Resource_$1101_memory_ptr", - "typeString": "struct IexecLibCore_v5.Resource memory" - } - }, - "id": 8116, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 1100, - "src": "19993:21:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sub", - "nodeType": "MemberAccess", - "referencedDeclaration": 13380, - "src": "19993:25:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 8119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19993:39:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19967:65:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 8122, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13728, - "src": "20058:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 8123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20058:12:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 8124, - "name": "workerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8097, - "src": "20072:12:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8125, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "20086:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8121, - "name": "rewardForContribution", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2899, - "src": "20036:21:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (address,uint256,bytes32)" - } - }, - "id": 8126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20036:58:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8127, - "nodeType": "ExpressionStatement", - "src": "20036:58:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8129, - "name": "task", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8082, - "src": "20118:4:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_memory_ptr", - "typeString": "struct IexecLibCore_v5.Task memory" - } - }, - "id": 8130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "20118:11:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8131, - "name": "schedulerReward", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8113, - "src": "20131:15:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8132, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8076, - "src": "20148:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8128, - "name": "rewardForScheduling", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "20098:19:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,uint256,bytes32)" - } - }, - "id": 8133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20098:58:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8134, - "nodeType": "ExpressionStatement", - "src": "20098:58:29" - } - ] - }, - "documentation": null, - "id": 8136, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "distributeRewardsFast", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8077, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8076, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8136, - "src": "19670:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8075, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19670:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19669:17:29" - }, - "returnParameters": { - "id": 8078, - "nodeType": "ParameterList", - "parameters": [], - "src": "19698:0:29" - }, - "scope": 8316, - "src": "19639:521:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8191, - "nodeType": "Block", - "src": "20303:999:29", - "statements": [ - { - "assignments": [ - 8145 - ], - "declarations": [ - { - "constant": false, - "id": 8145, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8191, - "src": "20307:14:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8144, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20307:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8153, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8146, - "name": "m_deals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 277, - "src": "20324:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal storage ref)" - } - }, - "id": 8151, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8147, - "name": "m_tasks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 281, - "src": "20332:7:29", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task storage ref)" - } - }, - "id": 8149, - "indexExpression": { - "argumentTypes": null, - "id": 8148, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "20340:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20332:16:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage", - "typeString": "struct IexecLibCore_v5.Task storage ref" - } - }, - "id": 8150, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "dealid", - "nodeType": "MemberAccess", - "referencedDeclaration": 1142, - "src": "20332:23:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20324:32:29", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage", - "typeString": "struct IexecLibCore_v5.Deal storage ref" - } - }, - "id": 8152, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "callback", - "nodeType": "MemberAccess", - "referencedDeclaration": 1119, - "src": "20324:41:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20307:58:29" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8154, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8145, - "src": "20373:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20391:1:29", - "subdenomination": null, - "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": 8156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "20383:7:29", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 8155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20383:7:29", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20383:10:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "20373:20:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8190, - "nodeType": "IfStatement", - "src": "20369:930:29", - "trueBody": { - "id": 8189, - "nodeType": "Block", - "src": "20397:902:29", - "statements": [ - { - "assignments": [ - 8161, - 8163 - ], - "declarations": [ - { - "constant": false, - "id": 8161, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8189, - "src": "21031:12:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21031:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8163, - "mutability": "mutable", - "name": "returndata", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8189, - "src": "21045:23:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8162, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21045:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8175, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "72656365697665526573756c7428627974657333322c627974657329", - "id": 8170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21128:30:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5dd808556ea6d99d62eaed95dd0610dd172ace47dc278f9c702d6204f1230f42", - "typeString": "literal_string \"receiveResult(bytes32,bytes)\"" - }, - "value": "receiveResult(bytes32,bytes)" - }, - { - "argumentTypes": null, - "id": 8171, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "21160:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8172, - "name": "_resultsCallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8141, - "src": "21169:16:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5dd808556ea6d99d62eaed95dd0610dd172ace47dc278f9c702d6204f1230f42", - "typeString": "literal_string \"receiveResult(bytes32,bytes)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 8168, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21104:3:29", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21104:23:29", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21104:82:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 8164, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8145, - "src": "21072:6:29", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21072:11:29", - "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": 8167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "gas" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 8166, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "21089:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "21072:31:29", - "typeDescriptions": { - "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$gas", - "typeString": "function (bytes memory) payable returns (bool,bytes memory)" - } - }, - "id": 8174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21072:115:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21030:157:29" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 8177, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "21199:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 8178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21199:9:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8179, - "name": "m_callbackgas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "21211:13:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3633", - "id": 8180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21227:2:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_63_by_1", - "typeString": "int_const 63" - }, - "value": "63" - }, - "src": "21211:18:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21199:30:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8176, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -3, - "src": "21192:6:29", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21192:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8184, - "nodeType": "ExpressionStatement", - "src": "21192:38:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 8185, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8161, - "src": "21272:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8186, - "nodeType": "ExpressionStatement", - "src": "21272:7:29" - }, - { - "expression": { - "argumentTypes": null, - "id": 8187, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8163, - "src": "21284:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8188, - "nodeType": "ExpressionStatement", - "src": "21284:10:29" - } - ] - } - } - ] - }, - "documentation": { - "id": 8137, - "nodeType": "StructuredDocumentation", - "src": "20163:54:29", - "text": " Callback for smartcontracts using EIP1154" - }, - "id": 8192, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "executeCallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8139, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8192, - "src": "20244:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8138, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "20244:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8141, - "mutability": "mutable", - "name": "_resultsCallback", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8192, - "src": "20261:29:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8140, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "20261:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "20243:48:29" - }, - "returnParameters": { - "id": 8143, - "nodeType": "ParameterList", - "parameters": [], - "src": "20303:0:29" - }, - "scope": 8316, - "src": "20219:1083:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "baseFunctions": [ - 9894 - ], - "body": { - "id": 8236, - "nodeType": "Block", - "src": "21658:149:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8205, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21670:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21670:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8207, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8198, - "src": "21688:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21688:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21670:29:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8204, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "21662:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21662:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8211, - "nodeType": "ExpressionStatement", - "src": "21662:38:29" - }, - { - "body": { - "id": 8232, - "nodeType": "Block", - "src": "21748:41:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8224, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21764:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8226, - "indexExpression": { - "argumentTypes": null, - "id": 8225, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21772:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21764:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8227, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8198, - "src": "21776:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8229, - "indexExpression": { - "argumentTypes": null, - "id": 8228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21781:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21776:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8223, - "name": "initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6594, - "src": "21753:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes32,uint256) returns (bytes32)" - } - }, - "id": 8230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21753:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8231, - "nodeType": "ExpressionStatement", - "src": "21753:31:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8216, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21721:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8217, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8195, - "src": "21725:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8218, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21725:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21721:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8233, - "initializationExpression": { - "assignments": [ - 8213 - ], - "declarations": [ - { - "constant": false, - "id": 8213, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8233, - "src": "21709:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8212, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21709:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8215, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21718:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "21709:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "21741:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8220, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8213, - "src": "21743:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8222, - "nodeType": "ExpressionStatement", - "src": "21741:3:29" - }, - "nodeType": "ForStatement", - "src": "21704:85:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21799:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8203, - "id": 8235, - "nodeType": "Return", - "src": "21792:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "b504681d", - "id": 8237, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initializeArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8200, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "21633:8:29" - }, - "parameters": { - "id": 8199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8195, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21568:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8193, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "21568:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8194, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21568:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8198, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21598:23:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21598:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8197, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21598:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21564:58:29" - }, - "returnParameters": { - "id": 8203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8202, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8237, - "src": "21651:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8201, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21651:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21650:6:29" - }, - "scope": 8316, - "src": "21540:267:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9902 - ], - "body": { - "id": 8267, - "nodeType": "Block", - "src": "21896:93:29", - "statements": [ - { - "body": { - "id": 8263, - "nodeType": "Block", - "src": "21944:27:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8258, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8240, - "src": "21955:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8260, - "indexExpression": { - "argumentTypes": null, - "id": 8259, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21963:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21955:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8257, - "name": "claim", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "21949:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 8261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21949:17:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8262, - "nodeType": "ExpressionStatement", - "src": "21949:17:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8250, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21917:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8251, - "name": "_taskid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8240, - "src": "21921:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21921:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21917:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8264, - "initializationExpression": { - "assignments": [ - 8247 - ], - "declarations": [ - { - "constant": false, - "id": 8247, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8264, - "src": "21905:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8246, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21905:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8249, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21914:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "21905:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "21937:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8254, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8247, - "src": "21939:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8256, - "nodeType": "ExpressionStatement", - "src": "21937:3:29" - }, - "nodeType": "ForStatement", - "src": "21900:71:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21981:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8245, - "id": 8266, - "nodeType": "Return", - "src": "21974:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "fa055d7e", - "id": 8268, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claimArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8242, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "21871:8:29" - }, - "parameters": { - "id": 8241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8240, - "mutability": "mutable", - "name": "_taskid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8268, - "src": "21833:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "21833:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8239, - "length": null, - "nodeType": "ArrayTypeName", - "src": "21833:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21829:31:29" - }, - "returnParameters": { - "id": 8245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8244, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8268, - "src": "21889:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8243, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21889:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21888:6:29" - }, - "scope": 8316, - "src": "21810:179:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9913 - ], - "body": { - "id": 8314, - "nodeType": "Block", - "src": "22118:156:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8281, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22130:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22130:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8283, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8274, - "src": "22148:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22148:11:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22130:29:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 8280, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "22122:7:29", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 8286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22122:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8287, - "nodeType": "ExpressionStatement", - "src": "22122:38:29" - }, - { - "body": { - "id": 8310, - "nodeType": "Block", - "src": "22208:48:29", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8301, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22230:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8303, - "indexExpression": { - "argumentTypes": null, - "id": 8302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22238:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22230:10:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8304, - "name": "_idx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8274, - "src": "22242:4:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 8306, - "indexExpression": { - "argumentTypes": null, - "id": 8305, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22247:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22242:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8300, - "name": "initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6594, - "src": "22219:10:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes32,uint256) returns (bytes32)" - } - }, - "id": 8307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22219:31:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8299, - "name": "claim", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "22213:5:29", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 8308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22213:38:29", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8309, - "nodeType": "ExpressionStatement", - "src": "22213:38:29" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22181:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8293, - "name": "_dealid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8271, - "src": "22185:7:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[] calldata" - } - }, - "id": 8294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22185:14:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "22181:18:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8311, - "initializationExpression": { - "assignments": [ - 8289 - ], - "declarations": [ - { - "constant": false, - "id": 8289, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8311, - "src": "22169:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8288, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22169:4:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8291, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8290, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22178:1:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "22169:10:29" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "22201:3:29", - "subExpression": { - "argumentTypes": null, - "id": 8296, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8289, - "src": "22203:1:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8298, - "nodeType": "ExpressionStatement", - "src": "22201:3:29" - }, - "nodeType": "ForStatement", - "src": "22164:92:29" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22266:4:29", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 8279, - "id": 8313, - "nodeType": "Return", - "src": "22259:11:29" - } - ] - }, - "documentation": null, - "functionSelector": "f722cb32", - "id": 8315, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initializeAndClaimArray", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8276, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "22093:8:29" - }, - "parameters": { - "id": 8275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8271, - "mutability": "mutable", - "name": "_dealid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22028:26:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 8269, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "22028:7:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 8270, - "length": null, - "nodeType": "ArrayTypeName", - "src": "22028:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8274, - "mutability": "mutable", - "name": "_idx", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22058:23:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8272, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22058:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8273, - "length": null, - "nodeType": "ArrayTypeName", - "src": "22058:9:29", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "22024:58:29" - }, - "returnParameters": { - "id": 8279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8278, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8315, - "src": "22111:4:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8277, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22111:4:29", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "22110:6:29" - }, - "scope": 8316, - "src": "21992:282:29", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8317, - "src": "1494:20782:29" - } - ], - "src": "1242:21035:29" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.661Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecRelay.json b/build/contracts/IexecRelay.json deleted file mode 100644 index 07507d73c..000000000 --- a/build/contracts/IexecRelay.json +++ /dev/null @@ -1,1574 +0,0 @@ -{ - "contractName": "IexecRelay", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":\"IexecRelay\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../../libs/IexecLibOrders_v5.sol\";\n\n\ninterface IexecRelay\n{\n\tevent BroadcastAppOrder (IexecLibOrders_v5.AppOrder apporder );\n\tevent BroadcastDatasetOrder (IexecLibOrders_v5.DatasetOrder datasetorder );\n\tevent BroadcastWorkerpoolOrder(IexecLibOrders_v5.WorkerpoolOrder workerpoolorder);\n\tevent BroadcastRequestOrder (IexecLibOrders_v5.RequestOrder requestorder );\n\n\tfunction broadcastAppOrder (IexecLibOrders_v5.AppOrder calldata) external;\n\tfunction broadcastDatasetOrder (IexecLibOrders_v5.DatasetOrder calldata) external;\n\tfunction broadcastWorkerpoolOrder(IexecLibOrders_v5.WorkerpoolOrder calldata) external;\n\tfunction broadcastRequestOrder (IexecLibOrders_v5.RequestOrder calldata) external;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "exportedSymbols": { - "IexecRelay": [ - 9894 - ] - }, - "id": 9895, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9855, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:47" - }, - { - "id": 9856, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:47" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9857, - "nodeType": "ImportDirective", - "scope": 9895, - "sourceUnit": 1569, - "src": "1301:42:47", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9894, - "linearizedBaseContracts": [ - 9894 - ], - "name": "IexecRelay", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9861, - "name": "BroadcastAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9859, - "indexed": false, - "mutability": "mutable", - "name": "apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9861, - "src": "1401:42:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9858, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "1401:26:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1400:51:47" - }, - "src": "1370:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9865, - "name": "BroadcastDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9863, - "indexed": false, - "mutability": "mutable", - "name": "datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9865, - "src": "1485:46:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9862, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "1485:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1484:51:47" - }, - "src": "1454:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9869, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9867, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "1569:49:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9866, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1569:33:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1568:51:47" - }, - "src": "1538:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9873, - "name": "BroadcastRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9871, - "indexed": false, - "mutability": "mutable", - "name": "requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9873, - "src": "1653:46:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9870, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "1653:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1652:51:47" - }, - "src": "1622:82:47" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 9878, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9875, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9878, - "src": "1741:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9874, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "1741:26:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1740:44:47" - }, - "returnParameters": { - "id": 9877, - "nodeType": "ParameterList", - "parameters": [], - "src": "1793:0:47" - }, - "scope": 9894, - "src": "1707:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4c4692de", - "id": 9883, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "1830:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9879, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "1830:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1829:44:47" - }, - "returnParameters": { - "id": 9882, - "nodeType": "ParameterList", - "parameters": [], - "src": "1882:0:47" - }, - "scope": 9894, - "src": "1796:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "947f5178", - "id": 9888, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9886, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9885, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9888, - "src": "1919:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9884, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1919:33:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1918:44:47" - }, - "returnParameters": { - "id": 9887, - "nodeType": "ParameterList", - "parameters": [], - "src": "1971:0:47" - }, - "scope": 9894, - "src": "1885:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4693d172", - "id": 9893, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9890, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9893, - "src": "2008:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9889, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "2008:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2007:44:47" - }, - "returnParameters": { - "id": 9892, - "nodeType": "ParameterList", - "parameters": [], - "src": "2060:0:47" - }, - "scope": 9894, - "src": "1974:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9895, - "src": "1346:717:47" - } - ], - "src": "1242:822:47" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "exportedSymbols": { - "IexecRelay": [ - 9894 - ] - }, - "id": 9895, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9855, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:47" - }, - { - "id": 9856, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:47" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "../../libs/IexecLibOrders_v5.sol", - "id": 9857, - "nodeType": "ImportDirective", - "scope": 9895, - "sourceUnit": 1569, - "src": "1301:42:47", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9894, - "linearizedBaseContracts": [ - 9894 - ], - "name": "IexecRelay", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 9861, - "name": "BroadcastAppOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9859, - "indexed": false, - "mutability": "mutable", - "name": "apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9861, - "src": "1401:42:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_memory_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9858, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "1401:26:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1400:51:47" - }, - "src": "1370:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9865, - "name": "BroadcastDatasetOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9863, - "indexed": false, - "mutability": "mutable", - "name": "datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9865, - "src": "1485:46:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_memory_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9862, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "1485:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1484:51:47" - }, - "src": "1454:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9869, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9867, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9869, - "src": "1569:49:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_memory_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9866, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1569:33:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1568:51:47" - }, - "src": "1538:82:47" - }, - { - "anonymous": false, - "documentation": null, - "id": 9873, - "name": "BroadcastRequestOrder", - "nodeType": "EventDefinition", - "parameters": { - "id": 9872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9871, - "indexed": false, - "mutability": "mutable", - "name": "requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9873, - "src": "1653:46:47", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_memory_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9870, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "1653:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1652:51:47" - }, - "src": "1622:82:47" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 9878, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9875, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9878, - "src": "1741:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 9874, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1194, - "src": "1741:26:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1194_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1740:44:47" - }, - "returnParameters": { - "id": 9877, - "nodeType": "ParameterList", - "parameters": [], - "src": "1793:0:47" - }, - "scope": 9894, - "src": "1707:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4c4692de", - "id": 9883, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9880, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9883, - "src": "1830:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 9879, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1213, - "src": "1830:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1213_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1829:44:47" - }, - "returnParameters": { - "id": 9882, - "nodeType": "ParameterList", - "parameters": [], - "src": "1882:0:47" - }, - "scope": 9894, - "src": "1796:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "947f5178", - "id": 9888, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9886, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9885, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9888, - "src": "1919:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 9884, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1236, - "src": "1919:33:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1236_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1918:44:47" - }, - "returnParameters": { - "id": 9887, - "nodeType": "ParameterList", - "parameters": [], - "src": "1971:0:47" - }, - "scope": 9894, - "src": "1885:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "4693d172", - "id": 9893, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9890, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9893, - "src": "2008:42:47", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 9889, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1269, - "src": "2008:30:47", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1269_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2007:44:47" - }, - "returnParameters": { - "id": 9892, - "nodeType": "ParameterList", - "parameters": [], - "src": "2060:0:47" - }, - "scope": 9894, - "src": "1974:87:47", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9895, - "src": "1346:717:47" - } - ], - "src": "1242:822:47" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.863Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecRelayDelegate.json b/build/contracts/IexecRelayDelegate.json deleted file mode 100644 index f44fe58fe..000000000 --- a/build/contracts/IexecRelayDelegate.json +++ /dev/null @@ -1,1946 +0,0 @@ -{ - "contractName": "IexecRelayDelegate", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "apporder", - "type": "tuple" - } - ], - "name": "BroadcastAppOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "datasetorder", - "type": "tuple" - } - ], - "name": "BroadcastDatasetOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "requestorder", - "type": "tuple" - } - ], - "name": "BroadcastRequestOrder", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "indexed": false, - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "workerpoolorder", - "type": "tuple" - } - ], - "name": "BroadcastWorkerpoolOrder", - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.AppOrder", - "name": "_apporder", - "type": "tuple" - } - ], - "name": "broadcastAppOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "workerpoolrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.DatasetOrder", - "name": "_datasetorder", - "type": "tuple" - } - ], - "name": "broadcastDatasetOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolprice", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "apprestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "datasetrestrict", - "type": "address" - }, - { - "internalType": "address", - "name": "requesterrestrict", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.WorkerpoolOrder", - "name": "_workerpoolorder", - "type": "tuple" - } - ], - "name": "broadcastWorkerpoolOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "app", - "type": "address" - }, - { - "internalType": "uint256", - "name": "appmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "dataset", - "type": "address" - }, - { - "internalType": "uint256", - "name": "datasetmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "internalType": "uint256", - "name": "workerpoolmaxprice", - "type": "uint256" - }, - { - "internalType": "address", - "name": "requester", - "type": "address" - }, - { - "internalType": "uint256", - "name": "volume", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "tag", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "category", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "trust", - "type": "uint256" - }, - { - "internalType": "address", - "name": "beneficiary", - "type": "address" - }, - { - "internalType": "address", - "name": "callback", - "type": "address" - }, - { - "internalType": "string", - "name": "params", - "type": "string" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "sign", - "type": "bytes" - } - ], - "internalType": "struct IexecLibOrders_v5.RequestOrder", - "name": "_requestorder", - "type": "tuple" - } - ], - "name": "broadcastRequestOrder", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"apporder\",\"type\":\"tuple\"}],\"name\":\"BroadcastAppOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"datasetorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastDatasetOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"requestorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastRequestOrder\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"BroadcastWorkerpoolOrder\",\"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\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.AppOrder\",\"name\":\"_apporder\",\"type\":\"tuple\"}],\"name\":\"broadcastAppOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"workerpoolrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.DatasetOrder\",\"name\":\"_datasetorder\",\"type\":\"tuple\"}],\"name\":\"broadcastDatasetOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"app\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"appmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dataset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"datasetmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolmaxprice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"params\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.RequestOrder\",\"name\":\"_requestorder\",\"type\":\"tuple\"}],\"name\":\"broadcastRequestOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"workerpoolprice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"volume\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"tag\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"trust\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"apprestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"datasetrestrict\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"requesterrestrict\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sign\",\"type\":\"bytes\"}],\"internalType\":\"struct IexecLibOrders_v5.WorkerpoolOrder\",\"name\":\"_workerpoolorder\",\"type\":\"tuple\"}],\"name\":\"broadcastWorkerpoolOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecRelayDelegate.sol\":\"IexecRelayDelegate\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecRelayDelegate.sol\":{\"keccak256\":\"0xecfb143b9ad258064187c3a2883ba6408e5eb721da9807fd0777e178fb1f9fa1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://2f2d87fdb1c141b19d3a6f6222a55e6ed47164f426babe2c32686e3e276f8723\",\"dweb:/ipfs/QmYk93YoojCWTLwM9jPDMkTY2so2wtSrcoAy2XsXtndQDa\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol\":{\"keccak256\":\"0x1447352e58f33bb27b3aba10b1a3d64ca3da8b5a603594d0e2e1709310bab0e6\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://4778960a020597d692580432717f68de4596b9215a7b9857193d1d6ba1e3c628\",\"dweb:/ipfs/QmeBALzFkK7c8HeQCCjbaUmcvwwrZ5CrpxdLBzaHV7BWWV\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206109a9833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b03909116906000805160206109a9833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b61088b8061011e6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b2578063947f5178146100d0578063c52e9de1146100e3578063f2fde38b146100f65761007d565b80634693d172146100825780634c4692de14610097578063715018a6146100aa575b600080fd5b6100956100903660046103b3565b610109565b005b6100956100a5366004610378565b610143565b610095610172565b6100ba6101fa565b6040516100c7919061051d565b60405180910390f35b6100956100de3660046103ec565b610209565b6100956100f1366004610378565b610238565b610095610104366004610356565b610267565b7f54bee205d9b03332d6dc82bc907476dfef6ed4fd86058d49a72994baee7811758160405161013891906105bf565b60405180910390a150565b7fc56d982ad2fd39ebadca073cc88d9bdaee0f4c8e7b2b6be50227169daefc7b3f8160405161013891906105ac565b61017a61031d565b6000546001600160a01b039081169116146101b05760405162461bcd60e51b81526004016101a790610577565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b7faf81a046e31ebb2be305579e585ac6b2ee3fdc2dc9dba806bb826879bb2c7851816040516101389190610716565b7f6fd493f856b22df174df46975d6dcf0895c7dfb3c63d20179c0dcd5563e2f5658160405161013891906105ac565b61026f61031d565b6000546001600160a01b0390811691161461029c5760405162461bcd60e51b81526004016101a790610577565b6001600160a01b0381166102c25760405162461bcd60e51b81526004016101a790610531565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b80356001600160a01b038116811461033857600080fd5b92915050565b60006101208284031215610350578081fd5b50919050565b600060208284031215610367578081fd5b6103718383610321565b9392505050565b600060208284031215610389578081fd5b813567ffffffffffffffff81111561039f578182fd5b6103ab8482850161033e565b949350505050565b6000602082840312156103c4578081fd5b813567ffffffffffffffff8111156103da578182fd5b82016102008185031215610371578182fd5b6000602082840312156103fd578081fd5b813567ffffffffffffffff811115610413578182fd5b82016101608185031215610371578182fd5b6001600160a01b03169052565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6000610120602083016001600160a01b036104778286610321565b168552803560208601525060408301356040850152606083013560608501526104a360808401846107f1565b6104b06080860182610425565b506104be60a08401846107f1565b6104cb60a0860182610425565b506104d960c08401846107f1565b6104e660c0860182610425565b5060e083013560e085015261010061050081850185610809565b83838801526105128488018284610432565b979650505050505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208252610371602083018461045c565b600060208252602083016105df602084016105da8387610321565b610425565b80356040840152506105f460408401846107f1565b6106016060840182610425565b506060830135608083015261061960808401846107f1565b61062660a0840182610425565b5060a083013560c083015261063e60c08401846107f1565b61064b60e0840182610425565b5061010060e084013581840152610120818501358185015261014091508085013582850152506101608185013581850152610688818601866107f1565b91505061018061069a81850183610425565b6106a6818601866107f1565b9150506101a06106b881850183610425565b6106c481860186610809565b925090506102006101c081818701526106e261022087018585610432565b93506101e092508087013583870152506106fe82870187610809565b868503601f1901838801529250610512848483610432565b60006020825260208301610731602084016105da8387610321565b80356040840152506040830135606083015260608301356080830152608083013560a083015260a083013560c083015261076e60c08401846107f1565b61077b60e0840182610425565b5061078960e08401846107f1565b61010061079881850183610425565b6107a4818601866107f1565b9150506101206107b681850183610425565b61014091508085013582850152506107d081850185610809565b6101608581015291506107e861018085018383610432565b95945050505050565b600082356001600160a01b0381168114610371578182fd5b6000808335601e1984360301811261081f578283fd5b830160208101925035905067ffffffffffffffff81111561083f57600080fd5b80360383131561084e57600080fd5b925092905056fea2646970667358221220ab09bc9961e32d6266ce9b2f5731615d32f896f928dec6b5c34fa0dfd11ae31764736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b2578063947f5178146100d0578063c52e9de1146100e3578063f2fde38b146100f65761007d565b80634693d172146100825780634c4692de14610097578063715018a6146100aa575b600080fd5b6100956100903660046103b3565b610109565b005b6100956100a5366004610378565b610143565b610095610172565b6100ba6101fa565b6040516100c7919061051d565b60405180910390f35b6100956100de3660046103ec565b610209565b6100956100f1366004610378565b610238565b610095610104366004610356565b610267565b7f54bee205d9b03332d6dc82bc907476dfef6ed4fd86058d49a72994baee7811758160405161013891906105bf565b60405180910390a150565b7fc56d982ad2fd39ebadca073cc88d9bdaee0f4c8e7b2b6be50227169daefc7b3f8160405161013891906105ac565b61017a61031d565b6000546001600160a01b039081169116146101b05760405162461bcd60e51b81526004016101a790610577565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b7faf81a046e31ebb2be305579e585ac6b2ee3fdc2dc9dba806bb826879bb2c7851816040516101389190610716565b7f6fd493f856b22df174df46975d6dcf0895c7dfb3c63d20179c0dcd5563e2f5658160405161013891906105ac565b61026f61031d565b6000546001600160a01b0390811691161461029c5760405162461bcd60e51b81526004016101a790610577565b6001600160a01b0381166102c25760405162461bcd60e51b81526004016101a790610531565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b80356001600160a01b038116811461033857600080fd5b92915050565b60006101208284031215610350578081fd5b50919050565b600060208284031215610367578081fd5b6103718383610321565b9392505050565b600060208284031215610389578081fd5b813567ffffffffffffffff81111561039f578182fd5b6103ab8482850161033e565b949350505050565b6000602082840312156103c4578081fd5b813567ffffffffffffffff8111156103da578182fd5b82016102008185031215610371578182fd5b6000602082840312156103fd578081fd5b813567ffffffffffffffff811115610413578182fd5b82016101608185031215610371578182fd5b6001600160a01b03169052565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6000610120602083016001600160a01b036104778286610321565b168552803560208601525060408301356040850152606083013560608501526104a360808401846107f1565b6104b06080860182610425565b506104be60a08401846107f1565b6104cb60a0860182610425565b506104d960c08401846107f1565b6104e660c0860182610425565b5060e083013560e085015261010061050081850185610809565b83838801526105128488018284610432565b979650505050505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208252610371602083018461045c565b600060208252602083016105df602084016105da8387610321565b610425565b80356040840152506105f460408401846107f1565b6106016060840182610425565b506060830135608083015261061960808401846107f1565b61062660a0840182610425565b5060a083013560c083015261063e60c08401846107f1565b61064b60e0840182610425565b5061010060e084013581840152610120818501358185015261014091508085013582850152506101608185013581850152610688818601866107f1565b91505061018061069a81850183610425565b6106a6818601866107f1565b9150506101a06106b881850183610425565b6106c481860186610809565b925090506102006101c081818701526106e261022087018585610432565b93506101e092508087013583870152506106fe82870187610809565b868503601f1901838801529250610512848483610432565b60006020825260208301610731602084016105da8387610321565b80356040840152506040830135606083015260608301356080830152608083013560a083015260a083013560c083015261076e60c08401846107f1565b61077b60e0840182610425565b5061078960e08401846107f1565b61010061079881850183610425565b6107a4818601866107f1565b9150506101206107b681850183610425565b61014091508085013582850152506107d081850185610809565b6101608581015291506107e861018085018383610432565b95945050505050565b600082356001600160a01b0381168114610371578182fd5b6000808335601e1984360301811261081f578283fd5b830160208101925035905067ffffffffffffffff81111561083f57600080fd5b80360383131561084e57600080fd5b925092905056fea2646970667358221220ab09bc9961e32d6266ce9b2f5731615d32f896f928dec6b5c34fa0dfd11ae31764736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1372:727:31:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1372:727:31;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1372:727:31;;;;;;", - "deployedSourceMap": "1372:727:31:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1932:165;;;;;;:::i;:::-;;:::i;:::-;;1598;;;;;;:::i;:::-;;:::i;1689:145:83:-;;;:::i;1066:77::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1765:165:31;;;;;;:::i;:::-;;:::i;1431:::-;;;;;;:::i;:::-;;:::i;1983:240:83:-;;;;;;:::i;:::-;;:::i;1932:165:31:-;2052:42;2077:13;2052:42;;;;;;:::i;:::-;;;;;;;;1932:165;:::o;1598:::-;1718:42;1743:13;1718:42;;;;;;:::i;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1765:165:31:-;1885:42;1910:16;1885:42;;;;;;:::i;1431:165::-;1551:42;1576:9;1551:42;;;;;;:::i;1983:240:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;5:130:-1:-;72:20;;-1:-1;;;;;19879:54;;20342:35;;20332:2;;20391:1;;20381:12;20332:2;57:78;;;;:::o;321:160::-;;433:3;424:6;419:3;415:16;411:26;408:2;;;-1:-1;;440:12;408:2;-1:-1;460:15;401:80;-1:-1;401:80::o;1282:241::-;;1386:2;1374:9;1365:7;1361:23;1357:32;1354:2;;;-1:-1;;1392:12;1354:2;1454:53;1499:7;1475:22;1454:53;:::i;:::-;1444:63;1348:175;-1:-1;;;1348:175::o;1530:383::-;;1662:2;1650:9;1641:7;1637:23;1633:32;1630:2;;;-1:-1;;1668:12;1630:2;1726:17;1713:31;1764:18;1756:6;1753:30;1750:2;;;-1:-1;;1786:12;1750:2;1816:81;1889:7;1880:6;1869:9;1865:22;1816:81;:::i;:::-;1806:91;1624:289;-1:-1;;;;1624:289::o;2318:391::-;;2454:2;2442:9;2433:7;2429:23;2425:32;2422:2;;;-1:-1;;2460:12;2422:2;2518:17;2505:31;2556:18;2548:6;2545:30;2542:2;;;-1:-1;;2578:12;2542:2;2661:22;;867:3;849:16;;;845:26;842:2;;;-1:-1;;874:12;2716:397;;2855:2;2843:9;2834:7;2830:23;2826:32;2823:2;;;-1:-1;;2861:12;2823:2;2919:17;2906:31;2957:18;2949:6;2946:30;2943:2;;;-1:-1;;2979:12;2943:2;3065:22;;1090:3;1072:16;;;1068:26;1065:2;;;-1:-1;;1097:12;3120:103;-1:-1;;;;;19879:54;3181:37;;3175:48::o;3483:277::-;;17845:6;17840:3;17833:19;20106:6;20101:3;17882:4;17877:3;17873:14;20083:30;-1:-1;17882:4;20153:6;17877:3;20144:16;;20137:27;17882:4;20262:7;;20266:2;3746:6;20246:14;20242:28;17877:3;3715:39;;3708:46;;3573:187;;;;;:::o;4883:1983::-;;5038:6;18345:2;18336:12;;-1:-1;;;;;18310:39;18336:12;5138:16;18310:39;:::i;:::-;19879:54;3188:3;3181:37;5323:16;1212:20;18345:2;5398:3;5394:14;3411:37;;5517:4;5510:5;5506:16;1212:20;5517:4;5581:3;5577:14;3411:37;5697:4;5690:5;5686:16;209:20;5697:4;5761:3;5757:14;3411:37;5845:50;5889:4;5882:5;5878:16;5871:5;5845:50;:::i;:::-;5901:63;5889:4;5953:3;5949:14;5935:12;5901:63;:::i;:::-;;6040:50;6084:4;6077:5;6073:16;6066:5;6040:50;:::i;:::-;6096:63;6084:4;6148:3;6144:14;6130:12;6096:63;:::i;:::-;;6234:50;6278:4;6271:5;6267:16;6260:5;6234:50;:::i;:::-;6290:63;6278:4;6342:3;6338:14;6324:12;6290:63;:::i;:::-;;6459:4;6452:5;6448:16;209:20;6459:4;6523:3;6519:14;3411:37;6665:6;6610:63;6665:6;6658:5;6654:18;6647:5;6610:63;:::i;:::-;5038:6;6665;6697:3;6693:16;6686:40;6741:87;5038:6;5033:3;5029:16;6809:12;6795;6741:87;:::i;:::-;6850:11;5011:1855;-1:-1;;;;;;;5011:1855::o;15065:222::-;-1:-1;;;;;19879:54;;;;3181:37;;15192:2;15177:18;;15163:124::o;15294:416::-;15494:2;15508:47;;;4306:2;15479:18;;;17833:19;4342:34;17873:14;;;4322:55;-1:-1;;;4397:12;;;4390:30;4439:12;;;15465:245::o;15717:416::-;15917:2;15931:47;;;15902:18;;;17833:19;4726:34;17873:14;;;4706:55;4780:12;;;15888:245::o;16140:378::-;;16321:2;16342:17;16335:47;16396:112;16321:2;16310:9;16306:18;16494:6;16396:112;:::i;16926:394::-;;17115:2;17136:17;17129:47;17115:2;9308:16;18336:12;9331:63;17115:2;17104:9;17100:18;18310:39;18336:12;9308:16;18310:39;:::i;:::-;9331:63;:::i;:::-;9496:16;1212:20;9567:14;17104:9;9567:14;3411:37;;9647:50;9567:14;9684:5;9680:16;9673:5;9647:50;:::i;:::-;9703:63;9751:14;17104:9;9751:14;9737:12;9703:63;:::i;:::-;;9751:14;9876:5;9872:16;1212:20;9943:14;17104:9;9943:14;3411:37;10026:50;9943:14;10063:5;10059:16;10052:5;10026:50;:::i;:::-;10082:63;10130:14;17104:9;10130:14;10116:12;10082:63;:::i;:::-;;10130:14;10258:5;10254:16;1212:20;10325:14;17104:9;10325:14;3411:37;10407:50;10325:14;10444:5;10440:16;10433:5;10407:50;:::i;:::-;10463:63;10511:14;17104:9;10511:14;10497:12;10463:63;:::i;:::-;;10694:14;10511;10627:5;10623:16;1212:20;10694:14;17104:9;10694:14;3411:37;10876:16;10694:14;10807:5;10803:18;209:20;10876:16;17104:9;10876:16;3411:37;11065:16;;;10876;10996:5;10992:18;1212:20;11065:16;17104:9;11065:16;3411:37;;11251:16;11065;11182:5;11178:18;1212:20;11251:16;17104:9;11251:16;3411:37;11337:52;11251:16;11374:5;11370:18;11363:5;11337:52;:::i;:::-;11317:72;;;11443:16;11395:65;11443:16;17104:9;11443:16;11429:12;11395:65;:::i;:::-;11526:52;11443:16;11563:5;11559:18;11552:5;11526:52;:::i;:::-;11506:72;;;11632:16;11584:65;11632:16;17104:9;11632:16;11618:12;11584:65;:::i;:::-;11727:64;11632:16;11776:5;11772:18;11765:5;11727:64;:::i;:::-;11693:98;;;;9208:6;11811:16;9208:6;11811:16;17104:9;11811:16;11804:40;11859:89;9199:16;17104:9;9199:16;11929:12;11915;11859:89;:::i;:::-;11851:97;;12122:16;;;11811;12053:5;12049:18;209:20;12122:16;17104:9;12122:16;3411:37;;12215:63;12122:16;12263:5;12259:18;12252:5;12215:63;:::i;:::-;12316:14;;;-1:-1;;12316:14;12298:16;;;12291:40;12181:97;-1:-1;12346:87;12320:4;12181:97;12400:12;12346:87;:::i;17327:406::-;;17522:2;17543:17;17536:47;17522:2;12845:16;18336:12;12868:63;17522:2;17511:9;17507:18;18310:39;18336:12;12845:16;18310:39;:::i;12868:63::-;13037:16;1212:20;13108:14;17511:9;13108:14;3411:37;;13108:14;13224:5;13220:16;1212:20;13291:14;17511:9;13291:14;3411:37;13291:14;13404:5;13400:16;209:20;13471:14;17511:9;13471:14;3411:37;13471:14;13589:5;13585:16;1212:20;13656:14;17511:9;13656:14;3411:37;13656:14;13771:5;13767:16;1212:20;13838:14;17511:9;13838:14;3411:37;13922:50;13838:14;13959:5;13955:16;13948:5;13922:50;:::i;:::-;13978:63;14026:14;17511:9;14026:14;14012:12;13978:63;:::i;:::-;;14114:50;14026:14;14151:5;14147:16;14140:5;14114:50;:::i;:::-;14218:14;14170:63;14218:14;17511:9;14218:14;14204:12;14170:63;:::i;:::-;14308:52;14218:14;14345:5;14341:18;14334:5;14308:52;:::i;:::-;14288:72;;;14414:16;14366:65;14414:16;17511:9;14414:16;14400:12;14366:65;:::i;:::-;14599:16;;;14414;14530:5;14526:18;209:20;14599:16;17511:9;14599:16;3411:37;;14692:63;14599:16;14740:5;14736:18;14729:5;14692:63;:::i;:::-;12738:6;14775:16;;;14768:40;14658:97;-1:-1;14823:87;12729:16;;;14658:97;14877:12;14823:87;:::i;:::-;17589:134;17493:240;-1:-1;;;;;17493:240::o;18236:119::-;;72:20;;-1:-1;;;;;19879:54;;20342:35;;20332:2;;-1:-1;;20381:12;18492:501;;;18616:3;18603:17;18660:48;;18684:8;18668:14;18664:29;18660:48;18640:18;18636:73;18626:2;;-1:-1;;18713:12;18626:2;18742:33;;18699:4;18831:16;;;-1:-1;18797:19;;-1:-1;18867:18;18856:30;;18853:2;;;18899:1;;18889:12;18853:2;18946:17;18668:14;18926:38;18916:8;18912:53;18909:2;;;18978:1;;18968:12;18909:2;18570:423;;;;;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"../DelegateBase.sol\";\nimport \"../interfaces/IexecRelay.sol\";\n\n\ncontract IexecRelayDelegate is IexecRelay, DelegateBase\n{\n\tfunction broadcastAppOrder (IexecLibOrders_v5.AppOrder calldata _apporder ) external override { emit BroadcastAppOrder (_apporder ); }\n\tfunction broadcastDatasetOrder (IexecLibOrders_v5.DatasetOrder calldata _datasetorder ) external override { emit BroadcastDatasetOrder (_datasetorder ); }\n\tfunction broadcastWorkerpoolOrder(IexecLibOrders_v5.WorkerpoolOrder calldata _workerpoolorder) external override { emit BroadcastWorkerpoolOrder(_workerpoolorder); }\n\tfunction broadcastRequestOrder (IexecLibOrders_v5.RequestOrder calldata _requestorder ) external override { emit BroadcastRequestOrder (_requestorder ); }\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecRelayDelegate.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecRelayDelegate.sol", - "exportedSymbols": { - "IexecRelayDelegate": [ - 8417 - ] - }, - "id": 8418, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8365, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:31" - }, - { - "id": 8366, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:31" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 8367, - "nodeType": "ImportDirective", - "scope": 8418, - "sourceUnit": 1659, - "src": "1301:29:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "../interfaces/IexecRelay.sol", - "id": 8368, - "nodeType": "ImportDirective", - "scope": 8418, - "sourceUnit": 9956, - "src": "1331:38:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8369, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "1403:10:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 8370, - "nodeType": "InheritanceSpecifier", - "src": "1403:10:31" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8371, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1415:12:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 8372, - "nodeType": "InheritanceSpecifier", - "src": "1415:12:31" - } - ], - "contractDependencies": [ - 309, - 1658, - 9955, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8417, - "linearizedBaseContracts": [ - 8417, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9955 - ], - "name": "IexecRelayDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9939 - ], - "body": { - "id": 8382, - "nodeType": "Block", - "src": "1544:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8379, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8374, - "src": "1576:9:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder calldata" - } - ], - "id": 8378, - "name": "BroadcastAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9922, - "src": "1551:17:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_AppOrder_$1255_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory)" - } - }, - "id": 8380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1551:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8381, - "nodeType": "EmitStatement", - "src": "1546:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 8383, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8376, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1535:8:31" - }, - "parameters": { - "id": 8375, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8374, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8383, - "src": "1465:52:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 8373, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1465:26:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1464:61:31" - }, - "returnParameters": { - "id": 8377, - "nodeType": "ParameterList", - "parameters": [], - "src": "1544:0:31" - }, - "scope": 8417, - "src": "1431:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9944 - ], - "body": { - "id": 8393, - "nodeType": "Block", - "src": "1711:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8390, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8385, - "src": "1743:13:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder calldata" - } - ], - "id": 8389, - "name": "BroadcastDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9926, - "src": "1718:21:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory)" - } - }, - "id": 8391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1718:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8392, - "nodeType": "EmitStatement", - "src": "1713:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "4c4692de", - "id": 8394, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8387, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1702:8:31" - }, - "parameters": { - "id": 8386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8385, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8394, - "src": "1632:56:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 8384, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1632:30:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1631:61:31" - }, - "returnParameters": { - "id": 8388, - "nodeType": "ParameterList", - "parameters": [], - "src": "1711:0:31" - }, - "scope": 8417, - "src": "1598:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9949 - ], - "body": { - "id": 8404, - "nodeType": "Block", - "src": "1878:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8401, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8396, - "src": "1910:16:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder calldata" - } - ], - "id": 8400, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9930, - "src": "1885:24:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory)" - } - }, - "id": 8402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1885:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8403, - "nodeType": "EmitStatement", - "src": "1880:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "947f5178", - "id": 8405, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8398, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1869:8:31" - }, - "parameters": { - "id": 8397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8396, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8405, - "src": "1799:59:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 8395, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1799:33:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1798:61:31" - }, - "returnParameters": { - "id": 8399, - "nodeType": "ParameterList", - "parameters": [], - "src": "1878:0:31" - }, - "scope": 8417, - "src": "1765:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9954 - ], - "body": { - "id": 8415, - "nodeType": "Block", - "src": "2045:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8412, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8407, - "src": "2077:13:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder calldata" - } - ], - "id": 8411, - "name": "BroadcastRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9934, - "src": "2052:21:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory)" - } - }, - "id": 8413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2052:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8414, - "nodeType": "EmitStatement", - "src": "2047:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "4693d172", - "id": 8416, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8409, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2036:8:31" - }, - "parameters": { - "id": 8408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8407, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8416, - "src": "1966:56:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 8406, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1966:30:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1965:61:31" - }, - "returnParameters": { - "id": 8410, - "nodeType": "ParameterList", - "parameters": [], - "src": "2045:0:31" - }, - "scope": 8417, - "src": "1932:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8418, - "src": "1372:727:31" - } - ], - "src": "1242:858:31" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/IexecRelayDelegate.sol", - "exportedSymbols": { - "IexecRelayDelegate": [ - 8417 - ] - }, - "id": 8418, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8365, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:31" - }, - { - "id": 8366, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:31" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 8367, - "nodeType": "ImportDirective", - "scope": 8418, - "sourceUnit": 1659, - "src": "1301:29:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecRelay.sol", - "file": "../interfaces/IexecRelay.sol", - "id": 8368, - "nodeType": "ImportDirective", - "scope": 8418, - "sourceUnit": 9956, - "src": "1331:38:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8369, - "name": "IexecRelay", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9955, - "src": "1403:10:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecRelay_$9955", - "typeString": "contract IexecRelay" - } - }, - "id": 8370, - "nodeType": "InheritanceSpecifier", - "src": "1403:10:31" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8371, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1415:12:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 8372, - "nodeType": "InheritanceSpecifier", - "src": "1415:12:31" - } - ], - "contractDependencies": [ - 309, - 1658, - 9955, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8417, - "linearizedBaseContracts": [ - 8417, - 1658, - 13161, - 309, - 13173, - 14132, - 13740, - 9955 - ], - "name": "IexecRelayDelegate", - "nodeType": "ContractDefinition", - "nodes": [ - { - "baseFunctions": [ - 9939 - ], - "body": { - "id": 8382, - "nodeType": "Block", - "src": "1544:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8379, - "name": "_apporder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8374, - "src": "1576:9:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder calldata" - } - ], - "id": 8378, - "name": "BroadcastAppOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9922, - "src": "1551:17:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_AppOrder_$1255_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.AppOrder memory)" - } - }, - "id": 8380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1551:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8381, - "nodeType": "EmitStatement", - "src": "1546:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "c52e9de1", - "id": 8383, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastAppOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8376, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1535:8:31" - }, - "parameters": { - "id": 8375, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8374, - "mutability": "mutable", - "name": "_apporder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8383, - "src": "1465:52:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - }, - "typeName": { - "contractScope": null, - "id": 8373, - "name": "IexecLibOrders_v5.AppOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1255, - "src": "1465:26:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AppOrder_$1255_storage_ptr", - "typeString": "struct IexecLibOrders_v5.AppOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1464:61:31" - }, - "returnParameters": { - "id": 8377, - "nodeType": "ParameterList", - "parameters": [], - "src": "1544:0:31" - }, - "scope": 8417, - "src": "1431:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9944 - ], - "body": { - "id": 8393, - "nodeType": "Block", - "src": "1711:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8390, - "name": "_datasetorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8385, - "src": "1743:13:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder calldata" - } - ], - "id": 8389, - "name": "BroadcastDatasetOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9926, - "src": "1718:21:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_DatasetOrder_$1274_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.DatasetOrder memory)" - } - }, - "id": 8391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1718:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8392, - "nodeType": "EmitStatement", - "src": "1713:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "4c4692de", - "id": 8394, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastDatasetOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8387, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1702:8:31" - }, - "parameters": { - "id": 8386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8385, - "mutability": "mutable", - "name": "_datasetorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8394, - "src": "1632:56:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - }, - "typeName": { - "contractScope": null, - "id": 8384, - "name": "IexecLibOrders_v5.DatasetOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1274, - "src": "1632:30:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_DatasetOrder_$1274_storage_ptr", - "typeString": "struct IexecLibOrders_v5.DatasetOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1631:61:31" - }, - "returnParameters": { - "id": 8388, - "nodeType": "ParameterList", - "parameters": [], - "src": "1711:0:31" - }, - "scope": 8417, - "src": "1598:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9949 - ], - "body": { - "id": 8404, - "nodeType": "Block", - "src": "1878:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8401, - "name": "_workerpoolorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8396, - "src": "1910:16:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder calldata" - } - ], - "id": 8400, - "name": "BroadcastWorkerpoolOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9930, - "src": "1885:24:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_WorkerpoolOrder_$1297_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.WorkerpoolOrder memory)" - } - }, - "id": 8402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1885:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8403, - "nodeType": "EmitStatement", - "src": "1880:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "947f5178", - "id": 8405, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastWorkerpoolOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8398, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1869:8:31" - }, - "parameters": { - "id": 8397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8396, - "mutability": "mutable", - "name": "_workerpoolorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8405, - "src": "1799:59:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - }, - "typeName": { - "contractScope": null, - "id": 8395, - "name": "IexecLibOrders_v5.WorkerpoolOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1297, - "src": "1799:33:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_WorkerpoolOrder_$1297_storage_ptr", - "typeString": "struct IexecLibOrders_v5.WorkerpoolOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1798:61:31" - }, - "returnParameters": { - "id": 8399, - "nodeType": "ParameterList", - "parameters": [], - "src": "1878:0:31" - }, - "scope": 8417, - "src": "1765:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9954 - ], - "body": { - "id": 8415, - "nodeType": "Block", - "src": "2045:52:31", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8412, - "name": "_requestorder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8407, - "src": "2077:13:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder calldata" - } - ], - "id": 8411, - "name": "BroadcastRequestOrder", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9934, - "src": "2052:21:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_struct$_RequestOrder_$1330_memory_ptr_$returns$__$", - "typeString": "function (struct IexecLibOrders_v5.RequestOrder memory)" - } - }, - "id": 8413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2052:42:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8414, - "nodeType": "EmitStatement", - "src": "2047:47:31" - } - ] - }, - "documentation": null, - "functionSelector": "4693d172", - "id": 8416, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "broadcastRequestOrder", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 8409, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2036:8:31" - }, - "parameters": { - "id": 8408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8407, - "mutability": "mutable", - "name": "_requestorder", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8416, - "src": "1966:56:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_calldata_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - }, - "typeName": { - "contractScope": null, - "id": 8406, - "name": "IexecLibOrders_v5.RequestOrder", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1330, - "src": "1966:30:31", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RequestOrder_$1330_storage_ptr", - "typeString": "struct IexecLibOrders_v5.RequestOrder" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1965:61:31" - }, - "returnParameters": { - "id": 8410, - "nodeType": "ParameterList", - "parameters": [], - "src": "2045:0:31" - }, - "scope": 8417, - "src": "1932:165:31", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 8418, - "src": "1372:727:31" - } - ], - "src": "1242:858:31" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.682Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/IexecTokenSpender.json b/build/contracts/IexecTokenSpender.json deleted file mode 100644 index 8f2d1d6d3..000000000 --- a/build/contracts/IexecTokenSpender.json +++ /dev/null @@ -1,514 +0,0 @@ -{ - "contractName": "IexecTokenSpender", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":\"IexecTokenSpender\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\n\ninterface IexecTokenSpender\n{\n\tfunction receiveApproval(address,uint256,address,bytes calldata) external returns (bool);\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "exportedSymbols": { - "IexecTokenSpender": [ - 9911 - ] - }, - "id": 9912, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9896, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:48" - }, - { - "id": 9897, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:48" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9911, - "linearizedBaseContracts": [ - 9911 - ], - "name": "IexecTokenSpender", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 9910, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9899, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1358:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9898, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1358:7:48", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9901, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1366:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9900, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1366:7:48", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9903, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1374:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1374:7:48", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9905, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1382:14:48", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9904, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1382:5:48", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1357:40:48" - }, - "returnParameters": { - "id": 9909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1416:4:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9907, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1416:4:48", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1415:6:48" - }, - "scope": 9911, - "src": "1333:89:48", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9912, - "src": "1302:122:48" - } - ], - "src": "1242:183:48" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "exportedSymbols": { - "IexecTokenSpender": [ - 9911 - ] - }, - "id": 9912, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9896, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:48" - }, - { - "id": 9897, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:48" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9911, - "linearizedBaseContracts": [ - 9911 - ], - "name": "IexecTokenSpender", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 9910, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9899, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1358:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9898, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1358:7:48", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9901, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1366:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9900, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1366:7:48", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9903, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1374:7:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1374:7:48", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9905, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1382:14:48", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9904, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1382:5:48", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1357:40:48" - }, - "returnParameters": { - "id": 9909, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9908, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9910, - "src": "1416:4:48", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9907, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1416:4:48", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1415:6:48" - }, - "scope": 9911, - "src": "1333:89:48", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 9912, - "src": "1302:122:48" - } - ], - "src": "1242:183:48" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.863Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/InitializableUpgradeabilityProxy.json b/build/contracts/InitializableUpgradeabilityProxy.json deleted file mode 100644 index d317366ca..000000000 --- a/build/contracts/InitializableUpgradeabilityProxy.json +++ /dev/null @@ -1,1621 +0,0 @@ -{ - "contractName": "InitializableUpgradeabilityProxy", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_logic", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "payable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Extends BaseUpgradeabilityProxy with an initializer for initializing implementation and init data.\",\"kind\":\"dev\",\"methods\":{\"initialize(address,bytes)\":{\"details\":\"Contract initializer.\",\"params\":{\"_data\":\"Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\",\"_logic\":\"Address of the initial implementation.\"}}},\"title\":\"InitializableUpgradeabilityProxy\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":\"InitializableUpgradeabilityProxy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610349806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f6100ef565b005b61002f6100ef565b61002f6004803603604081101561004f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561007a57600080fd5b82018360208201111561008c57600080fd5b803590602001918460018302840111640100000000831117156100ae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610109945050505050565b6100f7610107565b6101076101026101eb565b610210565b565b60006101136101eb565b6001600160a01b03161461012657600080fd5b61012f82610234565b8051156101e7576000826001600160a01b0316826040518082805190602001908083835b602083106101725780518252601f199092019160209182019101610153565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b50509050806101e557600080fd5b505b5050565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e80801561022f573d6000f35b3d6000fd5b61023d8161029c565b6102785760405162461bcd60e51b815260040180806020018281038252603b8152602001806102d9603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906102d057508115155b94935050505056fe43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220cdbb0f880f6bae03b83b0112d96e036096c0b7dccd11cf658a9770d11b49225264736f6c634300060c0033", - "deployedBytecode": "0x6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f6100ef565b005b61002f6100ef565b61002f6004803603604081101561004f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561007a57600080fd5b82018360208201111561008c57600080fd5b803590602001918460018302840111640100000000831117156100ae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610109945050505050565b6100f7610107565b6101076101026101eb565b610210565b565b60006101136101eb565b6001600160a01b03161461012657600080fd5b61012f82610234565b8051156101e7576000826001600160a01b0316826040518082805190602001908083835b602083106101725780518252601f199092019160209182019101610153565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b50509050806101e557600080fd5b505b5050565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e80801561022f573d6000f35b3d6000fd5b61023d8161029c565b6102785760405162461bcd60e51b815260040180806020018281038252603b8152602001806102d9603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906102d057508115155b94935050505056fe43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220cdbb0f880f6bae03b83b0112d96e036096c0b7dccd11cf658a9770d11b49225264736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "227:945:78:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "227:945:78:-:0;;;;;;;;;;;;;;;;;;;;;;;459:11:79;:9;:11::i;:::-;227:945:78;;596:11:79;:9;:11::i;822:348:78:-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;822:348:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;822:348:78;;-1:-1:-1;822:348:78;;-1:-1:-1;;;;;822:348:78:i;2133:90:79:-;2169:15;:13;:15::i;:::-;2190:28;2200:17;:15;:17::i;:::-;2190:9;:28::i;:::-;2133:90::o;822:348:78:-;936:1;907:17;:15;:17::i;:::-;-1:-1:-1;;;;;907:31:78;;899:40;;;;;;1030:26;1049:6;1030:18;:26::i;:::-;1065:12;;:16;1062:104;;1092:12;1109:6;-1:-1:-1;;;;;1109:19:78;1129:5;1109:26;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1109:26:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1091:44;;;1151:7;1143:16;;;;;;1062:104;;822:348;;:::o;975:165:77:-;790:66;1119:11;;1103:33::o;1039:743:79:-;1341:14;1338:1;1335;1322:34;1537:1;1534;1518:14;1515:1;1499:14;1492:5;1479:60;1601:16;1598:1;1595;1580:38;1633:6;1688:38;;;;1753:16;1750:1;1743:27;1688:38;1707:16;1704:1;1697:27;1554:285:77;1632:37;1651:17;1632:18;:37::i;:::-;1624:109;;;;-1:-1:-1;;;1624:109:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;790:66;1798:31;1790:45::o;718:610:95:-;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;1305:15:95;;;1278:42;1270:51;718:610;-1:-1:-1;;;;718:610:95:o", - "source": "pragma solidity ^0.6.0;\n\nimport './BaseUpgradeabilityProxy.sol';\n\n/**\n * @title InitializableUpgradeabilityProxy\n * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\n * implementation and init data.\n */\ncontract InitializableUpgradeabilityProxy is BaseUpgradeabilityProxy {\n /**\n * @dev Contract initializer.\n * @param _logic Address of the initial implementation.\n * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\n * It should include the signature and the parameters of the function to be called, as described in\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\n */\n function initialize(address _logic, bytes memory _data) public payable {\n require(_implementation() == address(0));\n assert(IMPLEMENTATION_SLOT == keccak256(\"org.zeppelinos.proxy.implementation\"));\n _setImplementation(_logic);\n if(_data.length > 0) {\n (bool success,) = _logic.delegatecall(_data);\n require(success);\n }\n }\n}\n", - "sourcePath": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "exportedSymbols": { - "InitializableUpgradeabilityProxy": [ - 13604 - ] - }, - "id": 13605, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13551, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:78" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol", - "file": "./BaseUpgradeabilityProxy.sol", - "id": 13552, - "nodeType": "ImportDirective", - "scope": 13605, - "sourceUnit": 13550, - "src": "25:39:78", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13554, - "name": "BaseUpgradeabilityProxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13549, - "src": "272:23:78", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BaseUpgradeabilityProxy_$13549", - "typeString": "contract BaseUpgradeabilityProxy" - } - }, - "id": 13555, - "nodeType": "InheritanceSpecifier", - "src": "272:23:78" - } - ], - "contractDependencies": [ - 13549, - 13656 - ], - "contractKind": "contract", - "documentation": { - "id": 13553, - "nodeType": "StructuredDocumentation", - "src": "66:160:78", - "text": " @title InitializableUpgradeabilityProxy\n @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\n implementation and init data." - }, - "fullyImplemented": true, - "id": 13604, - "linearizedBaseContracts": [ - 13604, - 13549, - 13656 - ], - "name": "InitializableUpgradeabilityProxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13602, - "nodeType": "Block", - "src": "893:277:78", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 13570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13564, - "name": "_implementation", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 13513 - ], - "referencedDeclaration": 13513, - "src": "907:15:78", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 13565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "907:17:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 13568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "936:1:78", - "subdenomination": null, - "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": 13567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "928:7:78", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 13566, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "928:7:78", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 13569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "928:10:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "907:31:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13563, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "899:7:78", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "899:40:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13572, - "nodeType": "ExpressionStatement", - "src": "899:40:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 13578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13574, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "952:19:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e", - "id": 13576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "985:37:78", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", - "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" - }, - "value": "org.zeppelinos.proxy.implementation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", - "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" - } - ], - "id": 13575, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "975:9:78", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 13577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "975:48:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "952:71:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13573, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -3, - "src": "945:6:78", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "945:79:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13580, - "nodeType": "ExpressionStatement", - "src": "945:79:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13582, - "name": "_logic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13558, - "src": "1049:6:78", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13581, - "name": "_setImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13548, - "src": "1030:18:78", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1030:26:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13584, - "nodeType": "ExpressionStatement", - "src": "1030:26:78" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13585, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13560, - "src": "1065:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1065:12:78", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1080:1:78", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1065:16:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13601, - "nodeType": "IfStatement", - "src": "1062:104:78", - "trueBody": { - "id": 13600, - "nodeType": "Block", - "src": "1083:83:78", - "statements": [ - { - "assignments": [ - 13590, - null - ], - "declarations": [ - { - "constant": false, - "id": 13590, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13600, - "src": "1092:12:78", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13589, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1092:4:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 13595, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13593, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13560, - "src": "1129:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 13591, - "name": "_logic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13558, - "src": "1109:6:78", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 13592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1109:19:78", - "typeDescriptions": { - "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) returns (bool,bytes memory)" - } - }, - "id": 13594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1109:26:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1091:44:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13597, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13590, - "src": "1151:7:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13596, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1143:7:78", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1143:16:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13599, - "nodeType": "ExpressionStatement", - "src": "1143:16:78" - } - ] - } - } - ] - }, - "documentation": { - "id": 13556, - "nodeType": "StructuredDocumentation", - "src": "300:519:78", - "text": " @dev Contract initializer.\n @param _logic Address of the initial implementation.\n @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\n It should include the signature and the parameters of the function to be called, as described in\n https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n This parameter is optional, if no data is given the initialization call to proxied contract will be skipped." - }, - "functionSelector": "d1f57894", - "id": 13603, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13558, - "mutability": "mutable", - "name": "_logic", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13603, - "src": "842:14:78", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "842:7:78", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13560, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13603, - "src": "858:18:78", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "858:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "841:36:78" - }, - "returnParameters": { - "id": 13562, - "nodeType": "ParameterList", - "parameters": [], - "src": "893:0:78" - }, - "scope": 13604, - "src": "822:348:78", - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 13605, - "src": "227:945:78" - } - ], - "src": "0:1173:78" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "exportedSymbols": { - "InitializableUpgradeabilityProxy": [ - 13604 - ] - }, - "id": 13605, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13551, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:78" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol", - "file": "./BaseUpgradeabilityProxy.sol", - "id": 13552, - "nodeType": "ImportDirective", - "scope": 13605, - "sourceUnit": 13550, - "src": "25:39:78", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13554, - "name": "BaseUpgradeabilityProxy", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13549, - "src": "272:23:78", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BaseUpgradeabilityProxy_$13549", - "typeString": "contract BaseUpgradeabilityProxy" - } - }, - "id": 13555, - "nodeType": "InheritanceSpecifier", - "src": "272:23:78" - } - ], - "contractDependencies": [ - 13549, - 13656 - ], - "contractKind": "contract", - "documentation": { - "id": 13553, - "nodeType": "StructuredDocumentation", - "src": "66:160:78", - "text": " @title InitializableUpgradeabilityProxy\n @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\n implementation and init data." - }, - "fullyImplemented": true, - "id": 13604, - "linearizedBaseContracts": [ - 13604, - 13549, - 13656 - ], - "name": "InitializableUpgradeabilityProxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13602, - "nodeType": "Block", - "src": "893:277:78", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 13570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13564, - "name": "_implementation", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 13513 - ], - "referencedDeclaration": 13513, - "src": "907:15:78", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 13565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "907:17:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 13568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "936:1:78", - "subdenomination": null, - "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": 13567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "928:7:78", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 13566, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "928:7:78", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 13569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "928:10:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "907:31:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13563, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "899:7:78", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "899:40:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13572, - "nodeType": "ExpressionStatement", - "src": "899:40:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 13578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13574, - "name": "IMPLEMENTATION_SLOT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13500, - "src": "952:19:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e", - "id": 13576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "985:37:78", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", - "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" - }, - "value": "org.zeppelinos.proxy.implementation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", - "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" - } - ], - "id": 13575, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "975:9:78", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 13577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "975:48:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "952:71:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13573, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -3, - "src": "945:6:78", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "945:79:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13580, - "nodeType": "ExpressionStatement", - "src": "945:79:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13582, - "name": "_logic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13558, - "src": "1049:6:78", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13581, - "name": "_setImplementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13548, - "src": "1030:18:78", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1030:26:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13584, - "nodeType": "ExpressionStatement", - "src": "1030:26:78" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 13585, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13560, - "src": "1065:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 13586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1065:12:78", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1080:1:78", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1065:16:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13601, - "nodeType": "IfStatement", - "src": "1062:104:78", - "trueBody": { - "id": 13600, - "nodeType": "Block", - "src": "1083:83:78", - "statements": [ - { - "assignments": [ - 13590, - null - ], - "declarations": [ - { - "constant": false, - "id": 13590, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13600, - "src": "1092:12:78", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13589, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1092:4:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 13595, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13593, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13560, - "src": "1129:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 13591, - "name": "_logic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13558, - "src": "1109:6:78", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 13592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1109:19:78", - "typeDescriptions": { - "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) returns (bool,bytes memory)" - } - }, - "id": 13594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1109:26:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1091:44:78" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13597, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13590, - "src": "1151:7:78", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13596, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1143:7:78", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1143:16:78", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13599, - "nodeType": "ExpressionStatement", - "src": "1143:16:78" - } - ] - } - } - ] - }, - "documentation": { - "id": 13556, - "nodeType": "StructuredDocumentation", - "src": "300:519:78", - "text": " @dev Contract initializer.\n @param _logic Address of the initial implementation.\n @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\n It should include the signature and the parameters of the function to be called, as described in\n https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n This parameter is optional, if no data is given the initialization call to proxied contract will be skipped." - }, - "functionSelector": "d1f57894", - "id": 13603, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13558, - "mutability": "mutable", - "name": "_logic", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13603, - "src": "842:14:78", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "842:7:78", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13560, - "mutability": "mutable", - "name": "_data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13603, - "src": "858:18:78", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 13559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "858:5:78", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "841:36:78" - }, - "returnParameters": { - "id": 13562, - "nodeType": "ParameterList", - "parameters": [], - "src": "893:0:78" - }, - "scope": 13604, - "src": "822:348:78", - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 13605, - "src": "227:945:78" - } - ], - "src": "0:1173:78" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.896Z", - "devdoc": { - "details": "Extends BaseUpgradeabilityProxy with an initializer for initializing implementation and init data.", - "kind": "dev", - "methods": { - "initialize(address,bytes)": { - "details": "Contract initializer.", - "params": { - "_data": "Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.", - "_logic": "Address of the initial implementation." - } - } - }, - "title": "InitializableUpgradeabilityProxy", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/LibMap2_bytes4_address_bytes.json b/build/contracts/LibMap2_bytes4_address_bytes.json deleted file mode 100644 index 0aacd44e7..000000000 --- a/build/contracts/LibMap2_bytes4_address_bytes.json +++ /dev/null @@ -1,7045 +0,0 @@ -{ - "contractName": "LibMap2_bytes4_address_bytes", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":\"LibMap2_bytes4_address_bytes\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b539308a6323d335afdc6d539efc68daf74677cc5ff5dc14145c9dc04e2f677564736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b539308a6323d335afdc6d539efc68daf74677cc5ff5dc14145c9dc04e2f677564736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "63:1908:104:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "63:1908:104:-:0;;;;;;;;", - "source": "pragma solidity >0.5.0 <0.7.0;\n\nimport './LibSet.bytes4.sol';\n\nlibrary LibMap2_bytes4_address_bytes\n{\n\tusing LibSet_bytes4 for LibSet_bytes4.set;\n\n\tstruct map\n\t{\n\t\tLibSet_bytes4.set keyset;\n\t\tmapping(bytes4 => address) values1;\n\t\tmapping(bytes4 => bytes) values2;\n\t}\n\n\tfunction length(map storage _map)\n\tinternal view returns (uint256)\n\t{\n\t\treturn _map.keyset.length();\n\t}\n\n\tfunction value1(map storage _map, bytes4 _key)\n\tinternal view returns (address )\n\t{\n\t\treturn _map.values1[_key];\n\t}\n\n\tfunction value2(map storage _map, bytes4 _key)\n\tinternal view returns (bytes memory)\n\t{\n\t\treturn _map.values2[_key];\n\t}\n\n\tfunction keyAt(map storage _map, uint256 _index)\n\tinternal view returns (bytes4 )\n\t{\n\t\treturn _map.keyset.at(_index);\n\t}\n\n\tfunction at(map storage _map, uint256 _index)\n\tinternal view returns (bytes4 , address , bytes memory)\n\t{\n\t\tbytes4 key = keyAt(_map, _index);\n\t\treturn (key, value1(_map, key), value2(_map, key));\n\t}\n\n\tfunction indexOf(map storage _map, bytes4 _key)\n\tinternal view returns (uint256)\n\t{\n\t\treturn _map.keyset.indexOf(_key);\n\t}\n\n\tfunction contains(map storage _map, bytes4 _key)\n\tinternal view returns (bool)\n\t{\n\t\treturn _map.keyset.contains(_key);\n\t}\n\n\tfunction keys(map storage _map)\n\tinternal view returns (bytes4[] memory)\n\t{\n\t\treturn _map.keyset.content();\n\t}\n\n\tfunction set(\n\t\tmap storage _map,\n\t\tbytes4 _key,\n\t\taddress _value1,\n\t\tbytes memory _value2)\n\tinternal returns (bool)\n\t{\n\t\t_map.keyset.add(_key);\n\t\t_map.values1[_key] = _value1;\n\t\t_map.values2[_key] = _value2;\n\t\treturn true;\n\t}\n\n\tfunction del(map storage _map, bytes4 _key)\n\tinternal returns (bool)\n\t{\n\t\t_map.keyset.remove(_key);\n\t\tdelete _map.values1[_key];\n\t\tdelete _map.values2[_key];\n\t\treturn true;\n\t}\n\n\tfunction clear(map storage _map)\n\tinternal returns (bool)\n\t{\n\t\tfor (uint256 i = _map.keyset.length(); i > 0; --i)\n\t\t{\n\t\t\tbytes4 key = keyAt(_map, i);\n\t\t\tdelete _map.values1[key];\n\t\t\tdelete _map.values2[key];\n\t\t}\n\t\t_map.keyset.clear();\n\t\treturn true;\n\t}\n}\n", - "sourcePath": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "ast": { - "absolutePath": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "exportedSymbols": { - "LibMap2_bytes4_address_bytes": [ - 18508 - ] - }, - "id": 18509, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18232, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:104" - }, - { - "absolutePath": "solstruct/contracts/libs/LibSet.bytes4.sol", - "file": "./LibSet.bytes4.sol", - "id": 18233, - "nodeType": "ImportDirective", - "scope": 18509, - "sourceUnit": 18755, - "src": "32:29:104", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 18508, - "linearizedBaseContracts": [ - 18508 - ], - "name": "LibMap2_bytes4_address_bytes", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 18236, - "libraryName": { - "contractScope": null, - "id": 18234, - "name": "LibSet_bytes4", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18754, - "src": "109:13:104", - "typeDescriptions": { - "typeIdentifier": "t_contract$_LibSet_bytes4_$18754", - "typeString": "library LibSet_bytes4" - } - }, - "nodeType": "UsingForDirective", - "src": "103:42:104", - "typeName": { - "contractScope": null, - "id": 18235, - "name": "LibSet_bytes4.set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "127:17:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - } - }, - { - "canonicalName": "LibMap2_bytes4_address_bytes.map", - "id": 18247, - "members": [ - { - "constant": false, - "id": 18238, - "mutability": "mutable", - "name": "keyset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "164:24:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18237, - "name": "LibSet_bytes4.set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "164:17:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18242, - "mutability": "mutable", - "name": "values1", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "192:34:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - }, - "typeName": { - "id": 18241, - "keyType": { - "id": 18239, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "200:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "192:26:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - }, - "valueType": { - "id": 18240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "210:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18246, - "mutability": "mutable", - "name": "values2", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "230:32:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes)" - }, - "typeName": { - "id": 18245, - "keyType": { - "id": 18243, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "238:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "230:24:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes)" - }, - "valueType": { - "id": 18244, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "248:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "map", - "nodeType": "StructDefinition", - "scope": 18508, - "src": "148:118:104", - "visibility": "public" - }, - { - "body": { - "id": 18259, - "nodeType": "Block", - "src": "337:35:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18254, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18249, - "src": "348:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "348:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18256, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 18530, - "src": "348:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "348:20:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18253, - "id": 18258, - "nodeType": "Return", - "src": "341:27:104" - } - ] - }, - "documentation": null, - "id": 18260, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18249, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18260, - "src": "285:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18248, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "285:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "284:18:104" - }, - "returnParameters": { - "id": 18253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18260, - "src": "327:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "327:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "326:9:104" - }, - "scope": 18508, - "src": "269:103:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18274, - "nodeType": "Block", - "src": "458:33:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18269, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18262, - "src": "469:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18270, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "469:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18272, - "indexExpression": { - "argumentTypes": null, - "id": 18271, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18264, - "src": "482:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "469:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 18268, - "id": 18273, - "nodeType": "Return", - "src": "462:25:104" - } - ] - }, - "documentation": null, - "id": 18275, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "value1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18262, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "391:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18261, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "391:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18264, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "409:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18263, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "409:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "390:32:104" - }, - "returnParameters": { - "id": 18268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18267, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "447:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18266, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "447:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "446:10:104" - }, - "scope": 18508, - "src": "375:116:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18289, - "nodeType": "Block", - "src": "581:33:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18284, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18277, - "src": "592:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18285, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "592:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18287, - "indexExpression": { - "argumentTypes": null, - "id": 18286, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18279, - "src": "605:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "592:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "functionReturnParameters": 18283, - "id": 18288, - "nodeType": "Return", - "src": "585:25:104" - } - ] - }, - "documentation": null, - "id": 18290, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "value2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18277, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "510:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18276, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "510:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18279, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "528:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18278, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "528:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "509:32:104" - }, - "returnParameters": { - "id": 18283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18282, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "566:12:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18281, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "566:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "565:14:104" - }, - "scope": 18508, - "src": "494:120:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18305, - "nodeType": "Block", - "src": "700:37:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18302, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18294, - "src": "726:6:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18299, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18292, - "src": "711:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18300, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "711:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 18547, - "src": "711:14:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "711:22:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 18298, - "id": 18304, - "nodeType": "Return", - "src": "704:29:104" - } - ] - }, - "documentation": null, - "id": 18306, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "keyAt", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18292, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "632:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18291, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "632:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18294, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "650:14:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "650:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "631:34:104" - }, - "returnParameters": { - "id": 18298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18297, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "690:6:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "690:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "689:9:104" - }, - "scope": 18508, - "src": "617:120:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18337, - "nodeType": "Block", - "src": "844:95:104", - "statements": [ - { - "assignments": [ - 18320 - ], - "declarations": [ - { - "constant": false, - "id": 18320, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18337, - "src": "848:11:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18319, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "848:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18325, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18322, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "868:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18323, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18310, - "src": "874:6:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 18321, - "name": "keyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18306, - "src": "862:5:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_uint256_$returns$_t_bytes4_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "862:19:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "848:33:104" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 18326, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "893:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18328, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "905:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18329, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "911:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18327, - "name": "value1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18275, - "src": "898:6:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_bytes4_$returns$_t_address_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 18330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "898:17:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18332, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "924:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18333, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "930:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18331, - "name": "value2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18290, - "src": "917:6:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 18334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "917:17:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 18335, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "892:43:104", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "functionReturnParameters": 18318, - "id": 18336, - "nodeType": "Return", - "src": "885:50:104" - } - ] - }, - "documentation": null, - "id": 18338, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18308, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "752:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18307, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "752:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18310, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "770:14:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "770:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "751:34:104" - }, - "returnParameters": { - "id": 18318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18313, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "810:6:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18312, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "810:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "819:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "819:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18317, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "829:12:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "829:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "809:33:104" - }, - "scope": 18508, - "src": "740:199:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18353, - "nodeType": "Block", - "src": "1025:40:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18350, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18342, - "src": "1056:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18347, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18340, - "src": "1036:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18348, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1036:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18349, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 18562, - "src": "1036:19:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1036:25:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18346, - "id": 18352, - "nodeType": "Return", - "src": "1029:32:104" - } - ] - }, - "documentation": null, - "id": 18354, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "indexOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18340, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "959:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18339, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "959:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18342, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "977:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18341, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "977:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "958:32:104" - }, - "returnParameters": { - "id": 18346, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18345, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "1015:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18344, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1015:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1014:9:104" - }, - "scope": 18508, - "src": "942:123:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18369, - "nodeType": "Block", - "src": "1149:41:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18366, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18358, - "src": "1181:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18363, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18356, - "src": "1160:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18364, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1160:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18365, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 18579, - "src": "1160:20:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1160:26:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 18362, - "id": 18368, - "nodeType": "Return", - "src": "1153:33:104" - } - ] - }, - "documentation": null, - "id": 18370, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18356, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1086:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18355, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1086:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18358, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1104:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18357, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1104:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1085:32:104" - }, - "returnParameters": { - "id": 18362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1142:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18360, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1142:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1141:6:104" - }, - "scope": 18508, - "src": "1068:122:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18383, - "nodeType": "Block", - "src": "1267:36:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18378, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18372, - "src": "1278:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18379, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1278:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "content", - "nodeType": "MemberAccess", - "referencedDeclaration": 18591, - "src": "1278:19:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (bytes4[] memory)" - } - }, - "id": 18381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1278:21:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "functionReturnParameters": 18377, - "id": 18382, - "nodeType": "Return", - "src": "1271:28:104" - } - ] - }, - "documentation": null, - "id": 18384, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "keys", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18372, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18384, - "src": "1207:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18371, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1207:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1206:18:104" - }, - "returnParameters": { - "id": 18377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18376, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18384, - "src": "1249:15:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18374, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1249:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18375, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1249:8:104", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1248:17:104" - }, - "scope": 18508, - "src": "1193:110:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18423, - "nodeType": "Block", - "src": "1426:108:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18402, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1446:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18397, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1430:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1430:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 18629, - "src": "1430:15:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) returns (bool)" - } - }, - "id": 18403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1430:21:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18404, - "nodeType": "ExpressionStatement", - "src": "1430:21:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18405, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1455:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1455:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18409, - "indexExpression": { - "argumentTypes": null, - "id": 18407, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1468:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1455:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18410, - "name": "_value1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18390, - "src": "1476:7:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1455:28:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18412, - "nodeType": "ExpressionStatement", - "src": "1455:28:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18413, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1487:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1487:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18417, - "indexExpression": { - "argumentTypes": null, - "id": 18415, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1500:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1487:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18418, - "name": "_value2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18392, - "src": "1508:7:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1487:28:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 18420, - "nodeType": "ExpressionStatement", - "src": "1487:28:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1526:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18396, - "id": 18422, - "nodeType": "Return", - "src": "1519:11:104" - } - ] - }, - "documentation": null, - "id": 18424, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18386, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1322:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18385, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1322:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18388, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1342:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18387, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1342:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18390, - "mutability": "mutable", - "name": "_value1", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1358:16:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18389, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1358:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18392, - "mutability": "mutable", - "name": "_value2", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1378:20:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18391, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1378:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1318:81:104" - }, - "returnParameters": { - "id": 18396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18395, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1419:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18394, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1419:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1418:6:104" - }, - "scope": 18508, - "src": "1306:228:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18455, - "nodeType": "Block", - "src": "1608:105:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18438, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1631:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18433, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1612:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18436, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1612:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 18708, - "src": "1612:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) returns (bool)" - } - }, - "id": 18439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1612:24:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18440, - "nodeType": "ExpressionStatement", - "src": "1612:24:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1640:25:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18441, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1647:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18442, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1647:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18444, - "indexExpression": { - "argumentTypes": null, - "id": 18443, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1660:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1647:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18446, - "nodeType": "ExpressionStatement", - "src": "1640:25:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1669:25:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18447, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1676:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1676:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18450, - "indexExpression": { - "argumentTypes": null, - "id": 18449, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1689:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1676:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18452, - "nodeType": "ExpressionStatement", - "src": "1669:25:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1705:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18432, - "id": 18454, - "nodeType": "Return", - "src": "1698:11:104" - } - ] - }, - "documentation": null, - "id": 18456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "del", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18426, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1550:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18425, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1550:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18428, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1568:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18427, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1568:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1549:32:104" - }, - "returnParameters": { - "id": 18432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18431, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1601:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18430, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1601:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1600:6:104" - }, - "scope": 18508, - "src": "1537:176:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18506, - "nodeType": "Block", - "src": "1775:194:104", - "statements": [ - { - "body": { - "id": 18495, - "nodeType": "Block", - "src": "1832:96:104", - "statements": [ - { - "assignments": [ - 18477 - ], - "declarations": [ - { - "constant": false, - "id": 18477, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18495, - "src": "1837:11:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18476, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1837:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18482, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18479, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1857:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18480, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1863:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 18478, - "name": "keyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18306, - "src": "1851:5:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_uint256_$returns$_t_bytes4_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1851:14:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1837:28:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1870:24:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18483, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1877:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18484, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1877:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18486, - "indexExpression": { - "argumentTypes": null, - "id": 18485, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18477, - "src": "1890:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1877:17:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18488, - "nodeType": "ExpressionStatement", - "src": "1870:24:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1899:24:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18489, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1906:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18490, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1906:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18492, - "indexExpression": { - "argumentTypes": null, - "id": 18491, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18477, - "src": "1919:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1906:17:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18494, - "nodeType": "ExpressionStatement", - "src": "1899:24:104" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18470, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1818:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1822:1:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1818:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18496, - "initializationExpression": { - "assignments": [ - 18464 - ], - "declarations": [ - { - "constant": false, - "id": 18464, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18496, - "src": "1784:9:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1784:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18469, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18465, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1796:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1796:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 18530, - "src": "1796:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1796:20:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1784:32:104" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 18474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1825:3:104", - "subExpression": { - "argumentTypes": null, - "id": 18473, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1827:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18475, - "nodeType": "ExpressionStatement", - "src": "1825:3:104" - }, - "nodeType": "ForStatement", - "src": "1779:149:104" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18497, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1931:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18500, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1931:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18501, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "clear", - "nodeType": "MemberAccess", - "referencedDeclaration": 18753, - "src": "1931:17:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) returns (bool)" - } - }, - "id": 18502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1931:19:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18503, - "nodeType": "ExpressionStatement", - "src": "1931:19:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1961:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18462, - "id": 18505, - "nodeType": "Return", - "src": "1954:11:104" - } - ] - }, - "documentation": null, - "id": 18507, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "clear", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18458, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18507, - "src": "1731:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18457, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1731:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1730:18:104" - }, - "returnParameters": { - "id": 18462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18461, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18507, - "src": "1768:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18460, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1768:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1767:6:104" - }, - "scope": 18508, - "src": "1716:253:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 18509, - "src": "63:1908:104" - } - ], - "src": "0:1972:104" - }, - "legacyAST": { - "absolutePath": "solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol", - "exportedSymbols": { - "LibMap2_bytes4_address_bytes": [ - 18508 - ] - }, - "id": 18509, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18232, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:104" - }, - { - "absolutePath": "solstruct/contracts/libs/LibSet.bytes4.sol", - "file": "./LibSet.bytes4.sol", - "id": 18233, - "nodeType": "ImportDirective", - "scope": 18509, - "sourceUnit": 18755, - "src": "32:29:104", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 18508, - "linearizedBaseContracts": [ - 18508 - ], - "name": "LibMap2_bytes4_address_bytes", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 18236, - "libraryName": { - "contractScope": null, - "id": 18234, - "name": "LibSet_bytes4", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18754, - "src": "109:13:104", - "typeDescriptions": { - "typeIdentifier": "t_contract$_LibSet_bytes4_$18754", - "typeString": "library LibSet_bytes4" - } - }, - "nodeType": "UsingForDirective", - "src": "103:42:104", - "typeName": { - "contractScope": null, - "id": 18235, - "name": "LibSet_bytes4.set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "127:17:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - } - }, - { - "canonicalName": "LibMap2_bytes4_address_bytes.map", - "id": 18247, - "members": [ - { - "constant": false, - "id": 18238, - "mutability": "mutable", - "name": "keyset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "164:24:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18237, - "name": "LibSet_bytes4.set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "164:17:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18242, - "mutability": "mutable", - "name": "values1", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "192:34:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - }, - "typeName": { - "id": 18241, - "keyType": { - "id": 18239, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "200:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "192:26:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - }, - "valueType": { - "id": 18240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "210:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18246, - "mutability": "mutable", - "name": "values2", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18247, - "src": "230:32:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes)" - }, - "typeName": { - "id": 18245, - "keyType": { - "id": 18243, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "238:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "230:24:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes)" - }, - "valueType": { - "id": 18244, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "248:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "map", - "nodeType": "StructDefinition", - "scope": 18508, - "src": "148:118:104", - "visibility": "public" - }, - { - "body": { - "id": 18259, - "nodeType": "Block", - "src": "337:35:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18254, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18249, - "src": "348:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "348:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18256, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 18530, - "src": "348:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "348:20:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18253, - "id": 18258, - "nodeType": "Return", - "src": "341:27:104" - } - ] - }, - "documentation": null, - "id": 18260, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18249, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18260, - "src": "285:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18248, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "285:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "284:18:104" - }, - "returnParameters": { - "id": 18253, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18252, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18260, - "src": "327:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18251, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "327:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "326:9:104" - }, - "scope": 18508, - "src": "269:103:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18274, - "nodeType": "Block", - "src": "458:33:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18269, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18262, - "src": "469:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18270, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "469:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18272, - "indexExpression": { - "argumentTypes": null, - "id": 18271, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18264, - "src": "482:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "469:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 18268, - "id": 18273, - "nodeType": "Return", - "src": "462:25:104" - } - ] - }, - "documentation": null, - "id": 18275, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "value1", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18265, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18262, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "391:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18261, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "391:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18264, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "409:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18263, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "409:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "390:32:104" - }, - "returnParameters": { - "id": 18268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18267, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18275, - "src": "447:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18266, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "447:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "446:10:104" - }, - "scope": 18508, - "src": "375:116:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18289, - "nodeType": "Block", - "src": "581:33:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18284, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18277, - "src": "592:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18285, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "592:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18287, - "indexExpression": { - "argumentTypes": null, - "id": 18286, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18279, - "src": "605:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "592:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "functionReturnParameters": 18283, - "id": 18288, - "nodeType": "Return", - "src": "585:25:104" - } - ] - }, - "documentation": null, - "id": 18290, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "value2", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18277, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "510:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18276, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "510:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18279, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "528:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18278, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "528:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "509:32:104" - }, - "returnParameters": { - "id": 18283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18282, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18290, - "src": "566:12:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18281, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "566:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "565:14:104" - }, - "scope": 18508, - "src": "494:120:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18305, - "nodeType": "Block", - "src": "700:37:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18302, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18294, - "src": "726:6:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18299, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18292, - "src": "711:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18300, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "711:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18301, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "at", - "nodeType": "MemberAccess", - "referencedDeclaration": 18547, - "src": "711:14:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "711:22:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 18298, - "id": 18304, - "nodeType": "Return", - "src": "704:29:104" - } - ] - }, - "documentation": null, - "id": 18306, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "keyAt", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18292, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "632:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18291, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "632:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18294, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "650:14:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "650:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "631:34:104" - }, - "returnParameters": { - "id": 18298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18297, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18306, - "src": "690:6:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "690:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "689:9:104" - }, - "scope": 18508, - "src": "617:120:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18337, - "nodeType": "Block", - "src": "844:95:104", - "statements": [ - { - "assignments": [ - 18320 - ], - "declarations": [ - { - "constant": false, - "id": 18320, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18337, - "src": "848:11:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18319, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "848:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18325, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18322, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "868:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18323, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18310, - "src": "874:6:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 18321, - "name": "keyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18306, - "src": "862:5:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_uint256_$returns$_t_bytes4_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "862:19:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "848:33:104" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 18326, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "893:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18328, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "905:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18329, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "911:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18327, - "name": "value1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18275, - "src": "898:6:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_bytes4_$returns$_t_address_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (address)" - } - }, - "id": 18330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "898:17:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18332, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18308, - "src": "924:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18333, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18320, - "src": "930:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18331, - "name": "value2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18290, - "src": "917:6:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,bytes4) view returns (bytes memory)" - } - }, - "id": 18334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "917:17:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 18335, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "892:43:104", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes4_$_t_address_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes4,address,bytes memory)" - } - }, - "functionReturnParameters": 18318, - "id": 18336, - "nodeType": "Return", - "src": "885:50:104" - } - ] - }, - "documentation": null, - "id": 18338, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18308, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "752:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18307, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "752:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18310, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "770:14:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "770:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "751:34:104" - }, - "returnParameters": { - "id": 18318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18313, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "810:6:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18312, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "810:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "819:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "819:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18317, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18338, - "src": "829:12:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "829:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "809:33:104" - }, - "scope": 18508, - "src": "740:199:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18353, - "nodeType": "Block", - "src": "1025:40:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18350, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18342, - "src": "1056:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18347, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18340, - "src": "1036:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18348, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1036:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18349, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 18562, - "src": "1036:19:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1036:25:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18346, - "id": 18352, - "nodeType": "Return", - "src": "1029:32:104" - } - ] - }, - "documentation": null, - "id": 18354, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "indexOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18343, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18340, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "959:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18339, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "959:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18342, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "977:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18341, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "977:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "958:32:104" - }, - "returnParameters": { - "id": 18346, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18345, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18354, - "src": "1015:7:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18344, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1015:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1014:9:104" - }, - "scope": 18508, - "src": "942:123:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18369, - "nodeType": "Block", - "src": "1149:41:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18366, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18358, - "src": "1181:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18363, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18356, - "src": "1160:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18364, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1160:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18365, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contains", - "nodeType": "MemberAccess", - "referencedDeclaration": 18579, - "src": "1160:20:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1160:26:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 18362, - "id": 18368, - "nodeType": "Return", - "src": "1153:33:104" - } - ] - }, - "documentation": null, - "id": 18370, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18356, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1086:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18355, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1086:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18358, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1104:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18357, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1104:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1085:32:104" - }, - "returnParameters": { - "id": 18362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18370, - "src": "1142:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18360, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1142:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1141:6:104" - }, - "scope": 18508, - "src": "1068:122:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18383, - "nodeType": "Block", - "src": "1267:36:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18378, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18372, - "src": "1278:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18379, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1278:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "content", - "nodeType": "MemberAccess", - "referencedDeclaration": 18591, - "src": "1278:19:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (bytes4[] memory)" - } - }, - "id": 18381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1278:21:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "functionReturnParameters": 18377, - "id": 18382, - "nodeType": "Return", - "src": "1271:28:104" - } - ] - }, - "documentation": null, - "id": 18384, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "keys", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18372, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18384, - "src": "1207:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18371, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1207:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1206:18:104" - }, - "returnParameters": { - "id": 18377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18376, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18384, - "src": "1249:15:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18374, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1249:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18375, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1249:8:104", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1248:17:104" - }, - "scope": 18508, - "src": "1193:110:104", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18423, - "nodeType": "Block", - "src": "1426:108:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18402, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1446:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18397, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1430:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1430:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 18629, - "src": "1430:15:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) returns (bool)" - } - }, - "id": 18403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1430:21:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18404, - "nodeType": "ExpressionStatement", - "src": "1430:21:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18405, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1455:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18408, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1455:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18409, - "indexExpression": { - "argumentTypes": null, - "id": 18407, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1468:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1455:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18410, - "name": "_value1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18390, - "src": "1476:7:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1455:28:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18412, - "nodeType": "ExpressionStatement", - "src": "1455:28:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18413, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18386, - "src": "1487:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1487:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18417, - "indexExpression": { - "argumentTypes": null, - "id": 18415, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18388, - "src": "1500:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1487:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18418, - "name": "_value2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18392, - "src": "1508:7:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1487:28:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 18420, - "nodeType": "ExpressionStatement", - "src": "1487:28:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1526:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18396, - "id": 18422, - "nodeType": "Return", - "src": "1519:11:104" - } - ] - }, - "documentation": null, - "id": 18424, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "set", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18386, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1322:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18385, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1322:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18388, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1342:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18387, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1342:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18390, - "mutability": "mutable", - "name": "_value1", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1358:16:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18389, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1358:7:104", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18392, - "mutability": "mutable", - "name": "_value2", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1378:20:104", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 18391, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1378:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1318:81:104" - }, - "returnParameters": { - "id": 18396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18395, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18424, - "src": "1419:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18394, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1419:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1418:6:104" - }, - "scope": 18508, - "src": "1306:228:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18455, - "nodeType": "Block", - "src": "1608:105:104", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18438, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1631:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18433, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1612:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18436, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1612:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18437, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "remove", - "nodeType": "MemberAccess", - "referencedDeclaration": 18708, - "src": "1612:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) returns (bool)" - } - }, - "id": 18439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1612:24:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18440, - "nodeType": "ExpressionStatement", - "src": "1612:24:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1640:25:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18441, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1647:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18442, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1647:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18444, - "indexExpression": { - "argumentTypes": null, - "id": 18443, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1660:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1647:18:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18446, - "nodeType": "ExpressionStatement", - "src": "1640:25:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1669:25:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18447, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "1676:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18448, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1676:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18450, - "indexExpression": { - "argumentTypes": null, - "id": 18449, - "name": "_key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18428, - "src": "1689:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1676:18:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18452, - "nodeType": "ExpressionStatement", - "src": "1669:25:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1705:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18432, - "id": 18454, - "nodeType": "Return", - "src": "1698:11:104" - } - ] - }, - "documentation": null, - "id": 18456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "del", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18426, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1550:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18425, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1550:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18428, - "mutability": "mutable", - "name": "_key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1568:12:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18427, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1568:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1549:32:104" - }, - "returnParameters": { - "id": 18432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18431, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18456, - "src": "1601:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18430, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1601:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1600:6:104" - }, - "scope": 18508, - "src": "1537:176:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18506, - "nodeType": "Block", - "src": "1775:194:104", - "statements": [ - { - "body": { - "id": 18495, - "nodeType": "Block", - "src": "1832:96:104", - "statements": [ - { - "assignments": [ - 18477 - ], - "declarations": [ - { - "constant": false, - "id": 18477, - "mutability": "mutable", - "name": "key", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18495, - "src": "1837:11:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18476, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1837:6:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18482, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18479, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1857:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18480, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1863:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 18478, - "name": "keyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18306, - "src": "1851:5:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_map_$18247_storage_ptr_$_t_uint256_$returns$_t_bytes4_$", - "typeString": "function (struct LibMap2_bytes4_address_bytes.map storage pointer,uint256) view returns (bytes4)" - } - }, - "id": 18481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1851:14:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1837:28:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1870:24:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18483, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1877:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18484, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values1", - "nodeType": "MemberAccess", - "referencedDeclaration": 18242, - "src": "1877:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_address_$", - "typeString": "mapping(bytes4 => address)" - } - }, - "id": 18486, - "indexExpression": { - "argumentTypes": null, - "id": 18485, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18477, - "src": "1890:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1877:17:104", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18488, - "nodeType": "ExpressionStatement", - "src": "1870:24:104" - }, - { - "expression": { - "argumentTypes": null, - "id": 18493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1899:24:104", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18489, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1906:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18490, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values2", - "nodeType": "MemberAccess", - "referencedDeclaration": 18246, - "src": "1906:12:104", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bytes_storage_$", - "typeString": "mapping(bytes4 => bytes storage ref)" - } - }, - "id": 18492, - "indexExpression": { - "argumentTypes": null, - "id": 18491, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18477, - "src": "1919:3:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1906:17:104", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18494, - "nodeType": "ExpressionStatement", - "src": "1899:24:104" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18470, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1818:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1822:1:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1818:5:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18496, - "initializationExpression": { - "assignments": [ - 18464 - ], - "declarations": [ - { - "constant": false, - "id": 18464, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18496, - "src": "1784:9:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1784:7:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18469, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18465, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1796:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1796:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18467, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": 18530, - "src": "1796:18:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1796:20:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1784:32:104" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 18474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1825:3:104", - "subExpression": { - "argumentTypes": null, - "id": 18473, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18464, - "src": "1827:1:104", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18475, - "nodeType": "ExpressionStatement", - "src": "1825:3:104" - }, - "nodeType": "ForStatement", - "src": "1779:149:104" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18497, - "name": "_map", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18458, - "src": "1931:4:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map storage pointer" - } - }, - "id": 18500, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "keyset", - "nodeType": "MemberAccess", - "referencedDeclaration": 18238, - "src": "1931:11:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage", - "typeString": "struct LibSet_bytes4.set storage ref" - } - }, - "id": 18501, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "clear", - "nodeType": "MemberAccess", - "referencedDeclaration": 18753, - "src": "1931:17:104", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_set_$18518_storage_ptr_$returns$_t_bool_$bound_to$_t_struct$_set_$18518_storage_ptr_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) returns (bool)" - } - }, - "id": 18502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1931:19:104", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18503, - "nodeType": "ExpressionStatement", - "src": "1931:19:104" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1961:4:104", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18462, - "id": 18505, - "nodeType": "Return", - "src": "1954:11:104" - } - ] - }, - "documentation": null, - "id": 18507, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "clear", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18458, - "mutability": "mutable", - "name": "_map", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18507, - "src": "1731:16:104", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - }, - "typeName": { - "contractScope": null, - "id": 18457, - "name": "map", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18247, - "src": "1731:3:104", - "typeDescriptions": { - "typeIdentifier": "t_struct$_map_$18247_storage_ptr", - "typeString": "struct LibMap2_bytes4_address_bytes.map" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1730:18:104" - }, - "returnParameters": { - "id": 18462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18461, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18507, - "src": "1768:4:104", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18460, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1768:4:104", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1767:6:104" - }, - "scope": 18508, - "src": "1716:253:104", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 18509, - "src": "63:1908:104" - } - ], - "src": "0:1972:104" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.921Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/LibSet_bytes4.json b/build/contracts/LibSet_bytes4.json deleted file mode 100644 index b00e4fb83..000000000 --- a/build/contracts/LibSet_bytes4.json +++ /dev/null @@ -1,6245 +0,0 @@ -{ - "contractName": "LibSet_bytes4", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solstruct/contracts/libs/LibSet.bytes4.sol\":\"LibSet_bytes4\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207ba2e6e0be7939762b2edfe55ea815b4a3d945dbeb8c2bc7450f2b81c1cbccd264736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207ba2e6e0be7939762b2edfe55ea815b4a3d945dbeb8c2bc7450f2b81c1cbccd264736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "32:1538:105:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "32:1538:105:-:0;;;;;;;;", - "source": "pragma solidity >0.5.0 <0.7.0;\n\nlibrary LibSet_bytes4\n{\n\tstruct set\n\t{\n\t\tbytes4[] values;\n\t\tmapping(bytes4 => uint256) indexes;\n\t}\n\n\tfunction length(set storage _set)\n\tinternal view returns (uint256)\n\t{\n\t\treturn _set.values.length;\n\t}\n\n\tfunction at(set storage _set, uint256 _index)\n\tinternal view returns (bytes4 )\n\t{\n\t\treturn _set.values[_index - 1];\n\t}\n\n\tfunction indexOf(set storage _set, bytes4 _value)\n\tinternal view returns (uint256)\n\t{\n\t\treturn _set.indexes[_value];\n\t}\n\n\tfunction contains(set storage _set, bytes4 _value)\n\tinternal view returns (bool)\n\t{\n\t\treturn indexOf(_set, _value) != 0;\n\t}\n\n\tfunction content(set storage _set)\n\tinternal view returns (bytes4[] memory)\n\t{\n\t\treturn _set.values;\n\t}\n\n\tfunction add(set storage _set, bytes4 _value)\n\tinternal returns (bool)\n\t{\n\t\tif (contains(_set, _value))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t_set.values.push(_value);\n\t\t_set.indexes[_value] = _set.values.length;\n\t\treturn true;\n\t}\n\n\tfunction remove(set storage _set, bytes4 _value)\n\tinternal returns (bool)\n\t{\n\t\tif (!contains(_set, _value))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tuint256 i = indexOf(_set, _value);\n\t\tuint256 last = length(_set);\n\n\t\tif (i != last)\n\t\t{\n\t\t\tbytes4 swapValue = _set.values[last - 1];\n\t\t\t_set.values[i - 1] = swapValue;\n\t\t\t_set.indexes[swapValue] = i;\n\t\t}\n\n\t\tdelete _set.indexes[_value];\n\t\t_set.values.pop();\n\n\t\treturn true;\n\t}\n\n\tfunction clear(set storage _set)\n\tinternal returns (bool)\n\t{\n\t\tfor (uint256 i = _set.values.length; i > 0; --i)\n\t\t{\n\t\t\tdelete _set.indexes[_set.values[i-1]];\n\t\t}\n\t\t_set.values = new bytes4[](0);\n\t\treturn true;\n\t}\n}\n", - "sourcePath": "solstruct/contracts/libs/LibSet.bytes4.sol", - "ast": { - "absolutePath": "solstruct/contracts/libs/LibSet.bytes4.sol", - "exportedSymbols": { - "LibSet_bytes4": [ - 18754 - ] - }, - "id": 18755, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18510, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:105" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 18754, - "linearizedBaseContracts": [ - 18754 - ], - "name": "LibSet_bytes4", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "LibSet_bytes4.set", - "id": 18518, - "members": [ - { - "constant": false, - "id": 18513, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18518, - "src": "73:15:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18511, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "73:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18512, - "length": null, - "nodeType": "ArrayTypeName", - "src": "73:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18517, - "mutability": "mutable", - "name": "indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18518, - "src": "92:34:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - }, - "typeName": { - "id": 18516, - "keyType": { - "id": 18514, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "100:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "92:26:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - }, - "valueType": { - "id": 18515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "110:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "set", - "nodeType": "StructDefinition", - "scope": 18754, - "src": "57:73:105", - "visibility": "public" - }, - { - "body": { - "id": 18529, - "nodeType": "Block", - "src": "201:33:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18525, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18520, - "src": "212:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18526, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "212:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "212:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18524, - "id": 18528, - "nodeType": "Return", - "src": "205:25:105" - } - ] - }, - "documentation": null, - "id": 18530, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18520, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18530, - "src": "149:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18519, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "149:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "148:18:105" - }, - "returnParameters": { - "id": 18524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18523, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18530, - "src": "191:7:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18522, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "191:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "190:9:105" - }, - "scope": 18754, - "src": "133:101:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18546, - "nodeType": "Block", - "src": "317:38:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18539, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18532, - "src": "328:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18540, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "328:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18544, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18541, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18534, - "src": "340:6:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "349:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "340:10:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "328:23:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 18538, - "id": 18545, - "nodeType": "Return", - "src": "321:30:105" - } - ] - }, - "documentation": null, - "id": 18547, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18532, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "249:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18531, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "249:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18534, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "267:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18533, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "267:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "248:34:105" - }, - "returnParameters": { - "id": 18538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18537, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "307:6:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18536, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "307:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "306:9:105" - }, - "scope": 18754, - "src": "237:118:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18561, - "nodeType": "Block", - "src": "443:35:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18556, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18549, - "src": "454:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18557, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "454:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18559, - "indexExpression": { - "argumentTypes": null, - "id": 18558, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18551, - "src": "467:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "454:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18555, - "id": 18560, - "nodeType": "Return", - "src": "447:27:105" - } - ] - }, - "documentation": null, - "id": 18562, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "indexOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18549, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "375:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18548, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "375:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18551, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "393:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18550, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "393:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "374:34:105" - }, - "returnParameters": { - "id": 18555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18554, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "433:7:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "433:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "432:9:105" - }, - "scope": 18754, - "src": "358:120:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18578, - "nodeType": "Block", - "src": "564:41:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18572, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18564, - "src": "583:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18573, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18566, - "src": "589:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18571, - "name": "indexOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "575:7:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "575:21:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "575:26:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 18570, - "id": 18577, - "nodeType": "Return", - "src": "568:33:105" - } - ] - }, - "documentation": null, - "id": 18579, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18567, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18564, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "499:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18563, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "499:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18566, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "517:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18565, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "517:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "498:34:105" - }, - "returnParameters": { - "id": 18570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18569, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "557:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18568, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "557:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "556:6:105" - }, - "scope": 18754, - "src": "481:124:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18590, - "nodeType": "Block", - "src": "685:26:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18587, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18581, - "src": "696:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18588, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "696:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "functionReturnParameters": 18586, - "id": 18589, - "nodeType": "Return", - "src": "689:18:105" - } - ] - }, - "documentation": null, - "id": 18591, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "content", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18581, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18591, - "src": "625:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18580, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "625:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "624:18:105" - }, - "returnParameters": { - "id": 18586, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18585, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18591, - "src": "667:15:105", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18583, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "667:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18584, - "length": null, - "nodeType": "ArrayTypeName", - "src": "667:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:17:105" - }, - "scope": 18754, - "src": "608:103:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18628, - "nodeType": "Block", - "src": "787:147:105", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18601, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "804:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18602, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "810:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18600, - "name": "contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18579, - "src": "795:8:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "795:22:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18607, - "nodeType": "IfStatement", - "src": "791:52:105", - "trueBody": { - "id": 18606, - "nodeType": "Block", - "src": "821:22:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 18604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "833:5:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 18599, - "id": 18605, - "nodeType": "Return", - "src": "826:12:105" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18613, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "863:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18608, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "846:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "846:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "846:16:105", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 18614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "846:24:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18615, - "nodeType": "ExpressionStatement", - "src": "846:24:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18616, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "874:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "874:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18620, - "indexExpression": { - "argumentTypes": null, - "id": 18618, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "887:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "874:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18621, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "897:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "897:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "897:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "874:41:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18625, - "nodeType": "ExpressionStatement", - "src": "874:41:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "926:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18599, - "id": 18627, - "nodeType": "Return", - "src": "919:11:105" - } - ] - }, - "documentation": null, - "id": 18629, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18596, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18593, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "727:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18592, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "727:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18595, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "745:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18594, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "745:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "726:34:105" - }, - "returnParameters": { - "id": 18599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18598, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "780:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18597, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "780:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "779:6:105" - }, - "scope": 18754, - "src": "714:220:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18707, - "nodeType": "Block", - "src": "1013:340:105", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 18642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "1021:23:105", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18639, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1031:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18640, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1037:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18638, - "name": "contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18579, - "src": "1022:8:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1022:22:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18646, - "nodeType": "IfStatement", - "src": "1017:53:105", - "trueBody": { - "id": 18645, - "nodeType": "Block", - "src": "1048:22:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 18643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1060:5:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 18637, - "id": 18644, - "nodeType": "Return", - "src": "1053:12:105" - } - ] - } - }, - { - "assignments": [ - 18648 - ], - "declarations": [ - { - "constant": false, - "id": 18648, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18707, - "src": "1074:9:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18647, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1074:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18653, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18650, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1097:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18651, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1103:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18649, - "name": "indexOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "1089:7:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1089:21:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1074:36:105" - }, - { - "assignments": [ - 18655 - ], - "declarations": [ - { - "constant": false, - "id": 18655, - "mutability": "mutable", - "name": "last", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18707, - "src": "1114:12:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18654, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1114:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18659, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18657, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1136:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - ], - "id": 18656, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18530, - "src": "1129:6:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1129:12:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1114:27:105" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18660, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1150:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 18661, - "name": "last", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18655, - "src": "1155:4:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1150:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18691, - "nodeType": "IfStatement", - "src": "1146:135:105", - "trueBody": { - "id": 18690, - "nodeType": "Block", - "src": "1163:118:105", - "statements": [ - { - "assignments": [ - 18664 - ], - "declarations": [ - { - "constant": false, - "id": 18664, - "mutability": "mutable", - "name": "swapValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18690, - "src": "1168:17:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18663, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1168:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18671, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18665, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1188:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1188:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18670, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18667, - "name": "last", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18655, - "src": "1200:4:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1207:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1200:8:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1188:21:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1168:41:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18672, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1214:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18677, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1214:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18678, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18674, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1226:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1230:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1226:5:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1214:18:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18679, - "name": "swapValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18664, - "src": "1235:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1214:30:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18681, - "nodeType": "ExpressionStatement", - "src": "1214:30:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18682, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1249:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1249:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18686, - "indexExpression": { - "argumentTypes": null, - "id": 18684, - "name": "swapValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18664, - "src": "1262:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1249:23:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18687, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1275:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1249:27:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18689, - "nodeType": "ExpressionStatement", - "src": "1249:27:105" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 18696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1285:27:105", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18692, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1292:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1292:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18695, - "indexExpression": { - "argumentTypes": null, - "id": 18694, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1305:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1292:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18697, - "nodeType": "ExpressionStatement", - "src": "1285:27:105" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18698, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1316:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18701, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1316:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1316:15:105", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 18703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1316:17:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18704, - "nodeType": "ExpressionStatement", - "src": "1316:17:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1345:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18637, - "id": 18706, - "nodeType": "Return", - "src": "1338:11:105" - } - ] - }, - "documentation": null, - "id": 18708, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18631, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "953:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18630, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "953:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18633, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "971:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18632, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "971:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "952:34:105" - }, - "returnParameters": { - "id": 18637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18636, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "1006:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18635, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1006:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1005:6:105" - }, - "scope": 18754, - "src": "937:416:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18752, - "nodeType": "Block", - "src": "1415:153:105", - "statements": [ - { - "body": { - "id": 18738, - "nodeType": "Block", - "src": "1470:47:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 18736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1475:37:105", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18727, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1482:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1482:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18735, - "indexExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18729, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1495:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1495:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18734, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18731, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1507:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1509:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1507:3:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1495:16:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1482:30:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18737, - "nodeType": "ExpressionStatement", - "src": "1475:37:105" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18721, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1456:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1460:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1456:5:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18739, - "initializationExpression": { - "assignments": [ - 18716 - ], - "declarations": [ - { - "constant": false, - "id": 18716, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18739, - "src": "1424:9:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18715, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1424:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18720, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18717, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1436:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18718, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1436:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1436:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1424:30:105" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 18725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1463:3:105", - "subExpression": { - "argumentTypes": null, - "id": 18724, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1465:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18726, - "nodeType": "ExpressionStatement", - "src": "1463:3:105" - }, - "nodeType": "ForStatement", - "src": "1419:98:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18740, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1520:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18742, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1520:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 18746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1547:1:105", - "subdenomination": null, - "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": 18745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1534:12:105", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes4[] memory)" - }, - "typeName": { - "baseType": { - "id": 18743, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1538:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18744, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1538:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - } - }, - "id": 18747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1534:15:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "src": "1520:29:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18749, - "nodeType": "ExpressionStatement", - "src": "1520:29:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1560:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18714, - "id": 18751, - "nodeType": "Return", - "src": "1553:11:105" - } - ] - }, - "documentation": null, - "id": 18753, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "clear", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18711, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18710, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18753, - "src": "1371:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18709, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "1371:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1370:18:105" - }, - "returnParameters": { - "id": 18714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18713, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18753, - "src": "1408:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18712, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1408:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1407:6:105" - }, - "scope": 18754, - "src": "1356:212:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 18755, - "src": "32:1538:105" - } - ], - "src": "0:1571:105" - }, - "legacyAST": { - "absolutePath": "solstruct/contracts/libs/LibSet.bytes4.sol", - "exportedSymbols": { - "LibSet_bytes4": [ - 18754 - ] - }, - "id": 18755, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 18510, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:105" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": null, - "fullyImplemented": true, - "id": 18754, - "linearizedBaseContracts": [ - 18754 - ], - "name": "LibSet_bytes4", - "nodeType": "ContractDefinition", - "nodes": [ - { - "canonicalName": "LibSet_bytes4.set", - "id": 18518, - "members": [ - { - "constant": false, - "id": 18513, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18518, - "src": "73:15:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18511, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "73:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18512, - "length": null, - "nodeType": "ArrayTypeName", - "src": "73:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18517, - "mutability": "mutable", - "name": "indexes", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18518, - "src": "92:34:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - }, - "typeName": { - "id": 18516, - "keyType": { - "id": 18514, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "100:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "92:26:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - }, - "valueType": { - "id": 18515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "110:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "set", - "nodeType": "StructDefinition", - "scope": 18754, - "src": "57:73:105", - "visibility": "public" - }, - { - "body": { - "id": 18529, - "nodeType": "Block", - "src": "201:33:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18525, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18520, - "src": "212:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18526, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "212:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "212:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18524, - "id": 18528, - "nodeType": "Return", - "src": "205:25:105" - } - ] - }, - "documentation": null, - "id": 18530, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "length", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18520, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18530, - "src": "149:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18519, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "149:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "148:18:105" - }, - "returnParameters": { - "id": 18524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18523, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18530, - "src": "191:7:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18522, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "191:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "190:9:105" - }, - "scope": 18754, - "src": "133:101:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18546, - "nodeType": "Block", - "src": "317:38:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18539, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18532, - "src": "328:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18540, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "328:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18544, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18541, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18534, - "src": "340:6:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "349:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "340:10:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "328:23:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 18538, - "id": 18545, - "nodeType": "Return", - "src": "321:30:105" - } - ] - }, - "documentation": null, - "id": 18547, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "at", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18532, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "249:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18531, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "249:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18534, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "267:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18533, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "267:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "248:34:105" - }, - "returnParameters": { - "id": 18538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18537, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18547, - "src": "307:6:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18536, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "307:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "306:9:105" - }, - "scope": 18754, - "src": "237:118:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18561, - "nodeType": "Block", - "src": "443:35:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18556, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18549, - "src": "454:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18557, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "454:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18559, - "indexExpression": { - "argumentTypes": null, - "id": 18558, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18551, - "src": "467:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "454:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 18555, - "id": 18560, - "nodeType": "Return", - "src": "447:27:105" - } - ] - }, - "documentation": null, - "id": 18562, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "indexOf", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18549, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "375:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18548, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "375:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18551, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "393:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18550, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "393:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "374:34:105" - }, - "returnParameters": { - "id": 18555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18554, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18562, - "src": "433:7:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "433:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "432:9:105" - }, - "scope": 18754, - "src": "358:120:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18578, - "nodeType": "Block", - "src": "564:41:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18572, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18564, - "src": "583:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18573, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18566, - "src": "589:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18571, - "name": "indexOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "575:7:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "575:21:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "575:26:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 18570, - "id": 18577, - "nodeType": "Return", - "src": "568:33:105" - } - ] - }, - "documentation": null, - "id": 18579, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "contains", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18567, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18564, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "499:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18563, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "499:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18566, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "517:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18565, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "517:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "498:34:105" - }, - "returnParameters": { - "id": 18570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18569, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18579, - "src": "557:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18568, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "557:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "556:6:105" - }, - "scope": 18754, - "src": "481:124:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18590, - "nodeType": "Block", - "src": "685:26:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18587, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18581, - "src": "696:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18588, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "696:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "functionReturnParameters": 18586, - "id": 18589, - "nodeType": "Return", - "src": "689:18:105" - } - ] - }, - "documentation": null, - "id": 18591, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "content", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18581, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18591, - "src": "625:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18580, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "625:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "624:18:105" - }, - "returnParameters": { - "id": 18586, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18585, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18591, - "src": "667:15:105", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 18583, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "667:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18584, - "length": null, - "nodeType": "ArrayTypeName", - "src": "667:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "666:17:105" - }, - "scope": 18754, - "src": "608:103:105", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18628, - "nodeType": "Block", - "src": "787:147:105", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18601, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "804:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18602, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "810:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18600, - "name": "contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18579, - "src": "795:8:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "795:22:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18607, - "nodeType": "IfStatement", - "src": "791:52:105", - "trueBody": { - "id": 18606, - "nodeType": "Block", - "src": "821:22:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 18604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "833:5:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 18599, - "id": 18605, - "nodeType": "Return", - "src": "826:12:105" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18613, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "863:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18608, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "846:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18611, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "846:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "846:16:105", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 18614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "846:24:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18615, - "nodeType": "ExpressionStatement", - "src": "846:24:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18616, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "874:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18619, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "874:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18620, - "indexExpression": { - "argumentTypes": null, - "id": 18618, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18595, - "src": "887:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "874:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18621, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18593, - "src": "897:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18622, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "897:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "897:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "874:41:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18625, - "nodeType": "ExpressionStatement", - "src": "874:41:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18626, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "926:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18599, - "id": 18627, - "nodeType": "Return", - "src": "919:11:105" - } - ] - }, - "documentation": null, - "id": 18629, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18596, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18593, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "727:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18592, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "727:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18595, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "745:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18594, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "745:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "726:34:105" - }, - "returnParameters": { - "id": 18599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18598, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18629, - "src": "780:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18597, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "780:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "779:6:105" - }, - "scope": 18754, - "src": "714:220:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18707, - "nodeType": "Block", - "src": "1013:340:105", - "statements": [ - { - "condition": { - "argumentTypes": null, - "id": 18642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "1021:23:105", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18639, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1031:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18640, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1037:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18638, - "name": "contains", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18579, - "src": "1022:8:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (bool)" - } - }, - "id": 18641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1022:22:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18646, - "nodeType": "IfStatement", - "src": "1017:53:105", - "trueBody": { - "id": 18645, - "nodeType": "Block", - "src": "1048:22:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 18643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1060:5:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 18637, - "id": 18644, - "nodeType": "Return", - "src": "1053:12:105" - } - ] - } - }, - { - "assignments": [ - 18648 - ], - "declarations": [ - { - "constant": false, - "id": 18648, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18707, - "src": "1074:9:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18647, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1074:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18653, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18650, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1097:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - { - "argumentTypes": null, - "id": 18651, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1103:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 18649, - "name": "indexOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "1089:7:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$_t_bytes4_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer,bytes4) view returns (uint256)" - } - }, - "id": 18652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1089:21:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1074:36:105" - }, - { - "assignments": [ - 18655 - ], - "declarations": [ - { - "constant": false, - "id": 18655, - "mutability": "mutable", - "name": "last", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18707, - "src": "1114:12:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18654, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1114:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18659, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 18657, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1136:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - ], - "id": 18656, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18530, - "src": "1129:6:105", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_set_$18518_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct LibSet_bytes4.set storage pointer) view returns (uint256)" - } - }, - "id": 18658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1129:12:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1114:27:105" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18660, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1150:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 18661, - "name": "last", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18655, - "src": "1155:4:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1150:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 18691, - "nodeType": "IfStatement", - "src": "1146:135:105", - "trueBody": { - "id": 18690, - "nodeType": "Block", - "src": "1163:118:105", - "statements": [ - { - "assignments": [ - 18664 - ], - "declarations": [ - { - "constant": false, - "id": 18664, - "mutability": "mutable", - "name": "swapValue", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18690, - "src": "1168:17:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18663, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1168:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18671, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18665, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1188:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1188:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18670, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18667, - "name": "last", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18655, - "src": "1200:4:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1207:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1200:8:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1188:21:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1168:41:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18672, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1214:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18677, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1214:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18678, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18674, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1226:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1230:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1226:5:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1214:18:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18679, - "name": "swapValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18664, - "src": "1235:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1214:30:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18681, - "nodeType": "ExpressionStatement", - "src": "1214:30:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18682, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1249:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18685, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1249:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18686, - "indexExpression": { - "argumentTypes": null, - "id": 18684, - "name": "swapValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18664, - "src": "1262:9:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1249:23:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 18687, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18648, - "src": "1275:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1249:27:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18689, - "nodeType": "ExpressionStatement", - "src": "1249:27:105" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 18696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1285:27:105", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18692, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1292:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1292:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18695, - "indexExpression": { - "argumentTypes": null, - "id": 18694, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "1305:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1292:20:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18697, - "nodeType": "ExpressionStatement", - "src": "1285:27:105" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18698, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "1316:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18701, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1316:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "pop", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1316:15:105", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 18703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1316:17:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18704, - "nodeType": "ExpressionStatement", - "src": "1316:17:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1345:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18637, - "id": 18706, - "nodeType": "Return", - "src": "1338:11:105" - } - ] - }, - "documentation": null, - "id": 18708, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "remove", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18631, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "953:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18630, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "953:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 18633, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "971:14:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 18632, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "971:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "952:34:105" - }, - "returnParameters": { - "id": 18637, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18636, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18708, - "src": "1006:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18635, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1006:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1005:6:105" - }, - "scope": 18754, - "src": "937:416:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 18752, - "nodeType": "Block", - "src": "1415:153:105", - "statements": [ - { - "body": { - "id": 18738, - "nodeType": "Block", - "src": "1470:47:105", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 18736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1475:37:105", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18727, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1482:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18728, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "indexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 18517, - "src": "1482:12:105", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 18735, - "indexExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18729, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1495:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1495:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18734, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18731, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1507:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 18732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1509:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1507:3:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1495:16:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1482:30:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18737, - "nodeType": "ExpressionStatement", - "src": "1475:37:105" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 18723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 18721, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1456:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 18722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1460:1:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1456:5:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 18739, - "initializationExpression": { - "assignments": [ - 18716 - ], - "declarations": [ - { - "constant": false, - "id": 18716, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18739, - "src": "1424:9:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18715, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1424:7:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 18720, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18717, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1436:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18718, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1436:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1436:18:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1424:30:105" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 18725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1463:3:105", - "subExpression": { - "argumentTypes": null, - "id": 18724, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18716, - "src": "1465:1:105", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 18726, - "nodeType": "ExpressionStatement", - "src": "1463:3:105" - }, - "nodeType": "ForStatement", - "src": "1419:98:105" - }, - { - "expression": { - "argumentTypes": null, - "id": 18748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 18740, - "name": "_set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18710, - "src": "1520:4:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set storage pointer" - } - }, - "id": 18742, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "values", - "nodeType": "MemberAccess", - "referencedDeclaration": 18513, - "src": "1520:11:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 18746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1547:1:105", - "subdenomination": null, - "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": 18745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1534:12:105", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes4[] memory)" - }, - "typeName": { - "baseType": { - "id": 18743, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1538:6:105", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 18744, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1538:8:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - } - }, - "id": 18747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1534:15:105", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "src": "1520:29:105", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 18749, - "nodeType": "ExpressionStatement", - "src": "1520:29:105" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 18750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1560:4:105", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 18714, - "id": 18751, - "nodeType": "Return", - "src": "1553:11:105" - } - ] - }, - "documentation": null, - "id": 18753, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "clear", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 18711, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18710, - "mutability": "mutable", - "name": "_set", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18753, - "src": "1371:16:105", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - }, - "typeName": { - "contractScope": null, - "id": 18709, - "name": "set", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 18518, - "src": "1371:3:105", - "typeDescriptions": { - "typeIdentifier": "t_struct$_set_$18518_storage_ptr", - "typeString": "struct LibSet_bytes4.set" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1370:18:105" - }, - "returnParameters": { - "id": 18714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18713, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 18753, - "src": "1408:4:105", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18712, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1408:4:105", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1407:6:105" - }, - "scope": 18754, - "src": "1356:212:105", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 18755, - "src": "32:1538:105" - } - ], - "src": "0:1571:105" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.922Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json deleted file mode 100644 index 5a537b729..000000000 --- a/build/contracts/Migrations.json +++ /dev/null @@ -1,1171 +0,0 @@ -{ - "contractName": "Migrations", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "lastCompletedMigration", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "completed", - "type": "uint256" - } - ], - "name": "setCompleted", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newAddress", - "type": "address" - } - ], - "name": "upgrade", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"lastCompletedMigration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/Migrations.sol\":{\"keccak256\":\"0x4fb938f38c3c6aadf96ddbf0c424b6a5b2a5da9e4a53889450e955ddbb6ed7fa\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://828b0e09e8cbd9ef4c5058ac50765bd4f69f7804c29c1939a7a425b5a8104ada\",\"dweb:/ipfs/QmaPPDaioVnY8h2XicSLzA9ArHJ3y9AsTrEn1vTKXxPqm2\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6104658061007d6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630900f01014610067578063715018a61461008f5780638da5cb5b14610097578063f2fde38b146100bb578063fbdbad3c146100e1578063fdacd576146100fb575b600080fd5b61008d6004803603602081101561007d57600080fd5b50356001600160a01b0316610118565b005b61008d6101d9565b61009f61027b565b604080516001600160a01b039092168252519081900360200190f35b61008d600480360360208110156100d157600080fd5b50356001600160a01b031661028a565b6100e9610382565b60408051918252519081900360200190f35b61008d6004803603602081101561011157600080fd5b5035610388565b6101206103e5565b6000546001600160a01b03908116911614610170576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b6000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101bd57600080fd5b505af11580156101d1573d6000803e3d6000fd5b505050505050565b6101e16103e5565b6000546001600160a01b03908116911614610231576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6102926103e5565b6000546001600160a01b039081169116146102e2576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b6001600160a01b0381166103275760405162461bcd60e51b81526004018080602001828103825260268152602001806103ea6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60015481565b6103906103e5565b6000546001600160a01b039081169116146103e0576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b600155565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220c6e5020c0ca779e32de30b5f8ab87f8877bca2169592490a0781761f8c38f06064736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100625760003560e01c80630900f01014610067578063715018a61461008f5780638da5cb5b14610097578063f2fde38b146100bb578063fbdbad3c146100e1578063fdacd576146100fb575b600080fd5b61008d6004803603602081101561007d57600080fd5b50356001600160a01b0316610118565b005b61008d6101d9565b61009f61027b565b604080516001600160a01b039092168252519081900360200190f35b61008d600480360360208110156100d157600080fd5b50356001600160a01b031661028a565b6100e9610382565b60408051918252519081900360200190f35b61008d6004803603602081101561011157600080fd5b5035610388565b6101206103e5565b6000546001600160a01b03908116911614610170576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b6000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101bd57600080fd5b505af11580156101d1573d6000803e3d6000fd5b505050505050565b6101e16103e5565b6000546001600160a01b03908116911614610231576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6102926103e5565b6000546001600160a01b039081169116146102e2576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b6001600160a01b0381166103275760405162461bcd60e51b81526004018080602001828103825260268152602001806103ea6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60015481565b6103906103e5565b6000546001600160a01b039081169116146103e0576040805162461bcd60e51b81526020600482018190526024820152600080516020610410833981519152604482015290519081900360640190fd5b600155565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220c6e5020c0ca779e32de30b5f8ab87f8877bca2169592490a0781761f8c38f06064736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1322:364:58:-:0;;;1397:27;;;;;;;;;-1:-1:-1;865:17:82;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;940:43;;907:6;;940:43;831:159;1322:364:58;;590:104:80;677:10;590:104;:::o;1322:364:58:-;;;;;;;", - "deployedSourceMap": "1322:364:58:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1528:156;;;;;;;;;;;;;;;;-1:-1:-1;1528:156:58;-1:-1:-1;;;;;1528:156:58;;:::i;:::-;;1689:145:82;;;:::i;1066:77::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1066:77:82;;;;;;;;;;;;;;1983:240;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;1356:37:58:-;;;:::i;:::-;;;;;;;;;;;;;;;;1427:98;;;;;;;;;;;;;;;;-1:-1:-1;1427:98:58;;:::i;1528:156::-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1587:19:58::1;1620:10;1587:44;;1635:8;-1:-1:-1::0;;;;;1635:21:58::1;;1657:22;;1635:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1339:1:82;1528:156:58::0;:::o;1689:145:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:82;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;1356:37:58:-;;;;:::o;1427:98::-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1487:22:58::1;:34:::0;1427:98::o;590:104:80:-;677:10;590:104;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\n\ncontract Migrations is Ownable\n{\n\tuint256 public lastCompletedMigration;\n\n\tconstructor()\n\tpublic\n\t{\n\t}\n\n\tfunction setCompleted(uint completed) public onlyOwner\n\t{\n\t\tlastCompletedMigration = completed;\n\t}\n\n\tfunction upgrade(address newAddress) public onlyOwner\n\t{\n\t\tMigrations upgraded = Migrations(newAddress);\n\t\tupgraded.setCompleted(lastCompletedMigration);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/Migrations.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/Migrations.sol", - "exportedSymbols": { - "Migrations": [ - 10725 - ] - }, - "id": 10726, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10683, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:58" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 10684, - "nodeType": "ImportDirective", - "scope": 10726, - "sourceUnit": 14072, - "src": "1267:52:58", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10685, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "1345:7:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 10686, - "nodeType": "InheritanceSpecifier", - "src": "1345:7:58" - } - ], - "contractDependencies": [ - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10725, - "linearizedBaseContracts": [ - 10725, - 14071, - 13679 - ], - "name": "Migrations", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "fbdbad3c", - "id": 10688, - "mutability": "mutable", - "name": "lastCompletedMigration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10725, - "src": "1356:37:58", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10687, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1356:7:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10691, - "nodeType": "Block", - "src": "1420:4:58", - "statements": [] - }, - "documentation": null, - "id": 10692, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10689, - "nodeType": "ParameterList", - "parameters": [], - "src": "1408:2:58" - }, - "returnParameters": { - "id": 10690, - "nodeType": "ParameterList", - "parameters": [], - "src": "1420:0:58" - }, - "scope": 10725, - "src": "1397:27:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10703, - "nodeType": "Block", - "src": "1483:42:58", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 10701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10699, - "name": "lastCompletedMigration", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10688, - "src": "1487:22:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10700, - "name": "completed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10694, - "src": "1512:9:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1487:34:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10702, - "nodeType": "ExpressionStatement", - "src": "1487:34:58" - } - ] - }, - "documentation": null, - "functionSelector": "fdacd576", - "id": 10704, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 10697, - "modifierName": { - "argumentTypes": null, - "id": 10696, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1472:9:58", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1472:9:58" - } - ], - "name": "setCompleted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10694, - "mutability": "mutable", - "name": "completed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10704, - "src": "1449:14:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10693, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1449:4:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1448:16:58" - }, - "returnParameters": { - "id": 10698, - "nodeType": "ParameterList", - "parameters": [], - "src": "1483:0:58" - }, - "scope": 10725, - "src": "1427:98:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10723, - "nodeType": "Block", - "src": "1583:101:58", - "statements": [ - { - "assignments": [ - 10712 - ], - "declarations": [ - { - "constant": false, - "id": 10712, - "mutability": "mutable", - "name": "upgraded", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10723, - "src": "1587:19:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - }, - "typeName": { - "contractScope": null, - "id": 10711, - "name": "Migrations", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10725, - "src": "1587:10:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10716, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10714, - "name": "newAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10706, - "src": "1620:10:58", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10713, - "name": "Migrations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10725, - "src": "1609:10:58", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$10725_$", - "typeString": "type(contract Migrations)" - } - }, - "id": 10715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1609:22:58", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1587:44:58" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10720, - "name": "lastCompletedMigration", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10688, - "src": "1657:22:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 10717, - "name": "upgraded", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10712, - "src": "1635:8:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "id": 10719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setCompleted", - "nodeType": "MemberAccess", - "referencedDeclaration": 10704, - "src": "1635:21:58", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 10721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1635:45:58", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10722, - "nodeType": "ExpressionStatement", - "src": "1635:45:58" - } - ] - }, - "documentation": null, - "functionSelector": "0900f010", - "id": 10724, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 10709, - "modifierName": { - "argumentTypes": null, - "id": 10708, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1572:9:58", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1572:9:58" - } - ], - "name": "upgrade", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10707, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10706, - "mutability": "mutable", - "name": "newAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10724, - "src": "1545:18:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10705, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1545:7:58", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1544:20:58" - }, - "returnParameters": { - "id": 10710, - "nodeType": "ParameterList", - "parameters": [], - "src": "1583:0:58" - }, - "scope": 10725, - "src": "1528:156:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10726, - "src": "1322:364:58" - } - ], - "src": "1242:445:58" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/Migrations.sol", - "exportedSymbols": { - "Migrations": [ - 10725 - ] - }, - "id": 10726, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10683, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:58" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 10684, - "nodeType": "ImportDirective", - "scope": 10726, - "sourceUnit": 14072, - "src": "1267:52:58", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10685, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "1345:7:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 10686, - "nodeType": "InheritanceSpecifier", - "src": "1345:7:58" - } - ], - "contractDependencies": [ - 13679, - 14071 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10725, - "linearizedBaseContracts": [ - 10725, - 14071, - 13679 - ], - "name": "Migrations", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "fbdbad3c", - "id": 10688, - "mutability": "mutable", - "name": "lastCompletedMigration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10725, - "src": "1356:37:58", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10687, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1356:7:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10691, - "nodeType": "Block", - "src": "1420:4:58", - "statements": [] - }, - "documentation": null, - "id": 10692, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10689, - "nodeType": "ParameterList", - "parameters": [], - "src": "1408:2:58" - }, - "returnParameters": { - "id": 10690, - "nodeType": "ParameterList", - "parameters": [], - "src": "1420:0:58" - }, - "scope": 10725, - "src": "1397:27:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10703, - "nodeType": "Block", - "src": "1483:42:58", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 10701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10699, - "name": "lastCompletedMigration", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10688, - "src": "1487:22:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10700, - "name": "completed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10694, - "src": "1512:9:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1487:34:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10702, - "nodeType": "ExpressionStatement", - "src": "1487:34:58" - } - ] - }, - "documentation": null, - "functionSelector": "fdacd576", - "id": 10704, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 10697, - "modifierName": { - "argumentTypes": null, - "id": 10696, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1472:9:58", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1472:9:58" - } - ], - "name": "setCompleted", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10694, - "mutability": "mutable", - "name": "completed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10704, - "src": "1449:14:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10693, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1449:4:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1448:16:58" - }, - "returnParameters": { - "id": 10698, - "nodeType": "ParameterList", - "parameters": [], - "src": "1483:0:58" - }, - "scope": 10725, - "src": "1427:98:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10723, - "nodeType": "Block", - "src": "1583:101:58", - "statements": [ - { - "assignments": [ - 10712 - ], - "declarations": [ - { - "constant": false, - "id": 10712, - "mutability": "mutable", - "name": "upgraded", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10723, - "src": "1587:19:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - }, - "typeName": { - "contractScope": null, - "id": 10711, - "name": "Migrations", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10725, - "src": "1587:10:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10716, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10714, - "name": "newAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10706, - "src": "1620:10:58", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10713, - "name": "Migrations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10725, - "src": "1609:10:58", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$10725_$", - "typeString": "type(contract Migrations)" - } - }, - "id": 10715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1609:22:58", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1587:44:58" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10720, - "name": "lastCompletedMigration", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10688, - "src": "1657:22:58", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 10717, - "name": "upgraded", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10712, - "src": "1635:8:58", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$10725", - "typeString": "contract Migrations" - } - }, - "id": 10719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setCompleted", - "nodeType": "MemberAccess", - "referencedDeclaration": 10704, - "src": "1635:21:58", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 10721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1635:45:58", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10722, - "nodeType": "ExpressionStatement", - "src": "1635:45:58" - } - ] - }, - "documentation": null, - "functionSelector": "0900f010", - "id": 10724, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 10709, - "modifierName": { - "argumentTypes": null, - "id": 10708, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1572:9:58", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1572:9:58" - } - ], - "name": "upgrade", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10707, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10706, - "mutability": "mutable", - "name": "newAddress", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10724, - "src": "1545:18:58", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10705, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1545:7:58", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1544:20:58" - }, - "returnParameters": { - "id": 10710, - "nodeType": "ParameterList", - "parameters": [], - "src": "1583:0:58" - }, - "scope": 10725, - "src": "1528:156:58", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 10726, - "src": "1322:364:58" - } - ], - "src": "1242:445:58" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:34.360Z", - "networkType": "ethereum", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json deleted file mode 100644 index c6fe56ac5..000000000 --- a/build/contracts/Ownable.json +++ /dev/null @@ -1,2844 +0,0 @@ -{ - "contractName": "Ownable", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\nimport \"../GSN/Context.sol\";\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\ncontract Ownable is Context {\n address private _owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev Initializes the contract setting the deployer as the initial owner.\n */\n constructor () internal {\n address msgSender = _msgSender();\n _owner = msgSender;\n emit OwnershipTransferred(address(0), msgSender);\n }\n\n /**\n * @dev Returns the address of the current owner.\n */\n function owner() public view returns (address) {\n return _owner;\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(_owner == _msgSender(), \"Ownable: caller is not the owner\");\n _;\n }\n\n /**\n * @dev Leaves the contract without owner. It will not be possible to call\n * `onlyOwner` functions anymore. Can only be called by the current owner.\n *\n * NOTE: Renouncing ownership will leave the contract without an owner,\n * thereby removing any functionality that is only available to the owner.\n */\n function renounceOwnership() public virtual onlyOwner {\n emit OwnershipTransferred(_owner, address(0));\n _owner = address(0);\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Can only be called by the current owner.\n */\n function transferOwnership(address newOwner) public virtual onlyOwner {\n require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n emit OwnershipTransferred(_owner, newOwner);\n _owner = newOwner;\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/access/Ownable.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "exportedSymbols": { - "Ownable": [ - 14071 - ] - }, - "id": 14072, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13964, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:82" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../GSN/Context.sol", - "id": 13965, - "nodeType": "ImportDirective", - "scope": 14072, - "sourceUnit": 13680, - "src": "58:28:82", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13967, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "602:7:82", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13968, - "nodeType": "InheritanceSpecifier", - "src": "602:7:82" - } - ], - "contractDependencies": [ - 13679 - ], - "contractKind": "contract", - "documentation": { - "id": 13966, - "nodeType": "StructuredDocumentation", - "src": "87:494:82", - "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." - }, - "fullyImplemented": true, - "id": 14071, - "linearizedBaseContracts": [ - 14071, - 13679 - ], - "name": "Ownable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 13970, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14071, - "src": "616:22:82", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13969, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "616:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "private" - }, - { - "anonymous": false, - "documentation": null, - "id": 13976, - "name": "OwnershipTransferred", - "nodeType": "EventDefinition", - "parameters": { - "id": 13975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13972, - "indexed": true, - "mutability": "mutable", - "name": "previousOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13976, - "src": "672:29:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13971, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "672:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13974, - "indexed": true, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13976, - "src": "703:24:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "703:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "671:57:82" - }, - "src": "645:84:82" - }, - { - "body": { - "id": 13997, - "nodeType": "Block", - "src": "855:135:82", - "statements": [ - { - "assignments": [ - 13981 - ], - "declarations": [ - { - "constant": false, - "id": 13981, - "mutability": "mutable", - "name": "msgSender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13997, - "src": "865:17:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "865:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13984, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13982, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "885:10:82", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "885:12:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "865:32:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 13987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 13985, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "907:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 13986, - "name": "msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13981, - "src": "916:9:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "907:18:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 13988, - "nodeType": "ExpressionStatement", - "src": "907:18:82" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 13992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "969:1:82", - "subdenomination": null, - "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": 13991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "961:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 13990, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "961:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 13993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "961:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 13994, - "name": "msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13981, - "src": "973:9:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13989, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "940:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 13995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "940:43:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13996, - "nodeType": "EmitStatement", - "src": "935:48:82" - } - ] - }, - "documentation": { - "id": 13977, - "nodeType": "StructuredDocumentation", - "src": "735:91:82", - "text": " @dev Initializes the contract setting the deployer as the initial owner." - }, - "id": 13998, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13978, - "nodeType": "ParameterList", - "parameters": [], - "src": "843:2:82" - }, - "returnParameters": { - "id": 13979, - "nodeType": "ParameterList", - "parameters": [], - "src": "855:0:82" - }, - "scope": 14071, - "src": "831:159:82", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14006, - "nodeType": "Block", - "src": "1113:30:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 14004, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1130:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 14003, - "id": 14005, - "nodeType": "Return", - "src": "1123:13:82" - } - ] - }, - "documentation": { - "id": 13999, - "nodeType": "StructuredDocumentation", - "src": "996:65:82", - "text": " @dev Returns the address of the current owner." - }, - "functionSelector": "8da5cb5b", - "id": 14007, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14000, - "nodeType": "ParameterList", - "parameters": [], - "src": "1080:2:82" - }, - "returnParameters": { - "id": 14003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14002, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14007, - "src": "1104:7:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1104:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1103:9:82" - }, - "scope": 14071, - "src": "1066:77:82", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 14019, - "nodeType": "Block", - "src": "1252:95:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 14014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14011, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1270:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 14012, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "1280:10:82", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 14013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1280:12:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1270:22:82", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", - "id": 14015, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1294:34:82", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - }, - "value": "Ownable: caller is not the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - } - ], - "id": 14010, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1262:7:82", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1262:67:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14017, - "nodeType": "ExpressionStatement", - "src": "1262:67:82" - }, - { - "id": 14018, - "nodeType": "PlaceholderStatement", - "src": "1339:1:82" - } - ] - }, - "documentation": { - "id": 14008, - "nodeType": "StructuredDocumentation", - "src": "1149:77:82", - "text": " @dev Throws if called by any account other than the owner." - }, - "id": 14020, - "name": "onlyOwner", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 14009, - "nodeType": "ParameterList", - "parameters": [], - "src": "1249:2:82" - }, - "src": "1231:116:82", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14041, - "nodeType": "Block", - "src": "1743:91:82", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14027, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1779:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1795:1:82", - "subdenomination": null, - "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": 14029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1787:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14028, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1787:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1787:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 14026, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "1758:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 14032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1758:40:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14033, - "nodeType": "EmitStatement", - "src": "1753:45:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 14039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 14034, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1808:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1825:1:82", - "subdenomination": null, - "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": 14036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1817:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14035, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1817:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1817:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1808:19:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 14040, - "nodeType": "ExpressionStatement", - "src": "1808:19:82" - } - ] - }, - "documentation": { - "id": 14021, - "nodeType": "StructuredDocumentation", - "src": "1353:331:82", - "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions anymore. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby removing any functionality that is only available to the owner." - }, - "functionSelector": "715018a6", - "id": 14042, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 14024, - "modifierName": { - "argumentTypes": null, - "id": 14023, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1733:9:82", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1733:9:82" - } - ], - "name": "renounceOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14022, - "nodeType": "ParameterList", - "parameters": [], - "src": "1715:2:82" - }, - "returnParameters": { - "id": 14025, - "nodeType": "ParameterList", - "parameters": [], - "src": "1743:0:82" - }, - "scope": 14071, - "src": "1689:145:82", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 14069, - "nodeType": "Block", - "src": "2053:170:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 14056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14051, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2071:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2091:1:82", - "subdenomination": null, - "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": 14053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2083:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14052, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2083:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2083:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2071:22:82", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373", - "id": 14057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2095:40:82", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - }, - "value": "Ownable: new owner is the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - } - ], - "id": 14050, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2063:7:82", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:73:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14059, - "nodeType": "ExpressionStatement", - "src": "2063:73:82" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14061, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "2172:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 14062, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2180:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 14060, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "2151:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 14063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2151:38:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14064, - "nodeType": "EmitStatement", - "src": "2146:43:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 14067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 14065, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "2199:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 14066, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2208:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2199:17:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 14068, - "nodeType": "ExpressionStatement", - "src": "2199:17:82" - } - ] - }, - "documentation": { - "id": 14043, - "nodeType": "StructuredDocumentation", - "src": "1840:138:82", - "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." - }, - "functionSelector": "f2fde38b", - "id": 14070, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 14048, - "modifierName": { - "argumentTypes": null, - "id": 14047, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "2043:9:82", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2043:9:82" - } - ], - "name": "transferOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14045, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14070, - "src": "2010:16:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14044, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2010:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2009:18:82" - }, - "returnParameters": { - "id": 14049, - "nodeType": "ParameterList", - "parameters": [], - "src": "2053:0:82" - }, - "scope": 14071, - "src": "1983:240:82", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "scope": 14072, - "src": "582:1643:82" - } - ], - "src": "33:2193:82" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "exportedSymbols": { - "Ownable": [ - 14071 - ] - }, - "id": 14072, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13964, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:82" - }, - { - "absolutePath": "@openzeppelin/contracts/GSN/Context.sol", - "file": "../GSN/Context.sol", - "id": 13965, - "nodeType": "ImportDirective", - "scope": 14072, - "sourceUnit": 13680, - "src": "58:28:82", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 13967, - "name": "Context", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13679, - "src": "602:7:82", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$13679", - "typeString": "contract Context" - } - }, - "id": 13968, - "nodeType": "InheritanceSpecifier", - "src": "602:7:82" - } - ], - "contractDependencies": [ - 13679 - ], - "contractKind": "contract", - "documentation": { - "id": 13966, - "nodeType": "StructuredDocumentation", - "src": "87:494:82", - "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." - }, - "fullyImplemented": true, - "id": 14071, - "linearizedBaseContracts": [ - 14071, - 13679 - ], - "name": "Ownable", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 13970, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14071, - "src": "616:22:82", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13969, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "616:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "private" - }, - { - "anonymous": false, - "documentation": null, - "id": 13976, - "name": "OwnershipTransferred", - "nodeType": "EventDefinition", - "parameters": { - "id": 13975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13972, - "indexed": true, - "mutability": "mutable", - "name": "previousOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13976, - "src": "672:29:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13971, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "672:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13974, - "indexed": true, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13976, - "src": "703:24:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "703:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "671:57:82" - }, - "src": "645:84:82" - }, - { - "body": { - "id": 13997, - "nodeType": "Block", - "src": "855:135:82", - "statements": [ - { - "assignments": [ - 13981 - ], - "declarations": [ - { - "constant": false, - "id": 13981, - "mutability": "mutable", - "name": "msgSender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13997, - "src": "865:17:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "865:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13984, - "initialValue": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13982, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "885:10:82", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 13983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "885:12:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "865:32:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 13987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 13985, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "907:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 13986, - "name": "msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13981, - "src": "916:9:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "907:18:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 13988, - "nodeType": "ExpressionStatement", - "src": "907:18:82" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 13992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "969:1:82", - "subdenomination": null, - "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": 13991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "961:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 13990, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "961:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 13993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "961:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 13994, - "name": "msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13981, - "src": "973:9:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13989, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "940:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 13995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "940:43:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13996, - "nodeType": "EmitStatement", - "src": "935:48:82" - } - ] - }, - "documentation": { - "id": 13977, - "nodeType": "StructuredDocumentation", - "src": "735:91:82", - "text": " @dev Initializes the contract setting the deployer as the initial owner." - }, - "id": 13998, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13978, - "nodeType": "ParameterList", - "parameters": [], - "src": "843:2:82" - }, - "returnParameters": { - "id": 13979, - "nodeType": "ParameterList", - "parameters": [], - "src": "855:0:82" - }, - "scope": 14071, - "src": "831:159:82", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14006, - "nodeType": "Block", - "src": "1113:30:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 14004, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1130:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 14003, - "id": 14005, - "nodeType": "Return", - "src": "1123:13:82" - } - ] - }, - "documentation": { - "id": 13999, - "nodeType": "StructuredDocumentation", - "src": "996:65:82", - "text": " @dev Returns the address of the current owner." - }, - "functionSelector": "8da5cb5b", - "id": 14007, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14000, - "nodeType": "ParameterList", - "parameters": [], - "src": "1080:2:82" - }, - "returnParameters": { - "id": 14003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14002, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14007, - "src": "1104:7:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1104:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1103:9:82" - }, - "scope": 14071, - "src": "1066:77:82", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 14019, - "nodeType": "Block", - "src": "1252:95:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 14014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14011, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1270:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 14012, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "1280:10:82", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 14013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1280:12:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1270:22:82", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", - "id": 14015, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1294:34:82", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - }, - "value": "Ownable: caller is not the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - } - ], - "id": 14010, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1262:7:82", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1262:67:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14017, - "nodeType": "ExpressionStatement", - "src": "1262:67:82" - }, - { - "id": 14018, - "nodeType": "PlaceholderStatement", - "src": "1339:1:82" - } - ] - }, - "documentation": { - "id": 14008, - "nodeType": "StructuredDocumentation", - "src": "1149:77:82", - "text": " @dev Throws if called by any account other than the owner." - }, - "id": 14020, - "name": "onlyOwner", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 14009, - "nodeType": "ParameterList", - "parameters": [], - "src": "1249:2:82" - }, - "src": "1231:116:82", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14041, - "nodeType": "Block", - "src": "1743:91:82", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14027, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1779:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1795:1:82", - "subdenomination": null, - "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": 14029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1787:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14028, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1787:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1787:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 14026, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "1758:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 14032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1758:40:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14033, - "nodeType": "EmitStatement", - "src": "1753:45:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 14039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 14034, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "1808:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1825:1:82", - "subdenomination": null, - "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": 14036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1817:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14035, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1817:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1817:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1808:19:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 14040, - "nodeType": "ExpressionStatement", - "src": "1808:19:82" - } - ] - }, - "documentation": { - "id": 14021, - "nodeType": "StructuredDocumentation", - "src": "1353:331:82", - "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions anymore. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby removing any functionality that is only available to the owner." - }, - "functionSelector": "715018a6", - "id": 14042, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 14024, - "modifierName": { - "argumentTypes": null, - "id": 14023, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "1733:9:82", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1733:9:82" - } - ], - "name": "renounceOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14022, - "nodeType": "ParameterList", - "parameters": [], - "src": "1715:2:82" - }, - "returnParameters": { - "id": 14025, - "nodeType": "ParameterList", - "parameters": [], - "src": "1743:0:82" - }, - "scope": 14071, - "src": "1689:145:82", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 14069, - "nodeType": "Block", - "src": "2053:170:82", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 14056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14051, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2071:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 14054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2091:1:82", - "subdenomination": null, - "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": 14053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2083:7:82", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 14052, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2083:7:82", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 14055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2083:10:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2071:22:82", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373", - "id": 14057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2095:40:82", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - }, - "value": "Ownable: new owner is the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - } - ], - "id": 14050, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2063:7:82", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2063:73:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14059, - "nodeType": "ExpressionStatement", - "src": "2063:73:82" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14061, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "2172:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 14062, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2180:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 14060, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13976, - "src": "2151:20:82", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 14063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2151:38:82", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14064, - "nodeType": "EmitStatement", - "src": "2146:43:82" - }, - { - "expression": { - "argumentTypes": null, - "id": 14067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 14065, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13970, - "src": "2199:6:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 14066, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14045, - "src": "2208:8:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2199:17:82", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 14068, - "nodeType": "ExpressionStatement", - "src": "2199:17:82" - } - ] - }, - "documentation": { - "id": 14043, - "nodeType": "StructuredDocumentation", - "src": "1840:138:82", - "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." - }, - "functionSelector": "f2fde38b", - "id": 14070, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 14048, - "modifierName": { - "argumentTypes": null, - "id": 14047, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "2043:9:82", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2043:9:82" - } - ], - "name": "transferOwnership", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14045, - "mutability": "mutable", - "name": "newOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14070, - "src": "2010:16:82", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14044, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2010:7:82", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2009:18:82" - }, - "returnParameters": { - "id": 14049, - "nodeType": "ParameterList", - "parameters": [], - "src": "2053:0:82" - }, - "scope": 14071, - "src": "1983:240:82", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "scope": 14072, - "src": "582:1643:82" - } - ], - "src": "33:2193:82" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.898Z", - "devdoc": { - "details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.", - "kind": "dev", - "methods": { - "constructor": { - "details": "Initializes the contract setting the deployer as the initial owner." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Proxy.json b/build/contracts/Proxy.json deleted file mode 100644 index dbe0dfa7d..000000000 --- a/build/contracts/Proxy.json +++ /dev/null @@ -1,1614 +0,0 @@ -{ - "contractName": "Proxy", - "abi": [ - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "stateMutability": "payable", - "type": "receive" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Implements delegation of calls to other contracts, with proper forwarding of return values and bubbling of failures. It defines a fallback function that delegates all calls to the address returned by the abstract _implementation() internal function.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Proxy\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":\"Proxy\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.6.0;\n\n/**\n * @title Proxy\n * @dev Implements delegation of calls to other contracts, with proper\n * forwarding of return values and bubbling of failures.\n * It defines a fallback function that delegates all calls to the address\n * returned by the abstract _implementation() internal function.\n */\nabstract contract Proxy {\n /**\n * @dev Receive function.\n * Implemented entirely in `_fallback`.\n */\n receive() external payable {\n _fallback();\n }\n\n /**\n * @dev Fallback function.\n * Implemented entirely in `_fallback`.\n */\n fallback() external payable {\n _fallback();\n }\n\n /**\n * @return impl The Address of the implementation.\n */\n function _implementation() internal virtual view returns (address impl);\n\n /**\n * @dev Delegates execution to an implementation contract.\n * This is a low level function that doesn't return to its internal call site.\n * It will return to the external caller whatever the implementation returns.\n * @param implementation Address to delegate.\n */\n function _delegate(address implementation) internal {\n assembly {\n // Copy msg.data. We take full control of memory in this inline assembly\n // block because it will not return to Solidity code. We overwrite the\n // Solidity scratch pad at memory position 0.\n calldatacopy(0, 0, calldatasize())\n\n // Call the implementation.\n // out and outsize are 0 because we don't know the size yet.\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\n\n // Copy the returned data.\n returndatacopy(0, 0, returndatasize())\n\n switch result\n // delegatecall returns 0 on error.\n case 0 { revert(0, returndatasize()) }\n default { return(0, returndatasize()) }\n }\n }\n\n /**\n * @dev Function that is run as the first thing in the fallback function.\n * Can be redefined in derived contracts to add functionality.\n * Redefinitions must call super._willFallback().\n */\n function _willFallback() internal virtual {\n }\n\n /**\n * @dev fallback implementation.\n * Extracted to enable manual triggering.\n */\n function _fallback() internal {\n _willFallback();\n _delegate(_implementation());\n }\n}\n", - "sourcePath": "@iexec/solidity/contracts/Upgradeability/Proxy.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/Proxy.sol", - "exportedSymbols": { - "Proxy": [ - 13656 - ] - }, - "id": 13657, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13606, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:79" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 13607, - "nodeType": "StructuredDocumentation", - "src": "25:290:79", - "text": " @title Proxy\n @dev Implements delegation of calls to other contracts, with proper\n forwarding of return values and bubbling of failures.\n It defines a fallback function that delegates all calls to the address\n returned by the abstract _implementation() internal function." - }, - "fullyImplemented": false, - "id": 13656, - "linearizedBaseContracts": [ - 13656 - ], - "name": "Proxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13614, - "nodeType": "Block", - "src": "453:22:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13611, - "name": "_fallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13655, - "src": "459:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "459:11:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13613, - "nodeType": "ExpressionStatement", - "src": "459:11:79" - } - ] - }, - "documentation": { - "id": 13608, - "nodeType": "StructuredDocumentation", - "src": "344:79:79", - "text": " @dev Receive function.\n Implemented entirely in `_fallback`." - }, - "id": 13615, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13609, - "nodeType": "ParameterList", - "parameters": [], - "src": "433:2:79" - }, - "returnParameters": { - "id": 13610, - "nodeType": "ParameterList", - "parameters": [], - "src": "453:0:79" - }, - "scope": 13656, - "src": "426:49:79", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 13622, - "nodeType": "Block", - "src": "590:22:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13619, - "name": "_fallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13655, - "src": "596:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "596:11:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13621, - "nodeType": "ExpressionStatement", - "src": "596:11:79" - } - ] - }, - "documentation": { - "id": 13616, - "nodeType": "StructuredDocumentation", - "src": "479:80:79", - "text": " @dev Fallback function.\n Implemented entirely in `_fallback`." - }, - "id": 13623, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13617, - "nodeType": "ParameterList", - "parameters": [], - "src": "570:2:79" - }, - "returnParameters": { - "id": 13618, - "nodeType": "ParameterList", - "parameters": [], - "src": "590:0:79" - }, - "scope": 13656, - "src": "562:50:79", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 13624, - "nodeType": "StructuredDocumentation", - "src": "616:62:79", - "text": " @return impl The Address of the implementation." - }, - "id": 13629, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13625, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:79" - }, - "returnParameters": { - "id": 13628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13627, - "mutability": "mutable", - "name": "impl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13629, - "src": "739:12:79", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "739:7:79", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "738:14:79" - }, - "scope": 13656, - "src": "681:72:79", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13636, - "nodeType": "Block", - "src": "1091:691:79", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "1106:672:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1335:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1338:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "1341:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1341:14:79" - } - ], - "functionName": { - "name": "calldatacopy", - "nodeType": "YulIdentifier", - "src": "1322:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1322:34:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1322:34:79" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1465:74:79", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "1492:3:79" - }, - "nodeType": "YulFunctionCall", - "src": "1492:5:79" - }, - { - "name": "implementation", - "nodeType": "YulIdentifier", - "src": "1499:14:79" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1515:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "1518:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1518:14:79" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1534:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1537:1:79", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "delegatecall", - "nodeType": "YulIdentifier", - "src": "1479:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1479:60:79" - }, - "variables": [ - { - "name": "result", - "nodeType": "YulTypedName", - "src": "1469:6:79", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1595:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1598:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1601:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1601:16:79" - } - ], - "functionName": { - "name": "returndatacopy", - "nodeType": "YulIdentifier", - "src": "1580:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1580:38:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1580:38:79" - }, - { - "cases": [ - { - "body": { - "nodeType": "YulBlock", - "src": "1695:31:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1704:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1707:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1707:16:79" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "1697:6:79" - }, - "nodeType": "YulFunctionCall", - "src": "1697:27:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1697:27:79" - } - ] - }, - "nodeType": "YulCase", - "src": "1688:38:79", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1693:1:79", - "type": "", - "value": "0" - } - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1741:31:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1750:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1753:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1753:16:79" - } - ], - "functionName": { - "name": "return", - "nodeType": "YulIdentifier", - "src": "1743:6:79" - }, - "nodeType": "YulFunctionCall", - "src": "1743:27:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1743:27:79" - } - ] - }, - "nodeType": "YulCase", - "src": "1733:39:79", - "value": "default" - } - ], - "expression": { - "name": "result", - "nodeType": "YulIdentifier", - "src": "1633:6:79" - }, - "nodeType": "YulSwitch", - "src": "1626:146:79" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13632, - "isOffset": false, - "isSlot": false, - "src": "1499:14:79", - "valueSize": 1 - } - ], - "id": 13635, - "nodeType": "InlineAssembly", - "src": "1097:681:79" - } - ] - }, - "documentation": { - "id": 13630, - "nodeType": "StructuredDocumentation", - "src": "757:279:79", - "text": " @dev Delegates execution to an implementation contract.\n This is a low level function that doesn't return to its internal call site.\n It will return to the external caller whatever the implementation returns.\n @param implementation Address to delegate." - }, - "id": 13637, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_delegate", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13633, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13632, - "mutability": "mutable", - "name": "implementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13637, - "src": "1058:22:79", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13631, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1058:7:79", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1057:24:79" - }, - "returnParameters": { - "id": 13634, - "nodeType": "ParameterList", - "parameters": [], - "src": "1091:0:79" - }, - "scope": 13656, - "src": "1039:743:79", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13641, - "nodeType": "Block", - "src": "2033:5:79", - "statements": [] - }, - "documentation": { - "id": 13638, - "nodeType": "StructuredDocumentation", - "src": "1786:202:79", - "text": " @dev Function that is run as the first thing in the fallback function.\n Can be redefined in derived contracts to add functionality.\n Redefinitions must call super._willFallback()." - }, - "id": 13642, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_willFallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13639, - "nodeType": "ParameterList", - "parameters": [], - "src": "2013:2:79" - }, - "returnParameters": { - "id": 13640, - "nodeType": "ParameterList", - "parameters": [], - "src": "2033:0:79" - }, - "scope": 13656, - "src": "1991:47:79", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13654, - "nodeType": "Block", - "src": "2163:60:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13646, - "name": "_willFallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13642, - "src": "2169:13:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2169:15:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13648, - "nodeType": "ExpressionStatement", - "src": "2169:15:79" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13650, - "name": "_implementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13629, - "src": "2200:15:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 13651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2200:17:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13649, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13637, - "src": "2190:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2190:28:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13653, - "nodeType": "ExpressionStatement", - "src": "2190:28:79" - } - ] - }, - "documentation": { - "id": 13643, - "nodeType": "StructuredDocumentation", - "src": "2042:88:79", - "text": " @dev fallback implementation.\n Extracted to enable manual triggering." - }, - "id": 13655, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_fallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13644, - "nodeType": "ParameterList", - "parameters": [], - "src": "2151:2:79" - }, - "returnParameters": { - "id": 13645, - "nodeType": "ParameterList", - "parameters": [], - "src": "2163:0:79" - }, - "scope": 13656, - "src": "2133:90:79", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13657, - "src": "316:1909:79" - } - ], - "src": "0:2226:79" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/Proxy.sol", - "exportedSymbols": { - "Proxy": [ - 13656 - ] - }, - "id": 13657, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13606, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:79" - }, - { - "abstract": true, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 13607, - "nodeType": "StructuredDocumentation", - "src": "25:290:79", - "text": " @title Proxy\n @dev Implements delegation of calls to other contracts, with proper\n forwarding of return values and bubbling of failures.\n It defines a fallback function that delegates all calls to the address\n returned by the abstract _implementation() internal function." - }, - "fullyImplemented": false, - "id": 13656, - "linearizedBaseContracts": [ - 13656 - ], - "name": "Proxy", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13614, - "nodeType": "Block", - "src": "453:22:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13611, - "name": "_fallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13655, - "src": "459:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "459:11:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13613, - "nodeType": "ExpressionStatement", - "src": "459:11:79" - } - ] - }, - "documentation": { - "id": 13608, - "nodeType": "StructuredDocumentation", - "src": "344:79:79", - "text": " @dev Receive function.\n Implemented entirely in `_fallback`." - }, - "id": 13615, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13609, - "nodeType": "ParameterList", - "parameters": [], - "src": "433:2:79" - }, - "returnParameters": { - "id": 13610, - "nodeType": "ParameterList", - "parameters": [], - "src": "453:0:79" - }, - "scope": 13656, - "src": "426:49:79", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 13622, - "nodeType": "Block", - "src": "590:22:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13619, - "name": "_fallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13655, - "src": "596:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "596:11:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13621, - "nodeType": "ExpressionStatement", - "src": "596:11:79" - } - ] - }, - "documentation": { - "id": 13616, - "nodeType": "StructuredDocumentation", - "src": "479:80:79", - "text": " @dev Fallback function.\n Implemented entirely in `_fallback`." - }, - "id": 13623, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13617, - "nodeType": "ParameterList", - "parameters": [], - "src": "570:2:79" - }, - "returnParameters": { - "id": 13618, - "nodeType": "ParameterList", - "parameters": [], - "src": "590:0:79" - }, - "scope": 13656, - "src": "562:50:79", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": { - "id": 13624, - "nodeType": "StructuredDocumentation", - "src": "616:62:79", - "text": " @return impl The Address of the implementation." - }, - "id": 13629, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "_implementation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13625, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:79" - }, - "returnParameters": { - "id": 13628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13627, - "mutability": "mutable", - "name": "impl", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13629, - "src": "739:12:79", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "739:7:79", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "738:14:79" - }, - "scope": 13656, - "src": "681:72:79", - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13636, - "nodeType": "Block", - "src": "1091:691:79", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "1106:672:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1335:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1338:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "1341:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1341:14:79" - } - ], - "functionName": { - "name": "calldatacopy", - "nodeType": "YulIdentifier", - "src": "1322:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1322:34:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1322:34:79" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1465:74:79", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "1492:3:79" - }, - "nodeType": "YulFunctionCall", - "src": "1492:5:79" - }, - { - "name": "implementation", - "nodeType": "YulIdentifier", - "src": "1499:14:79" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1515:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "1518:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1518:14:79" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1534:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1537:1:79", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "delegatecall", - "nodeType": "YulIdentifier", - "src": "1479:12:79" - }, - "nodeType": "YulFunctionCall", - "src": "1479:60:79" - }, - "variables": [ - { - "name": "result", - "nodeType": "YulTypedName", - "src": "1469:6:79", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1595:1:79", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1598:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1601:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1601:16:79" - } - ], - "functionName": { - "name": "returndatacopy", - "nodeType": "YulIdentifier", - "src": "1580:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1580:38:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1580:38:79" - }, - { - "cases": [ - { - "body": { - "nodeType": "YulBlock", - "src": "1695:31:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1704:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1707:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1707:16:79" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "1697:6:79" - }, - "nodeType": "YulFunctionCall", - "src": "1697:27:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1697:27:79" - } - ] - }, - "nodeType": "YulCase", - "src": "1688:38:79", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1693:1:79", - "type": "", - "value": "0" - } - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1741:31:79", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1750:1:79", - "type": "", - "value": "0" - }, - { - "arguments": [], - "functionName": { - "name": "returndatasize", - "nodeType": "YulIdentifier", - "src": "1753:14:79" - }, - "nodeType": "YulFunctionCall", - "src": "1753:16:79" - } - ], - "functionName": { - "name": "return", - "nodeType": "YulIdentifier", - "src": "1743:6:79" - }, - "nodeType": "YulFunctionCall", - "src": "1743:27:79" - }, - "nodeType": "YulExpressionStatement", - "src": "1743:27:79" - } - ] - }, - "nodeType": "YulCase", - "src": "1733:39:79", - "value": "default" - } - ], - "expression": { - "name": "result", - "nodeType": "YulIdentifier", - "src": "1633:6:79" - }, - "nodeType": "YulSwitch", - "src": "1626:146:79" - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13632, - "isOffset": false, - "isSlot": false, - "src": "1499:14:79", - "valueSize": 1 - } - ], - "id": 13635, - "nodeType": "InlineAssembly", - "src": "1097:681:79" - } - ] - }, - "documentation": { - "id": 13630, - "nodeType": "StructuredDocumentation", - "src": "757:279:79", - "text": " @dev Delegates execution to an implementation contract.\n This is a low level function that doesn't return to its internal call site.\n It will return to the external caller whatever the implementation returns.\n @param implementation Address to delegate." - }, - "id": 13637, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_delegate", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13633, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13632, - "mutability": "mutable", - "name": "implementation", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13637, - "src": "1058:22:79", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13631, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1058:7:79", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1057:24:79" - }, - "returnParameters": { - "id": 13634, - "nodeType": "ParameterList", - "parameters": [], - "src": "1091:0:79" - }, - "scope": 13656, - "src": "1039:743:79", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13641, - "nodeType": "Block", - "src": "2033:5:79", - "statements": [] - }, - "documentation": { - "id": 13638, - "nodeType": "StructuredDocumentation", - "src": "1786:202:79", - "text": " @dev Function that is run as the first thing in the fallback function.\n Can be redefined in derived contracts to add functionality.\n Redefinitions must call super._willFallback()." - }, - "id": 13642, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_willFallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13639, - "nodeType": "ParameterList", - "parameters": [], - "src": "2013:2:79" - }, - "returnParameters": { - "id": 13640, - "nodeType": "ParameterList", - "parameters": [], - "src": "2033:0:79" - }, - "scope": 13656, - "src": "1991:47:79", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "body": { - "id": 13654, - "nodeType": "Block", - "src": "2163:60:79", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13646, - "name": "_willFallback", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13642, - "src": "2169:13:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 13647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2169:15:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13648, - "nodeType": "ExpressionStatement", - "src": "2169:15:79" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 13650, - "name": "_implementation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13629, - "src": "2200:15:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 13651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2200:17:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 13649, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13637, - "src": "2190:9:79", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 13652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2190:28:79", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13653, - "nodeType": "ExpressionStatement", - "src": "2190:28:79" - } - ] - }, - "documentation": { - "id": 13643, - "nodeType": "StructuredDocumentation", - "src": "2042:88:79", - "text": " @dev fallback implementation.\n Extracted to enable manual triggering." - }, - "id": 13655, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_fallback", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13644, - "nodeType": "ParameterList", - "parameters": [], - "src": "2151:2:79" - }, - "returnParameters": { - "id": 13645, - "nodeType": "ParameterList", - "parameters": [], - "src": "2163:0:79" - }, - "scope": 13656, - "src": "2133:90:79", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13657, - "src": "316:1909:79" - } - ], - "src": "0:2226:79" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.896Z", - "devdoc": { - "details": "Implements delegation of calls to other contracts, with proper forwarding of return values and bubbling of failures. It defines a fallback function that delegates all calls to the address returned by the abstract _implementation() internal function.", - "kind": "dev", - "methods": {}, - "title": "Proxy", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/PublicResolver.json b/build/contracts/PublicResolver.json deleted file mode 100644 index ec63c1afb..000000000 --- a/build/contracts/PublicResolver.json +++ /dev/null @@ -1,5267 +0,0 @@ -{ - "contractName": "PublicResolver", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "data", - "type": "bytes" - } - ], - "name": "setDNSRecords", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "key", - "type": "string" - }, - { - "name": "value", - "type": "string" - } - ], - "name": "setText", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "interfaceImplementer", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "contentTypes", - "type": "uint256" - } - ], - "name": "ABI", - "outputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "x", - "type": "bytes32" - }, - { - "name": "y", - "type": "bytes32" - } - ], - "name": "setPubkey", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "hash", - "type": "bytes" - } - ], - "name": "setContenthash", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "addr", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "bytes32" - } - ], - "name": "hasDNSRecords", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "key", - "type": "string" - } - ], - "name": "text", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "contentType", - "type": "uint256" - }, - { - "name": "data", - "type": "bytes" - } - ], - "name": "setABI", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "coinType", - "type": "uint256" - }, - { - "name": "a", - "type": "bytes" - } - ], - "name": "setAddr", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "name", - "type": "bytes32" - }, - { - "name": "resource", - "type": "uint16" - } - ], - "name": "dnsRecord", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "clearDNSZone", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "contenthash", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - } - ], - "name": "pubkey", - "outputs": [ - { - "name": "x", - "type": "bytes32" - }, - { - "name": "y", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "a", - "type": "address" - } - ], - "name": "setAddr", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "interfaceID", - "type": "bytes4" - }, - { - "name": "implementer", - "type": "address" - } - ], - "name": "setInterface", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "coinType", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - }, - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - } - ], - "name": "authorisations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_ens", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "target", - "type": "address" - }, - { - "indexed": false, - "name": "isAuthorised", - "type": "bool" - } - ], - "name": "AuthorisationChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "indexedKey", - "type": "string" - }, - { - "indexed": false, - "name": "key", - "type": "string" - } - ], - "name": "TextChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "x", - "type": "bytes32" - }, - { - "indexed": false, - "name": "y", - "type": "bytes32" - } - ], - "name": "PubkeyChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "string" - } - ], - "name": "NameChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "interfaceID", - "type": "bytes4" - }, - { - "indexed": false, - "name": "implementer", - "type": "address" - } - ], - "name": "InterfaceChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "bytes" - }, - { - "indexed": false, - "name": "resource", - "type": "uint16" - }, - { - "indexed": false, - "name": "record", - "type": "bytes" - } - ], - "name": "DNSRecordChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "name", - "type": "bytes" - }, - { - "indexed": false, - "name": "resource", - "type": "uint16" - } - ], - "name": "DNSRecordDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - } - ], - "name": "DNSZoneCleared", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "hash", - "type": "bytes" - } - ], - "name": "ContenthashChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "a", - "type": "address" - } - ], - "name": "AddrChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "name": "coinType", - "type": "uint256" - }, - { - "indexed": false, - "name": "newAddress", - "type": "bytes" - } - ], - "name": "AddressChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "name": "contentType", - "type": "uint256" - } - ], - "name": "ABIChanged", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" - }, - { - "name": "target", - "type": "address" - }, - { - "name": "isAuthorised", - "type": "bool" - } - ], - "name": "setAuthorisation", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "data", - "type": "bytes[]" - } - ], - "name": "multicall", - "outputs": [ - { - "name": "results", - "type": "bytes[]" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.5.8+commit.23d335f2\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setDNSRecords\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"key\",\"type\":\"string\"},{\"name\":\"value\",\"type\":\"string\"}],\"name\":\"setText\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"interfaceImplementer\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"contentTypes\",\"type\":\"uint256\"}],\"name\":\"ABI\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"x\",\"type\":\"bytes32\"},{\"name\":\"y\",\"type\":\"bytes32\"}],\"name\":\"setPubkey\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"setContenthash\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"addr\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"target\",\"type\":\"address\"},{\"name\":\"isAuthorised\",\"type\":\"bool\"}],\"name\":\"setAuthorisation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"name\",\"type\":\"bytes32\"}],\"name\":\"hasDNSRecords\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"key\",\"type\":\"string\"}],\"name\":\"text\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"contentType\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setABI\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"coinType\",\"type\":\"uint256\"},{\"name\":\"a\",\"type\":\"bytes\"}],\"name\":\"setAddr\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"name\",\"type\":\"bytes32\"},{\"name\":\"resource\",\"type\":\"uint16\"}],\"name\":\"dnsRecord\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"name\":\"results\",\"type\":\"bytes[]\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"clearDNSZone\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"contenthash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"pubkey\",\"outputs\":[{\"name\":\"x\",\"type\":\"bytes32\"},{\"name\":\"y\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"a\",\"type\":\"address\"}],\"name\":\"setAddr\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"interfaceID\",\"type\":\"bytes4\"},{\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"setInterface\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"node\",\"type\":\"bytes32\"},{\"name\":\"coinType\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"},{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"authorisations\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_ens\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"isAuthorised\",\"type\":\"bool\"}],\"name\":\"AuthorisationChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"indexedKey\",\"type\":\"string\"},{\"indexed\":false,\"name\":\"key\",\"type\":\"string\"}],\"name\":\"TextChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"x\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"y\",\"type\":\"bytes32\"}],\"name\":\"PubkeyChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NameChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"interfaceID\",\"type\":\"bytes4\"},{\"indexed\":false,\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"InterfaceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"name\",\"type\":\"bytes\"},{\"indexed\":false,\"name\":\"resource\",\"type\":\"uint16\"},{\"indexed\":false,\"name\":\"record\",\"type\":\"bytes\"}],\"name\":\"DNSRecordChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"name\",\"type\":\"bytes\"},{\"indexed\":false,\"name\":\"resource\",\"type\":\"uint16\"}],\"name\":\"DNSRecordDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"DNSZoneCleared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"hash\",\"type\":\"bytes\"}],\"name\":\"ContenthashChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"a\",\"type\":\"address\"}],\"name\":\"AddrChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"coinType\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"newAddress\",\"type\":\"bytes\"}],\"name\":\"AddressChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"contentType\",\"type\":\"uint256\"}],\"name\":\"ABIChanged\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"ABI(bytes32,uint256)\":{\"params\":{\"contentTypes\":\"A bitwise OR of the ABI formats accepted by the caller.\",\"node\":\"The ENS node to query\"},\"return\":\"contentType The content type of the return valuedata The ABI data\"},\"addr(bytes32)\":{\"params\":{\"node\":\"The ENS node to query.\"},\"return\":\"The associated address.\"},\"clearDNSZone(bytes32)\":{\"params\":{\"node\":\"the namehash of the node for which to clear the zone\"}},\"contenthash(bytes32)\":{\"params\":{\"node\":\"The ENS node to query.\"},\"return\":\"The associated contenthash.\"},\"dnsRecord(bytes32,bytes32,uint16)\":{\"params\":{\"name\":\"the keccak-256 hash of the fully-qualified name for which to fetch the record\",\"node\":\"the namehash of the node for which to fetch the record\",\"resource\":\"the ID of the resource as per https://en.wikipedia.org/wiki/List_of_DNS_record_types\"},\"return\":\"the DNS record in wire format if present, otherwise empty\"},\"hasDNSRecords(bytes32,bytes32)\":{\"params\":{\"name\":\"the namehash of the node for which to check the records\",\"node\":\"the namehash of the node for which to check the records\"}},\"interfaceImplementer(bytes32,bytes4)\":{\"params\":{\"interfaceID\":\"The EIP 168 interface ID to check for.\",\"node\":\"The ENS node to query.\"},\"return\":\"The address that implements this interface, or 0 if the interface is unsupported.\"},\"name(bytes32)\":{\"params\":{\"node\":\"The ENS node to query.\"},\"return\":\"The associated name.\"},\"pubkey(bytes32)\":{\"params\":{\"node\":\"The ENS node to query\"},\"return\":\"x, y the X and Y coordinates of the curve point for the public key.\"},\"setABI(bytes32,uint256,bytes)\":{\"params\":{\"contentType\":\"The content type of the ABI\",\"data\":\"The ABI data.\",\"node\":\"The node to update.\"}},\"setAddr(bytes32,address)\":{\"params\":{\"a\":\"The address to set.\",\"node\":\"The node to update.\"}},\"setAuthorisation(bytes32,address,bool)\":{\"details\":\"Sets or clears an authorisation. Authorisations are specific to the caller. Any account can set an authorisation for any name, but the authorisation that is checked will be that of the current owner of a name. Thus, transferring a name effectively clears any existing authorisations, and new authorisations can be set in advance of an ownership transfer if desired.\",\"params\":{\"isAuthorised\":\"True if the address should be authorised, or false if it should be deauthorised.\",\"node\":\"The name to change the authorisation on.\",\"target\":\"The address that is to be authorised or deauthorised.\"}},\"setContenthash(bytes32,bytes)\":{\"params\":{\"hash\":\"The contenthash to set\",\"node\":\"The node to update.\"}},\"setDNSRecords(bytes32,bytes)\":{\"params\":{\"data\":\"the DNS wire format records to set\",\"node\":\"the namehash of the node for which to set the records\"}},\"setInterface(bytes32,bytes4,address)\":{\"params\":{\"implementer\":\"The address of a contract that implements this interface for this node.\",\"interfaceID\":\"The EIP 168 interface ID.\",\"node\":\"The node to update.\"}},\"setName(bytes32,string)\":{\"params\":{\"name\":\"The name to set.\",\"node\":\"The node to update.\"}},\"setPubkey(bytes32,bytes32,bytes32)\":{\"params\":{\"node\":\"The ENS node to query\",\"x\":\"the X coordinate of the curve point for the public key.\",\"y\":\"the Y coordinate of the curve point for the public key.\"}},\"setText(bytes32,string,string)\":{\"params\":{\"key\":\"The key to set.\",\"node\":\"The node to update.\",\"value\":\"The text data value to set.\"}},\"text(bytes32,string)\":{\"params\":{\"key\":\"The text data key to query.\",\"node\":\"The ENS node to query.\"},\"return\":\"The associated text data.\"}}},\"userdoc\":{\"methods\":{\"ABI(bytes32,uint256)\":{\"notice\":\"Returns the ABI associated with an ENS node. Defined in EIP205.\"},\"addr(bytes32)\":{\"notice\":\"Returns the address associated with an ENS node.\"},\"clearDNSZone(bytes32)\":{\"notice\":\"Clear all information for a DNS zone.\"},\"contenthash(bytes32)\":{\"notice\":\"Returns the contenthash associated with an ENS node.\"},\"dnsRecord(bytes32,bytes32,uint16)\":{\"notice\":\"Obtain a DNS record.\"},\"hasDNSRecords(bytes32,bytes32)\":{\"notice\":\"Check if a given node has records.\"},\"interfaceImplementer(bytes32,bytes4)\":{\"notice\":\"Returns the address of a contract that implements the specified interface for this name. If an implementer has not been set for this interfaceID and name, the resolver will query the contract at `addr()`. If `addr()` is set, a contract exists at that address, and that contract implements EIP168 and returns `true` for the specified interfaceID, its address will be returned.\"},\"name(bytes32)\":{\"notice\":\"Returns the name associated with an ENS node, for reverse records. Defined in EIP181.\"},\"pubkey(bytes32)\":{\"notice\":\"Returns the SECP256k1 public key associated with an ENS node. Defined in EIP 619.\"},\"setABI(bytes32,uint256,bytes)\":{\"notice\":\"Sets the ABI associated with an ENS node. Nodes may have one ABI of each content type. To remove an ABI, set it to the empty string.\"},\"setAddr(bytes32,address)\":{\"notice\":\"Sets the address associated with an ENS node. May only be called by the owner of that node in the ENS registry.\"},\"setContenthash(bytes32,bytes)\":{\"notice\":\"Sets the contenthash associated with an ENS node. May only be called by the owner of that node in the ENS registry.\"},\"setDNSRecords(bytes32,bytes)\":{\"notice\":\"Set one or more DNS records. Records are supplied in wire-format. Records with the same node/name/resource must be supplied one after the other to ensure the data is updated correctly. For example, if the data was supplied: a.example.com IN A 1.2.3.4 a.example.com IN A 5.6.7.8 www.example.com IN CNAME a.example.com. then this would store the two A records for a.example.com correctly as a single RRSET, however if the data was supplied: a.example.com IN A 1.2.3.4 www.example.com IN CNAME a.example.com. a.example.com IN A 5.6.7.8 then this would store the first A record, the CNAME, then the second A record which would overwrite the first.\"},\"setInterface(bytes32,bytes4,address)\":{\"notice\":\"Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at `addr()` for interface support.\"},\"setName(bytes32,string)\":{\"notice\":\"Sets the name associated with an ENS node, for reverse records. May only be called by the owner of that node in the ENS registry.\"},\"setPubkey(bytes32,bytes32,bytes32)\":{\"notice\":\"Sets the SECP256k1 public key associated with an ENS node.\"},\"setText(bytes32,string,string)\":{\"notice\":\"Sets the text data associated with an ENS node and key. May only be called by the owner of that node in the ENS registry.\"},\"text(bytes32,string)\":{\"notice\":\"Returns the text data associated with an ENS node and key.\"}},\"notice\":\"A simple resolver anyone can use; only allows the owner of a node to set its address.\"}},\"settings\":{\"compilationTarget\":{\"/home/user/Dropbox/projects/resolvers/contracts/PublicResolver.sol\":\"PublicResolver\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/user/Dropbox/projects/resolvers/contracts/PublicResolver.sol\":{\"keccak256\":\"0xefbe75eae88d73e4db56bc22f72fbf157d027caf2d20644eb99298f04b27fa5f\",\"urls\":[\"bzzr://4cb74b326c91262a10141c4c2dfe36a303793fbb300f502a0f3e2fbfbb468c58\"]},\"/home/user/Dropbox/projects/resolvers/contracts/ResolverBase.sol\":{\"keccak256\":\"0xfc7d550960829127576d6fc3080513d74ef18a6d7057d0d9262ce071890053e8\",\"urls\":[\"bzzr://81e5565403a67f558d12c787f53f40ff19a5da99c648f8a4f99f2caa449ca0e6\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/ABIResolver.sol\":{\"keccak256\":\"0x794514d39c469bab511822ca7a1a7a7838dca338499889896c7dac4303c30c1f\",\"urls\":[\"bzzr://9fdf58339517baeca57889519a4bb2f30a010f2f4262771e6f5de4374fc436b1\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/AddrResolver.sol\":{\"keccak256\":\"0xbe84f840b10f6ddc3d695d5905fe4034569c646bdf56b1367c16271aa92071c6\",\"urls\":[\"bzzr://c97941ee4075d43abe371cc52f3bfa018d7dc93c7cfbb72da565ecaa72996381\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/ContentHashResolver.sol\":{\"keccak256\":\"0xaa3d9b9baae36fbf831b8297832b54ffd1023b9ac508f2c5068b92ce0c30edfc\",\"urls\":[\"bzzr://c80ec35a145dd4b853e1e04b32763843313be216462a4993d28d5b489a6912f7\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/DNSResolver.sol\":{\"keccak256\":\"0x51534f5ebdcfda403b1a935f256e7f27d16b490e5b023b6e57877973daf9a4d4\",\"urls\":[\"bzzr://a81c189814102f6debd761795650d94694225b7486d490faf7d5fb6e0704ed28\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/InterfaceResolver.sol\":{\"keccak256\":\"0x6398dc59dd38501acd6a716173793e84aa1c454c3e21c190e10ddbe54dd8be41\",\"urls\":[\"bzzr://0d539232d308722b6a434ed5e9a22b0c4cb849c641b6d0739f2f83e566cb59f1\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/NameResolver.sol\":{\"keccak256\":\"0xcff06da8901397164ca9bea36361ac518fb62cd5283d2e2e835e006980ba4d16\",\"urls\":[\"bzzr://a4a8988916719c4976bb0caf1cff3bdee3c94ae693b57970f6b925124cff38ee\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/PubkeyResolver.sol\":{\"keccak256\":\"0xaa10a8a7e1579987b6781657153ae3f16806f240b3ffaa54ea1f303f7cb7a74a\",\"urls\":[\"bzzr://1caaa8668f536f654f4e6d68129ab5091e0ed5c72e0e70216b82d0bb9e7cd86f\"]},\"/home/user/Dropbox/projects/resolvers/contracts/profiles/TextResolver.sol\":{\"keccak256\":\"0x1feb20d9466c52f471c57344c1e3792e2c69b24ab9d7f7a4de6e49912abc75bb\",\"urls\":[\"bzzr://25ce3b4bf68f29d54e8916c0682b746a9e15f14bcccfc76136fc17ae2c902898\"]},\"@ensdomains/buffer/contracts/Buffer.sol\":{\"keccak256\":\"0x1264adbd06f6e05b04539bb225063a988b7fa90343d068de60cdde6cfb6fa92d\",\"urls\":[\"bzzr://8f1cb39e242b73bb7fac1f48bf0380ccccad14f06aae9cf4f87329cc78186122\"]},\"@ensdomains/dnssec-oracle/contracts/BytesUtils.sol\":{\"keccak256\":\"0x4014e689ef4a36cbf7103d88286abd2a7c560c2a7af99a561c33c61bc78be27a\",\"urls\":[\"bzzr://adf984996598f1e0d446eea1eda14ed2c49ab86a4ea1ae837cf4f9d99556b9c2\"]},\"@ensdomains/dnssec-oracle/contracts/RRUtils.sol\":{\"keccak256\":\"0x5135591043cf38413b19f93d16f189f0f8b50b01b78642fb764635d9790cc7ca\",\"urls\":[\"bzzr://7e3a0111306a7c5640e213da22bcfac1e42b813e8d4d99ef7ea33c09747049fc\"]},\"@ensdomains/ens/contracts/ENS.sol\":{\"keccak256\":\"0xe688db01c0b974f8ff8565557f7fe81aa1f209c1497ec1e74536241f4cc11f08\",\"urls\":[\"bzzr://04aa083550728a1da54d9acf874f4fca77cc3afef81c57f1ec19be78af05019a\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b506040516020806200386d833981018060405262000033919081019062000092565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000120565b6000815190506200008c8162000106565b92915050565b600060208284031215620000a557600080fd5b6000620000b5848285016200007b565b91505092915050565b6000620000cb82620000e6565b9050919050565b6000620000df82620000be565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200011181620000d2565b81146200011d57600080fd5b50565b61373d80620001306000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063691f3431116100c3578063bc1c58d11161007c578063bc1c58d11461040a578063c86902331461043a578063d5fa2b001461046b578063e59d895d14610487578063f1cb7e06146104a3578063f86bc879146104d357610158565b8063691f34311461032657806377372213146103565780638b95dd7114610372578063a8fa56821461038e578063ac9650d8146103be578063ad5780af146103ee57610158565b8063304e6ade11610115578063304e6ade146102425780633b3b57de1461025e5780633e9ce7941461028e5780634cbf6ba4146102aa57806359d1d43c146102da578063623195b01461030a57610158565b806301ffc9a71461015d5780630af179d71461018d57806310f13a8c146101a9578063124a319c146101c55780632203ab56146101f557806329cd62ea14610226575b600080fd5b61017760048036036101729190810190612ecd565b610503565b60405161018491906132ae565b60405180910390f35b6101a760048036036101a29190810190612c85565b610564565b005b6101c360048036036101be9190810190612d35565b610792565b005b6101df60048036036101da9190810190612bfa565b610840565b6040516101ec919061323b565b60405180910390f35b61020f600480360361020a9190810190612dbe565b610c2b565b60405161021d929190613429565b60405180910390f35b610240600480360361023b9190810190612b5c565b610d7a565b005b61025c60048036036102579190810190612c85565b610e0c565b005b61027860048036036102739190810190612a1d565b610e82565b6040516102859190613271565b60405180910390f35b6102a860048036036102a39190810190612ad1565b610eb9565b005b6102c460048036036102bf9190810190612b20565b610fc9565b6040516102d191906132ae565b60405180910390f35b6102f460048036036102ef9190810190612cdd565b611031565b6040516103019190613407565b60405180910390f35b610324600480360361031f9190810190612dfa565b611106565b005b610340600480360361033b9190810190612a1d565b611193565b60405161034d9190613407565b60405180910390f35b610370600480360361036b9190810190612cdd565b611248565b005b61038c60048036036103879190810190612e66565b6112be565b005b6103a860048036036103a39190810190612bab565b611394565b6040516103b5919061334c565b60405180910390f35b6103d860048036036103d391908101906129d8565b611499565b6040516103e5919061328c565b60405180910390f35b61040860048036036104039190810190612a1d565b6115ef565b005b610424600480360361041f9190810190612a1d565b611656565b604051610431919061334c565b60405180910390f35b610454600480360361044f9190810190612a1d565b61170b565b6040516104629291906132e4565b60405180910390f35b61048560048036036104809190810190612a46565b611745565b005b6104a1600480360361049c9190810190612c36565b611771565b005b6104bd60048036036104b89190810190612dbe565b611883565b6040516104ca919061334c565b60405180910390f35b6104ed60048036036104e89190810190612a82565b61194a565b6040516104fa91906132ae565b60405180910390f35b60006359d1d43c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055d575061055c82611986565b5b9050919050565b8261056e816119e7565b61057757600080fd5b60008090506000809050606080600061058e6125b2565b6105e660008a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611b7090919063ffffffff16565b90505b6105f281611b9a565b61071f5760008661ffff16141561064e578060400151955061061381611bb0565b93508360405160200161062691906131f6565b60405160208183030381529060405280519060200120915061064781611be7565b9250610711565b606061065982611bb0565b9050816040015161ffff168761ffff1614158061068657506106848186611c1790919063ffffffff16565b155b1561070f576106e88b86898d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508a8b88602001510360008b5114611c3e565b81604001519650816020015195508094508480519060200120925061070c82611be7565b93505b505b61071a81611f6e565b6105e9565b50600083511115610787576107868984878b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505088898e8e9050036000895114611c3e565b5b505050505050505050565b8461079c816119e7565b6107a557600080fd5b82826009600089815260200190815260200160002087876040516107ca92919061320d565b908152602001604051809103902091906107e59291906125fd565b5084846040516107f692919061320d565b6040518091039020867fd8c9334b1a9c2f9da342a0a2b32629c1a229b6445dad78947f674b44444a755087876040516108309291906133e3565b60405180910390a3505050505050565b600080600660008581526020019081526020016000206000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109055780915050610c25565b600061091085610e82565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095257600092505050610c25565b600060608273ffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b604051602401610985919061330d565b6040516020818303038152906040527f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610a0f91906131f6565b600060405180830381855afa9150503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5091509150811580610a62575060208151105b80610aa95750600060f81b81601f81518110610a7a57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610abb576000945050505050610c25565b8273ffffffffffffffffffffffffffffffffffffffff1686604051602401610ae3919061330d565b6040516020818303038152906040527f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610b6d91906131f6565b600060405180830381855afa9150503d8060008114610ba8576040519150601f19603f3d011682016040523d82523d6000602084013e610bad565b606091505b508092508193505050811580610bc4575060208151105b80610c0b5750600060f81b81601f81518110610bdc57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610c1d576000945050505050610c25565b829450505050505b92915050565b60006060600080600086815260200190815260200160002090506000600190505b848111610d5757600085821614158015610c8c57506000826000838152602001908152602001600020805460018160011615610100020316600290049050115b15610d4b5780826000838152602001908152602001600020808054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d395780601f10610d0e57610100808354040283529160200191610d39565b820191906000526020600020905b815481529060010190602001808311610d1c57829003601f168201915b50505050509050935093505050610d73565b600181901b9050610c4c565b5060006040518060200160405280600081525081915092509250505b9250929050565b82610d84816119e7565b610d8d57600080fd5b604051806040016040528084815260200183815250600860008681526020019081526020016000206000820151816000015560208201518160010155905050837f1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e468484604051610dfe9291906132e4565b60405180910390a250505050565b82610e16816119e7565b610e1f57600080fd5b8282600260008781526020019081526020016000209190610e4192919061267d565b50837fe379c1624ed7e714cc0937528a32359d69d5281337765313dba4e081b72d75788484604051610e74929190613328565b60405180910390a250505050565b60006060610e9183603c611883565b9050600081511415610ea7576000915050610eb4565b610eb081612082565b9150505b919050565b80600b600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16847fe1c5610a6e0cbe10764ecd182adcef1ec338dc4e199c99c32ce98f38e12791df84604051610fbc91906132ae565b60405180910390a4505050565b60008060056000858152602001908152602001600020600060036000878152602001908152602001600020548152602001908152602001600020600084815260200190815260200160002060009054906101000a900461ffff1661ffff161415905092915050565b606060096000858152602001908152602001600020838360405161105692919061320d565b90815260200160405180910390208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f85780601f106110cd576101008083540402835291602001916110f8565b820191906000526020600020905b8154815290600101906020018083116110db57829003601f168201915b505050505090509392505050565b83611110816119e7565b61111957600080fd5b60008460018603161461112b57600080fd5b82826000808881526020019081526020016000206000878152602001908152602001600020919061115d92919061267d565b5083857faa121bbeef5f32f5961a2a28966e769023910fc9479059ee3495d4c1a696efe360405160405180910390a35050505050565b6060600760008381526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b50505050509050919050565b82611252816119e7565b61125b57600080fd5b828260076000878152602001908152602001600020919061127d9291906125fd565b50837fb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f784846040516112b09291906133e3565b60405180910390a250505050565b826112c8816119e7565b6112d157600080fd5b837f65412581168e88a1e60c6459d7f44ae83ad0832e670826c05a4e2476b57af7528484604051611303929190613429565b60405180910390a2603c83141561135557837f52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd261133f84612082565b60405161134c9190613256565b60405180910390a25b81600160008681526020019081526020016000206000858152602001908152602001600020908051906020019061138d9291906126fd565b5050505050565b606060046000858152602001908152602001600020600060036000878152602001908152602001600020548152602001908152602001600020600084815260200190815260200160002060008361ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561148b5780601f106114605761010080835404028352916020019161148b565b820191906000526020600020905b81548152906001019060200180831161146e57829003601f168201915b505050505090509392505050565b6060828290506040519080825280602002602001820160405280156114d257816020015b60608152602001906001900390816114bd5790505b50905060008090505b838390508110156115e557600060603073ffffffffffffffffffffffffffffffffffffffff1686868581811061150d57fe5b905060200281018035600160200383360303811261152a57600080fd5b8083019250508135905060208201915067ffffffffffffffff81111561154f57600080fd5b60018102360382131561156157600080fd5b60405161156f9291906131dd565b600060405180830381855af49150503d80600081146115aa576040519150601f19603f3d011682016040523d82523d6000602084013e6115af565b606091505b5091509150816115be57600080fd5b808484815181106115cb57fe5b6020026020010181905250505080806001019150506114db565b5080905092915050565b806115f9816119e7565b61160257600080fd5b6003600083815260200190815260200160002060008154809291906001019190505550817fb757169b8492ca2f1c6619d9d76ce22803035c3b1d5f6930dffe7b127c1a198360405160405180910390a25050565b6060600260008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116ff5780601f106116d4576101008083540402835291602001916116ff565b820191906000526020600020905b8154815290600101906020018083116116e257829003601f168201915b50505050509050919050565b6000806008600084815260200190815260200160002060000154600860008581526020019081526020016000206001015491509150915091565b8161174f816119e7565b61175857600080fd5b61176c83603c611767856120a5565b6112be565b505050565b8261177b816119e7565b61178457600080fd5b81600660008681526020019081526020016000206000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916847f7c69f06bea0bdef565b709e93a147836b0063ba2dd89f02d0b7e8d931e6a6daa84604051611875919061323b565b60405180910390a350505050565b60606001600084815260200190815260200160002060008381526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561193d5780601f106119125761010080835404028352916020019161193d565b820191906000526020600020905b81548152906001019060200180831161192057829003601f168201915b5050505050905092915050565b600b602052826000526040600020602052816000526040600020602052806000526040600020600092509250509054906101000a900460ff1681565b600063c869023360e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119e057506119df826120f0565b5b9050919050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3846040518263ffffffff1660e01b8152600401611a4591906132c9565b60206040518083038186803b158015611a5d57600080fd5b505afa158015611a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611a9591908101906129af565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480611b685750600b600084815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b915050919050565b611b786125b2565b828160000181905250818160c0018181525050611b9481611f6e565b92915050565b6000816000015151826020015110159050919050565b6060611be08260200151611bcc84600001518560200151612151565b84600001516121ac9092919063ffffffff16565b9050919050565b6060611c108260a001518360a001518460c001510384600001516121ac9092919063ffffffff16565b9050919050565b600081518351148015611c365750611c35836000846000875161221f565b5b905092915050565b6000600360008981526020019081526020016000205490506000878051906020012090506060611c798686896121ac9092919063ffffffff16565b90508315611dee576000600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff16815260200190815260200160002080546001816001161561010002031660029004905014611d5557600560008b815260200190815260200160002060008481526020019081526020016000206000838152602001908152602001600020600081819054906101000a900461ffff16809291906001900391906101000a81548161ffff021916908361ffff160217905550505b600460008b81526020019081526020016000206000848152602001908152602001600020600083815260200190815260200160002060008961ffff1661ffff1681526020019081526020016000206000611daf919061277d565b897f03528ed0c2a3ebc993b12ce3c16bb382f9c7d88ef7d8a1bf290eaf35955a12078a8a604051611de192919061336e565b60405180910390a2611f62565b6000600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900490501415611ec257600560008b815260200190815260200160002060008481526020019081526020016000206000838152602001908152602001600020600081819054906101000a900461ffff168092919060010191906101000a81548161ffff021916908361ffff160217905550505b80600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff1681526020019081526020016000209080519060200190611f249291906126fd565b50897f52a608b3303a48862d07a73d82fa221318c0027fbbcfb1b2329bface3f19ff2b8a8a84604051611f599392919061339e565b60405180910390a25b50505050505050505050565b8060c00151816020018181525050806000015151816020015110611f915761207f565b6000611fa582600001518360200151612151565b8260200151019050611fc481836000015161224390919063ffffffff16565b826040019061ffff16908161ffff1681525050600281019050611ff481836000015161224390919063ffffffff16565b826060019061ffff16908161ffff168152505060028101905061202481836000015161226990919063ffffffff16565b826080019063ffffffff16908163ffffffff1681525050600481019050600061205a82846000015161224390919063ffffffff16565b61ffff169050600282019150818360a00181815250508082018360c001818152505050505b50565b6000601482511461209257600080fd5b600c6101000a6020830151049050919050565b606060146040519080825280601f01601f1916602001820160405280156120db5781602001600182028038833980820191505090505b509050600c6101000a82026020820152919050565b600063691f343160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214a575061214982612291565b5b9050919050565b6000808290505b6001156121a0578351811061216957fe5b600061217e82866122fe90919063ffffffff16565b60ff1690506001810182019150600081141561219a57506121a0565b50612158565b82810391505092915050565b6060835182840111156121be57600080fd5b6060826040519080825280601f01601f1916602001820160405280156121f35781602001600182028038833980820191505090505b5090506000806020830191508560208801019050612212828287612322565b8293505050509392505050565b600061222c84848461236b565b61223787878561236b565b14905095945050505050565b6000825160028301111561225657600080fd5b61ffff8260028501015116905092915050565b6000825160048301111561227c57600080fd5b63ffffffff8260048501015116905092915050565b600060405161229f90613226565b60405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f757506122f68261238e565b5b9050919050565b600082828151811061230c57fe5b602001015160f81c60f81b60f81c905092915050565b5b602081106123465781518352602083019250602082019150602081039050612323565b60006001826020036101000a0390508019835116818551168181178652505050505050565b60008351828401111561237d57600080fd5b818360208601012090509392505050565b600063a8fa568260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e857506123e7826123ef565b5b9050919050565b600063bc1c58d160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612449575061244882612450565b5b9050919050565b6000633b3b57de60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e9575063f1cb7e0660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124f957506124f882612500565b5b9050919050565b6000632203ab5660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255a575061255982612561565b5b9050919050565b60006301ffc9a760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060e001604052806060815260200160008152602001600061ffff168152602001600061ffff168152602001600063ffffffff16815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061263e57803560ff191683800117855561266c565b8280016001018555821561266c579182015b8281111561266b578235825591602001919060010190612650565b5b50905061267991906127c5565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106126be57803560ff19168380011785556126ec565b828001600101855582156126ec579182015b828111156126eb5782358255916020019190600101906126d0565b5b5090506126f991906127c5565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061273e57805160ff191683800117855561276c565b8280016001018555821561276c579182015b8281111561276b578251825591602001919060010190612750565b5b50905061277991906127c5565b5090565b50805460018160011615610100020316600290046000825580601f106127a357506127c2565b601f0160209004906000526020600020908101906127c191906127c5565b5b50565b6127e791905b808211156127e35760008160009055506001016127cb565b5090565b90565b6000813590506127f981613679565b92915050565b60008151905061280e81613679565b92915050565b60008083601f84011261282657600080fd5b8235905067ffffffffffffffff81111561283f57600080fd5b60208301915083602082028301111561285757600080fd5b9250929050565b60008135905061286d81613690565b92915050565b600081359050612882816136a7565b92915050565b600081359050612897816136be565b92915050565b60008083601f8401126128af57600080fd5b8235905067ffffffffffffffff8111156128c857600080fd5b6020830191508360018202830111156128e057600080fd5b9250929050565b600082601f8301126128f857600080fd5b813561290b61290682613486565b613459565b9150808252602083016020830185838301111561292757600080fd5b612932838284613626565b50505092915050565b60008083601f84011261294d57600080fd5b8235905067ffffffffffffffff81111561296657600080fd5b60208301915083600182028301111561297e57600080fd5b9250929050565b600081359050612994816136d5565b92915050565b6000813590506129a9816136ec565b92915050565b6000602082840312156129c157600080fd5b60006129cf848285016127ff565b91505092915050565b600080602083850312156129eb57600080fd5b600083013567ffffffffffffffff811115612a0557600080fd5b612a1185828601612814565b92509250509250929050565b600060208284031215612a2f57600080fd5b6000612a3d84828501612873565b91505092915050565b60008060408385031215612a5957600080fd5b6000612a6785828601612873565b9250506020612a78858286016127ea565b9150509250929050565b600080600060608486031215612a9757600080fd5b6000612aa586828701612873565b9350506020612ab6868287016127ea565b9250506040612ac7868287016127ea565b9150509250925092565b600080600060608486031215612ae657600080fd5b6000612af486828701612873565b9350506020612b05868287016127ea565b9250506040612b168682870161285e565b9150509250925092565b60008060408385031215612b3357600080fd5b6000612b4185828601612873565b9250506020612b5285828601612873565b9150509250929050565b600080600060608486031215612b7157600080fd5b6000612b7f86828701612873565b9350506020612b9086828701612873565b9250506040612ba186828701612873565b9150509250925092565b600080600060608486031215612bc057600080fd5b6000612bce86828701612873565b9350506020612bdf86828701612873565b9250506040612bf086828701612985565b9150509250925092565b60008060408385031215612c0d57600080fd5b6000612c1b85828601612873565b9250506020612c2c85828601612888565b9150509250929050565b600080600060608486031215612c4b57600080fd5b6000612c5986828701612873565b9350506020612c6a86828701612888565b9250506040612c7b868287016127ea565b9150509250925092565b600080600060408486031215612c9a57600080fd5b6000612ca886828701612873565b935050602084013567ffffffffffffffff811115612cc557600080fd5b612cd18682870161289d565b92509250509250925092565b600080600060408486031215612cf257600080fd5b6000612d0086828701612873565b935050602084013567ffffffffffffffff811115612d1d57600080fd5b612d298682870161293b565b92509250509250925092565b600080600080600060608688031215612d4d57600080fd5b6000612d5b88828901612873565b955050602086013567ffffffffffffffff811115612d7857600080fd5b612d848882890161293b565b9450945050604086013567ffffffffffffffff811115612da357600080fd5b612daf8882890161293b565b92509250509295509295909350565b60008060408385031215612dd157600080fd5b6000612ddf85828601612873565b9250506020612df08582860161299a565b9150509250929050565b60008060008060608587031215612e1057600080fd5b6000612e1e87828801612873565b9450506020612e2f8782880161299a565b935050604085013567ffffffffffffffff811115612e4c57600080fd5b612e588782880161289d565b925092505092959194509250565b600080600060608486031215612e7b57600080fd5b6000612e8986828701612873565b9350506020612e9a8682870161299a565b925050604084013567ffffffffffffffff811115612eb757600080fd5b612ec3868287016128e7565b9150509250925092565b600060208284031215612edf57600080fd5b6000612eed84828501612888565b91505092915050565b6000612f028383613095565b905092915050565b612f13816135f0565b82525050565b612f2281613564565b82525050565b612f3181613552565b82525050565b6000612f42826134bf565b612f4c81856134f8565b935083602082028501612f5e856134b2565b8060005b85811015612f9a5784840389528151612f7b8582612ef6565b9450612f86836134eb565b925060208a01995050600181019050612f62565b50829750879550505050505092915050565b612fb581613576565b82525050565b612fc481613582565b82525050565b612fd38161358c565b82525050565b6000612fe5838561351a565b9350612ff2838584613626565b612ffb83613668565b840190509392505050565b6000613012838561352b565b935061301f838584613626565b82840190509392505050565b6000613036826134d5565b613040818561351a565b9350613050818560208601613635565b61305981613668565b840191505092915050565b600061306f826134d5565b613079818561352b565b9350613089818560208601613635565b80840191505092915050565b60006130a0826134ca565b6130aa8185613509565b93506130ba818560208601613635565b6130c381613668565b840191505092915050565b60006130da8385613536565b93506130e7838584613626565b6130f083613668565b840190509392505050565b60006131078385613547565b9350613114838584613626565b82840190509392505050565b600061312b826134e0565b6131358185613536565b9350613145818560208601613635565b61314e81613668565b840191505092915050565b6000613166602483613547565b91507f696e74657266616365496d706c656d656e74657228627974657333322c62797460008301527f65733429000000000000000000000000000000000000000000000000000000006020830152602482019050919050565b6131c8816135b8565b82525050565b6131d7816135e6565b82525050565b60006131ea828486613006565b91508190509392505050565b60006132028284613064565b915081905092915050565b600061321a8284866130fb565b91508190509392505050565b600061323182613159565b9150819050919050565b60006020820190506132506000830184612f28565b92915050565b600060208201905061326b6000830184612f0a565b92915050565b60006020820190506132866000830184612f19565b92915050565b600060208201905081810360008301526132a68184612f37565b905092915050565b60006020820190506132c36000830184612fac565b92915050565b60006020820190506132de6000830184612fbb565b92915050565b60006040820190506132f96000830185612fbb565b6133066020830184612fbb565b9392505050565b60006020820190506133226000830184612fca565b92915050565b60006020820190508181036000830152613343818486612fd9565b90509392505050565b60006020820190508181036000830152613366818461302b565b905092915050565b60006040820190508181036000830152613388818561302b565b905061339760208301846131bf565b9392505050565b600060608201905081810360008301526133b8818661302b565b90506133c760208301856131bf565b81810360408301526133d9818461302b565b9050949350505050565b600060208201905081810360008301526133fe8184866130ce565b90509392505050565b600060208201905081810360008301526134218184613120565b905092915050565b600060408201905061343e60008301856131ce565b8181036020830152613450818461302b565b90509392505050565b6000604051905081810181811067ffffffffffffffff8211171561347c57600080fd5b8060405250919050565b600067ffffffffffffffff82111561349d57600080fd5b601f19601f8301169050602081019050919050565b6000602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061355d826135c6565b9050919050565b600061356f826135c6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006135fb82613602565b9050919050565b600061360d82613614565b9050919050565b600061361f826135c6565b9050919050565b82818337600083830152505050565b60005b83811015613653578082015181840152602081019050613638565b83811115613662576000848401525b50505050565b6000601f19601f8301169050919050565b61368281613552565b811461368d57600080fd5b50565b61369981613576565b81146136a457600080fd5b50565b6136b081613582565b81146136bb57600080fd5b50565b6136c78161358c565b81146136d257600080fd5b50565b6136de816135b8565b81146136e957600080fd5b50565b6136f5816135e6565b811461370057600080fd5b5056fea265627a7a7230582049ebf27fa2f4353ae0dc98302f101fe3256ef5930b91c52222dcf860d94f3c326c6578706572696d656e74616cf50037", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063691f3431116100c3578063bc1c58d11161007c578063bc1c58d11461040a578063c86902331461043a578063d5fa2b001461046b578063e59d895d14610487578063f1cb7e06146104a3578063f86bc879146104d357610158565b8063691f34311461032657806377372213146103565780638b95dd7114610372578063a8fa56821461038e578063ac9650d8146103be578063ad5780af146103ee57610158565b8063304e6ade11610115578063304e6ade146102425780633b3b57de1461025e5780633e9ce7941461028e5780634cbf6ba4146102aa57806359d1d43c146102da578063623195b01461030a57610158565b806301ffc9a71461015d5780630af179d71461018d57806310f13a8c146101a9578063124a319c146101c55780632203ab56146101f557806329cd62ea14610226575b600080fd5b61017760048036036101729190810190612ecd565b610503565b60405161018491906132ae565b60405180910390f35b6101a760048036036101a29190810190612c85565b610564565b005b6101c360048036036101be9190810190612d35565b610792565b005b6101df60048036036101da9190810190612bfa565b610840565b6040516101ec919061323b565b60405180910390f35b61020f600480360361020a9190810190612dbe565b610c2b565b60405161021d929190613429565b60405180910390f35b610240600480360361023b9190810190612b5c565b610d7a565b005b61025c60048036036102579190810190612c85565b610e0c565b005b61027860048036036102739190810190612a1d565b610e82565b6040516102859190613271565b60405180910390f35b6102a860048036036102a39190810190612ad1565b610eb9565b005b6102c460048036036102bf9190810190612b20565b610fc9565b6040516102d191906132ae565b60405180910390f35b6102f460048036036102ef9190810190612cdd565b611031565b6040516103019190613407565b60405180910390f35b610324600480360361031f9190810190612dfa565b611106565b005b610340600480360361033b9190810190612a1d565b611193565b60405161034d9190613407565b60405180910390f35b610370600480360361036b9190810190612cdd565b611248565b005b61038c60048036036103879190810190612e66565b6112be565b005b6103a860048036036103a39190810190612bab565b611394565b6040516103b5919061334c565b60405180910390f35b6103d860048036036103d391908101906129d8565b611499565b6040516103e5919061328c565b60405180910390f35b61040860048036036104039190810190612a1d565b6115ef565b005b610424600480360361041f9190810190612a1d565b611656565b604051610431919061334c565b60405180910390f35b610454600480360361044f9190810190612a1d565b61170b565b6040516104629291906132e4565b60405180910390f35b61048560048036036104809190810190612a46565b611745565b005b6104a1600480360361049c9190810190612c36565b611771565b005b6104bd60048036036104b89190810190612dbe565b611883565b6040516104ca919061334c565b60405180910390f35b6104ed60048036036104e89190810190612a82565b61194a565b6040516104fa91906132ae565b60405180910390f35b60006359d1d43c60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055d575061055c82611986565b5b9050919050565b8261056e816119e7565b61057757600080fd5b60008090506000809050606080600061058e6125b2565b6105e660008a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611b7090919063ffffffff16565b90505b6105f281611b9a565b61071f5760008661ffff16141561064e578060400151955061061381611bb0565b93508360405160200161062691906131f6565b60405160208183030381529060405280519060200120915061064781611be7565b9250610711565b606061065982611bb0565b9050816040015161ffff168761ffff1614158061068657506106848186611c1790919063ffffffff16565b155b1561070f576106e88b86898d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508a8b88602001510360008b5114611c3e565b81604001519650816020015195508094508480519060200120925061070c82611be7565b93505b505b61071a81611f6e565b6105e9565b50600083511115610787576107868984878b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505088898e8e9050036000895114611c3e565b5b505050505050505050565b8461079c816119e7565b6107a557600080fd5b82826009600089815260200190815260200160002087876040516107ca92919061320d565b908152602001604051809103902091906107e59291906125fd565b5084846040516107f692919061320d565b6040518091039020867fd8c9334b1a9c2f9da342a0a2b32629c1a229b6445dad78947f674b44444a755087876040516108309291906133e3565b60405180910390a3505050505050565b600080600660008581526020019081526020016000206000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109055780915050610c25565b600061091085610e82565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095257600092505050610c25565b600060608273ffffffffffffffffffffffffffffffffffffffff166301ffc9a760e01b604051602401610985919061330d565b6040516020818303038152906040527f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610a0f91906131f6565b600060405180830381855afa9150503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5091509150811580610a62575060208151105b80610aa95750600060f81b81601f81518110610a7a57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610abb576000945050505050610c25565b8273ffffffffffffffffffffffffffffffffffffffff1686604051602401610ae3919061330d565b6040516020818303038152906040527f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610b6d91906131f6565b600060405180830381855afa9150503d8060008114610ba8576040519150601f19603f3d011682016040523d82523d6000602084013e610bad565b606091505b508092508193505050811580610bc4575060208151105b80610c0b5750600060f81b81601f81518110610bdc57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610c1d576000945050505050610c25565b829450505050505b92915050565b60006060600080600086815260200190815260200160002090506000600190505b848111610d5757600085821614158015610c8c57506000826000838152602001908152602001600020805460018160011615610100020316600290049050115b15610d4b5780826000838152602001908152602001600020808054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d395780601f10610d0e57610100808354040283529160200191610d39565b820191906000526020600020905b815481529060010190602001808311610d1c57829003601f168201915b50505050509050935093505050610d73565b600181901b9050610c4c565b5060006040518060200160405280600081525081915092509250505b9250929050565b82610d84816119e7565b610d8d57600080fd5b604051806040016040528084815260200183815250600860008681526020019081526020016000206000820151816000015560208201518160010155905050837f1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e468484604051610dfe9291906132e4565b60405180910390a250505050565b82610e16816119e7565b610e1f57600080fd5b8282600260008781526020019081526020016000209190610e4192919061267d565b50837fe379c1624ed7e714cc0937528a32359d69d5281337765313dba4e081b72d75788484604051610e74929190613328565b60405180910390a250505050565b60006060610e9183603c611883565b9050600081511415610ea7576000915050610eb4565b610eb081612082565b9150505b919050565b80600b600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16847fe1c5610a6e0cbe10764ecd182adcef1ec338dc4e199c99c32ce98f38e12791df84604051610fbc91906132ae565b60405180910390a4505050565b60008060056000858152602001908152602001600020600060036000878152602001908152602001600020548152602001908152602001600020600084815260200190815260200160002060009054906101000a900461ffff1661ffff161415905092915050565b606060096000858152602001908152602001600020838360405161105692919061320d565b90815260200160405180910390208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f85780601f106110cd576101008083540402835291602001916110f8565b820191906000526020600020905b8154815290600101906020018083116110db57829003601f168201915b505050505090509392505050565b83611110816119e7565b61111957600080fd5b60008460018603161461112b57600080fd5b82826000808881526020019081526020016000206000878152602001908152602001600020919061115d92919061267d565b5083857faa121bbeef5f32f5961a2a28966e769023910fc9479059ee3495d4c1a696efe360405160405180910390a35050505050565b6060600760008381526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b50505050509050919050565b82611252816119e7565b61125b57600080fd5b828260076000878152602001908152602001600020919061127d9291906125fd565b50837fb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f784846040516112b09291906133e3565b60405180910390a250505050565b826112c8816119e7565b6112d157600080fd5b837f65412581168e88a1e60c6459d7f44ae83ad0832e670826c05a4e2476b57af7528484604051611303929190613429565b60405180910390a2603c83141561135557837f52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd261133f84612082565b60405161134c9190613256565b60405180910390a25b81600160008681526020019081526020016000206000858152602001908152602001600020908051906020019061138d9291906126fd565b5050505050565b606060046000858152602001908152602001600020600060036000878152602001908152602001600020548152602001908152602001600020600084815260200190815260200160002060008361ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561148b5780601f106114605761010080835404028352916020019161148b565b820191906000526020600020905b81548152906001019060200180831161146e57829003601f168201915b505050505090509392505050565b6060828290506040519080825280602002602001820160405280156114d257816020015b60608152602001906001900390816114bd5790505b50905060008090505b838390508110156115e557600060603073ffffffffffffffffffffffffffffffffffffffff1686868581811061150d57fe5b905060200281018035600160200383360303811261152a57600080fd5b8083019250508135905060208201915067ffffffffffffffff81111561154f57600080fd5b60018102360382131561156157600080fd5b60405161156f9291906131dd565b600060405180830381855af49150503d80600081146115aa576040519150601f19603f3d011682016040523d82523d6000602084013e6115af565b606091505b5091509150816115be57600080fd5b808484815181106115cb57fe5b6020026020010181905250505080806001019150506114db565b5080905092915050565b806115f9816119e7565b61160257600080fd5b6003600083815260200190815260200160002060008154809291906001019190505550817fb757169b8492ca2f1c6619d9d76ce22803035c3b1d5f6930dffe7b127c1a198360405160405180910390a25050565b6060600260008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116ff5780601f106116d4576101008083540402835291602001916116ff565b820191906000526020600020905b8154815290600101906020018083116116e257829003601f168201915b50505050509050919050565b6000806008600084815260200190815260200160002060000154600860008581526020019081526020016000206001015491509150915091565b8161174f816119e7565b61175857600080fd5b61176c83603c611767856120a5565b6112be565b505050565b8261177b816119e7565b61178457600080fd5b81600660008681526020019081526020016000206000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916847f7c69f06bea0bdef565b709e93a147836b0063ba2dd89f02d0b7e8d931e6a6daa84604051611875919061323b565b60405180910390a350505050565b60606001600084815260200190815260200160002060008381526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561193d5780601f106119125761010080835404028352916020019161193d565b820191906000526020600020905b81548152906001019060200180831161192057829003601f168201915b5050505050905092915050565b600b602052826000526040600020602052816000526040600020602052806000526040600020600092509250509054906101000a900460ff1681565b600063c869023360e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119e057506119df826120f0565b5b9050919050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3846040518263ffffffff1660e01b8152600401611a4591906132c9565b60206040518083038186803b158015611a5d57600080fd5b505afa158015611a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611a9591908101906129af565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480611b685750600b600084815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b915050919050565b611b786125b2565b828160000181905250818160c0018181525050611b9481611f6e565b92915050565b6000816000015151826020015110159050919050565b6060611be08260200151611bcc84600001518560200151612151565b84600001516121ac9092919063ffffffff16565b9050919050565b6060611c108260a001518360a001518460c001510384600001516121ac9092919063ffffffff16565b9050919050565b600081518351148015611c365750611c35836000846000875161221f565b5b905092915050565b6000600360008981526020019081526020016000205490506000878051906020012090506060611c798686896121ac9092919063ffffffff16565b90508315611dee576000600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff16815260200190815260200160002080546001816001161561010002031660029004905014611d5557600560008b815260200190815260200160002060008481526020019081526020016000206000838152602001908152602001600020600081819054906101000a900461ffff16809291906001900391906101000a81548161ffff021916908361ffff160217905550505b600460008b81526020019081526020016000206000848152602001908152602001600020600083815260200190815260200160002060008961ffff1661ffff1681526020019081526020016000206000611daf919061277d565b897f03528ed0c2a3ebc993b12ce3c16bb382f9c7d88ef7d8a1bf290eaf35955a12078a8a604051611de192919061336e565b60405180910390a2611f62565b6000600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900490501415611ec257600560008b815260200190815260200160002060008481526020019081526020016000206000838152602001908152602001600020600081819054906101000a900461ffff168092919060010191906101000a81548161ffff021916908361ffff160217905550505b80600460008c81526020019081526020016000206000858152602001908152602001600020600084815260200190815260200160002060008a61ffff1661ffff1681526020019081526020016000209080519060200190611f249291906126fd565b50897f52a608b3303a48862d07a73d82fa221318c0027fbbcfb1b2329bface3f19ff2b8a8a84604051611f599392919061339e565b60405180910390a25b50505050505050505050565b8060c00151816020018181525050806000015151816020015110611f915761207f565b6000611fa582600001518360200151612151565b8260200151019050611fc481836000015161224390919063ffffffff16565b826040019061ffff16908161ffff1681525050600281019050611ff481836000015161224390919063ffffffff16565b826060019061ffff16908161ffff168152505060028101905061202481836000015161226990919063ffffffff16565b826080019063ffffffff16908163ffffffff1681525050600481019050600061205a82846000015161224390919063ffffffff16565b61ffff169050600282019150818360a00181815250508082018360c001818152505050505b50565b6000601482511461209257600080fd5b600c6101000a6020830151049050919050565b606060146040519080825280601f01601f1916602001820160405280156120db5781602001600182028038833980820191505090505b509050600c6101000a82026020820152919050565b600063691f343160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214a575061214982612291565b5b9050919050565b6000808290505b6001156121a0578351811061216957fe5b600061217e82866122fe90919063ffffffff16565b60ff1690506001810182019150600081141561219a57506121a0565b50612158565b82810391505092915050565b6060835182840111156121be57600080fd5b6060826040519080825280601f01601f1916602001820160405280156121f35781602001600182028038833980820191505090505b5090506000806020830191508560208801019050612212828287612322565b8293505050509392505050565b600061222c84848461236b565b61223787878561236b565b14905095945050505050565b6000825160028301111561225657600080fd5b61ffff8260028501015116905092915050565b6000825160048301111561227c57600080fd5b63ffffffff8260048501015116905092915050565b600060405161229f90613226565b60405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f757506122f68261238e565b5b9050919050565b600082828151811061230c57fe5b602001015160f81c60f81b60f81c905092915050565b5b602081106123465781518352602083019250602082019150602081039050612323565b60006001826020036101000a0390508019835116818551168181178652505050505050565b60008351828401111561237d57600080fd5b818360208601012090509392505050565b600063a8fa568260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e857506123e7826123ef565b5b9050919050565b600063bc1c58d160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612449575061244882612450565b5b9050919050565b6000633b3b57de60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e9575063f1cb7e0660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124f957506124f882612500565b5b9050919050565b6000632203ab5660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255a575061255982612561565b5b9050919050565b60006301ffc9a760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060e001604052806060815260200160008152602001600061ffff168152602001600061ffff168152602001600063ffffffff16815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061263e57803560ff191683800117855561266c565b8280016001018555821561266c579182015b8281111561266b578235825591602001919060010190612650565b5b50905061267991906127c5565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106126be57803560ff19168380011785556126ec565b828001600101855582156126ec579182015b828111156126eb5782358255916020019190600101906126d0565b5b5090506126f991906127c5565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061273e57805160ff191683800117855561276c565b8280016001018555821561276c579182015b8281111561276b578251825591602001919060010190612750565b5b50905061277991906127c5565b5090565b50805460018160011615610100020316600290046000825580601f106127a357506127c2565b601f0160209004906000526020600020908101906127c191906127c5565b5b50565b6127e791905b808211156127e35760008160009055506001016127cb565b5090565b90565b6000813590506127f981613679565b92915050565b60008151905061280e81613679565b92915050565b60008083601f84011261282657600080fd5b8235905067ffffffffffffffff81111561283f57600080fd5b60208301915083602082028301111561285757600080fd5b9250929050565b60008135905061286d81613690565b92915050565b600081359050612882816136a7565b92915050565b600081359050612897816136be565b92915050565b60008083601f8401126128af57600080fd5b8235905067ffffffffffffffff8111156128c857600080fd5b6020830191508360018202830111156128e057600080fd5b9250929050565b600082601f8301126128f857600080fd5b813561290b61290682613486565b613459565b9150808252602083016020830185838301111561292757600080fd5b612932838284613626565b50505092915050565b60008083601f84011261294d57600080fd5b8235905067ffffffffffffffff81111561296657600080fd5b60208301915083600182028301111561297e57600080fd5b9250929050565b600081359050612994816136d5565b92915050565b6000813590506129a9816136ec565b92915050565b6000602082840312156129c157600080fd5b60006129cf848285016127ff565b91505092915050565b600080602083850312156129eb57600080fd5b600083013567ffffffffffffffff811115612a0557600080fd5b612a1185828601612814565b92509250509250929050565b600060208284031215612a2f57600080fd5b6000612a3d84828501612873565b91505092915050565b60008060408385031215612a5957600080fd5b6000612a6785828601612873565b9250506020612a78858286016127ea565b9150509250929050565b600080600060608486031215612a9757600080fd5b6000612aa586828701612873565b9350506020612ab6868287016127ea565b9250506040612ac7868287016127ea565b9150509250925092565b600080600060608486031215612ae657600080fd5b6000612af486828701612873565b9350506020612b05868287016127ea565b9250506040612b168682870161285e565b9150509250925092565b60008060408385031215612b3357600080fd5b6000612b4185828601612873565b9250506020612b5285828601612873565b9150509250929050565b600080600060608486031215612b7157600080fd5b6000612b7f86828701612873565b9350506020612b9086828701612873565b9250506040612ba186828701612873565b9150509250925092565b600080600060608486031215612bc057600080fd5b6000612bce86828701612873565b9350506020612bdf86828701612873565b9250506040612bf086828701612985565b9150509250925092565b60008060408385031215612c0d57600080fd5b6000612c1b85828601612873565b9250506020612c2c85828601612888565b9150509250929050565b600080600060608486031215612c4b57600080fd5b6000612c5986828701612873565b9350506020612c6a86828701612888565b9250506040612c7b868287016127ea565b9150509250925092565b600080600060408486031215612c9a57600080fd5b6000612ca886828701612873565b935050602084013567ffffffffffffffff811115612cc557600080fd5b612cd18682870161289d565b92509250509250925092565b600080600060408486031215612cf257600080fd5b6000612d0086828701612873565b935050602084013567ffffffffffffffff811115612d1d57600080fd5b612d298682870161293b565b92509250509250925092565b600080600080600060608688031215612d4d57600080fd5b6000612d5b88828901612873565b955050602086013567ffffffffffffffff811115612d7857600080fd5b612d848882890161293b565b9450945050604086013567ffffffffffffffff811115612da357600080fd5b612daf8882890161293b565b92509250509295509295909350565b60008060408385031215612dd157600080fd5b6000612ddf85828601612873565b9250506020612df08582860161299a565b9150509250929050565b60008060008060608587031215612e1057600080fd5b6000612e1e87828801612873565b9450506020612e2f8782880161299a565b935050604085013567ffffffffffffffff811115612e4c57600080fd5b612e588782880161289d565b925092505092959194509250565b600080600060608486031215612e7b57600080fd5b6000612e8986828701612873565b9350506020612e9a8682870161299a565b925050604084013567ffffffffffffffff811115612eb757600080fd5b612ec3868287016128e7565b9150509250925092565b600060208284031215612edf57600080fd5b6000612eed84828501612888565b91505092915050565b6000612f028383613095565b905092915050565b612f13816135f0565b82525050565b612f2281613564565b82525050565b612f3181613552565b82525050565b6000612f42826134bf565b612f4c81856134f8565b935083602082028501612f5e856134b2565b8060005b85811015612f9a5784840389528151612f7b8582612ef6565b9450612f86836134eb565b925060208a01995050600181019050612f62565b50829750879550505050505092915050565b612fb581613576565b82525050565b612fc481613582565b82525050565b612fd38161358c565b82525050565b6000612fe5838561351a565b9350612ff2838584613626565b612ffb83613668565b840190509392505050565b6000613012838561352b565b935061301f838584613626565b82840190509392505050565b6000613036826134d5565b613040818561351a565b9350613050818560208601613635565b61305981613668565b840191505092915050565b600061306f826134d5565b613079818561352b565b9350613089818560208601613635565b80840191505092915050565b60006130a0826134ca565b6130aa8185613509565b93506130ba818560208601613635565b6130c381613668565b840191505092915050565b60006130da8385613536565b93506130e7838584613626565b6130f083613668565b840190509392505050565b60006131078385613547565b9350613114838584613626565b82840190509392505050565b600061312b826134e0565b6131358185613536565b9350613145818560208601613635565b61314e81613668565b840191505092915050565b6000613166602483613547565b91507f696e74657266616365496d706c656d656e74657228627974657333322c62797460008301527f65733429000000000000000000000000000000000000000000000000000000006020830152602482019050919050565b6131c8816135b8565b82525050565b6131d7816135e6565b82525050565b60006131ea828486613006565b91508190509392505050565b60006132028284613064565b915081905092915050565b600061321a8284866130fb565b91508190509392505050565b600061323182613159565b9150819050919050565b60006020820190506132506000830184612f28565b92915050565b600060208201905061326b6000830184612f0a565b92915050565b60006020820190506132866000830184612f19565b92915050565b600060208201905081810360008301526132a68184612f37565b905092915050565b60006020820190506132c36000830184612fac565b92915050565b60006020820190506132de6000830184612fbb565b92915050565b60006040820190506132f96000830185612fbb565b6133066020830184612fbb565b9392505050565b60006020820190506133226000830184612fca565b92915050565b60006020820190508181036000830152613343818486612fd9565b90509392505050565b60006020820190508181036000830152613366818461302b565b905092915050565b60006040820190508181036000830152613388818561302b565b905061339760208301846131bf565b9392505050565b600060608201905081810360008301526133b8818661302b565b90506133c760208301856131bf565b81810360408301526133d9818461302b565b9050949350505050565b600060208201905081810360008301526133fe8184866130ce565b90509392505050565b600060208201905081810360008301526134218184613120565b905092915050565b600060408201905061343e60008301856131ce565b8181036020830152613450818461302b565b90509392505050565b6000604051905081810181811067ffffffffffffffff8211171561347c57600080fd5b8060405250919050565b600067ffffffffffffffff82111561349d57600080fd5b601f19601f8301169050602081019050919050565b6000602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061355d826135c6565b9050919050565b600061356f826135c6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006135fb82613602565b9050919050565b600061360d82613614565b9050919050565b600061361f826135c6565b9050919050565b82818337600083830152505050565b60005b83811015613653578082015181840152602081019050613638565b83811115613662576000848401525b50505050565b6000601f19601f8301169050919050565b61368281613552565b811461368d57600080fd5b50565b61369981613576565b81146136a457600080fd5b50565b6136b081613582565b81146136bb57600080fd5b50565b6136c78161358c565b81146136d257600080fd5b50565b6136de816135b8565b81146136e957600080fd5b50565b6136f5816135e6565b811461370057600080fd5b5056fea265627a7a7230582049ebf27fa2f4353ae0dc98302f101fe3256ef5930b91c52222dcf860d94f3c326c6578706572696d656e74616cf50037", - "sourceMap": "520:2174:3:-;;;1151:56;8:9:-1;5:2;;;30:1;27;20:12;5:2;1151:56:3;;;;;;;;;;;;;;;;;;;;;;1196:4;1190:3;;:10;;;;;;;;;;;;;;;;;;1151:56;520:2174;;5:158:-1;;101:6;95:13;86:22;;113:45;152:5;113:45;;;80:83;;;;;170:287;;297:2;285:9;276:7;272:23;268:32;265:2;;;313:1;310;303:12;265:2;348:1;365:76;433:7;424:6;413:9;409:22;365:76;;;355:86;;327:120;259:198;;;;;464:91;;526:24;544:5;526:24;;;515:35;;509:46;;;;562:103;;636:24;654:5;636:24;;;625:35;;619:46;;;;672:121;;745:42;738:5;734:54;723:65;;717:76;;;;800:141;881:36;911:5;881:36;;;874:5;871:47;861:2;;932:1;929;922:12;861:2;855:86;;520:2174:3;;;;;;;", - "deployedSourceMap": "520:2174:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;520:2174:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1107:169:13;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2403:1263:9;;;;;;;;;;;;;;;;:::i;:::-;;573:184:13;;;;;;;;;;;;;;;;:::i;:::-;;1721:953:10;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1195:454:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;612:169:12;;;;;;;;;;;;;;;;:::i;:::-;;505:166:8;;;;;;;;;;;;;;;;:::i;:::-;;972:228:7;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1892:231:3;;;;;;;;;;;;;;;;:::i;:::-;;4450:153:9;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;974:127:13;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;582:292:6;;;;;;;;;;;;;;;;:::i;:::-;;844:101:11;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;492:152;;;;;;;;;;;;;;;;:::i;:::-;;1206:286:7;;;;;;;;;;;;;;;;:::i;:::-;;4068:168:9;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2326:366:3;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4742:128:9;;;;;;;;;;;;;;;;:::i;:::-;;838:108:8;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1023:133:12;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;681:132:7;;;;;;;;;;;;;;;;:::i;:::-;;858:226:10;;;;;;;;;;;;;;;;:::i;:::-;;1498:127:7;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;943:80:3;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1107:169:13;1174:4;144:10;1212:17;;1197:32;;;:11;:32;;;;:72;;;;1233:36;1257:11;1233:23;:36::i;:::-;1197:72;1190:79;;1107:169;;;:::o;2403:1263:9:-;2481:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;2497:15:9;2515:1;2497:19;;2526:14;2543:1;2526:18;;2554:17;2581:18;2609:16;2701:30;;:::i;:::-;2734:18;2750:1;2734:4;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;2734:15:9;;;;;;;;:18;;;;:::i;:::-;2701:51;;2696:821;2755:11;:4;:9;:11::i;:::-;2696:821;;2811:1;2799:8;:13;;;2795:712;;;2843:4;:12;;;2832:23;;2880:11;:4;:9;:11::i;:::-;2873:18;;2947:4;2930:22;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2930:22:9;;;2920:33;;;;;;2909:44;;2985:12;:4;:10;:12::i;:::-;2971:27;;2795:712;;;3037:20;3060:11;:4;:9;:11::i;:::-;3037:34;;3105:4;:12;;;3093:24;;:8;:24;;;;:49;;;;3122:20;3134:7;3122:4;:11;;:20;;;;:::i;:::-;3121:21;3093:49;3089:404;;;3166:88;3178:4;3184;3190:8;3200:4;;3166:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3166:88:9;;;;;;3206:6;3228;3214:4;:11;;;:20;3252:1;3236:5;:12;:17;3166:11;:88::i;:::-;3287:4;:12;;;3276:23;;3330:4;:11;;;3321:20;;3370:7;3363:14;;3420:4;3410:15;;;;;;3399:26;;3461:12;:4;:10;:12::i;:::-;3447:27;;3089:404;2795:712;;2768:11;:4;:9;:11::i;:::-;2696:821;;;;3544:1;3530:4;:11;:15;3526:134;;;3561:88;3573:4;3579;3585:8;3595:4;;3561:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3561:88:9;;;;;;3601:6;3623;3609:4;;:11;;:20;3647:1;3631:5;:12;:17;3561:11;:88::i;:::-;3526:134;400:1:5;;;;;2403:1263:9;;;;:::o;573:184:13:-;668:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;703:5:13;;684;:11;690:4;684:11;;;;;;;;;;;696:3;;684:16;;;;;;;;;;;;;;;;;;;;;:24;;;;;;;:::i;:::-;;741:3;;723:27;;;;;;;;;;;;;;;;735:4;723:27;746:3;;723:27;;;;;;;;;;;;;;;;573:184;;;;;;:::o;1721:953:10:-;1808:7;1827:19;1849:10;:16;1860:4;1849:16;;;;;;;;;;;:29;1866:11;1849:29;;;;;;;;;;;;;;;;;;;;;;;;;;;1827:51;;1914:1;1891:25;;:11;:25;;;1888:73;;1939:11;1932:18;;;;;1888:73;1971:9;1983:10;1988:4;1983;:10::i;:::-;1971:22;;2019:1;2006:15;;:1;:15;;;2003:62;;;2052:1;2037:17;;;;;;2003:62;2076:12;2090:23;2117:1;:12;;304:10;2183:17;;2130:71;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2130:71:10;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;2130:71:10;2117:85;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;2075:127:10;;;;2216:7;2215:8;:34;;;;2247:2;2227:10;:17;:22;2215:34;:57;;;;2271:1;2253:19;;:10;2264:2;2253:14;;;;;;;;;;;;;;;;:19;;;;2215:57;2212:151;;;2350:1;2335:17;;;;;;;;2212:151;2397:1;:12;;2463:11;2410:65;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2410:65:10;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;2410:65:10;2397:79;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;2373:103:10;;;;;;;;2490:7;2489:8;:34;;;;2521:2;2501:10;:17;:22;2489:34;:57;;;;2545:1;2527:19;;:10;2538:2;2527:14;;;;;;;;;;;;;;;;:19;;;;2489:57;2486:163;;;2636:1;2621:17;;;;;;;;2486:163;2666:1;2659:8;;;;;;1721:953;;;;;:::o;1195:454:6:-;1267:7;1276:12;1300:38;1341:4;:10;1346:4;1341:10;;;;;;;;;;;1300:51;;1367:19;1389:1;1367:23;;1362:249;1407:12;1392:11;:27;1362:249;;1490:1;1473:12;1459:11;:26;1458:33;;:67;;;;;1524:1;1495:6;:19;1502:11;1495:19;;;;;;;;;;;:26;;;;;;;;;;;;;;;;:30;1458:67;1454:147;;;1553:11;1566:6;:19;1573:11;1566:19;;;;;;;;;;;1545:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1454:147;1437:1;1421:17;;;;;1362:249;;;;1629:1;1632:9;;;;;;;;;;;;1621:21;;;;;;;;1195:454;;;;;;:::o;612:169:12:-;687:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;719:15:12;;;;;;;;729:1;719:15;;;;732:1;719:15;;;703:7;:13;711:4;703:13;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;;763:4;749:25;769:1;772;749:25;;;;;;;;;;;;;;;;612:169;;;;:::o;505:166:8:-;584:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;615:4:8;;600:6;:12;607:4;600:12;;;;;;;;;;;:19;;;;;;;:::i;:::-;;653:4;634:30;659:4;;634:30;;;;;;;;;;;;;;;;505:166;;;;:::o;972:228:7:-;1021:15;1048:14;1065:25;1070:4;261:2;1065:4;:25::i;:::-;1048:42;;1115:1;1103;:8;:13;1100:60;;;1147:1;1132:17;;;;;1100:60;1176:17;1191:1;1176:14;:17::i;:::-;1169:24;;;972:228;;;;:::o;1892:231:3:-;2029:12;1986:14;:20;2001:4;1986:20;;;;;;;;;;;:32;2007:10;1986:32;;;;;;;;;;;;;;;:40;2019:6;1986:40;;;;;;;;;;;;;;;;:55;;;;;;;;;;;;;;;;;;2095:6;2056:60;;2083:10;2056:60;;2077:4;2056:60;2103:12;2056:60;;;;;;;;;;;;;;;1892:231;;;:::o;4450:153:9:-;4522:4;4594:1;4546:16;:22;4563:4;4546:22;;;;;;;;;;;:38;4569:8;:14;4578:4;4569:14;;;;;;;;;;;;4546:38;;;;;;;;;;;:44;4585:4;4546:44;;;;;;;;;;;;;;;;;;;;;:49;;;;4538:58;;4450:153;;;;:::o;974:127:13:-;1046:13;1078:5;:11;1084:4;1078:11;;;;;;;;;;;1090:3;;1078:16;;;;;;;;;;;;;;;;;;;;;1071:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;974:127;;;;;:::o;582:292:6:-;674:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;780:1:6;764:11;759:1;745:11;:15;744:31;743:38;735:47;;;;;;819:4;;793;:10;798:4;793:10;;;;;;;;;;;:23;804:11;793:23;;;;;;;;;;;:30;;;;;;;:::i;:::-;;855:11;849:4;838:29;;;;;;;;;;582:292;;;;;:::o;844:101:11:-;895:13;927:5;:11;933:4;927:11;;;;;;;;;;;920:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;844:101;;;:::o;492:152::-;565:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;595:4:11;;581:5;:11;587:4;581:11;;;;;;;;;;;:18;;;;;;;:::i;:::-;;626:4;614:23;632:4;;614:23;;;;;;;;;;;;;;;;492:152;;;;:::o;1206:286:7:-;1286:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;1322:4:7;1307:33;1328:8;1338:1;1307:33;;;;;;;;;;;;;;;;261:2;1353:8;:25;1350:96;;;1411:4;1399:36;1417:17;1432:1;1417:14;:17::i;:::-;1399:36;;;;;;;;;;;;;;;1350:96;1484:1;1455:10;:16;1466:4;1455:16;;;;;;;;;;;:26;1472:8;1455:26;;;;;;;;;;;:30;;;;;;;;;;;;:::i;:::-;;1206:286;;;;:::o;4068:168:9:-;4153:12;4184:7;:13;4192:4;4184:13;;;;;;;;;;;:29;4198:8;:14;4207:4;4198:14;;;;;;;;;;;;4184:29;;;;;;;;;;;:35;4214:4;4184:35;;;;;;;;;;;:45;4220:8;4184:45;;;;;;;;;;;;;;;4177:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4068:168;;;;;:::o;2326:366:3:-;2385:22;2441:4;;:11;;2429:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2419:34;;2467:6;2476:1;2467:10;;2463:199;2483:4;;:11;;2479:1;:15;2463:199;;;2516:12;2530:19;2561:4;2553:26;;2580:4;;2585:1;2580:7;;;;;;;;;;;;;43:11:-1;30:25;137:1;131:4;127:12;116:8;100:14;96:29;92:48;72:18;68:73;58:2;;155:1;152;145:12;58:2;188:18;178:8;174:33;162:45;;0:210;29:8;16:22;6:32;;69:4;59:8;55:19;43:31;;93:18;85:6;82:30;79:2;;;125:1;122;115:12;79:2;183:3;175:6;171:16;155:14;151:37;141:8;137:52;134:2;;;202:1;199;192:12;134:2;2553:35:3;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;2515:73:3;;;;2610:7;2602:16;;;;;;2645:6;2632:7;2640:1;2632:10;;;;;;;;;;;;;:19;;;;2463:199;;2496:3;;;;;;;2463:199;;;;2678:7;2671:14;;2326:366;;;;:::o;4742:128:9:-;4796:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;4812:8:9;:14;4821:4;4812:14;;;;;;;;;;;;:16;;;;;;;;;;;;;4858:4;4843:20;;;;;;;;;;4742:128;;:::o;838:108:8:-;896:12;927:6;:12;934:4;927:12;;;;;;;;;;;920:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;838:108;;;:::o;1023:133:12:-;1076:9;1087;1116:7;:13;1124:4;1116:13;;;;;;;;;;;:15;;;1133:7;:13;1141:4;1133:13;;;;;;;;;;;:15;;;1108:41;;;;1023:133;;;:::o;681:132:7:-;743:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;759:47:7;767:4;261:2;788:17;803:1;788:14;:17::i;:::-;759:7;:47::i;:::-;681:132;;;:::o;858:226:10:-;955:4;371:18:5;384:4;371:12;:18::i;:::-;363:27;;;;;;1003:11:10;971:10;:16;982:4;971:16;;;;;;;;;;;:29;988:11;971:29;;;;;;;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;1052:11;1029:48;;;1046:4;1029:48;1065:11;1029:48;;;;;;;;;;;;;;;858:226;;;;:::o;1498:127:7:-;1561:12;1592:10;:16;1603:4;1592:16;;;;;;;;;;;:26;1609:8;1592:26;;;;;;;;;;;1585:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1498:127;;;;:::o;943:80:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1162:171:12:-;1229:4;148:10;1267:19;;1252:34;;;:11;:34;;;;:74;;;;1290:36;1314:11;1290:23;:36::i;:::-;1252:74;1245:81;;1162:171;;;:::o;2129:191:3:-;2187:4;2203:13;2219:3;;;;;;;;;;;:9;;;2229:4;2219:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2219:15:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2219:15:3;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2219:15:3;;;;;;;;;2203:31;;2260:10;2251:19;;:5;:19;;;:62;;;;2274:14;:20;2289:4;2274:20;;;;;;;;;;;:27;2295:5;2274:27;;;;;;;;;;;;;;;:39;2302:10;2274:39;;;;;;;;;;;;;;;;;;;;;;;;;2251:62;2244:69;;;2129:191;;;:::o;2435:182:16:-;2510:21;;:::i;:::-;2554:4;2543:3;:8;;:15;;;;2585:6;2568:3;:14;;:23;;;;;2601:9;2606:3;2601:4;:9::i;:::-;2435:182;;;;:::o;2788:121::-;2848:4;2886;:9;;;:16;2871:4;:11;;;:31;;2864:38;;2788:121;;;:::o;3890:166::-;3950:12;3981:68;4001:4;:11;;;4014:34;4025:4;:9;;;4036:4;:11;;;4014:10;:34::i;:::-;3981:4;:9;;;:19;;:68;;;;;:::i;:::-;3974:75;;3890:166;;;:::o;4229:172::-;4290:12;4321:73;4341:4;:16;;;4377:4;:16;;;4359:4;:15;;;:34;4321:4;:9;;;:19;;:73;;;;;:::i;:::-;4314:80;;4229:172;;;:::o;4913:176:15:-;4990:4;5028:5;:12;5013:4;:11;:27;:69;;;;;5044:38;5051:4;5057:1;5060:5;5067:1;5070:4;:11;5044:6;:38::i;:::-;5013:69;5006:76;;4913:176;;;;:::o;5057:965:9:-;5275:15;5293:8;:14;5302:4;5293:14;;;;;;;;;;;;5275:32;;5317:16;5346:4;5336:15;;;;;;5317:34;;5361:19;5383:28;5398:6;5406:4;5383;:14;;:28;;;;;:::i;:::-;5361:50;;5425:12;5421:595;;;5510:1;5457:7;:13;5465:4;5457:13;;;;;;;;;;;:22;5471:7;5457:22;;;;;;;;;;;:32;5480:8;5457:32;;;;;;;;;;;:42;5490:8;5457:42;;;;;;;;;;;;;;;:49;;;;;;;;;;;;;;;;:54;5453:136;;5531:16;:22;5548:4;5531:22;;;;;;;;;;;:31;5554:7;5531:31;;;;;;;;;;;:41;5563:8;5531:41;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5453:136;5609:7;:13;5617:4;5609:13;;;;;;;;;;;:22;5623:7;5609:22;;;;;;;;;;;:32;5632:8;5609:32;;;;;;;;;;;:42;5642:8;5609:42;;;;;;;;;;;;;;;;5602:50;;;;:::i;:::-;5688:4;5671:38;5694:4;5700:8;5671:38;;;;;;;;;;;;;;;;5421:595;;;5797:1;5744:7;:13;5752:4;5744:13;;;;;;;;;;;:22;5758:7;5744:22;;;;;;;;;;;:32;5767:8;5744:32;;;;;;;;;;;:42;5777:8;5744:42;;;;;;;;;;;;;;;:49;;;;;;;;;;;;;;;;:54;5740:136;;;5818:16;:22;5835:4;5818:22;;;;;;;;;;;:31;5841:7;5818:31;;;;;;;;;;;:41;5850:8;5818:41;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5740:136;5934:6;5889:7;:13;5897:4;5889:13;;;;;;;;;;;:22;5903:7;5889:22;;;;;;;;;;;:32;5912:8;5889:32;;;;;;;;;;;:42;5922:8;5889:42;;;;;;;;;;;;;;;:51;;;;;;;;;;;;:::i;:::-;;5976:4;5959:46;5982:4;5988:8;5998:6;5959:46;;;;;;;;;;;;;;;;;5421:595;5057:965;;;;;;;;;;:::o;3032:682:16:-;3108:4;:15;;;3094:4;:11;;:29;;;;;3152:4;:9;;;:16;3137:4;:11;;;:31;3133:68;;3184:7;;3133:68;3236:8;3261:34;3272:4;:9;;;3283:4;:11;;;3261:10;:34::i;:::-;3247:4;:11;;;:48;3236:59;;3358:25;3379:3;3358:4;:9;;;:20;;:25;;;;:::i;:::-;3343:4;:12;;:40;;;;;;;;;;;3400:1;3393:8;;;;3424:25;3445:3;3424:4;:9;;;:20;;:25;;;;:::i;:::-;3411:4;:10;;:38;;;;;;;;;;;3466:1;3459:8;;;;3488:25;3509:3;3488:4;:9;;;:20;;:25;;;;:::i;:::-;3477:4;:8;;:36;;;;;;;;;;;3530:1;3523:8;;;;3568:16;3587:25;3608:3;3587:4;:9;;;:20;;:25;;;;:::i;:::-;3568:44;;;;3629:1;3622:8;;;;3659:3;3640:4;:16;;:22;;;;;3696:11;3690:3;:17;3672:4;:15;;:35;;;;;3032:682;;;;:::o;414:204:5:-;476:17;525:2;513:1;:8;:14;505:23;;;;;;598:2;593:3;589:12;583:2;580:1;576:10;570:17;566:36;561:41;;547:65;;;:::o;624:189::-;681:14;721:2;711:13;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;711:13:5;;;;707:17;;792:2;787:3;783:12;780:1;776:20;771:2;768:1;764:10;757:40;743:64;;;:::o;951:169:11:-;1018:4;144:10;1056:17;;1041:32;;;:11;:32;;;;:72;;;;1077:36;1101:11;1077:23;:36::i;:::-;1041:72;1034:79;;951:169;;;:::o;535:367:16:-;609:4;625:8;636:6;625:17;;652:215;659:4;652:215;;;692:4;:11;686:3;:17;679:25;;;;718:13;734:19;749:3;734:4;:14;;:19;;;;:::i;:::-;718:35;;;;785:1;774:8;:12;767:19;;;;816:1;804:8;:13;800:57;;;837:5;;;800:57;652:215;;;;889:6;883:3;:12;876:19;;;535:367;;;;:::o;8683:393:15:-;8766:12;8814:4;:11;8807:3;8798:6;:12;:27;;8790:36;;;;;;8837:16;8866:3;8856:14;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;8856:14:15;;;;8837:33;;8880:9;8899:8;8958:2;8953:3;8949:12;8941:20;;9000:6;8995:2;8989:4;8985:13;8981:26;8974:33;;9026:22;9033:4;9039:3;9044;9026:6;:22::i;:::-;9066:3;9059:10;;;;;8683:393;;;;;:::o;3277:209::-;3396:4;3448:31;3455:5;3462:11;3475:3;3448:6;:31::i;:::-;3419:25;3426:4;3432:6;3440:3;3419:6;:25::i;:::-;:60;3412:67;;3277:209;;;;;;;:::o;5697:223::-;5769:10;5810:4;:11;5805:1;5799:3;:7;:22;;5791:31;;;;;;5897:6;5890:3;5886:1;5880:4;5876:12;5872:22;5866:29;5862:42;5855:49;;5841:73;;;;:::o;6164:227::-;6236:10;6277:4;:11;6272:1;6266:3;:7;:22;;6258:31;;;;;;6364:10;6357:3;6353:1;6347:4;6343:12;6339:22;6333:29;6329:46;6322:53;;6308:77;;;;:::o;2680:174:10:-;2747:4;204:49;;;;;;;;;;;;;;2770:37;;;:11;:37;;;;:77;;;;2811:36;2835:11;2811:23;:36::i;:::-;2770:77;2763:84;;2680:174;;;:::o;5331:122:15:-;5402:9;5436:4;5441:3;5436:9;;;;;;;;;;;;;;;;5430:16;;5423:23;;5331:122;;;;:::o;7914:549::-;8034:165;8048:2;8041:3;:9;8034:165;;8123:3;8117:10;8111:4;8104:24;8163:2;8155:10;;;;8186:2;8179:9;;;;8059:2;8052:9;;;;8034:165;;;8241:9;8273:1;8266:3;8261:2;:8;8253:3;:17;:21;8241:33;;8342:4;8338:9;8332:3;8326:10;8322:26;8394:4;8387;8381:11;8377:22;8438:7;8428:8;8425:21;8419:4;8412:35;8293:164;;;;;;:::o;306:238::-;387:11;434:4;:11;427:3;418:6;:12;:27;;410:36;;;;;;524:3;515:6;510:2;504:4;500:13;496:26;486:42;479:49;;465:73;;;;;:::o;4876:175:9:-;4943:4;265:10;4981:23;;4966:38;;;:11;:38;;;;:78;;;;5008:36;5032:11;5008:23;:36::i;:::-;4966:78;4959:85;;4876:175;;;:::o;952:177:8:-;1019:4;159:10;1057:25;;1042:40;;;:11;:40;;;;:80;;;;1086:36;1110:11;1086:23;:36::i;:::-;1042:80;1035:87;;952:177;;;:::o;1631:208:7:-;1698:4;144:10;1736:17;;1721:32;;;:11;:32;;;;:71;;;;207:10;1772:20;;1757:35;;;:11;:35;;;;1721:71;:111;;;;1796:36;1820:11;1796:23;:36::i;:::-;1721:111;1714:118;;1631:208;;;:::o;1655:168:6:-;1722:4;142:10;1760:16;;1745:31;;;:11;:31;;;;:71;;;;1780:36;1804:11;1780:23;:36::i;:::-;1745:71;1738:78;;1655:168;;;:::o;114:129:5:-;181:4;97:10;219:17;;204:32;;;:11;:32;;;;197:39;;114:129;;;:::o;520:2174:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;;85:6;72:20;63:29;;97:33;124:5;97:33;;;57:78;;;;;142:134;;226:6;220:13;211:22;;238:33;265:5;238:33;;;205:71;;;;;299:359;;;436:3;429:4;421:6;417:17;413:27;403:2;;454:1;451;444:12;403:2;487:6;474:20;464:30;;514:18;506:6;503:30;500:2;;;546:1;543;536:12;500:2;580:4;572:6;568:17;556:29;;631:3;623:4;615:6;611:17;601:8;597:32;594:41;591:2;;;648:1;645;638:12;591:2;396:262;;;;;;666:124;;743:6;730:20;721:29;;755:30;779:5;755:30;;;715:75;;;;;797:130;;877:6;864:20;855:29;;889:33;916:5;889:33;;;849:78;;;;;934:128;;1013:6;1000:20;991:29;;1025:32;1051:5;1025:32;;;985:77;;;;;1083:335;;;1197:3;1190:4;1182:6;1178:17;1174:27;1164:2;;1215:1;1212;1205:12;1164:2;1248:6;1235:20;1225:30;;1275:18;1267:6;1264:30;1261:2;;;1307:1;1304;1297:12;1261:2;1341:4;1333:6;1329:17;1317:29;;1391:3;1384;1376:6;1372:16;1362:8;1358:31;1355:40;1352:2;;;1408:1;1405;1398:12;1352:2;1157:261;;;;;;1427:440;;1528:3;1521:4;1513:6;1509:17;1505:27;1495:2;;1546:1;1543;1536:12;1495:2;1583:6;1570:20;1605:64;1620:48;1661:6;1620:48;;;1605:64;;;1596:73;;1689:6;1682:5;1675:21;1725:4;1717:6;1713:17;1758:4;1751:5;1747:16;1793:3;1784:6;1779:3;1775:16;1772:25;1769:2;;;1810:1;1807;1800:12;1769:2;1820:41;1854:6;1849:3;1844;1820:41;;;1488:379;;;;;;;;1890:336;;;2005:3;1998:4;1990:6;1986:17;1982:27;1972:2;;2023:1;2020;2013:12;1972:2;2056:6;2043:20;2033:30;;2083:18;2075:6;2072:30;2069:2;;;2115:1;2112;2105:12;2069:2;2149:4;2141:6;2137:17;2125:29;;2199:3;2192;2184:6;2180:16;2170:8;2166:31;2163:40;2160:2;;;2216:1;2213;2206:12;2160:2;1965:261;;;;;;2234:128;;2313:6;2300:20;2291:29;;2325:32;2351:5;2325:32;;;2285:77;;;;;2369:130;;2449:6;2436:20;2427:29;;2461:33;2488:5;2461:33;;;2421:78;;;;;2506:263;;2621:2;2609:9;2600:7;2596:23;2592:32;2589:2;;;2637:1;2634;2627:12;2589:2;2672:1;2689:64;2745:7;2736:6;2725:9;2721:22;2689:64;;;2679:74;;2651:108;2583:186;;;;;2776:411;;;2922:2;2910:9;2901:7;2897:23;2893:32;2890:2;;;2938:1;2935;2928:12;2890:2;3001:1;2990:9;2986:17;2973:31;3024:18;3016:6;3013:30;3010:2;;;3056:1;3053;3046:12;3010:2;3084:87;3163:7;3154:6;3143:9;3139:22;3084:87;;;3074:97;;;;2952:225;2884:303;;;;;;3194:241;;3298:2;3286:9;3277:7;3273:23;3269:32;3266:2;;;3314:1;3311;3304:12;3266:2;3349:1;3366:53;3411:7;3402:6;3391:9;3387:22;3366:53;;;3356:63;;3328:97;3260:175;;;;;3442:366;;;3563:2;3551:9;3542:7;3538:23;3534:32;3531:2;;;3579:1;3576;3569:12;3531:2;3614:1;3631:53;3676:7;3667:6;3656:9;3652:22;3631:53;;;3621:63;;3593:97;3721:2;3739:53;3784:7;3775:6;3764:9;3760:22;3739:53;;;3729:63;;3700:98;3525:283;;;;;;3815:491;;;;3953:2;3941:9;3932:7;3928:23;3924:32;3921:2;;;3969:1;3966;3959:12;3921:2;4004:1;4021:53;4066:7;4057:6;4046:9;4042:22;4021:53;;;4011:63;;3983:97;4111:2;4129:53;4174:7;4165:6;4154:9;4150:22;4129:53;;;4119:63;;4090:98;4219:2;4237:53;4282:7;4273:6;4262:9;4258:22;4237:53;;;4227:63;;4198:98;3915:391;;;;;;4313:485;;;;4448:2;4436:9;4427:7;4423:23;4419:32;4416:2;;;4464:1;4461;4454:12;4416:2;4499:1;4516:53;4561:7;4552:6;4541:9;4537:22;4516:53;;;4506:63;;4478:97;4606:2;4624:53;4669:7;4660:6;4649:9;4645:22;4624:53;;;4614:63;;4585:98;4714:2;4732:50;4774:7;4765:6;4754:9;4750:22;4732:50;;;4722:60;;4693:95;4410:388;;;;;;4805:366;;;4926:2;4914:9;4905:7;4901:23;4897:32;4894:2;;;4942:1;4939;4932:12;4894:2;4977:1;4994:53;5039:7;5030:6;5019:9;5015:22;4994:53;;;4984:63;;4956:97;5084:2;5102:53;5147:7;5138:6;5127:9;5123:22;5102:53;;;5092:63;;5063:98;4888:283;;;;;;5178:491;;;;5316:2;5304:9;5295:7;5291:23;5287:32;5284:2;;;5332:1;5329;5322:12;5284:2;5367:1;5384:53;5429:7;5420:6;5409:9;5405:22;5384:53;;;5374:63;;5346:97;5474:2;5492:53;5537:7;5528:6;5517:9;5513:22;5492:53;;;5482:63;;5453:98;5582:2;5600:53;5645:7;5636:6;5625:9;5621:22;5600:53;;;5590:63;;5561:98;5278:391;;;;;;5676:489;;;;5813:2;5801:9;5792:7;5788:23;5784:32;5781:2;;;5829:1;5826;5819:12;5781:2;5864:1;5881:53;5926:7;5917:6;5906:9;5902:22;5881:53;;;5871:63;;5843:97;5971:2;5989:53;6034:7;6025:6;6014:9;6010:22;5989:53;;;5979:63;;5950:98;6079:2;6097:52;6141:7;6132:6;6121:9;6117:22;6097:52;;;6087:62;;6058:97;5775:390;;;;;;6172:364;;;6292:2;6280:9;6271:7;6267:23;6263:32;6260:2;;;6308:1;6305;6298:12;6260:2;6343:1;6360:53;6405:7;6396:6;6385:9;6381:22;6360:53;;;6350:63;;6322:97;6450:2;6468:52;6512:7;6503:6;6492:9;6488:22;6468:52;;;6458:62;;6429:97;6254:282;;;;;;6543:489;;;;6680:2;6668:9;6659:7;6655:23;6651:32;6648:2;;;6696:1;6693;6686:12;6648:2;6731:1;6748:53;6793:7;6784:6;6773:9;6769:22;6748:53;;;6738:63;;6710:97;6838:2;6856:52;6900:7;6891:6;6880:9;6876:22;6856:52;;;6846:62;;6817:97;6945:2;6963:53;7008:7;6999:6;6988:9;6984:22;6963:53;;;6953:63;;6924:98;6642:390;;;;;;7039:490;;;;7179:2;7167:9;7158:7;7154:23;7150:32;7147:2;;;7195:1;7192;7185:12;7147:2;7230:1;7247:53;7292:7;7283:6;7272:9;7268:22;7247:53;;;7237:63;;7209:97;7365:2;7354:9;7350:18;7337:32;7389:18;7381:6;7378:30;7375:2;;;7421:1;7418;7411:12;7375:2;7449:64;7505:7;7496:6;7485:9;7481:22;7449:64;;;7439:74;;;;7316:203;7141:388;;;;;;7536:492;;;;7677:2;7665:9;7656:7;7652:23;7648:32;7645:2;;;7693:1;7690;7683:12;7645:2;7728:1;7745:53;7790:7;7781:6;7770:9;7766:22;7745:53;;;7735:63;;7707:97;7863:2;7852:9;7848:18;7835:32;7887:18;7879:6;7876:30;7873:2;;;7919:1;7916;7909:12;7873:2;7947:65;8004:7;7995:6;7984:9;7980:22;7947:65;;;7937:75;;;;7814:204;7639:389;;;;;;8035:743;;;;;;8213:2;8201:9;8192:7;8188:23;8184:32;8181:2;;;8229:1;8226;8219:12;8181:2;8264:1;8281:53;8326:7;8317:6;8306:9;8302:22;8281:53;;;8271:63;;8243:97;8399:2;8388:9;8384:18;8371:32;8423:18;8415:6;8412:30;8409:2;;;8455:1;8452;8445:12;8409:2;8483:65;8540:7;8531:6;8520:9;8516:22;8483:65;;;8473:75;;;;8350:204;8613:2;8602:9;8598:18;8585:32;8637:18;8629:6;8626:30;8623:2;;;8669:1;8666;8659:12;8623:2;8697:65;8754:7;8745:6;8734:9;8730:22;8697:65;;;8687:75;;;;8564:204;8175:603;;;;;;;;;8785:366;;;8906:2;8894:9;8885:7;8881:23;8877:32;8874:2;;;8922:1;8919;8912:12;8874:2;8957:1;8974:53;9019:7;9010:6;8999:9;8995:22;8974:53;;;8964:63;;8936:97;9064:2;9082:53;9127:7;9118:6;9107:9;9103:22;9082:53;;;9072:63;;9043:98;8868:283;;;;;;9158:615;;;;;9315:2;9303:9;9294:7;9290:23;9286:32;9283:2;;;9331:1;9328;9321:12;9283:2;9366:1;9383:53;9428:7;9419:6;9408:9;9404:22;9383:53;;;9373:63;;9345:97;9473:2;9491:53;9536:7;9527:6;9516:9;9512:22;9491:53;;;9481:63;;9452:98;9609:2;9598:9;9594:18;9581:32;9633:18;9625:6;9622:30;9619:2;;;9665:1;9662;9655:12;9619:2;9693:64;9749:7;9740:6;9729:9;9725:22;9693:64;;;9683:74;;;;9560:203;9277:496;;;;;;;;9780:595;;;;9927:2;9915:9;9906:7;9902:23;9898:32;9895:2;;;9943:1;9940;9933:12;9895:2;9978:1;9995:53;10040:7;10031:6;10020:9;10016:22;9995:53;;;9985:63;;9957:97;10085:2;10103:53;10148:7;10139:6;10128:9;10124:22;10103:53;;;10093:63;;10064:98;10221:2;10210:9;10206:18;10193:32;10245:18;10237:6;10234:30;10231:2;;;10277:1;10274;10267:12;10231:2;10297:62;10351:7;10342:6;10331:9;10327:22;10297:62;;;10287:72;;10172:193;9889:486;;;;;;10382:239;;10485:2;10473:9;10464:7;10460:23;10456:32;10453:2;;;10501:1;10498;10491:12;10453:2;10536:1;10553:52;10597:7;10588:6;10577:9;10573:22;10553:52;;;10543:62;;10515:96;10447:174;;;;;10629:177;;10740:60;10796:3;10788:6;10740:60;;;10726:74;;10719:87;;;;;10814:142;10905:45;10944:5;10905:45;;;10900:3;10893:58;10887:69;;;10963:137;11062:32;11088:5;11062:32;;;11057:3;11050:45;11044:56;;;11107:113;11190:24;11208:5;11190:24;;;11185:3;11178:37;11172:48;;;11254:888;;11409:59;11462:5;11409:59;;;11481:91;11565:6;11560:3;11481:91;;;11474:98;;11595:3;11637:4;11629:6;11625:17;11620:3;11616:27;11664:61;11719:5;11664:61;;;11745:7;11773:1;11758:345;11783:6;11780:1;11777:13;11758:345;;;11845:9;11839:4;11835:20;11830:3;11823:33;11890:6;11884:13;11912:74;11981:4;11966:13;11912:74;;;11904:82;;12003:65;12061:6;12003:65;;;11993:75;;12091:4;12086:3;12082:14;12075:21;;11815:288;11805:1;11802;11798:9;11793:14;;11758:345;;;11762:14;12116:4;12109:11;;12133:3;12126:10;;11388:754;;;;;;;;;;12150:104;12227:21;12242:5;12227:21;;;12222:3;12215:34;12209:45;;;12261:113;12344:24;12362:5;12344:24;;;12339:3;12332:37;12326:48;;;12381:110;12462:23;12479:5;12462:23;;;12457:3;12450:36;12444:47;;;12521:297;;12635:70;12698:6;12693:3;12635:70;;;12628:77;;12717:43;12753:6;12748:3;12741:5;12717:43;;;12782:29;12804:6;12782:29;;;12777:3;12773:39;12766:46;;12621:197;;;;;;12849:306;;12977:88;13058:6;13053:3;12977:88;;;12970:95;;13077:43;13113:6;13108:3;13101:5;13077:43;;;13142:6;13137:3;13133:16;13126:23;;12963:192;;;;;;13163:343;;13273:38;13305:5;13273:38;;;13323:70;13386:6;13381:3;13323:70;;;13316:77;;13398:52;13443:6;13438:3;13431:4;13424:5;13420:16;13398:52;;;13471:29;13493:6;13471:29;;;13466:3;13462:39;13455:46;;13253:253;;;;;;13513:356;;13641:38;13673:5;13641:38;;;13691:88;13772:6;13767:3;13691:88;;;13684:95;;13784:52;13829:6;13824:3;13817:4;13810:5;13806:16;13784:52;;;13857:6;13852:3;13848:16;13841:23;;13621:248;;;;;;13876:315;;13972:34;14000:5;13972:34;;;14018:60;14071:6;14066:3;14018:60;;;14011:67;;14083:52;14128:6;14123:3;14116:4;14109:5;14105:16;14083:52;;;14156:29;14178:6;14156:29;;;14151:3;14147:39;14140:46;;13952:239;;;;;;14223:300;;14339:71;14403:6;14398:3;14339:71;;;14332:78;;14422:43;14458:6;14453:3;14446:5;14422:43;;;14487:29;14509:6;14487:29;;;14482:3;14478:39;14471:46;;14325:198;;;;;;14556:313;;14690:89;14772:6;14767:3;14690:89;;;14683:96;;14791:43;14827:6;14822:3;14815:5;14791:43;;;14856:6;14851:3;14847:16;14840:23;;14676:193;;;;;;14877:347;;14989:39;15022:5;14989:39;;;15040:71;15104:6;15099:3;15040:71;;;15033:78;;15116:52;15161:6;15156:3;15149:4;15142:5;15138:16;15116:52;;;15189:29;15211:6;15189:29;;;15184:3;15180:39;15173:46;;14969:255;;;;;;15232:501;;15410:85;15492:2;15487:3;15410:85;;;15403:92;;15528:66;15524:1;15519:3;15515:11;15508:87;15629:66;15624:2;15619:3;15615:12;15608:88;15724:2;15719:3;15715:12;15708:19;;15396:337;;;;15741:110;15822:23;15839:5;15822:23;;;15817:3;15810:36;15804:47;;;15858:113;15941:24;15959:5;15941:24;;;15936:3;15929:37;15923:48;;;15978:274;;16128:99;16223:3;16214:6;16206;16128:99;;;16121:106;;16244:3;16237:10;;16109:143;;;;;;16259:262;;16403:93;16492:3;16483:6;16403:93;;;16396:100;;16513:3;16506:10;;16384:137;;;;;16528:286;;16684:105;16785:3;16776:6;16768;16684:105;;;16677:112;;16806:3;16799:10;;16665:149;;;;;;16821:372;;17020:148;17164:3;17020:148;;;17013:155;;17185:3;17178:10;;17001:192;;;;17200:213;;17318:2;17307:9;17303:18;17295:26;;17332:71;17400:1;17389:9;17385:17;17376:6;17332:71;;;17289:124;;;;;17420:229;;17546:2;17535:9;17531:18;17523:26;;17560:79;17636:1;17625:9;17621:17;17612:6;17560:79;;;17517:132;;;;;17656:245;;17790:2;17779:9;17775:18;17767:26;;17804:87;17888:1;17877:9;17873:17;17864:6;17804:87;;;17761:140;;;;;17908:381;;18086:2;18075:9;18071:18;18063:26;;18136:9;18130:4;18126:20;18122:1;18111:9;18107:17;18100:47;18161:118;18274:4;18265:6;18161:118;;;18153:126;;18057:232;;;;;18296:201;;18408:2;18397:9;18393:18;18385:26;;18422:65;18484:1;18473:9;18469:17;18460:6;18422:65;;;18379:118;;;;;18504:213;;18622:2;18611:9;18607:18;18599:26;;18636:71;18704:1;18693:9;18689:17;18680:6;18636:71;;;18593:124;;;;;18724:324;;18870:2;18859:9;18855:18;18847:26;;18884:71;18952:1;18941:9;18937:17;18928:6;18884:71;;;18966:72;19034:2;19023:9;19019:18;19010:6;18966:72;;;18841:207;;;;;;19055:209;;19171:2;19160:9;19156:18;19148:26;;19185:69;19251:1;19240:9;19236:17;19227:6;19185:69;;;19142:122;;;;;19271:317;;19417:2;19406:9;19402:18;19394:26;;19467:9;19461:4;19457:20;19453:1;19442:9;19438:17;19431:47;19492:86;19573:4;19564:6;19556;19492:86;;;19484:94;;19388:200;;;;;;19595:297;;19731:2;19720:9;19716:18;19708:26;;19781:9;19775:4;19771:20;19767:1;19756:9;19752:17;19745:47;19806:76;19877:4;19868:6;19806:76;;;19798:84;;19702:190;;;;;19899:404;;20061:2;20050:9;20046:18;20038:26;;20111:9;20105:4;20101:20;20097:1;20086:9;20082:17;20075:47;20136:76;20207:4;20198:6;20136:76;;;20128:84;;20223:70;20289:2;20278:9;20274:18;20265:6;20223:70;;;20032:271;;;;;;20310:599;;20518:2;20507:9;20503:18;20495:26;;20568:9;20562:4;20558:20;20554:1;20543:9;20539:17;20532:47;20593:76;20664:4;20655:6;20593:76;;;20585:84;;20680:70;20746:2;20735:9;20731:18;20722:6;20680:70;;;20798:9;20792:4;20788:20;20783:2;20772:9;20768:18;20761:48;20823:76;20894:4;20885:6;20823:76;;;20815:84;;20489:420;;;;;;;20916:321;;21064:2;21053:9;21049:18;21041:26;;21114:9;21108:4;21104:20;21100:1;21089:9;21085:17;21078:47;21139:88;21222:4;21213:6;21205;21139:88;;;21131:96;;21035:202;;;;;;21244:301;;21382:2;21371:9;21367:18;21359:26;;21432:9;21426:4;21422:20;21418:1;21407:9;21403:17;21396:47;21457:78;21530:4;21521:6;21457:78;;;21449:86;;21353:192;;;;;21552:408;;21716:2;21705:9;21701:18;21693:26;;21730:71;21798:1;21787:9;21783:17;21774:6;21730:71;;;21849:9;21843:4;21839:20;21834:2;21823:9;21819:18;21812:48;21874:76;21945:4;21936:6;21874:76;;;21866:84;;21687:273;;;;;;21967:256;;22029:2;22023:9;22013:19;;22067:4;22059:6;22055:17;22166:6;22154:10;22151:22;22130:18;22118:10;22115:34;22112:62;22109:2;;;22187:1;22184;22177:12;22109:2;22207:10;22203:2;22196:22;22007:216;;;;;22230:258;;22373:18;22365:6;22362:30;22359:2;;;22405:1;22402;22395:12;22359:2;22449:4;22445:9;22438:4;22430:6;22426:17;22422:33;22414:41;;22478:4;22472;22468:15;22460:23;;22296:192;;;;22498:128;;22613:4;22605:6;22601:17;22590:28;;22581:45;;;;22636:112;;22737:5;22731:12;22721:22;;22715:33;;;;22755:87;;22831:5;22825:12;22815:22;;22809:33;;;;22849:91;;22929:5;22923:12;22913:22;;22907:33;;;;22947:92;;23028:5;23022:12;23012:22;;23006:33;;;;23048:129;;23165:4;23157:6;23153:17;23142:28;;23134:43;;;;23187:183;;23322:6;23317:3;23310:19;23359:4;23354:3;23350:14;23335:29;;23303:67;;;;;23379:152;;23483:6;23478:3;23471:19;23520:4;23515:3;23511:14;23496:29;;23464:67;;;;;23540:162;;23654:6;23649:3;23642:19;23691:4;23686:3;23682:14;23667:29;;23635:67;;;;;23711:144;;23846:3;23831:18;;23824:31;;;;;23864:163;;23979:6;23974:3;23967:19;24016:4;24011:3;24007:14;23992:29;;23960:67;;;;;24036:145;;24172:3;24157:18;;24150:31;;;;;24189:91;;24251:24;24269:5;24251:24;;;24240:35;;24234:46;;;;24287:99;;24357:24;24375:5;24357:24;;;24346:35;;24340:46;;;;24393:85;;24466:5;24459:13;24452:21;24441:32;;24435:43;;;;24485:72;;24547:5;24536:16;;24530:27;;;;24564:144;;24636:66;24629:5;24625:78;24614:89;;24608:100;;;;24715:84;;24787:6;24780:5;24776:18;24765:29;;24759:40;;;;24806:121;;24879:42;24872:5;24868:54;24857:65;;24851:76;;;;24934:72;;24996:5;24985:16;;24979:27;;;;25013:129;;25100:37;25131:5;25100:37;;;25087:50;;25081:61;;;;25149:121;;25228:37;25259:5;25228:37;;;25215:50;;25209:61;;;;25277:108;;25356:24;25374:5;25356:24;;;25343:37;;25337:48;;;;25393:145;25474:6;25469:3;25464;25451:30;25530:1;25521:6;25516:3;25512:16;25505:27;25444:94;;;;25547:268;25612:1;25619:101;25633:6;25630:1;25627:13;25619:101;;;25709:1;25704:3;25700:11;25694:18;25690:1;25685:3;25681:11;25674:39;25655:2;25652:1;25648:10;25643:15;;25619:101;;;25735:6;25732:1;25729:13;25726:2;;;25800:1;25791:6;25786:3;25782:16;25775:27;25726:2;25596:219;;;;;25823:97;;25911:2;25907:7;25902:2;25895:5;25891:14;25887:28;25877:38;;25871:49;;;;25928:117;25997:24;26015:5;25997:24;;;25990:5;25987:35;25977:2;;26036:1;26033;26026:12;25977:2;25971:74;;26052:111;26118:21;26133:5;26118:21;;;26111:5;26108:32;26098:2;;26154:1;26151;26144:12;26098:2;26092:71;;26170:117;26239:24;26257:5;26239:24;;;26232:5;26229:35;26219:2;;26278:1;26275;26268:12;26219:2;26213:74;;26294:115;26362:23;26379:5;26362:23;;;26355:5;26352:34;26342:2;;26400:1;26397;26390:12;26342:2;26336:73;;26416:115;26484:23;26501:5;26484:23;;;26477:5;26474:34;26464:2;;26522:1;26519;26512:12;26464:2;26458:73;;26538:117;26607:24;26625:5;26607:24;;;26600:5;26597:35;26587:2;;26646:1;26643;26636:12;26587:2;26581:74;", - "source": "pragma solidity ^0.5.0;\npragma experimental ABIEncoderV2;\n\nimport \"@ensdomains/ens/contracts/ENS.sol\";\nimport \"./profiles/ABIResolver.sol\";\nimport \"./profiles/AddrResolver.sol\";\nimport \"./profiles/ContentHashResolver.sol\";\nimport \"./profiles/DNSResolver.sol\";\nimport \"./profiles/InterfaceResolver.sol\";\nimport \"./profiles/NameResolver.sol\";\nimport \"./profiles/PubkeyResolver.sol\";\nimport \"./profiles/TextResolver.sol\";\n\n/**\n * A simple resolver anyone can use; only allows the owner of a node to set its\n * address.\n */\ncontract PublicResolver is ABIResolver, AddrResolver, ContentHashResolver, DNSResolver, InterfaceResolver, NameResolver, PubkeyResolver, TextResolver {\n ENS ens;\n\n /**\n * A mapping of authorisations. An address that is authorised for a name\n * may make any changes to the name that the owner could, but may not update\n * the set of authorisations.\n * (node, owner, caller) => isAuthorised\n */\n mapping(bytes32=>mapping(address=>mapping(address=>bool))) public authorisations;\n\n event AuthorisationChanged(bytes32 indexed node, address indexed owner, address indexed target, bool isAuthorised);\n\n constructor(ENS _ens) public {\n ens = _ens;\n }\n\n /**\n * @dev Sets or clears an authorisation.\n * Authorisations are specific to the caller. Any account can set an authorisation\n * for any name, but the authorisation that is checked will be that of the\n * current owner of a name. Thus, transferring a name effectively clears any\n * existing authorisations, and new authorisations can be set in advance of\n * an ownership transfer if desired.\n *\n * @param node The name to change the authorisation on.\n * @param target The address that is to be authorised or deauthorised.\n * @param isAuthorised True if the address should be authorised, or false if it should be deauthorised.\n */\n function setAuthorisation(bytes32 node, address target, bool isAuthorised) external {\n authorisations[node][msg.sender][target] = isAuthorised;\n emit AuthorisationChanged(node, msg.sender, target, isAuthorised);\n }\n\n function isAuthorised(bytes32 node) internal view returns(bool) {\n address owner = ens.owner(node);\n return owner == msg.sender || authorisations[node][owner][msg.sender];\n }\n\n function multicall(bytes[] calldata data) external returns(bytes[] memory results) {\n results = new bytes[](data.length);\n for(uint i = 0; i < data.length; i++) {\n (bool success, bytes memory result) = address(this).delegatecall(data[i]);\n require(success);\n results[i] = result;\n }\n return results;\n }\n}\n", - "sourcePath": "/home/user/Dropbox/projects/resolvers/contracts/PublicResolver.sol", - "ast": { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/PublicResolver.sol", - "exportedSymbols": { - "PublicResolver": [ - 353 - ] - }, - "id": 354, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 181, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:3" - }, - { - "id": 182, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "24:33:3" - }, - { - "absolutePath": "@ensdomains/ens/contracts/ENS.sol", - "file": "@ensdomains/ens/contracts/ENS.sol", - "id": 183, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 3783, - "src": "59:43:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/ABIResolver.sol", - "file": "./profiles/ABIResolver.sol", - "id": 184, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 799, - "src": "103:36:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/AddrResolver.sol", - "file": "./profiles/AddrResolver.sol", - "id": 185, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 958, - "src": "140:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/ContentHashResolver.sol", - "file": "./profiles/ContentHashResolver.sol", - "id": 186, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1028, - "src": "178:44:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/DNSResolver.sol", - "file": "./profiles/DNSResolver.sol", - "id": 187, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1459, - "src": "223:36:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/InterfaceResolver.sol", - "file": "./profiles/InterfaceResolver.sol", - "id": 188, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1646, - "src": "260:42:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/NameResolver.sol", - "file": "./profiles/NameResolver.sol", - "id": 189, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1716, - "src": "303:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/PubkeyResolver.sol", - "file": "./profiles/PubkeyResolver.sol", - "id": 190, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1807, - "src": "341:39:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/TextResolver.sol", - "file": "./profiles/TextResolver.sol", - "id": 191, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1890, - "src": "381:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 192, - "name": "ABIResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 798, - "src": "547:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ABIResolver_$798", - "typeString": "contract ABIResolver" - } - }, - "id": 193, - "nodeType": "InheritanceSpecifier", - "src": "547:11:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 194, - "name": "AddrResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 957, - "src": "560:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AddrResolver_$957", - "typeString": "contract AddrResolver" - } - }, - "id": 195, - "nodeType": "InheritanceSpecifier", - "src": "560:12:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 196, - "name": "ContentHashResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1027, - "src": "574:19:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ContentHashResolver_$1027", - "typeString": "contract ContentHashResolver" - } - }, - "id": 197, - "nodeType": "InheritanceSpecifier", - "src": "574:19:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 198, - "name": "DNSResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1458, - "src": "595:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DNSResolver_$1458", - "typeString": "contract DNSResolver" - } - }, - "id": 199, - "nodeType": "InheritanceSpecifier", - "src": "595:11:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 200, - "name": "InterfaceResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1645, - "src": "608:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_InterfaceResolver_$1645", - "typeString": "contract InterfaceResolver" - } - }, - "id": 201, - "nodeType": "InheritanceSpecifier", - "src": "608:17:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 202, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1715, - "src": "627:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$1715", - "typeString": "contract NameResolver" - } - }, - "id": 203, - "nodeType": "InheritanceSpecifier", - "src": "627:12:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 204, - "name": "PubkeyResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1806, - "src": "641:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_PubkeyResolver_$1806", - "typeString": "contract PubkeyResolver" - } - }, - "id": 205, - "nodeType": "InheritanceSpecifier", - "src": "641:14:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 206, - "name": "TextResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1889, - "src": "657:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TextResolver_$1889", - "typeString": "contract TextResolver" - } - }, - "id": 207, - "nodeType": "InheritanceSpecifier", - "src": "657:12:3" - } - ], - "contractDependencies": [ - 662, - 798, - 957, - 1027, - 1458, - 1645, - 1715, - 1806, - 1889 - ], - "contractKind": "contract", - "documentation": "A simple resolver anyone can use; only allows the owner of a node to set its\naddress.", - "fullyImplemented": true, - "id": 353, - "linearizedBaseContracts": [ - 353, - 1889, - 1806, - 1715, - 1645, - 1458, - 1027, - 957, - 798, - 662 - ], - "name": "PublicResolver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 209, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 353, - "src": "676:7:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 208, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3782, - "src": "676:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 217, - "name": "authorisations", - "nodeType": "VariableDeclaration", - "scope": 353, - "src": "943:80:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - }, - "typeName": { - "id": 216, - "keyType": { - "id": 210, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "951:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "943:58:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - }, - "valueType": { - "id": 215, - "keyType": { - "id": 211, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "968:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "960:40:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 214, - "keyType": { - "id": 212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "985:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "977:22:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 213, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "994:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 227, - "name": "AuthorisationChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 226, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 219, - "indexed": true, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1057:20:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 218, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1057:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 221, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1079:21:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1079:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "indexed": true, - "name": "target", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1102:22:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 222, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1102:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 225, - "indexed": false, - "name": "isAuthorised", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1126:17:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 224, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1126:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1056:88:3" - }, - "src": "1030:115:3" - }, - { - "body": { - "id": 236, - "nodeType": "Block", - "src": "1180:27:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 232, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 209, - "src": "1190:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 233, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1196:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "src": "1190:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "id": 235, - "nodeType": "ExpressionStatement", - "src": "1190:10:3" - } - ] - }, - "documentation": null, - "id": 237, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 230, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 229, - "name": "_ens", - "nodeType": "VariableDeclaration", - "scope": 237, - "src": "1163:8:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 228, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3782, - "src": "1163:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1162:10:3" - }, - "returnParameters": { - "id": 231, - "nodeType": "ParameterList", - "parameters": [], - "src": "1180:0:3" - }, - "scope": 353, - "src": "1151:56:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 265, - "nodeType": "Block", - "src": "1976:147:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 246, - "name": "authorisations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "1986:14:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - } - }, - "id": 251, - "indexExpression": { - "argumentTypes": null, - "id": 247, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2001:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1986:20:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 252, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 248, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2007:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2007:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1986:32:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 253, - "indexExpression": { - "argumentTypes": null, - "id": 250, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2019:6:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1986:40:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 254, - "name": "isAuthorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 243, - "src": "2029:12:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1986:55:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 256, - "nodeType": "ExpressionStatement", - "src": "1986:55:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 258, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2077:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 259, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2083:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2083:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 261, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2095:6:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 262, - "name": "isAuthorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 243, - "src": "2103:12:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 257, - "name": "AuthorisationChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 227, - "src": "2056:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (bytes32,address,address,bool)" - } - }, - "id": 263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2056:60:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 264, - "nodeType": "EmitStatement", - "src": "2051:65:3" - } - ] - }, - "documentation": "@dev Sets or clears an authorisation.\nAuthorisations are specific to the caller. Any account can set an authorisation\nfor any name, but the authorisation that is checked will be that of the\ncurrent owner of a name. Thus, transferring a name effectively clears any\nexisting authorisations, and new authorisations can be set in advance of\nan ownership transfer if desired.\n * @param node The name to change the authorisation on.\n@param target The address that is to be authorised or deauthorised.\n@param isAuthorised True if the address should be authorised, or false if it should be deauthorised.", - "id": 266, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setAuthorisation", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 239, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1918:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1918:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 241, - "name": "target", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1932:14:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1932:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 243, - "name": "isAuthorised", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1948:17:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1948:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1917:49:3" - }, - "returnParameters": { - "id": 245, - "nodeType": "ParameterList", - "parameters": [], - "src": "1976:0:3" - }, - "scope": 353, - "src": "1892:231:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 294, - "nodeType": "Block", - "src": "2193:127:3", - "statements": [ - { - "assignments": [ - 274 - ], - "declarations": [ - { - "constant": false, - "id": 274, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2203:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 273, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2203:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 279, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 277, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "2229:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 275, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 209, - "src": "2219:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "id": 276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 3767, - "src": "2219:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2219:15:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2203:31:3" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 280, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 274, - "src": "2251:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 281, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2260:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2260:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2251:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 284, - "name": "authorisations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2274:14:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - } - }, - "id": 286, - "indexExpression": { - "argumentTypes": null, - "id": 285, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "2289:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:20:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 288, - "indexExpression": { - "argumentTypes": null, - "id": 287, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 274, - "src": "2295:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:27:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 291, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 289, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2302:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2302:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:39:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2251:62:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 272, - "id": 293, - "nodeType": "Return", - "src": "2244:69:3" - } - ] - }, - "documentation": null, - "id": 295, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isAuthorised", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 268, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 295, - "src": "2151:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 267, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2151:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2150:14:3" - }, - "returnParameters": { - "id": 272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 271, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 295, - "src": "2187:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 270, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2187:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2186:6:3" - }, - "scope": 353, - "src": "2129:191:3", - "stateMutability": "view", - "superFunction": 617, - "visibility": "internal" - }, - { - "body": { - "id": 351, - "nodeType": "Block", - "src": "2409:283:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 304, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2419:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 308, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2441:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2441:11:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2429:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_$dyn_memory_$", - "typeString": "function (uint256) pure returns (bytes memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 305, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2433:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 306, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2433:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - } - }, - "id": 310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2429:24:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory", - "typeString": "bytes memory[] memory" - } - }, - "src": "2419:34:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 312, - "nodeType": "ExpressionStatement", - "src": "2419:34:3" - }, - { - "body": { - "id": 347, - "nodeType": "Block", - "src": "2501:161:3", - "statements": [ - { - "assignments": [ - 325, - 327 - ], - "declarations": [ - { - "constant": false, - "id": 325, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 347, - "src": "2516:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 324, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2516:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 327, - "name": "result", - "nodeType": "VariableDeclaration", - "scope": 347, - "src": "2530:19:3", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 326, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2530:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 336, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 332, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2580:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 334, - "indexExpression": { - "argumentTypes": null, - "id": 333, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2585:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2580:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 329, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "2561:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_PublicResolver_$353", - "typeString": "contract PublicResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_PublicResolver_$353", - "typeString": "contract PublicResolver" - } - ], - "id": 328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2553:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:13:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2553:26:3", - "typeDescriptions": { - "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) returns (bool,bytes memory)" - } - }, - "id": 335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:35:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2515:73:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 338, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 325, - "src": "2610:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 337, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4136, - 4137 - ], - "referencedDeclaration": 4136, - "src": "2602:7:3", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2602:16:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 340, - "nodeType": "ExpressionStatement", - "src": "2602:16:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 341, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2632:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 343, - "indexExpression": { - "argumentTypes": null, - "id": 342, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2640:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2632:10:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 344, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "2645:6:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "2632:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "id": 346, - "nodeType": "ExpressionStatement", - "src": "2632:19:3" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2479:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 318, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2483:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2483:11:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2479:15:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 348, - "initializationExpression": { - "assignments": [ - 314 - ], - "declarations": [ - { - "constant": false, - "id": 314, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 348, - "src": "2467:6:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 313, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2467:4:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 316, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2476:1:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2467:10:3" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2496:3:3", - "subExpression": { - "argumentTypes": null, - "id": 321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2496:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 323, - "nodeType": "ExpressionStatement", - "src": "2496:3:3" - }, - "nodeType": "ForStatement", - "src": "2463:199:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 349, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2678:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "functionReturnParameters": 303, - "id": 350, - "nodeType": "Return", - "src": "2671:14:3" - } - ] - }, - "documentation": null, - "id": 352, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "multicall", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 298, - "name": "data", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2345:21:3", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 296, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2345:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 297, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2345:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2344:23:3" - }, - "returnParameters": { - "id": 303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 302, - "name": "results", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2385:22:3", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 300, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2385:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2385:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2384:24:3" - }, - "scope": 353, - "src": "2326:366:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 354, - "src": "520:2174:3" - } - ], - "src": "0:2695:3" - }, - "legacyAST": { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/PublicResolver.sol", - "exportedSymbols": { - "PublicResolver": [ - 353 - ] - }, - "id": 354, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 181, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:3" - }, - { - "id": 182, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "24:33:3" - }, - { - "absolutePath": "@ensdomains/ens/contracts/ENS.sol", - "file": "@ensdomains/ens/contracts/ENS.sol", - "id": 183, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 3783, - "src": "59:43:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/ABIResolver.sol", - "file": "./profiles/ABIResolver.sol", - "id": 184, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 799, - "src": "103:36:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/AddrResolver.sol", - "file": "./profiles/AddrResolver.sol", - "id": 185, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 958, - "src": "140:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/ContentHashResolver.sol", - "file": "./profiles/ContentHashResolver.sol", - "id": 186, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1028, - "src": "178:44:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/DNSResolver.sol", - "file": "./profiles/DNSResolver.sol", - "id": 187, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1459, - "src": "223:36:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/InterfaceResolver.sol", - "file": "./profiles/InterfaceResolver.sol", - "id": 188, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1646, - "src": "260:42:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/NameResolver.sol", - "file": "./profiles/NameResolver.sol", - "id": 189, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1716, - "src": "303:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/PubkeyResolver.sol", - "file": "./profiles/PubkeyResolver.sol", - "id": 190, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1807, - "src": "341:39:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/user/Dropbox/projects/resolvers/contracts/profiles/TextResolver.sol", - "file": "./profiles/TextResolver.sol", - "id": 191, - "nodeType": "ImportDirective", - "scope": 354, - "sourceUnit": 1890, - "src": "381:37:3", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 192, - "name": "ABIResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 798, - "src": "547:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ABIResolver_$798", - "typeString": "contract ABIResolver" - } - }, - "id": 193, - "nodeType": "InheritanceSpecifier", - "src": "547:11:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 194, - "name": "AddrResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 957, - "src": "560:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AddrResolver_$957", - "typeString": "contract AddrResolver" - } - }, - "id": 195, - "nodeType": "InheritanceSpecifier", - "src": "560:12:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 196, - "name": "ContentHashResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1027, - "src": "574:19:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ContentHashResolver_$1027", - "typeString": "contract ContentHashResolver" - } - }, - "id": 197, - "nodeType": "InheritanceSpecifier", - "src": "574:19:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 198, - "name": "DNSResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1458, - "src": "595:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DNSResolver_$1458", - "typeString": "contract DNSResolver" - } - }, - "id": 199, - "nodeType": "InheritanceSpecifier", - "src": "595:11:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 200, - "name": "InterfaceResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1645, - "src": "608:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_InterfaceResolver_$1645", - "typeString": "contract InterfaceResolver" - } - }, - "id": 201, - "nodeType": "InheritanceSpecifier", - "src": "608:17:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 202, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1715, - "src": "627:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$1715", - "typeString": "contract NameResolver" - } - }, - "id": 203, - "nodeType": "InheritanceSpecifier", - "src": "627:12:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 204, - "name": "PubkeyResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1806, - "src": "641:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_PubkeyResolver_$1806", - "typeString": "contract PubkeyResolver" - } - }, - "id": 205, - "nodeType": "InheritanceSpecifier", - "src": "641:14:3" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 206, - "name": "TextResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1889, - "src": "657:12:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TextResolver_$1889", - "typeString": "contract TextResolver" - } - }, - "id": 207, - "nodeType": "InheritanceSpecifier", - "src": "657:12:3" - } - ], - "contractDependencies": [ - 662, - 798, - 957, - 1027, - 1458, - 1645, - 1715, - 1806, - 1889 - ], - "contractKind": "contract", - "documentation": "A simple resolver anyone can use; only allows the owner of a node to set its\naddress.", - "fullyImplemented": true, - "id": 353, - "linearizedBaseContracts": [ - 353, - 1889, - 1806, - 1715, - 1645, - 1458, - 1027, - 957, - 798, - 662 - ], - "name": "PublicResolver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 209, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 353, - "src": "676:7:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 208, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3782, - "src": "676:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 217, - "name": "authorisations", - "nodeType": "VariableDeclaration", - "scope": 353, - "src": "943:80:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - }, - "typeName": { - "id": 216, - "keyType": { - "id": 210, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "951:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "943:58:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - }, - "valueType": { - "id": 215, - "keyType": { - "id": 211, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "968:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "960:40:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 214, - "keyType": { - "id": 212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "985:7:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "977:22:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 213, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "994:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 227, - "name": "AuthorisationChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 226, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 219, - "indexed": true, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1057:20:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 218, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1057:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 221, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1079:21:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1079:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "indexed": true, - "name": "target", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1102:22:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 222, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1102:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 225, - "indexed": false, - "name": "isAuthorised", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1126:17:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 224, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1126:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1056:88:3" - }, - "src": "1030:115:3" - }, - { - "body": { - "id": 236, - "nodeType": "Block", - "src": "1180:27:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 232, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 209, - "src": "1190:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 233, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "1196:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "src": "1190:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "id": 235, - "nodeType": "ExpressionStatement", - "src": "1190:10:3" - } - ] - }, - "documentation": null, - "id": 237, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 230, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 229, - "name": "_ens", - "nodeType": "VariableDeclaration", - "scope": 237, - "src": "1163:8:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 228, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3782, - "src": "1163:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1162:10:3" - }, - "returnParameters": { - "id": 231, - "nodeType": "ParameterList", - "parameters": [], - "src": "1180:0:3" - }, - "scope": 353, - "src": "1151:56:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 265, - "nodeType": "Block", - "src": "1976:147:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 246, - "name": "authorisations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "1986:14:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - } - }, - "id": 251, - "indexExpression": { - "argumentTypes": null, - "id": 247, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2001:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1986:20:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 252, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 248, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2007:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2007:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1986:32:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 253, - "indexExpression": { - "argumentTypes": null, - "id": 250, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2019:6:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1986:40:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 254, - "name": "isAuthorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 243, - "src": "2029:12:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1986:55:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 256, - "nodeType": "ExpressionStatement", - "src": "1986:55:3" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 258, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 239, - "src": "2077:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 259, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2083:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2083:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 261, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2095:6:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 262, - "name": "isAuthorised", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 243, - "src": "2103:12:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 257, - "name": "AuthorisationChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 227, - "src": "2056:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (bytes32,address,address,bool)" - } - }, - "id": 263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2056:60:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 264, - "nodeType": "EmitStatement", - "src": "2051:65:3" - } - ] - }, - "documentation": "@dev Sets or clears an authorisation.\nAuthorisations are specific to the caller. Any account can set an authorisation\nfor any name, but the authorisation that is checked will be that of the\ncurrent owner of a name. Thus, transferring a name effectively clears any\nexisting authorisations, and new authorisations can be set in advance of\nan ownership transfer if desired.\n * @param node The name to change the authorisation on.\n@param target The address that is to be authorised or deauthorised.\n@param isAuthorised True if the address should be authorised, or false if it should be deauthorised.", - "id": 266, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setAuthorisation", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 239, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1918:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 238, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1918:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 241, - "name": "target", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1932:14:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1932:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 243, - "name": "isAuthorised", - "nodeType": "VariableDeclaration", - "scope": 266, - "src": "1948:17:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1948:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1917:49:3" - }, - "returnParameters": { - "id": 245, - "nodeType": "ParameterList", - "parameters": [], - "src": "1976:0:3" - }, - "scope": 353, - "src": "1892:231:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 294, - "nodeType": "Block", - "src": "2193:127:3", - "statements": [ - { - "assignments": [ - 274 - ], - "declarations": [ - { - "constant": false, - "id": 274, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2203:13:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 273, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2203:7:3", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 279, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 277, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "2229:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 275, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 209, - "src": "2219:3:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$3782", - "typeString": "contract ENS" - } - }, - "id": 276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 3767, - "src": "2219:9:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2219:15:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2203:31:3" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 280, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 274, - "src": "2251:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 281, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2260:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2260:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2251:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 284, - "name": "authorisations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "2274:14:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$_$", - "typeString": "mapping(bytes32 => mapping(address => mapping(address => bool)))" - } - }, - "id": 286, - "indexExpression": { - "argumentTypes": null, - "id": 285, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "2289:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:20:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 288, - "indexExpression": { - "argumentTypes": null, - "id": 287, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 274, - "src": "2295:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:27:3", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 291, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 289, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4133, - "src": "2302:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2302:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2274:39:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2251:62:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 272, - "id": 293, - "nodeType": "Return", - "src": "2244:69:3" - } - ] - }, - "documentation": null, - "id": 295, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isAuthorised", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 268, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 295, - "src": "2151:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 267, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2151:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2150:14:3" - }, - "returnParameters": { - "id": 272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 271, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 295, - "src": "2187:4:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 270, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2187:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2186:6:3" - }, - "scope": 353, - "src": "2129:191:3", - "stateMutability": "view", - "superFunction": 617, - "visibility": "internal" - }, - { - "body": { - "id": 351, - "nodeType": "Block", - "src": "2409:283:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 304, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2419:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 308, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2441:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2441:11:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2429:11:3", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_$dyn_memory_$", - "typeString": "function (uint256) pure returns (bytes memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 305, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2433:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 306, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2433:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - } - }, - "id": 310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2429:24:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory", - "typeString": "bytes memory[] memory" - } - }, - "src": "2419:34:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 312, - "nodeType": "ExpressionStatement", - "src": "2419:34:3" - }, - { - "body": { - "id": 347, - "nodeType": "Block", - "src": "2501:161:3", - "statements": [ - { - "assignments": [ - 325, - 327 - ], - "declarations": [ - { - "constant": false, - "id": 325, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 347, - "src": "2516:12:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 324, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2516:4:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 327, - "name": "result", - "nodeType": "VariableDeclaration", - "scope": 347, - "src": "2530:19:3", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 326, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2530:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 336, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 332, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2580:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 334, - "indexExpression": { - "argumentTypes": null, - "id": 333, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2585:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2580:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 329, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "2561:4:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_PublicResolver_$353", - "typeString": "contract PublicResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_PublicResolver_$353", - "typeString": "contract PublicResolver" - } - ], - "id": 328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2553:7:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:13:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2553:26:3", - "typeDescriptions": { - "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) returns (bool,bytes memory)" - } - }, - "id": 335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2553:35:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2515:73:3" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 338, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 325, - "src": "2610:7:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 337, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4136, - 4137 - ], - "referencedDeclaration": 4136, - "src": "2602:7:3", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2602:16:3", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 340, - "nodeType": "ExpressionStatement", - "src": "2602:16:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 341, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2632:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "id": 343, - "indexExpression": { - "argumentTypes": null, - "id": 342, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2640:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2632:10:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 344, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 327, - "src": "2645:6:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "2632:19:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "id": 346, - "nodeType": "ExpressionStatement", - "src": "2632:19:3" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2479:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 318, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "2483:4:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2483:11:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2479:15:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 348, - "initializationExpression": { - "assignments": [ - 314 - ], - "declarations": [ - { - "constant": false, - "id": 314, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 348, - "src": "2467:6:3", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 313, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2467:4:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 316, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2476:1:3", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2467:10:3" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2496:3:3", - "subExpression": { - "argumentTypes": null, - "id": 321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 314, - "src": "2496:1:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 323, - "nodeType": "ExpressionStatement", - "src": "2496:3:3" - }, - "nodeType": "ForStatement", - "src": "2463:199:3" - }, - { - "expression": { - "argumentTypes": null, - "id": 349, - "name": "results", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "2678:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "functionReturnParameters": 303, - "id": 350, - "nodeType": "Return", - "src": "2671:14:3" - } - ] - }, - "documentation": null, - "id": 352, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "multicall", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 298, - "name": "data", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2345:21:3", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 296, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2345:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 297, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2345:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2344:23:3" - }, - "returnParameters": { - "id": 303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 302, - "name": "results", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2385:22:3", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 300, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2385:5:3", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2385:7:3", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2384:24:3" - }, - "scope": 353, - "src": "2326:366:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 354, - "src": "520:2174:3" - } - ], - "src": "0:2695:3" - }, - "compiler": { - "name": "solc", - "version": "0.5.8+commit.23d335f2.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.933Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "ABI(bytes32,uint256)": { - "params": { - "contentTypes": "A bitwise OR of the ABI formats accepted by the caller.", - "node": "The ENS node to query" - }, - "return": "contentType The content type of the return valuedata The ABI data" - }, - "addr(bytes32)": { - "params": { - "node": "The ENS node to query." - }, - "return": "The associated address." - }, - "clearDNSZone(bytes32)": { - "params": { - "node": "the namehash of the node for which to clear the zone" - } - }, - "contenthash(bytes32)": { - "params": { - "node": "The ENS node to query." - }, - "return": "The associated contenthash." - }, - "dnsRecord(bytes32,bytes32,uint16)": { - "params": { - "name": "the keccak-256 hash of the fully-qualified name for which to fetch the record", - "node": "the namehash of the node for which to fetch the record", - "resource": "the ID of the resource as per https://en.wikipedia.org/wiki/List_of_DNS_record_types" - }, - "return": "the DNS record in wire format if present, otherwise empty" - }, - "hasDNSRecords(bytes32,bytes32)": { - "params": { - "name": "the namehash of the node for which to check the records", - "node": "the namehash of the node for which to check the records" - } - }, - "interfaceImplementer(bytes32,bytes4)": { - "params": { - "interfaceID": "The EIP 168 interface ID to check for.", - "node": "The ENS node to query." - }, - "return": "The address that implements this interface, or 0 if the interface is unsupported." - }, - "name(bytes32)": { - "params": { - "node": "The ENS node to query." - }, - "return": "The associated name." - }, - "pubkey(bytes32)": { - "params": { - "node": "The ENS node to query" - }, - "return": "x, y the X and Y coordinates of the curve point for the public key." - }, - "setABI(bytes32,uint256,bytes)": { - "params": { - "contentType": "The content type of the ABI", - "data": "The ABI data.", - "node": "The node to update." - } - }, - "setAddr(bytes32,address)": { - "params": { - "a": "The address to set.", - "node": "The node to update." - } - }, - "setAuthorisation(bytes32,address,bool)": { - "details": "Sets or clears an authorisation. Authorisations are specific to the caller. Any account can set an authorisation for any name, but the authorisation that is checked will be that of the current owner of a name. Thus, transferring a name effectively clears any existing authorisations, and new authorisations can be set in advance of an ownership transfer if desired.", - "params": { - "isAuthorised": "True if the address should be authorised, or false if it should be deauthorised.", - "node": "The name to change the authorisation on.", - "target": "The address that is to be authorised or deauthorised." - } - }, - "setContenthash(bytes32,bytes)": { - "params": { - "hash": "The contenthash to set", - "node": "The node to update." - } - }, - "setDNSRecords(bytes32,bytes)": { - "params": { - "data": "the DNS wire format records to set", - "node": "the namehash of the node for which to set the records" - } - }, - "setInterface(bytes32,bytes4,address)": { - "params": { - "implementer": "The address of a contract that implements this interface for this node.", - "interfaceID": "The EIP 168 interface ID.", - "node": "The node to update." - } - }, - "setName(bytes32,string)": { - "params": { - "name": "The name to set.", - "node": "The node to update." - } - }, - "setPubkey(bytes32,bytes32,bytes32)": { - "params": { - "node": "The ENS node to query", - "x": "the X coordinate of the curve point for the public key.", - "y": "the Y coordinate of the curve point for the public key." - } - }, - "setText(bytes32,string,string)": { - "params": { - "key": "The key to set.", - "node": "The node to update.", - "value": "The text data value to set." - } - }, - "text(bytes32,string)": { - "params": { - "key": "The text data key to query.", - "node": "The ENS node to query." - }, - "return": "The associated text data." - } - } - }, - "userdoc": { - "methods": { - "ABI(bytes32,uint256)": { - "notice": "Returns the ABI associated with an ENS node. Defined in EIP205." - }, - "addr(bytes32)": { - "notice": "Returns the address associated with an ENS node." - }, - "clearDNSZone(bytes32)": { - "notice": "Clear all information for a DNS zone." - }, - "contenthash(bytes32)": { - "notice": "Returns the contenthash associated with an ENS node." - }, - "dnsRecord(bytes32,bytes32,uint16)": { - "notice": "Obtain a DNS record." - }, - "hasDNSRecords(bytes32,bytes32)": { - "notice": "Check if a given node has records." - }, - "interfaceImplementer(bytes32,bytes4)": { - "notice": "Returns the address of a contract that implements the specified interface for this name. If an implementer has not been set for this interfaceID and name, the resolver will query the contract at `addr()`. If `addr()` is set, a contract exists at that address, and that contract implements EIP168 and returns `true` for the specified interfaceID, its address will be returned." - }, - "name(bytes32)": { - "notice": "Returns the name associated with an ENS node, for reverse records. Defined in EIP181." - }, - "pubkey(bytes32)": { - "notice": "Returns the SECP256k1 public key associated with an ENS node. Defined in EIP 619." - }, - "setABI(bytes32,uint256,bytes)": { - "notice": "Sets the ABI associated with an ENS node. Nodes may have one ABI of each content type. To remove an ABI, set it to the empty string." - }, - "setAddr(bytes32,address)": { - "notice": "Sets the address associated with an ENS node. May only be called by the owner of that node in the ENS registry." - }, - "setContenthash(bytes32,bytes)": { - "notice": "Sets the contenthash associated with an ENS node. May only be called by the owner of that node in the ENS registry." - }, - "setDNSRecords(bytes32,bytes)": { - "notice": "Set one or more DNS records. Records are supplied in wire-format. Records with the same node/name/resource must be supplied one after the other to ensure the data is updated correctly. For example, if the data was supplied: a.example.com IN A 1.2.3.4 a.example.com IN A 5.6.7.8 www.example.com IN CNAME a.example.com. then this would store the two A records for a.example.com correctly as a single RRSET, however if the data was supplied: a.example.com IN A 1.2.3.4 www.example.com IN CNAME a.example.com. a.example.com IN A 5.6.7.8 then this would store the first A record, the CNAME, then the second A record which would overwrite the first." - }, - "setInterface(bytes32,bytes4,address)": { - "notice": "Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at `addr()` for interface support." - }, - "setName(bytes32,string)": { - "notice": "Sets the name associated with an ENS node, for reverse records. May only be called by the owner of that node in the ENS registry." - }, - "setPubkey(bytes32,bytes32,bytes32)": { - "notice": "Sets the SECP256k1 public key associated with an ENS node." - }, - "setText(bytes32,string,string)": { - "notice": "Sets the text data associated with an ENS node and key. May only be called by the owner of that node in the ENS registry." - }, - "text(bytes32,string)": { - "notice": "Returns the text data associated with an ENS node and key." - } - }, - "notice": "A simple resolver anyone can use; only allows the owner of a node to set its address." - } -} diff --git a/build/contracts/RLC.json b/build/contracts/RLC.json deleted file mode 100644 index 8ed95cdf5..000000000 --- a/build/contracts/RLC.json +++ /dev/null @@ -1,683 +0,0 @@ -{ - "contractName": "RLC", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint8" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "initialSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "version", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "locked", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "refill", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_giver", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "forceApprove", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_toburn", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "forceBurn", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - }, - { - "name": "_extraData", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "remaining", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x60806040526040805190810160405280600481526020017f76302e31000000000000000000000000000000000000000000000000000000008152506005908051906020019062000051929190620001bd565b503480156200005f57600080fd5b5033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506701351609ff758000600681905550600654600781905550600654600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506040805190810160405280600f81526020017f694578656320524c4320546f6b656e0000000000000000000000000000000000815250600290805190602001906200014c929190620001bd565b506040805190810160405280600381526020017f524c430000000000000000000000000000000000000000000000000000000000815250600390805190602001906200019a929190620001bd565b506009600460006101000a81548160ff021916908360ff1602179055506200026c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200020057805160ff191683800117855562000231565b8280016001018555821562000231579182015b828111156200023057825182559160200191906001019062000213565b5b50905062000240919062000244565b5090565b6200026991905b80821115620002655760008160009055506001016200024b565b5090565b90565b611823806200027c6000396000f300608060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461010c578063095ea7b31461019c5780630aa3ae7e1461020157806318160ddd1461026657806323b872dd14610291578063313ce56714610316578063378dc3dc1461034757806342966c681461037257806354fd4d50146103b757806361f49ed61461044757806370a08231146104cc5780638da5cb5b1461052357806395d89b411461057a578063a9059cbb1461060a578063cae9ca511461066f578063cf30901214610702578063dd62ed3e14610731578063e2d6f634146107a8578063f2fde38b1461080d575b600080fd5b34801561011857600080fd5b50610121610850565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610161578082015181840152602081019050610146565b50505050905090810190601f16801561018e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a857600080fd5b506101e7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108ee565b604051808215151515815260200191505060405180910390f35b34801561020d57600080fd5b5061024c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109e0565b604051808215151515815260200191505060405180910390f35b34801561027257600080fd5b5061027b610b46565b6040518082815260200191505060405180910390f35b34801561029d57600080fd5b506102fc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b4c565b604051808215151515815260200191505060405180910390f35b34801561032257600080fd5b5061032b610de1565b604051808260ff1660ff16815260200191505060405180910390f35b34801561035357600080fd5b5061035c610df4565b6040518082815260200191505060405180910390f35b34801561037e57600080fd5b5061039d60048036038101908080359060200190929190505050610dfa565b604051808215151515815260200191505060405180910390f35b3480156103c357600080fd5b506103cc610ef3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561040c5780820151818401526020810190506103f1565b50505050905090810190601f1680156104395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561045357600080fd5b506104b2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f91565b604051808215151515815260200191505060405180910390f35b3480156104d857600080fd5b5061050d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110db565b6040518082815260200191505060405180910390f35b34801561052f57600080fd5b50610538611124565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561058657600080fd5b5061058f61114a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105cf5780820151818401526020810190506105b4565b50505050905090810190601f1680156105fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561061657600080fd5b50610655600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111e8565b604051808215151515815260200191505060405180910390f35b34801561067b57600080fd5b50610700600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611371565b005b34801561070e57600080fd5b506107176114e8565b604051808215151515815260200191505060405180910390f35b34801561073d57600080fd5b50610792600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114fb565b6040518082815260200191505060405180910390f35b3480156107b457600080fd5b506107f3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611582565b604051808215151515815260200191505060405180910390f35b34801561081957600080fd5b5061084e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116d3565b005b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108e65780601f106108bb576101008083540402835291602001916108e6565b820191906000526020600020905b8154815290600101906020018083116108c957829003601f168201915b505050505081565b600081600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610b4057610a81600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117a5565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ad0600754836117a5565b6007819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b60075481565b600080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610c17600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846117a5565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ca3600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846117cf565b600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cf081846117cf565b600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600460009054906101000a900460ff1681565b60065481565b6000610e45600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e94600754836117cf565b60078190555060003373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050919050565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f895780601f10610f5e57610100808354040283529160200191610f89565b820191906000526020600020905b815481529060010190602001808311610f6c57829003601f168201915b505050505081565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156110d45781600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a3600190505b9392505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b505050505081565b6000611233600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112bf600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117a5565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b600083905061138084846108ee565b156114e2578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338530866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561147a57808201518184015260208101905061145f565b50505050905090810190601f1680156114a75780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156114c957600080fd5b505af11580156114dd573d6000803e3d6000fd5b505050505b50505050565b600860009054906101000a900460ff1681565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156116cd57611623600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611672600754836117cf565b60078190555060008373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156117a257600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156117a15780600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50565b60008082840190506117c58482101580156117c05750838210155b6117e8565b8091505092915050565b60006117dd838311156117e8565b818303905092915050565b8015156117f457600080fd5b505600a165627a7a72305820ed01b057539476e9a80cb7cc89e1b315c875dfea936ef7faa2ce5051bafa40590029", - "deployedBytecode": "0x608060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461010c578063095ea7b31461019c5780630aa3ae7e1461020157806318160ddd1461026657806323b872dd14610291578063313ce56714610316578063378dc3dc1461034757806342966c681461037257806354fd4d50146103b757806361f49ed61461044757806370a08231146104cc5780638da5cb5b1461052357806395d89b411461057a578063a9059cbb1461060a578063cae9ca511461066f578063cf30901214610702578063dd62ed3e14610731578063e2d6f634146107a8578063f2fde38b1461080d575b600080fd5b34801561011857600080fd5b50610121610850565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610161578082015181840152602081019050610146565b50505050905090810190601f16801561018e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a857600080fd5b506101e7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108ee565b604051808215151515815260200191505060405180910390f35b34801561020d57600080fd5b5061024c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109e0565b604051808215151515815260200191505060405180910390f35b34801561027257600080fd5b5061027b610b46565b6040518082815260200191505060405180910390f35b34801561029d57600080fd5b506102fc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b4c565b604051808215151515815260200191505060405180910390f35b34801561032257600080fd5b5061032b610de1565b604051808260ff1660ff16815260200191505060405180910390f35b34801561035357600080fd5b5061035c610df4565b6040518082815260200191505060405180910390f35b34801561037e57600080fd5b5061039d60048036038101908080359060200190929190505050610dfa565b604051808215151515815260200191505060405180910390f35b3480156103c357600080fd5b506103cc610ef3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561040c5780820151818401526020810190506103f1565b50505050905090810190601f1680156104395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561045357600080fd5b506104b2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f91565b604051808215151515815260200191505060405180910390f35b3480156104d857600080fd5b5061050d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110db565b6040518082815260200191505060405180910390f35b34801561052f57600080fd5b50610538611124565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561058657600080fd5b5061058f61114a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105cf5780820151818401526020810190506105b4565b50505050905090810190601f1680156105fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561061657600080fd5b50610655600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111e8565b604051808215151515815260200191505060405180910390f35b34801561067b57600080fd5b50610700600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611371565b005b34801561070e57600080fd5b506107176114e8565b604051808215151515815260200191505060405180910390f35b34801561073d57600080fd5b50610792600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114fb565b6040518082815260200191505060405180910390f35b3480156107b457600080fd5b506107f3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611582565b604051808215151515815260200191505060405180910390f35b34801561081957600080fd5b5061084e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116d3565b005b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108e65780601f106108bb576101008083540402835291602001916108e6565b820191906000526020600020905b8154815290600101906020018083116108c957829003601f168201915b505050505081565b600081600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610b4057610a81600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117a5565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ad0600754836117a5565b6007819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b60075481565b600080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610c17600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846117a5565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ca3600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846117cf565b600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cf081846117cf565b600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600460009054906101000a900460ff1681565b60065481565b6000610e45600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e94600754836117cf565b60078190555060003373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050919050565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f895780601f10610f5e57610100808354040283529160200191610f89565b820191906000526020600020905b815481529060010190602001808311610f6c57829003601f168201915b505050505081565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156110d45781600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a3600190505b9392505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b505050505081565b6000611233600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112bf600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117a5565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b600083905061138084846108ee565b156114e2578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338530866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561147a57808201518184015260208101905061145f565b50505050905090810190601f1680156114a75780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156114c957600080fd5b505af11580156114dd573d6000803e3d6000fd5b505050505b50505050565b600860009054906101000a900460ff1681565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156116cd57611623600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836117cf565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611672600754836117cf565b60078190555060008373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156117a257600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156117a15780600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50565b60008082840190506117c58482101580156117c05750838210155b6117e8565b8091505092915050565b60006117dd838311156117e8565b818303905092915050565b8015156117f457600080fd5b505600a165627a7a72305820ed01b057539476e9a80cb7cc89e1b315c875dfea936ef7faa2ce5051bafa40590029", - "sourceMap": "133:3350:2:-;;;341:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;667:411;8:9:-1;5:2;;;30:1;27;20:12;5:2;667:411:2;112:10:1;104:5;;:18;;;;;;;;;;;;;;;;;;704:17:2;688:13;:33;;;;741:13;;727:11;:27;;;;783:13;;760:8;:20;769:10;760:20;;;;;;;;;;;;;;;:36;;;;840:24;;;;;;;;;;;;;;;;;;:4;:24;;;;;;;;;;;;:::i;:::-;;914:14;;;;;;;;;;;;;;;;;;:6;:14;;;;;;;;;;;;:::i;:::-;;1006:1;995:8;;:12;;;;;;;;;;;;;;;;;;133:3350;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "133:3350:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;219:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;219:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;219:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2841:173;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2841:173:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1133:228;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1133:228:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;404:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;404:23:2;;;;;;;;;;;;;;;;;;;;;;;2378:354;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2378:354:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;284:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;284:21:2;;;;;;;;;;;;;;;;;;;;;;;;;;;375:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;375:25:2;;;;;;;;;;;;;;;;;;;;;;;1912:220;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1912:220:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;341:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;341:30:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;341:30:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1415:196;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1415:196:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2736:101;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2736:101:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:20:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54:20:1;;;;;;;;;;;;;;;;;;;;;;;;;;;260::2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;260:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;260:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2136:238;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2136:238:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3093:253;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3093:253:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;431:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;431:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;3350:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3350:130:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1665:242;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1665:242:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;199:110:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;199:110:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;219:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2841:173::-;2898:4;2942:6;2910:7;:19;2918:10;2910:19;;;;;;;;;;;;;;;:29;2930:8;2910:29;;;;;;;;;;;;;;;:38;;;;2975:8;2954:38;;2963:10;2954:38;;;2985:6;2954:38;;;;;;;;;;;;;;;;;;3005:4;2998:11;;2841:173;;;;:::o;1133:228::-;1194:4;176:5:1;;;;;;;;;;;162:19;;:10;:19;;;158:32;;;1222:30:2;1230:8;:13;1239:3;1230:13;;;;;;;;;;;;;;;;1245:6;1222:7;:30::i;:::-;1206:8;:13;1215:3;1206:13;;;;;;;;;;;;;;;:46;;;;1272:28;1280:11;;1293:6;1272:7;:28::i;:::-;1258:11;:42;;;;1327:3;1306:33;;1315:10;1306:33;;;1332:6;1306:33;;;;;;;;;;;;;;;;;;1352:4;1345:11;;158:32:1;1133:228:2;;;;:::o;404:23::-;;;;:::o;2378:354::-;2450:4;2462:14;2479:7;:14;2487:5;2479:14;;;;;;;;;;;;;;;:26;2494:10;2479:26;;;;;;;;;;;;;;;;2462:43;;2528:30;2536:8;:13;2545:3;2536:13;;;;;;;;;;;;;;;;2551:6;2528:7;:30::i;:::-;2512:8;:13;2521:3;2512:13;;;;;;;;;;;;;;;:46;;;;2582:32;2590:8;:15;2599:5;2590:15;;;;;;;;;;;;;;;;2607:6;2582:7;:32::i;:::-;2564:8;:15;2573:5;2564:15;;;;;;;;;;;;;;;:50;;;;2649:27;2657:10;2669:6;2649:7;:27::i;:::-;2620:7;:14;2628:5;2620:14;;;;;;;;;;;;;;;:26;2635:10;2620:26;;;;;;;;;;;;;;;:56;;;;2698:3;2682:28;;2691:5;2682:28;;;2703:6;2682:28;;;;;;;;;;;;;;;;;;2723:4;2716:11;;2378:354;;;;;;:::o;284:21::-;;;;;;;;;;;;;:::o;375:25::-;;;;:::o;1912:220::-;1951:4;1985:37;1993:8;:20;2002:10;1993:20;;;;;;;;;;;;;;;;2015:6;1985:7;:37::i;:::-;1962:8;:20;1971:10;1962:20;;;;;;;;;;;;;;;:60;;;;2043:28;2051:11;;2064:6;2043:7;:28::i;:::-;2029:11;:42;;;;2098:3;2086:10;2077:33;;;2103:6;2077:33;;;;;;;;;;;;;;;;;;2123:4;2116:11;;1912:220;;;:::o;341:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1415:196::-;1503:4;176:5:1;;;;;;;;;;;162:19;;:10;:19;;;158:32;;;1543:6:2;1515:7;:15;1523:6;1515:15;;;;;;;;;;;;;;;:25;1531:8;1515:25;;;;;;;;;;;;;;;:34;;;;1572:8;1555:34;;1564:6;1555:34;;;1582:6;1555:34;;;;;;;;;;;;;;;;;;1602:4;1595:11;;158:32:1;1415:196:2;;;;;:::o;2736:101::-;2789:12;2816:8;:16;2825:6;2816:16;;;;;;;;;;;;;;;;2809:23;;2736:101;;;:::o;54:20:1:-;;;;;;;;;;;;;:::o;260::2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2136:238::-;2189:4;2224:37;2232:8;:20;2241:10;2232:20;;;;;;;;;;;;;;;;2254:6;2224:7;:37::i;:::-;2201:8;:20;2210:10;2201:20;;;;;;;;;;;;;;;:60;;;;2283:30;2291:8;:13;2300:3;2291:13;;;;;;;;;;;;;;;;2306:6;2283:7;:30::i;:::-;2267:8;:13;2276:3;2267:13;;;;;;;;;;;;;;;:46;;;;2340:3;2319:33;;2328:10;2319:33;;;2345:6;2319:33;;;;;;;;;;;;;;;;;;2365:4;2358:11;;2136:238;;;;:::o;3093:253::-;3176:20;3212:8;3176:45;;3233:25;3241:8;3251:6;3233:7;:25::i;:::-;3229:113;;;3272:7;:23;;;3296:10;3308:6;3316:4;3322:10;3272:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3272:61:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3272:61:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3272:61:2;;;;3229:113;3093:253;;;;:::o;431:18::-;;;;;;;;;;;;;:::o;3350:130::-;3421:14;3450:7;:15;3458:6;3450:15;;;;;;;;;;;;;;;:25;3466:8;3450:25;;;;;;;;;;;;;;;;3443:32;;3350:130;;;;:::o;1665:242::-;1735:4;176:5:1;;;;;;;;;;;162:19;;:10;:19;;;158:32;;;1766:34:2;1774:8;:17;1783:7;1774:17;;;;;;;;;;;;;;;;1793:6;1766:7;:34::i;:::-;1746:8;:17;1755:7;1746:17;;;;;;;;;;;;;;;:54;;;;1821:28;1829:11;;1842:6;1821:7;:28::i;:::-;1807:11;:42;;;;1873:3;1864:7;1855:30;;;1878:6;1855:30;;;;;;;;;;;;;;;;;;1898:4;1891:11;;158:32:1;1665:242:2;;;;:::o;199:110:1:-;176:5;;;;;;;;;;;162:19;;:10;:19;;;158:32;;;284:1;264:22;;:8;:22;;;;260:44;;;296:8;288:5;;:16;;;;;;;;;;;;;;;;;;260:44;158:32;199:110;:::o;444:122:3:-;495:4;507:6;520:1;516;:5;507:14;;527:20;537:1;534;:4;;:12;;;;;545:1;542;:4;;534:12;527:6;:20::i;:::-;560:1;553:8;;444:122;;;;;:::o;340:100::-;391:4;403:14;415:1;410;:6;;403;:14::i;:::-;434:1;430;:5;423:12;;340:100;;;;:::o;1000:87::-;1052:9;1051:10;1047:36;;;1071:5;;;1047:36;1000:87;:::o", - "source": "pragma solidity ^0.4.8;\n//v0.1.0\nimport \"./Ownable.sol\";\nimport \"./SafeMath.sol\";\nimport \"./ERC20.sol\";\nimport \"./TokenSpender.sol\";\ncontract RLC is ERC20, SafeMath, Ownable {\n\n /* Public variables of the token */\n string public name; //fancy name\n string public symbol;\n uint8 public decimals; //How many decimals to show.\n string public version = 'v0.1';\n uint public initialSupply;\n uint public totalSupply;\n bool public locked;\n //uint public unlockBlock;\n\n mapping(address => uint) balances;\n mapping (address => mapping (address => uint)) allowed;\n\n\n /*\n * The FaucetRLC Token created with the time at which the crowdsale end\n */\n\n function RLC() {\n initialSupply = 87000000000000000;\n totalSupply = initialSupply;\n balances[msg.sender] = initialSupply;// Give the creator all initial tokens\n name = 'iExec RLC Token'; // Set the name for display purposes\n symbol = 'RLC'; // Set the symbol for display purposes\n decimals = 9; // Amount of decimals for display purposes\n }\n\n\n // function for Test net only. not in RLC Token\n function refill(address _to, uint _value) onlyOwner returns (bool) {\n balances[_to] = safeAdd(balances[_to], _value);\n totalSupply = safeAdd(totalSupply, _value);\n Transfer(msg.sender, _to, _value);\n return true;\n }\n\n // function for Test net only. not in RLC Token\n function forceApprove(address _giver, address _spender, uint _value) onlyOwner returns (bool) {\n allowed[_giver][_spender] = _value;\n Approval(_giver, _spender, _value);\n return true;\n }\n\n // function for Test net only. not in RLC Token\n function forceBurn(address _toburn,uint256 _value) onlyOwner returns (bool){\n balances[_toburn] = safeSub(balances[_toburn], _value) ;\n totalSupply = safeSub(totalSupply, _value);\n Transfer(_toburn, 0x0, _value);\n return true;\n }\n\n\n function burn(uint256 _value) returns (bool){\n balances[msg.sender] = safeSub(balances[msg.sender], _value) ;\n totalSupply = safeSub(totalSupply, _value);\n Transfer(msg.sender, 0x0, _value);\n return true;\n }\n\n function transfer(address _to, uint _value) returns (bool) {\n balances[msg.sender] = safeSub(balances[msg.sender], _value);\n balances[_to] = safeAdd(balances[_to], _value);\n Transfer(msg.sender, _to, _value);\n return true;\n }\n\n function transferFrom(address _from, address _to, uint _value) returns (bool) {\n var _allowance = allowed[_from][msg.sender];\n\n balances[_to] = safeAdd(balances[_to], _value);\n balances[_from] = safeSub(balances[_from], _value);\n allowed[_from][msg.sender] = safeSub(_allowance, _value);\n Transfer(_from, _to, _value);\n return true;\n }\n\n function balanceOf(address _owner) constant returns (uint balance) {\n return balances[_owner];\n }\n\n function approve(address _spender, uint _value) returns (bool) {\n allowed[msg.sender][_spender] = _value;\n Approval(msg.sender, _spender, _value);\n return true;\n }\n\n /* Approve and then comunicate the approved contract in a single tx */\n function approveAndCall(address _spender, uint256 _value, bytes _extraData){\n TokenSpender spender = TokenSpender(_spender);\n if (approve(_spender, _value)) {\n spender.receiveApproval(msg.sender, _value, this, _extraData);\n }\n }\n\n function allowance(address _owner, address _spender) constant returns (uint remaining) {\n return allowed[_owner][_spender];\n }\n\n}\n", - "compiler": { - "name": "solc", - "version": "0.4.24+commit.e67f0147.Emscripten.clang" - }, - "networks": { - "1": { - "address": "0x607F4C5BB672230e8672085532f7e901544a7375", - "links": {} - }, - "3": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0x7314dc4d7794b5e7894212ca1556ae8e3de58621", - "updated_at": 1507185226658 - }, - "4": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xf1e6ad3a7ef0c86c915f0fedf80ed851809bea90", - "updated_at": 1507153008876 - }, - "5": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xe0d00540a3729B4fdB96f92534dA97DC7973Af8b", - "updated_at": 1561724003000 - }, - "31": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0x88b37ff3c0df0692f982a28099a9999c4a422293", - "updated_at": 1521045503088 - }, - "42": { - "events": { - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - }, - "links": {}, - "address": "0xc57538846ec405ea25deb00e0f9b29a432d53507", - "updated_at": 1507187064558 - } - }, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:32.744Z", - "networkType": "ethereum" -} diff --git a/build/contracts/Registry.json b/build/contracts/Registry.json deleted file mode 100644 index f7f4fd430..000000000 --- a/build/contracts/Registry.json +++ /dev/null @@ -1,6739 +0,0 @@ -{ - "contractName": "Registry", - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "_master", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_master\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_previous\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"master\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previous\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":\"Registry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\";\nimport \"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/utils/Create2.sol\";\nimport \"./IRegistry.sol\";\n\n\nabstract contract Registry is IRegistry, ERC721, ENSReverseRegistration, Ownable\n{\n\taddress public master;\n\tbytes public proxyCode;\n\tbytes32 public proxyCodeHash;\n\tIRegistry public previous;\n\tbool public initialized;\n\n\tconstructor(address _master, string memory _name, string memory _symbol)\n\tpublic ERC721(_name, _symbol)\n\t{\n\t\tmaster = _master;\n\t\tproxyCode = type(InitializableUpgradeabilityProxy).creationCode;\n\t\tproxyCodeHash = keccak256(proxyCode);\n\t}\n\n\tfunction initialize(address _previous)\n\texternal onlyOwner()\n\t{\n\t\trequire(!initialized);\n\t\tinitialized = true;\n\t\tprevious = IRegistry(_previous);\n\t}\n\n\t/* Factory */\n\tfunction _mintCreate(address _owner, bytes memory _args)\n\tinternal returns (uint256)\n\t{\n\t\t// Create entry (proxy)\n\t\taddress entry = Create2.deploy(0, keccak256(abi.encodePacked(_args, _owner)), proxyCode);\n\t\t// Initialize entry (casting to address payable is a pain in ^0.5.0)\n\t\tInitializableUpgradeabilityProxy(payable(entry)).initialize(master, _args);\n\t\t// Mint corresponding token\n\t\t_mint(_owner, uint256(entry));\n\t\treturn uint256(entry);\n\t}\n\n\tfunction _mintPredict(address _owner, bytes memory _args)\n\tinternal view returns (uint256)\n\t{\n\t\taddress entry = Create2.computeAddress(keccak256(abi.encodePacked(_args, _owner)), proxyCodeHash);\n\t\treturn uint256(entry);\n\t}\n\n\t/* Administration */\n\tfunction setName(address _ens, string calldata _name)\n\texternal onlyOwner()\n\t{\n\t\t_setName(IENS(_ens), _name);\n\t}\n\n\tfunction setBaseURI(string calldata _baseURI)\n\texternal onlyOwner()\n\t{\n\t\t_setBaseURI(_baseURI);\n\t}\n\n\t/* Interface */\n\tfunction isRegistered(address _entry)\n\texternal view override returns (bool)\n\t{\n\t\treturn _exists(uint256(_entry)) || (address(previous) != address(0) && previous.isRegistered(_entry));\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "exportedSymbols": { - "Registry": [ - 10144 - ] - }, - "id": 10145, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9926, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:50" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 9927, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 12871, - "src": "1267:71:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "file": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "id": 9928, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 13605, - "src": "1339:87:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 9929, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 14072, - "src": "1427:52:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "file": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "id": 9930, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 16259, - "src": "1480:57:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Create2.sol", - "file": "@openzeppelin/contracts/utils/Create2.sol", - "id": 9931, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 16898, - "src": "1538:51:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "./IRegistry.sol", - "id": 9932, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 9925, - "src": "1590:25:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9933, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1648:9:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 9934, - "nodeType": "InheritanceSpecifier", - "src": "1648:9:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9935, - "name": "ERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16258, - "src": "1659:6:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721_$16258", - "typeString": "contract ERC721" - } - }, - "id": 9936, - "nodeType": "InheritanceSpecifier", - "src": "1659:6:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9937, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12870, - "src": "1667:22:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12870", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 9938, - "nodeType": "InheritanceSpecifier", - "src": "1667:22:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9939, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "1691:7:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 9940, - "nodeType": "InheritanceSpecifier", - "src": "1691:7:50" - } - ], - "contractDependencies": [ - 9924, - 12870, - 13604, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10144, - "linearizedBaseContracts": [ - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "Registry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "ee97f7f3", - "id": 9942, - "mutability": "mutable", - "name": "master", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1702:23:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1702:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "6fa59bbc", - "id": 9944, - "mutability": "mutable", - "name": "proxyCode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1728:26:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 9943, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1728:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "eee39111", - "id": 9946, - "mutability": "mutable", - "name": "proxyCodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1757:30:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9945, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1757:7:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "7c2b2e71", - "id": 9948, - "mutability": "mutable", - "name": "previous", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1790:25:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 9947, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1790:9:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "158ef93e", - "id": 9950, - "mutability": "mutable", - "name": "initialized", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1818:28:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9949, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1818:4:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 9980, - "nodeType": "Block", - "src": "1955:142:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 9965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9963, - "name": "master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9942, - "src": "1959:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 9964, - "name": "_master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9952, - "src": "1975:7:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1959:23:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9966, - "nodeType": "ExpressionStatement", - "src": "1959:23:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9967, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "1986:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9969, - "name": "InitializableUpgradeabilityProxy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13604, - "src": "2007:32:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - ], - "id": 9968, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "2002:4:50", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 9970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2002:38:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_InitializableUpgradeabilityProxy_$13604", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - }, - "id": 9971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "creationCode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2002:51:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1986:67:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 9973, - "nodeType": "ExpressionStatement", - "src": "1986:67:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9974, - "name": "proxyCodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9946, - "src": "2057:13:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9976, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "2083:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - ], - "id": 9975, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2073:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 9977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2073:20:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2057:36:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9979, - "nodeType": "ExpressionStatement", - "src": "2057:36:50" - } - ] - }, - "documentation": null, - "id": 9981, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 9959, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9954, - "src": "1938:5:50", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 9960, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9956, - "src": "1945:7:50", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "id": 9961, - "modifierName": { - "argumentTypes": null, - "id": 9958, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16258, - "src": "1931:6:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$16258_$", - "typeString": "type(contract ERC721)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1931:22:50" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9952, - "mutability": "mutable", - "name": "_master", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1862:15:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9951, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1862:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9954, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1879:19:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1879:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9956, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1900:21:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1900:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1861:61:50" - }, - "returnParameters": { - "id": 9962, - "nodeType": "ParameterList", - "parameters": [], - "src": "1955:0:50" - }, - "scope": 10144, - "src": "1850:247:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10003, - "nodeType": "Block", - "src": "2162:89:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2174:12:50", - "subExpression": { - "argumentTypes": null, - "id": 9989, - "name": "initialized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9950, - "src": "2175:11:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9988, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2166:7:50", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 9991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2166:21:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9992, - "nodeType": "ExpressionStatement", - "src": "2166:21:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9993, - "name": "initialized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9950, - "src": "2191:11:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 9994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2205:4:50", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2191:18:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 9996, - "nodeType": "ExpressionStatement", - "src": "2191:18:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 10001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9997, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "2213:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9999, - "name": "_previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9983, - "src": "2237:9:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 9998, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9924, - "src": "2227:9:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9924_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 10000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2227:20:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "src": "2213:34:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10002, - "nodeType": "ExpressionStatement", - "src": "2213:34:50" - } - ] - }, - "documentation": null, - "functionSelector": "c4d66de8", - "id": 10004, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 9986, - "modifierName": { - "argumentTypes": null, - "id": 9985, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "2149:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2149:11:50" - } - ], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9983, - "mutability": "mutable", - "name": "_previous", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10004, - "src": "2120:17:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9982, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2120:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2119:19:50" - }, - "returnParameters": { - "id": 9987, - "nodeType": "ParameterList", - "parameters": [], - "src": "2162:0:50" - }, - "scope": 10144, - "src": "2100:151:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10052, - "nodeType": "Block", - "src": "2355:359:50", - "statements": [ - { - "assignments": [ - 10014 - ], - "declarations": [ - { - "constant": false, - "id": 10014, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10052, - "src": "2385:13:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2385:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10027, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2416:1:50", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10021, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10008, - "src": "2446:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10022, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10006, - "src": "2453:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10019, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2429:3:50", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2429:16:50", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 10023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2429:31:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10018, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2419:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2419:42:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10025, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "2463:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - ], - "expression": { - "argumentTypes": null, - "id": 10015, - "name": "Create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16897, - "src": "2401:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Create2_$16897_$", - "typeString": "type(library Create2)" - } - }, - "id": 10016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "deploy", - "nodeType": "MemberAccess", - "referencedDeclaration": 16840, - "src": "2401:14:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (uint256,bytes32,bytes memory) returns (address)" - } - }, - "id": 10026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2401:72:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2385:88:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10035, - "name": "master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9942, - "src": "2608:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 10036, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10008, - "src": "2616:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10031, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2589:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2581:8:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_payable_$", - "typeString": "type(address payable)" - }, - "typeName": { - "id": 10029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2581:8:50", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2581:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10028, - "name": "InitializableUpgradeabilityProxy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13604, - "src": "2548:32:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - }, - "id": 10033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:48:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_InitializableUpgradeabilityProxy_$13604", - "typeString": "contract InitializableUpgradeabilityProxy" - } - }, - "id": 10034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "initialize", - "nodeType": "MemberAccess", - "referencedDeclaration": 13603, - "src": "2548:59:50", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) payable external" - } - }, - "id": 10037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:74:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10038, - "nodeType": "ExpressionStatement", - "src": "2548:74:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10040, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10006, - "src": "2662:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10043, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2678:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2670:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10041, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2670:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2670:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10039, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15994, - "src": "2656:5:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 10045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2656:29:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10046, - "nodeType": "ExpressionStatement", - "src": "2656:29:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10049, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2704:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2696:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10047, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2696:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2696:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10012, - "id": 10051, - "nodeType": "Return", - "src": "2689:21:50" - } - ] - }, - "documentation": null, - "id": 10053, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mintCreate", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10009, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10006, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2290:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10005, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2290:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10008, - "mutability": "mutable", - "name": "_args", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2306:18:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10007, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2306:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2289:36:50" - }, - "returnParameters": { - "id": 10012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10011, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2345:7:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2345:7:50", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2344:9:50" - }, - "scope": 10144, - "src": "2269:445:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10081, - "nodeType": "Block", - "src": "2809:130:50", - "statements": [ - { - "assignments": [ - 10063 - ], - "declarations": [ - { - "constant": false, - "id": 10063, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10081, - "src": "2813:13:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2813:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10075, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10069, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10057, - "src": "2879:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10070, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10055, - "src": "2886:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2862:3:50", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2862:16:50", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 10071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2862:31:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10066, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2852:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2852:42:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10073, - "name": "proxyCodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9946, - "src": "2896:13:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 10064, - "name": "Create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16897, - "src": "2829:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Create2_$16897_$", - "typeString": "type(library Create2)" - } - }, - "id": 10065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "computeAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 16860, - "src": "2829:22:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,bytes32) view returns (address)" - } - }, - "id": 10074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2829:81:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2813:97:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10078, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10063, - "src": "2929:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2921:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10076, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2921:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2921:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10061, - "id": 10080, - "nodeType": "Return", - "src": "2914:21:50" - } - ] - }, - "documentation": null, - "id": 10082, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mintPredict", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10055, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2739:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2739:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10057, - "mutability": "mutable", - "name": "_args", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2755:18:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10056, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2755:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2738:36:50" - }, - "returnParameters": { - "id": 10061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10060, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2799:7:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10059, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2799:7:50", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2798:9:50" - }, - "scope": 10144, - "src": "2717:222:50", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10098, - "nodeType": "Block", - "src": "3041:35:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10093, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10084, - "src": "3059:4:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10092, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13007, - "src": "3054:4:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13007_$", - "typeString": "type(contract IENS)" - } - }, - "id": 10094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3054:10:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 10095, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10086, - "src": "3066:5:50", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10091, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12869, - "src": "3045:8:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13007_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 10096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3045:27:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10097, - "nodeType": "ExpressionStatement", - "src": "3045:27:50" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 10099, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10089, - "modifierName": { - "argumentTypes": null, - "id": 10088, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "3028:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3028:11:50" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10087, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10084, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10099, - "src": "2981:12:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2981:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10086, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10099, - "src": "2995:21:50", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10085, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2995:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2980:37:50" - }, - "returnParameters": { - "id": 10090, - "nodeType": "ParameterList", - "parameters": [], - "src": "3041:0:50" - }, - "scope": 10144, - "src": "2964:112:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10110, - "nodeType": "Block", - "src": "3148:29:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10107, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10101, - "src": "3164:8:50", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10106, - "name": "_setBaseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16166, - "src": "3152:11:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 10108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3152:21:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10109, - "nodeType": "ExpressionStatement", - "src": "3152:21:50" - } - ] - }, - "documentation": null, - "functionSelector": "55f804b3", - "id": 10111, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10104, - "modifierName": { - "argumentTypes": null, - "id": 10103, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "3135:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3135:11:50" - } - ], - "name": "setBaseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10102, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10101, - "mutability": "mutable", - "name": "_baseURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10111, - "src": "3099:24:50", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3099:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3098:26:50" - }, - "returnParameters": { - "id": 10105, - "nodeType": "ParameterList", - "parameters": [], - "src": "3148:0:50" - }, - "scope": 10144, - "src": "3079:98:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9923 - ], - "body": { - "id": 10142, - "nodeType": "Block", - "src": "3275:109:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10122, - "name": "_entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10113, - "src": "3302:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3294:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10120, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3294:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3294:15:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10119, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "3286:7:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 10124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3286:24:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10127, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "3323:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - ], - "id": 10126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3315:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10125, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3315:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3315:17:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3344:1:50", - "subdenomination": null, - "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": 10130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3336:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3336:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3336:10:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3315:31:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10136, - "name": "_entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10113, - "src": "3372:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10134, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "3350:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9923, - "src": "3350:21:50", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 10137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3350:29:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3315:64:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 10139, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3314:66:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3286:94:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10118, - "id": 10141, - "nodeType": "Return", - "src": "3279:101:50" - } - ] - }, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 10143, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 10115, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3250:8:50" - }, - "parameters": { - "id": 10114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10113, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10143, - "src": "3219:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3219:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3218:16:50" - }, - "returnParameters": { - "id": 10118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10117, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10143, - "src": "3268:4:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10116, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3268:4:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3267:6:50" - }, - "scope": 10144, - "src": "3197:187:50", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10145, - "src": "1618:1768:50" - } - ], - "src": "1242:2145:50" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "exportedSymbols": { - "Registry": [ - 10144 - ] - }, - "id": 10145, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 9926, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:50" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 9927, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 12871, - "src": "1267:71:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "file": "@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol", - "id": 9928, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 13605, - "src": "1339:87:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "id": 9929, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 14072, - "src": "1427:52:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "file": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "id": 9930, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 16259, - "src": "1480:57:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/utils/Create2.sol", - "file": "@openzeppelin/contracts/utils/Create2.sol", - "id": 9931, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 16898, - "src": "1538:51:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "./IRegistry.sol", - "id": 9932, - "nodeType": "ImportDirective", - "scope": 10145, - "sourceUnit": 9925, - "src": "1590:25:50", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9933, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1648:9:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 9934, - "nodeType": "InheritanceSpecifier", - "src": "1648:9:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9935, - "name": "ERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 16258, - "src": "1659:6:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721_$16258", - "typeString": "contract ERC721" - } - }, - "id": 9936, - "nodeType": "InheritanceSpecifier", - "src": "1659:6:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9937, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12870, - "src": "1667:22:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12870", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 9938, - "nodeType": "InheritanceSpecifier", - "src": "1667:22:50" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9939, - "name": "Ownable", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14071, - "src": "1691:7:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Ownable_$14071", - "typeString": "contract Ownable" - } - }, - "id": 9940, - "nodeType": "InheritanceSpecifier", - "src": "1691:7:50" - } - ], - "contractDependencies": [ - 9924, - 12870, - 13604, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10144, - "linearizedBaseContracts": [ - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "Registry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "ee97f7f3", - "id": 9942, - "mutability": "mutable", - "name": "master", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1702:23:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1702:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "6fa59bbc", - "id": 9944, - "mutability": "mutable", - "name": "proxyCode", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1728:26:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes" - }, - "typeName": { - "id": 9943, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1728:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "eee39111", - "id": 9946, - "mutability": "mutable", - "name": "proxyCodeHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1757:30:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 9945, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1757:7:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "7c2b2e71", - "id": 9948, - "mutability": "mutable", - "name": "previous", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1790:25:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 9947, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1790:9:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "158ef93e", - "id": 9950, - "mutability": "mutable", - "name": "initialized", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10144, - "src": "1818:28:50", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9949, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1818:4:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 9980, - "nodeType": "Block", - "src": "1955:142:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 9965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9963, - "name": "master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9942, - "src": "1959:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 9964, - "name": "_master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9952, - "src": "1975:7:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1959:23:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 9966, - "nodeType": "ExpressionStatement", - "src": "1959:23:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9967, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "1986:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9969, - "name": "InitializableUpgradeabilityProxy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13604, - "src": "2007:32:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - ], - "id": 9968, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "2002:4:50", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 9970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2002:38:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_InitializableUpgradeabilityProxy_$13604", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - }, - "id": 9971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "creationCode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2002:51:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "1986:67:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 9973, - "nodeType": "ExpressionStatement", - "src": "1986:67:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9974, - "name": "proxyCodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9946, - "src": "2057:13:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9976, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "2083:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - ], - "id": 9975, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2073:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 9977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2073:20:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2057:36:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 9979, - "nodeType": "ExpressionStatement", - "src": "2057:36:50" - } - ] - }, - "documentation": null, - "id": 9981, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 9959, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9954, - "src": "1938:5:50", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 9960, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9956, - "src": "1945:7:50", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "id": 9961, - "modifierName": { - "argumentTypes": null, - "id": 9958, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16258, - "src": "1931:6:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$16258_$", - "typeString": "type(contract ERC721)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1931:22:50" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9952, - "mutability": "mutable", - "name": "_master", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1862:15:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9951, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1862:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9954, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1879:19:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1879:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9956, - "mutability": "mutable", - "name": "_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 9981, - "src": "1900:21:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1900:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1861:61:50" - }, - "returnParameters": { - "id": 9962, - "nodeType": "ParameterList", - "parameters": [], - "src": "1955:0:50" - }, - "scope": 10144, - "src": "1850:247:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10003, - "nodeType": "Block", - "src": "2162:89:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2174:12:50", - "subExpression": { - "argumentTypes": null, - "id": 9989, - "name": "initialized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9950, - "src": "2175:11:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9988, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2166:7:50", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 9991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2166:21:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9992, - "nodeType": "ExpressionStatement", - "src": "2166:21:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 9995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9993, - "name": "initialized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9950, - "src": "2191:11:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 9994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2205:4:50", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2191:18:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 9996, - "nodeType": "ExpressionStatement", - "src": "2191:18:50" - }, - { - "expression": { - "argumentTypes": null, - "id": 10001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9997, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "2213:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9999, - "name": "_previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9983, - "src": "2237:9:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 9998, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9924, - "src": "2227:9:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9924_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 10000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2227:20:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "src": "2213:34:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10002, - "nodeType": "ExpressionStatement", - "src": "2213:34:50" - } - ] - }, - "documentation": null, - "functionSelector": "c4d66de8", - "id": 10004, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 9986, - "modifierName": { - "argumentTypes": null, - "id": 9985, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "2149:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2149:11:50" - } - ], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 9984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9983, - "mutability": "mutable", - "name": "_previous", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10004, - "src": "2120:17:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9982, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2120:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2119:19:50" - }, - "returnParameters": { - "id": 9987, - "nodeType": "ParameterList", - "parameters": [], - "src": "2162:0:50" - }, - "scope": 10144, - "src": "2100:151:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10052, - "nodeType": "Block", - "src": "2355:359:50", - "statements": [ - { - "assignments": [ - 10014 - ], - "declarations": [ - { - "constant": false, - "id": 10014, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10052, - "src": "2385:13:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2385:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10027, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2416:1:50", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10021, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10008, - "src": "2446:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10022, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10006, - "src": "2453:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10019, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2429:3:50", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2429:16:50", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 10023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2429:31:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10018, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2419:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2419:42:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10025, - "name": "proxyCode", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "2463:9:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - ], - "expression": { - "argumentTypes": null, - "id": 10015, - "name": "Create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16897, - "src": "2401:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Create2_$16897_$", - "typeString": "type(library Create2)" - } - }, - "id": 10016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "deploy", - "nodeType": "MemberAccess", - "referencedDeclaration": 16840, - "src": "2401:14:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (uint256,bytes32,bytes memory) returns (address)" - } - }, - "id": 10026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2401:72:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2385:88:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10035, - "name": "master", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9942, - "src": "2608:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 10036, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10008, - "src": "2616:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10031, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2589:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2581:8:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_payable_$", - "typeString": "type(address payable)" - }, - "typeName": { - "id": 10029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2581:8:50", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2581:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10028, - "name": "InitializableUpgradeabilityProxy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13604, - "src": "2548:32:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_InitializableUpgradeabilityProxy_$13604_$", - "typeString": "type(contract InitializableUpgradeabilityProxy)" - } - }, - "id": 10033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:48:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_InitializableUpgradeabilityProxy_$13604", - "typeString": "contract InitializableUpgradeabilityProxy" - } - }, - "id": 10034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "initialize", - "nodeType": "MemberAccess", - "referencedDeclaration": 13603, - "src": "2548:59:50", - "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) payable external" - } - }, - "id": 10037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2548:74:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10038, - "nodeType": "ExpressionStatement", - "src": "2548:74:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10040, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10006, - "src": "2662:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10043, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2678:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2670:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10041, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2670:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2670:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10039, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15994, - "src": "2656:5:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 10045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2656:29:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10046, - "nodeType": "ExpressionStatement", - "src": "2656:29:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10049, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10014, - "src": "2704:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2696:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10047, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2696:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2696:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10012, - "id": 10051, - "nodeType": "Return", - "src": "2689:21:50" - } - ] - }, - "documentation": null, - "id": 10053, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mintCreate", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10009, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10006, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2290:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10005, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2290:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10008, - "mutability": "mutable", - "name": "_args", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2306:18:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10007, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2306:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2289:36:50" - }, - "returnParameters": { - "id": 10012, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10011, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10053, - "src": "2345:7:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2345:7:50", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2344:9:50" - }, - "scope": 10144, - "src": "2269:445:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10081, - "nodeType": "Block", - "src": "2809:130:50", - "statements": [ - { - "assignments": [ - 10063 - ], - "declarations": [ - { - "constant": false, - "id": 10063, - "mutability": "mutable", - "name": "entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10081, - "src": "2813:13:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2813:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10075, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10069, - "name": "_args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10057, - "src": "2879:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 10070, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10055, - "src": "2886:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2862:3:50", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2862:16:50", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 10071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2862:31:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10066, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2852:9:50", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2852:42:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10073, - "name": "proxyCodeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9946, - "src": "2896:13:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 10064, - "name": "Create2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16897, - "src": "2829:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Create2_$16897_$", - "typeString": "type(library Create2)" - } - }, - "id": 10065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "computeAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 16860, - "src": "2829:22:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,bytes32) view returns (address)" - } - }, - "id": 10074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2829:81:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2813:97:50" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10078, - "name": "entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10063, - "src": "2929:5:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2921:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10076, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2921:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2921:14:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10061, - "id": 10080, - "nodeType": "Return", - "src": "2914:21:50" - } - ] - }, - "documentation": null, - "id": 10082, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_mintPredict", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10055, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2739:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2739:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10057, - "mutability": "mutable", - "name": "_args", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2755:18:50", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10056, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2755:5:50", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2738:36:50" - }, - "returnParameters": { - "id": 10061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10060, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10082, - "src": "2799:7:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10059, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2799:7:50", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2798:9:50" - }, - "scope": 10144, - "src": "2717:222:50", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10098, - "nodeType": "Block", - "src": "3041:35:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10093, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10084, - "src": "3059:4:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10092, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13007, - "src": "3054:4:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13007_$", - "typeString": "type(contract IENS)" - } - }, - "id": 10094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3054:10:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 10095, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10086, - "src": "3066:5:50", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10091, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12869, - "src": "3045:8:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13007_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 10096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3045:27:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10097, - "nodeType": "ExpressionStatement", - "src": "3045:27:50" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 10099, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10089, - "modifierName": { - "argumentTypes": null, - "id": 10088, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "3028:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3028:11:50" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10087, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10084, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10099, - "src": "2981:12:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2981:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10086, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10099, - "src": "2995:21:50", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10085, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2995:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2980:37:50" - }, - "returnParameters": { - "id": 10090, - "nodeType": "ParameterList", - "parameters": [], - "src": "3041:0:50" - }, - "scope": 10144, - "src": "2964:112:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10110, - "nodeType": "Block", - "src": "3148:29:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10107, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10101, - "src": "3164:8:50", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10106, - "name": "_setBaseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16166, - "src": "3152:11:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 10108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3152:21:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10109, - "nodeType": "ExpressionStatement", - "src": "3152:21:50" - } - ] - }, - "documentation": null, - "functionSelector": "55f804b3", - "id": 10111, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10104, - "modifierName": { - "argumentTypes": null, - "id": 10103, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14020, - "src": "3135:9:50", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "3135:11:50" - } - ], - "name": "setBaseURI", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10102, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10101, - "mutability": "mutable", - "name": "_baseURI", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10111, - "src": "3099:24:50", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3099:6:50", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3098:26:50" - }, - "returnParameters": { - "id": 10105, - "nodeType": "ParameterList", - "parameters": [], - "src": "3148:0:50" - }, - "scope": 10144, - "src": "3079:98:50", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "baseFunctions": [ - 9923 - ], - "body": { - "id": 10142, - "nodeType": "Block", - "src": "3275:109:50", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10122, - "name": "_entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10113, - "src": "3302:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3294:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10120, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3294:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3294:15:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10119, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15851, - "src": "3286:7:50", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 10124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3286:24:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10127, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "3323:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - ], - "id": 10126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3315:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10125, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3315:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3315:17:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3344:1:50", - "subdenomination": null, - "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": 10130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3336:7:50", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3336:7:50", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3336:10:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3315:31:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10136, - "name": "_entry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10113, - "src": "3372:6:50", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 10134, - "name": "previous", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "3350:8:50", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isRegistered", - "nodeType": "MemberAccess", - "referencedDeclaration": 9923, - "src": "3350:21:50", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view external returns (bool)" - } - }, - "id": 10137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3350:29:50", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3315:64:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 10139, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3314:66:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3286:94:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10118, - "id": 10141, - "nodeType": "Return", - "src": "3279:101:50" - } - ] - }, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 10143, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 10115, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3250:8:50" - }, - "parameters": { - "id": 10114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10113, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10143, - "src": "3219:14:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3219:7:50", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3218:16:50" - }, - "returnParameters": { - "id": 10118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10117, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10143, - "src": "3268:4:50", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10116, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3268:4:50", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3267:6:50" - }, - "scope": 10144, - "src": "3197:187:50", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10145, - "src": "1618:1768:50" - } - ], - "src": "1242:2145:50" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.864Z", - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "baseURI()": { - "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenByIndex(uint256)": { - "details": "See {IERC721Enumerable-tokenByIndex}." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "totalSupply()": { - "details": "See {IERC721Enumerable-totalSupply}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/RegistryEntry.json b/build/contracts/RegistryEntry.json deleted file mode 100644 index aaf8e66e7..000000000 --- a/build/contracts/RegistryEntry.json +++ /dev/null @@ -1,2288 +0,0 @@ -{ - "contractName": "RegistryEntry", - "abi": [ - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":\"RegistryEntry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\";\nimport \"./Registry.sol\";\n\n\nabstract contract RegistryEntry is ENSReverseRegistration\n{\n\tIRegistry public registry;\n\n\tfunction _initialize(address _registry) internal\n\t{\n\t\trequire(address(registry) == address(0), 'already initialized');\n\t\tregistry = IRegistry(_registry);\n\t}\n\n\tfunction owner() public view returns (address)\n\t{\n\t\treturn registry.ownerOf(uint256(address(this)));\n\t}\n\n\tmodifier onlyOwner()\n\t{\n\t\trequire(owner() == msg.sender, 'caller is not the owner');\n\t\t_;\n\t}\n\n\tfunction setName(address _ens, string calldata _name)\n\texternal onlyOwner()\n\t{\n\t\t_setName(IENS(_ens), _name);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "exportedSymbols": { - "RegistryEntry": [ - 10225 - ] - }, - "id": 10226, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10146, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:51" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 10147, - "nodeType": "ImportDirective", - "scope": 10226, - "sourceUnit": 12871, - "src": "1267:71:51", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "./Registry.sol", - "id": 10148, - "nodeType": "ImportDirective", - "scope": 10226, - "sourceUnit": 10145, - "src": "1339:24:51", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10149, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12870, - "src": "1401:22:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12870", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 10150, - "nodeType": "InheritanceSpecifier", - "src": "1401:22:51" - } - ], - "contractDependencies": [ - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10225, - "linearizedBaseContracts": [ - 10225, - 12870 - ], - "name": "RegistryEntry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "7b103999", - "id": 10152, - "mutability": "mutable", - "name": "registry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10225, - "src": "1427:25:51", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 10151, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1427:9:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10176, - "nodeType": "Block", - "src": "1506:106:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10160, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1526:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - ], - "id": 10159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1518:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1518:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1518:17:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10164, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1547:1:51", - "subdenomination": null, - "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": 10163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1539:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1539:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1539:10:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1518:31:51", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "616c726561647920696e697469616c697a6564", - "id": 10167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1551:21:51", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6fad3ee6d344e662108f49bced409fae87c3af64246556bdd23a34dddc7e1adc", - "typeString": "literal_string \"already initialized\"" - }, - "value": "already initialized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6fad3ee6d344e662108f49bced409fae87c3af64246556bdd23a34dddc7e1adc", - "typeString": "literal_string \"already initialized\"" - } - ], - "id": 10157, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1510:7:51", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1510:63:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10169, - "nodeType": "ExpressionStatement", - "src": "1510:63:51" - }, - { - "expression": { - "argumentTypes": null, - "id": 10174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10170, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1577:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10172, - "name": "_registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10154, - "src": "1598:9:51", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10171, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9924, - "src": "1588:9:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9924_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 10173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1588:20:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "src": "1577:31:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10175, - "nodeType": "ExpressionStatement", - "src": "1577:31:51" - } - ] - }, - "documentation": null, - "id": 10177, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10154, - "mutability": "mutable", - "name": "_registry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10177, - "src": "1477:17:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10153, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1477:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1476:19:51" - }, - "returnParameters": { - "id": 10156, - "nodeType": "ParameterList", - "parameters": [], - "src": "1506:0:51" - }, - "scope": 10225, - "src": "1456:156:51", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10193, - "nodeType": "Block", - "src": "1663:55:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10188, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1707:4:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - ], - "id": 10187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1699:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10186, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1699:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1699:13:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1691:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10184, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1691:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1691:22:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 10182, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1674:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 16307, - "src": "1674:16:51", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view external returns (address)" - } - }, - "id": 10191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1674:40:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 10181, - "id": 10192, - "nodeType": "Return", - "src": "1667:47:51" - } - ] - }, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 10194, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10178, - "nodeType": "ParameterList", - "parameters": [], - "src": "1629:2:51" - }, - "returnParameters": { - "id": 10181, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10180, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10194, - "src": "1653:7:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10179, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1653:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1652:9:51" - }, - "scope": 10225, - "src": "1615:103:51", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10206, - "nodeType": "Block", - "src": "1743:70:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10197, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10194, - "src": "1755:5:51", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 10198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1755:7:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10199, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1766:3:51", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1766:10:51", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1755:21:51", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "63616c6c6572206973206e6f7420746865206f776e6572", - "id": 10202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1778:25:51", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_98821890c044d63947a93cf48b7df1f5a42f89e719dd7abbb581002b013b02f4", - "typeString": "literal_string \"caller is not the owner\"" - }, - "value": "caller is not the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_98821890c044d63947a93cf48b7df1f5a42f89e719dd7abbb581002b013b02f4", - "typeString": "literal_string \"caller is not the owner\"" - } - ], - "id": 10196, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1747:7:51", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1747:57:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10204, - "nodeType": "ExpressionStatement", - "src": "1747:57:51" - }, - { - "id": 10205, - "nodeType": "PlaceholderStatement", - "src": "1808:1:51" - } - ] - }, - "documentation": null, - "id": 10207, - "name": "onlyOwner", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 10195, - "nodeType": "ParameterList", - "parameters": [], - "src": "1739:2:51" - }, - "src": "1721:92:51", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10223, - "nodeType": "Block", - "src": "1893:35:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10218, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10209, - "src": "1911:4:51", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10217, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13007, - "src": "1906:4:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13007_$", - "typeString": "type(contract IENS)" - } - }, - "id": 10219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1906:10:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 10220, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10211, - "src": "1918:5:51", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10216, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12869, - "src": "1897:8:51", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13007_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 10221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1897:27:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10222, - "nodeType": "ExpressionStatement", - "src": "1897:27:51" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 10224, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10214, - "modifierName": { - "argumentTypes": null, - "id": 10213, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10207, - "src": "1880:9:51", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1880:11:51" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10209, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10224, - "src": "1833:12:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1833:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10211, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10224, - "src": "1847:21:51", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10210, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1847:6:51", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1832:37:51" - }, - "returnParameters": { - "id": 10215, - "nodeType": "ParameterList", - "parameters": [], - "src": "1893:0:51" - }, - "scope": 10225, - "src": "1816:112:51", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10226, - "src": "1366:564:51" - } - ], - "src": "1242:689:51" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "exportedSymbols": { - "RegistryEntry": [ - 10225 - ] - }, - "id": 10226, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10146, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:51" - }, - { - "absolutePath": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "file": "@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol", - "id": 10147, - "nodeType": "ImportDirective", - "scope": 10226, - "sourceUnit": 12871, - "src": "1267:71:51", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "./Registry.sol", - "id": 10148, - "nodeType": "ImportDirective", - "scope": 10226, - "sourceUnit": 10145, - "src": "1339:24:51", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10149, - "name": "ENSReverseRegistration", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12870, - "src": "1401:22:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENSReverseRegistration_$12870", - "typeString": "contract ENSReverseRegistration" - } - }, - "id": 10150, - "nodeType": "InheritanceSpecifier", - "src": "1401:22:51" - } - ], - "contractDependencies": [ - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10225, - "linearizedBaseContracts": [ - 10225, - 12870 - ], - "name": "RegistryEntry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "7b103999", - "id": 10152, - "mutability": "mutable", - "name": "registry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10225, - "src": "1427:25:51", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 10151, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9924, - "src": "1427:9:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 10176, - "nodeType": "Block", - "src": "1506:106:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10160, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1526:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - ], - "id": 10159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1518:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1518:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1518:17:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10164, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1547:1:51", - "subdenomination": null, - "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": 10163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1539:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1539:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1539:10:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1518:31:51", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "616c726561647920696e697469616c697a6564", - "id": 10167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1551:21:51", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6fad3ee6d344e662108f49bced409fae87c3af64246556bdd23a34dddc7e1adc", - "typeString": "literal_string \"already initialized\"" - }, - "value": "already initialized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6fad3ee6d344e662108f49bced409fae87c3af64246556bdd23a34dddc7e1adc", - "typeString": "literal_string \"already initialized\"" - } - ], - "id": 10157, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1510:7:51", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1510:63:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10169, - "nodeType": "ExpressionStatement", - "src": "1510:63:51" - }, - { - "expression": { - "argumentTypes": null, - "id": 10174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10170, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1577:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10172, - "name": "_registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10154, - "src": "1598:9:51", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10171, - "name": "IRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9924, - "src": "1588:9:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IRegistry_$9924_$", - "typeString": "type(contract IRegistry)" - } - }, - "id": 10173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1588:20:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "src": "1577:31:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10175, - "nodeType": "ExpressionStatement", - "src": "1577:31:51" - } - ] - }, - "documentation": null, - "id": 10177, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10154, - "mutability": "mutable", - "name": "_registry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10177, - "src": "1477:17:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10153, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1477:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1476:19:51" - }, - "returnParameters": { - "id": 10156, - "nodeType": "ParameterList", - "parameters": [], - "src": "1506:0:51" - }, - "scope": 10225, - "src": "1456:156:51", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10193, - "nodeType": "Block", - "src": "1663:55:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10188, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1707:4:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - ], - "id": 10187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1699:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10186, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1699:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1699:13:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1691:7:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10184, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1691:7:51", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1691:22:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 10182, - "name": "registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10152, - "src": "1674:8:51", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9924", - "typeString": "contract IRegistry" - } - }, - "id": 10183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 16307, - "src": "1674:16:51", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view external returns (address)" - } - }, - "id": 10191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1674:40:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 10181, - "id": 10192, - "nodeType": "Return", - "src": "1667:47:51" - } - ] - }, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 10194, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10178, - "nodeType": "ParameterList", - "parameters": [], - "src": "1629:2:51" - }, - "returnParameters": { - "id": 10181, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10180, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10194, - "src": "1653:7:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10179, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1653:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1652:9:51" - }, - "scope": 10225, - "src": "1615:103:51", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10206, - "nodeType": "Block", - "src": "1743:70:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 10201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10197, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10194, - "src": "1755:5:51", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 10198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1755:7:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10199, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1766:3:51", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1766:10:51", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1755:21:51", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "63616c6c6572206973206e6f7420746865206f776e6572", - "id": 10202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1778:25:51", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_98821890c044d63947a93cf48b7df1f5a42f89e719dd7abbb581002b013b02f4", - "typeString": "literal_string \"caller is not the owner\"" - }, - "value": "caller is not the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_98821890c044d63947a93cf48b7df1f5a42f89e719dd7abbb581002b013b02f4", - "typeString": "literal_string \"caller is not the owner\"" - } - ], - "id": 10196, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1747:7:51", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1747:57:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10204, - "nodeType": "ExpressionStatement", - "src": "1747:57:51" - }, - { - "id": 10205, - "nodeType": "PlaceholderStatement", - "src": "1808:1:51" - } - ] - }, - "documentation": null, - "id": 10207, - "name": "onlyOwner", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 10195, - "nodeType": "ParameterList", - "parameters": [], - "src": "1739:2:51" - }, - "src": "1721:92:51", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10223, - "nodeType": "Block", - "src": "1893:35:51", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10218, - "name": "_ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10209, - "src": "1911:4:51", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10217, - "name": "IENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13007, - "src": "1906:4:51", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IENS_$13007_$", - "typeString": "type(contract IENS)" - } - }, - "id": 10219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1906:10:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - } - }, - { - "argumentTypes": null, - "id": 10220, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10211, - "src": "1918:5:51", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IENS_$13007", - "typeString": "contract IENS" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10216, - "name": "_setName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12869, - "src": "1897:8:51", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IENS_$13007_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (contract IENS,string memory)" - } - }, - "id": 10221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1897:27:51", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10222, - "nodeType": "ExpressionStatement", - "src": "1897:27:51" - } - ] - }, - "documentation": null, - "functionSelector": "3121db1c", - "id": 10224, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10214, - "modifierName": { - "argumentTypes": null, - "id": 10213, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10207, - "src": "1880:9:51", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1880:11:51" - } - ], - "name": "setName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10209, - "mutability": "mutable", - "name": "_ens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10224, - "src": "1833:12:51", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1833:7:51", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10211, - "mutability": "mutable", - "name": "_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10224, - "src": "1847:21:51", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10210, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1847:6:51", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1832:37:51" - }, - "returnParameters": { - "id": 10215, - "nodeType": "ParameterList", - "parameters": [], - "src": "1893:0:51" - }, - "scope": 10225, - "src": "1816:112:51", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10226, - "src": "1366:564:51" - } - ], - "src": "1242:689:51" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.865Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/ReverseRegistrar.json b/build/contracts/ReverseRegistrar.json deleted file mode 100644 index 92ccd4523..000000000 --- a/build/contracts/ReverseRegistrar.json +++ /dev/null @@ -1,6400 +0,0 @@ -{ - "contractName": "ReverseRegistrar", - "abi": [ - { - "inputs": [ - { - "internalType": "contract ENS", - "name": "ensAddr", - "type": "address" - }, - { - "internalType": "contract NameResolver", - "name": "resolverAddr", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "constant": true, - "inputs": [], - "name": "ADDR_REVERSE_NODE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "defaultResolver", - "outputs": [ - { - "internalType": "contract NameResolver", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "ens", - "outputs": [ - { - "internalType": "contract ENS", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "claim", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "claimWithResolver", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "node", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ENS\",\"name\":\"ensAddr\",\"type\":\"address\"},{\"internalType\":\"contract NameResolver\",\"name\":\"resolverAddr\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"constant\":true,\"inputs\":[],\"name\":\"ADDR_REVERSE_NODE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"claimWithResolver\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"defaultResolver\",\"outputs\":[{\"internalType\":\"contract NameResolver\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"internalType\":\"contract ENS\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"node\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"claim(address)\":{\"details\":\"Transfers ownership of the reverse ENS record associated with the calling account.\",\"params\":{\"owner\":\"The address to set as the owner of the reverse record in ENS.\"},\"return\":\"The ENS node hash of the reverse record.\"},\"claimWithResolver(address,address)\":{\"details\":\"Transfers ownership of the reverse ENS record associated with the calling account.\",\"params\":{\"owner\":\"The address to set as the owner of the reverse record in ENS.\",\"resolver\":\"The address of the resolver to set; 0 to leave unchanged.\"},\"return\":\"The ENS node hash of the reverse record.\"},\"constructor\":{\"details\":\"Constructor\",\"params\":{\"ensAddr\":\"The address of the ENS registry.\",\"resolverAddr\":\"The address of the default reverse resolver.\"}},\"node(address)\":{\"details\":\"Returns the node hash for a given account's reverse records.\",\"params\":{\"addr\":\"The address to hash\"},\"return\":\"The ENS node hash.\"},\"setName(string)\":{\"details\":\"Sets the `name()` record for the reverse ENS record associated with the calling account. First updates the resolver to the default reverse resolver if necessary.\",\"params\":{\"name\":\"The name to set for this address.\"},\"return\":\"The ENS node hash of the reverse record.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/makoto/work/ens/ens/contracts/ReverseRegistrar.sol\":\"ReverseRegistrar\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/makoto/work/ens/ens/contracts/ENS.sol\":{\"keccak256\":\"0x10b88673d8c180cd62523be4fec7607c65594eb4f0c561fa0fbc0784422b4871\",\"urls\":[\"bzz-raw://b3de1882a4a1a1b13c27ee6dc04cc58c34ac392c80cad507de2cdfa8c02712fe\",\"dweb:/ipfs/QmeKcaBF8QdJjXiqFrPJkAtK3et5kUL8XJrnHjwhAThRMT\"]},\"/Users/makoto/work/ens/ens/contracts/ReverseRegistrar.sol\":{\"keccak256\":\"0x9c9d6e34ff144e8df8e7ae290a5c9a28437bf0f97f0fcf1cdce371260914c3ba\",\"urls\":[\"bzz-raw://433e7a35db75f7156263a40786522cf20ad374df6fd2ad8a872e62520334116e\",\"dweb:/ipfs/Qmf6TX1oXrAT8yUET77DbpWRM8jYxtr3NCCMypwVVZTfLW\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50604051610e11380380610e118339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be37f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561016657600080fd5b505afa15801561017a573d6000803e3d6000fd5b505050506040513d602081101561019057600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610293578073ffffffffffffffffffffffffffffffffffffffff16631e83409a336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050506040513d602081101561028057600080fd5b8101908080519060200190929190505050505b505050610b6c806102a56000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637cf8a2eb1161005b5780637cf8a2eb1461019c578063828eab0e146101ba578063bffbe61c14610204578063c47f00271461025c5761007d565b80630f5a5466146100825780631e83409a146100fa5780633f15457f14610152575b600080fd5b6100e46004803603604081101561009857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061032b565b6040518082815260200191505060405180910390f35b61013c6004803603602081101561011057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108b0565b6040518082815260200191505060405180910390f35b61015a6108c4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101a46108e9565b6040518082815260200191505060405180910390f35b6101c2610910565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102466004803603602081101561021a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610936565b6040518082815260200191505060405180910390f35b6103156004803603602081101561027257600080fd5b810190808035906020019064010000000081111561028f57600080fd5b8201836020820111156102a157600080fd5b803590602001918460018302840111640100000000831117156102c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610999565b6040518082815260200191505060405180910390f35b60008061033733610acd565b905060007f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b82604051602001808381526020018281526020019250505060405160208183030381529060405280519060200120905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561040357600080fd5b505afa158015610417573d6000803e3d6000fd5b505050506040513d602081101561042d57600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415801561055557506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630178b8bf836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156104ea57600080fd5b505afa1580156104fe573d6000803e3d6000fd5b505050506040513d602081101561051457600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b15610761573073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106a0576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab59237f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b85306040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561066057600080fd5b505af1158015610674573d6000803e3d6000fd5b505050506040513d602081101561068a57600080fd5b8101908080519060200190929190505050503090505b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631896f70a83876040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561074857600080fd5b505af115801561075c573d6000803e3d6000fd5b505050505b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108a4576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab59237f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b85896040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d602081101561089157600080fd5b8101908080519060200190929190505050505b81935050505092915050565b60006108bd82600061032b565b9050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b81565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b61096583610acd565b6040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6000806109c830600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661032b565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637737221382856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610a5f578082015181840152602081019050610a44565b50505050905090810190601f168015610a8c5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610aac57600080fd5b505af1158015610ac0573d6000803e3d6000fd5b5050505080915050919050565b60007f303132333435363738396162636465660000000000000000000000000000000060285b6000811115610b295760018103905081600f85161a815360108404935060018103905081600f85161a8153601084049350610af3565b50602860002091505091905056fea265627a7a723158203c3a1e43dd29f27c43ee396cdbe4b2cee2e5b8b0cee99aecdde9c3342eea702264736f6c63430005100032", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80637cf8a2eb1161005b5780637cf8a2eb1461019c578063828eab0e146101ba578063bffbe61c14610204578063c47f00271461025c5761007d565b80630f5a5466146100825780631e83409a146100fa5780633f15457f14610152575b600080fd5b6100e46004803603604081101561009857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061032b565b6040518082815260200191505060405180910390f35b61013c6004803603602081101561011057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108b0565b6040518082815260200191505060405180910390f35b61015a6108c4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101a46108e9565b6040518082815260200191505060405180910390f35b6101c2610910565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102466004803603602081101561021a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610936565b6040518082815260200191505060405180910390f35b6103156004803603602081101561027257600080fd5b810190808035906020019064010000000081111561028f57600080fd5b8201836020820111156102a157600080fd5b803590602001918460018302840111640100000000831117156102c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610999565b6040518082815260200191505060405180910390f35b60008061033733610acd565b905060007f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b82604051602001808381526020018281526020019250505060405160208183030381529060405280519060200120905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561040357600080fd5b505afa158015610417573d6000803e3d6000fd5b505050506040513d602081101561042d57600080fd5b81019080805190602001909291905050509050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415801561055557506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630178b8bf836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156104ea57600080fd5b505afa1580156104fe573d6000803e3d6000fd5b505050506040513d602081101561051457600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b15610761573073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106a0576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab59237f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b85306040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561066057600080fd5b505af1158015610674573d6000803e3d6000fd5b505050506040513d602081101561068a57600080fd5b8101908080519060200190929190505050503090505b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631896f70a83876040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561074857600080fd5b505af115801561075c573d6000803e3d6000fd5b505050505b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108a4576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab59237f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b85896040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050602060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d602081101561089157600080fd5b8101908080519060200190929190505050505b81935050505092915050565b60006108bd82600061032b565b9050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b81565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260001b61096583610acd565b6040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6000806109c830600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661032b565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637737221382856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610a5f578082015181840152602081019050610a44565b50505050905090810190601f168015610a8c5780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610aac57600080fd5b505af1158015610ac0573d6000803e3d6000fd5b5050505080915050919050565b60007f303132333435363738396162636465660000000000000000000000000000000060285b6000811115610b295760018103905081600f85161a815360108404935060018103905081600f85161a8153601084049350610af3565b50602860002091505091905056fea265627a7a723158203c3a1e43dd29f27c43ee396cdbe4b2cee2e5b8b0cee99aecdde9c3342eea702264736f6c63430005100032", - "sourceMap": "136:4188:9:-;;;546:391;8:9:-1;5:2;;;30:1;27;20:12;5:2;546:391:9;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;546:391:9;;;;;;;;;;;;;;;;;;;;;;;;;621:7;615:3;;:13;;;;;;;;;;;;;;;;;;656:12;638:15;;:30;;;;;;;;;;;;;;;;;;745:29;794:3;;;;;;;;;;;:9;;;244:66;804:17;;794:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;794:28:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;794:28:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;794:28:9;;;;;;;;;;;;;;;;745:78;;870:3;837:37;;845:12;837:37;;;833:98;;890:12;:18;;;909:10;890:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;890:30:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;890:30:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;890:30:9;;;;;;;;;;;;;;;;;833:98;546:391;;;136:4188;;;;;;", - "deployedSourceMap": "136:4188:9:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;136:4188:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1669:871;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1669:871:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1204:117;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1204:117:9;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;317:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;200:110;;;:::i;:::-;;;;;;;;;;;;;;;;;;;337:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3245:150;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3245:150:9;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2859:218;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2859:218:9;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;2859:218:9;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;2859:218:9;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;2859:218:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;2859:218:9;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1669:871;1745:7;1764:13;1780:26;1795:10;1780:14;:26::i;:::-;1764:42;;1816:12;244:66;1858:17;;1877:5;1841:42;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;1841:42:9;;;1831:53;;;;;;1816:68;;1894:20;1917:3;;;;;;;;;;;:9;;;1927:4;1917:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1917:15:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1917:15:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1917:15:9;;;;;;;;;;;;;;;;1894:38;;2010:3;1990:24;;:8;:24;;;;:58;;;;;2030:3;;;;;;;;;;;:12;;;2043:4;2030:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2030:18:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2030:18:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2030:18:9;;;;;;;;;;;;;;;;2018:30;;:8;:30;;;;1990:58;1986:372;;;2157:4;2133:29;;:12;:29;;;2129:174;;2182:3;;;;;;;;;;;:19;;;244:66;2202:17;;2221:5;2236:4;2182:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2182:60:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2182:60:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2182:60:9;;;;;;;;;;;;;;;;;2283:4;2260:28;;2129:174;2316:3;;;;;;;;;;;:15;;;2332:4;2338:8;2316:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2316:31:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2316:31:9;;;;1986:372;2428:5;2412:21;;:12;:21;;;2408:104;;2449:3;;;;;;;;;;;:19;;;244:66;2469:17;;2488:5;2495;2449:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2449:52:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2449:52:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2449:52:9;;;;;;;;;;;;;;;;;2408:104;2529:4;2522:11;;;;;1669:871;;;;:::o;1204:117::-;1250:7;1276:38;1294:5;1309:3;1276:17;:38::i;:::-;1269:45;;1204:117;;;:::o;317:14::-;;;;;;;;;;;;;:::o;200:110::-;244:66;200:110;;;:::o;337:35::-;;;;;;;;;;;;;:::o;3245:150::-;3294:7;244:66;3347:17;;3366:20;3381:4;3366:14;:20::i;:::-;3330:57;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;3330:57:9;;;3320:68;;;;;;3313:75;;3245:150;;;:::o;2859:218::-;2912:7;2931:12;2946:58;2972:4;2987:15;;;;;;;;;;;2946:17;:58::i;:::-;2931:73;;3014:15;;;;;;;;;;;:23;;;3038:4;3044;3014:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3014:35:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3014:35:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3014:35:9;;;;3066:4;3059:11;;;2859:218;;;:::o;3696:626::-;3756:11;3885:66;3980:2;3965:304;3991:1;3988;3985:8;3965:304;;;4028:1;4025;4021:9;4016:14;;4079:6;4073:3;4067:4;4063:14;4058:28;4055:1;4047:40;4122:4;4116;4112:15;4104:23;;4156:1;4153;4149:9;4144:14;;4207:6;4201:3;4195:4;4191:14;4186:28;4183:1;4175:40;4250:4;4244;4240:15;4232:23;;3965:304;;;3969:15;4303:2;4300:1;4290:16;4283:23;;3857:459;;;;:::o", - "source": "pragma solidity ^0.5.0;\n\nimport \"./ENS.sol\";\n\ncontract NameResolver {\n function setName(bytes32 node, string memory name) public;\n}\n\ncontract ReverseRegistrar {\n // namehash('addr.reverse')\n bytes32 public constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2;\n\n ENS public ens;\n NameResolver public defaultResolver;\n\n /**\n * @dev Constructor\n * @param ensAddr The address of the ENS registry.\n * @param resolverAddr The address of the default reverse resolver.\n */\n constructor(ENS ensAddr, NameResolver resolverAddr) public {\n ens = ensAddr;\n defaultResolver = resolverAddr;\n\n // Assign ownership of the reverse record to our deployer\n ReverseRegistrar oldRegistrar = ReverseRegistrar(ens.owner(ADDR_REVERSE_NODE));\n if (address(oldRegistrar) != address(0x0)) {\n oldRegistrar.claim(msg.sender);\n }\n }\n\n /**\n * @dev Transfers ownership of the reverse ENS record associated with the\n * calling account.\n * @param owner The address to set as the owner of the reverse record in ENS.\n * @return The ENS node hash of the reverse record.\n */\n function claim(address owner) public returns (bytes32) {\n return claimWithResolver(owner, address(0x0));\n }\n\n /**\n * @dev Transfers ownership of the reverse ENS record associated with the\n * calling account.\n * @param owner The address to set as the owner of the reverse record in ENS.\n * @param resolver The address of the resolver to set; 0 to leave unchanged.\n * @return The ENS node hash of the reverse record.\n */\n function claimWithResolver(address owner, address resolver) public returns (bytes32) {\n bytes32 label = sha3HexAddress(msg.sender);\n bytes32 node = keccak256(abi.encodePacked(ADDR_REVERSE_NODE, label));\n address currentOwner = ens.owner(node);\n\n // Update the resolver if required\n if (resolver != address(0x0) && resolver != ens.resolver(node)) {\n // Transfer the name to us first if it's not already\n if (currentOwner != address(this)) {\n ens.setSubnodeOwner(ADDR_REVERSE_NODE, label, address(this));\n currentOwner = address(this);\n }\n ens.setResolver(node, resolver);\n }\n\n // Update the owner if required\n if (currentOwner != owner) {\n ens.setSubnodeOwner(ADDR_REVERSE_NODE, label, owner);\n }\n\n return node;\n }\n\n /**\n * @dev Sets the `name()` record for the reverse ENS record associated with\n * the calling account. First updates the resolver to the default reverse\n * resolver if necessary.\n * @param name The name to set for this address.\n * @return The ENS node hash of the reverse record.\n */\n function setName(string memory name) public returns (bytes32) {\n bytes32 node = claimWithResolver(address(this), address(defaultResolver));\n defaultResolver.setName(node, name);\n return node;\n }\n\n /**\n * @dev Returns the node hash for a given account's reverse records.\n * @param addr The address to hash\n * @return The ENS node hash.\n */\n function node(address addr) public pure returns (bytes32) {\n return keccak256(abi.encodePacked(ADDR_REVERSE_NODE, sha3HexAddress(addr)));\n }\n\n /**\n * @dev An optimised function to compute the sha3 of the lower-case\n * hexadecimal representation of an Ethereum address.\n * @param addr The address to hash\n * @return The SHA3 hash of the lower-case hexadecimal encoding of the\n * input address.\n */\n function sha3HexAddress(address addr) private pure returns (bytes32 ret) {\n addr;\n ret; // Stop warning us about unused variables\n assembly {\n let lookup := 0x3031323334353637383961626364656600000000000000000000000000000000\n\n for { let i := 40 } gt(i, 0) { } {\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n }\n\n ret := keccak256(0, 40)\n }\n }\n}\n", - "sourcePath": "/Users/makoto/work/ens/ens/contracts/ReverseRegistrar.sol", - "ast": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ReverseRegistrar.sol", - "exportedSymbols": { - "NameResolver": [ - 2738 - ], - "ReverseRegistrar": [ - 2954 - ] - }, - "id": 2955, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2729, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:9" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 2730, - "nodeType": "ImportDirective", - "scope": 2955, - "sourceUnit": 437, - "src": "25:19:9", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 2738, - "linearizedBaseContracts": [ - 2738 - ], - "name": "NameResolver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 2737, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2732, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2737, - "src": "91:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2731, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "91:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2734, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 2737, - "src": "105:18:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2733, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "105:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "90:34:9" - }, - "returnParameters": { - "id": 2736, - "nodeType": "ParameterList", - "parameters": [], - "src": "131:0:9" - }, - "scope": 2738, - "src": "74:58:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 2955, - "src": "46:88:9" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2954, - "linearizedBaseContracts": [ - 2954 - ], - "name": "ReverseRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 2741, - "name": "ADDR_REVERSE_NODE", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "200:110:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "200:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839316431373737373831383834643033613637353761383033393936653338646532613432393637666233376565616361373237323932373130323561396532", - "id": 2740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "244:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65955458610802586644366824307633271870356699036341805474246458084352783133154_by_1", - "typeString": "int_const 6595...(69 digits omitted)...3154" - }, - "value": "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" - }, - "visibility": "public" - }, - { - "constant": false, - "id": 2743, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "317:14:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 2742, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "317:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 2745, - "name": "defaultResolver", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "337:35:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - }, - "typeName": { - "contractScope": null, - "id": 2744, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2738, - "src": "337:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 2785, - "nodeType": "Block", - "src": "605:332:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2752, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "615:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2753, - "name": "ensAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2747, - "src": "621:7:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "src": "615:13:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2755, - "nodeType": "ExpressionStatement", - "src": "615:13:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2756, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "638:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2757, - "name": "resolverAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2749, - "src": "656:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "src": "638:30:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "id": 2759, - "nodeType": "ExpressionStatement", - "src": "638:30:9" - }, - { - "assignments": [ - 2761 - ], - "declarations": [ - { - "constant": false, - "id": 2761, - "name": "oldRegistrar", - "nodeType": "VariableDeclaration", - "scope": 2785, - "src": "745:29:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - }, - "typeName": { - "contractScope": null, - "id": 2760, - "name": "ReverseRegistrar", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2954, - "src": "745:16:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2768, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2765, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "804:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2763, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "794:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "794:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "794:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2762, - "name": "ReverseRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2954, - "src": "777:16:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ReverseRegistrar_$2954_$", - "typeString": "type(contract ReverseRegistrar)" - } - }, - "id": 2767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "777:46:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "745:78:9" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2770, - "name": "oldRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2761, - "src": "845:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "837:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "837:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "870:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "862:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "862:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "837:37:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2784, - "nodeType": "IfStatement", - "src": "833:98:9", - "trueBody": { - "id": 2783, - "nodeType": "Block", - "src": "876:55:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2779, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "909:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 2780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "909:10:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 2776, - "name": "oldRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2761, - "src": "890:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "id": 2778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "claim", - "nodeType": "MemberAccess", - "referencedDeclaration": 2801, - "src": "890:18:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) external returns (bytes32)" - } - }, - "id": 2781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "890:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2782, - "nodeType": "ExpressionStatement", - "src": "890:30:9" - } - ] - } - } - ] - }, - "documentation": "@dev Constructor\n@param ensAddr The address of the ENS registry.\n@param resolverAddr The address of the default reverse resolver.", - "id": 2786, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2747, - "name": "ensAddr", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "558:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 2746, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "558:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2749, - "name": "resolverAddr", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "571:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - }, - "typeName": { - "contractScope": null, - "id": 2748, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2738, - "src": "571:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "557:40:9" - }, - "returnParameters": { - "id": 2751, - "nodeType": "ParameterList", - "parameters": [], - "src": "605:0:9" - }, - "scope": 2954, - "src": "546:391:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2800, - "nodeType": "Block", - "src": "1259:62:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2794, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2788, - "src": "1294:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1309:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1301:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1301:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 2793, - "name": "claimWithResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2894, - "src": "1276:17:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address,address) returns (bytes32)" - } - }, - "id": 2798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1276:38:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2792, - "id": 2799, - "nodeType": "Return", - "src": "1269:45:9" - } - ] - }, - "documentation": "@dev Transfers ownership of the reverse ENS record associated with the\n calling account.\n@param owner The address to set as the owner of the reverse record in ENS.\n@return The ENS node hash of the reverse record.", - "id": 2801, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2788, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 2801, - "src": "1219:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2787, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1219:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1218:15:9" - }, - "returnParameters": { - "id": 2792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2791, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2801, - "src": "1250:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2790, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1250:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1249:9:9" - }, - "scope": 2954, - "src": "1204:117:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2893, - "nodeType": "Block", - "src": "1754:786:9", - "statements": [ - { - "assignments": [ - 2811 - ], - "declarations": [ - { - "constant": false, - "id": 2811, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1764:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2810, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1764:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2816, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2813, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "1795:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 2814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1795:10:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 2812, - "name": "sha3HexAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "1780:14:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 2815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1780:26:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1764:42:9" - }, - { - "assignments": [ - 2818 - ], - "declarations": [ - { - "constant": false, - "id": 2818, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1816:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2817, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1816:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2826, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2822, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "1858:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2823, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "1877:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2820, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "1841:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1841:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1841:42:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2819, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1831:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1831:53:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1816:68:9" - }, - { - "assignments": [ - 2828 - ], - "declarations": [ - { - "constant": false, - "id": 2828, - "name": "currentOwner", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1894:20:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2827, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1894:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2833, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2831, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "1927:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2829, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "1917:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "1917:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1917:15:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1894:38:9" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 2845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2834, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "1990:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2010:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2002:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2002:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1990:24:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2839, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "2018:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2842, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2043:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2840, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2030:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2030:12:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2030:18:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2018:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1990:58:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2877, - "nodeType": "IfStatement", - "src": "1986:372:9", - "trueBody": { - "id": 2876, - "nodeType": "Block", - "src": "2050:308:9", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2846, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2133:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2848, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2157:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2149:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2149:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2133:29:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2868, - "nodeType": "IfStatement", - "src": "2129:174:9", - "trueBody": { - "id": 2867, - "nodeType": "Block", - "src": "2164:139:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2854, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "2202:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2855, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "2221:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2857, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2236:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2228:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2228:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2851, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2182:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "2182:19:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 2859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2182:60:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2860, - "nodeType": "ExpressionStatement", - "src": "2182:60:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2861, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2260:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2863, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2283:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2275:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2275:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2260:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2866, - "nodeType": "ExpressionStatement", - "src": "2260:28:9" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2872, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2332:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2873, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "2338:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2869, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2316:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setResolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 377, - "src": "2316:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address) external" - } - }, - "id": 2874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2316:31:9", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2875, - "nodeType": "ExpressionStatement", - "src": "2316:31:9" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2878, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2412:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 2879, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2803, - "src": "2428:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2412:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2890, - "nodeType": "IfStatement", - "src": "2408:104:9", - "trueBody": { - "id": 2889, - "nodeType": "Block", - "src": "2435:77:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2884, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "2469:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2885, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "2488:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2886, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2803, - "src": "2495:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2881, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2449:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "2449:19:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 2887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2449:52:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2888, - "nodeType": "ExpressionStatement", - "src": "2449:52:9" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 2891, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2529:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2809, - "id": 2892, - "nodeType": "Return", - "src": "2522:11:9" - } - ] - }, - "documentation": "@dev Transfers ownership of the reverse ENS record associated with the\n calling account.\n@param owner The address to set as the owner of the reverse record in ENS.\n@param resolver The address of the resolver to set; 0 to leave unchanged.\n@return The ENS node hash of the reverse record.", - "id": 2894, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claimWithResolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2803, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1696:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2802, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1696:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2805, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1711:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1711:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1695:33:9" - }, - "returnParameters": { - "id": 2809, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2808, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1745:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2807, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1745:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1744:9:9" - }, - "scope": 2954, - "src": "1669:871:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2921, - "nodeType": "Block", - "src": "2921:156:9", - "statements": [ - { - "assignments": [ - 2902 - ], - "declarations": [ - { - "constant": false, - "id": 2902, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2921, - "src": "2931:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2901, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2931:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2911, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2905, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2972:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2964:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2964:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2908, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "2987:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - ], - "id": 2907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2979:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2979:24:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2903, - "name": "claimWithResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2894, - "src": "2946:17:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address,address) returns (bytes32)" - } - }, - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2946:58:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2931:73:9" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2915, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2902, - "src": "3038:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2916, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "3044:4:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 2912, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "3014:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "id": 2914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setName", - "nodeType": "MemberAccess", - "referencedDeclaration": 2737, - "src": "3014:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes32,string memory) external" - } - }, - "id": 2917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3014:35:9", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2918, - "nodeType": "ExpressionStatement", - "src": "3014:35:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2919, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2902, - "src": "3066:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2900, - "id": 2920, - "nodeType": "Return", - "src": "3059:11:9" - } - ] - }, - "documentation": "@dev Sets the `name()` record for the reverse ENS record associated with\nthe calling account. First updates the resolver to the default reverse\nresolver if necessary.\n@param name The name to set for this address.\n@return The ENS node hash of the reverse record.", - "id": 2922, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2896, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 2922, - "src": "2876:18:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2876:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2875:20:9" - }, - "returnParameters": { - "id": 2900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2899, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2922, - "src": "2912:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2898, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2912:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2911:9:9" - }, - "scope": 2954, - "src": "2859:218:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2939, - "nodeType": "Block", - "src": "3303:92:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2932, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "3347:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2934, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2924, - "src": "3381:4:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2933, - "name": "sha3HexAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "3366:14:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 2935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3366:20:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2930, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "3330:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3330:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3330:57:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2929, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "3320:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3320:68:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2928, - "id": 2938, - "nodeType": "Return", - "src": "3313:75:9" - } - ] - }, - "documentation": "@dev Returns the node hash for a given account's reverse records.\n@param addr The address to hash\n@return The ENS node hash.", - "id": 2940, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "node", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2924, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 2940, - "src": "3259:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3259:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3258:14:9" - }, - "returnParameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2940, - "src": "3294:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2926, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3294:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3293:9:9" - }, - "scope": 2954, - "src": "3245:150:9", - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2952, - "nodeType": "Block", - "src": "3769:553:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2947, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2942, - "src": "3779:4:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2948, - "nodeType": "ExpressionStatement", - "src": "3779:4:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2949, - "name": "ret", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2945, - "src": "3793:3:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2950, - "nodeType": "ExpressionStatement", - "src": "3793:3:9" - }, - { - "externalReferences": [ - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4116:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4104:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4232:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4067:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4244:4:9", - "valueSize": 1 - } - }, - { - "ret": { - "declaration": 2945, - "isOffset": false, - "isSlot": false, - "src": "4283:3:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4195:4:9", - "valueSize": 1 - } - } - ], - "id": 2951, - "nodeType": "InlineAssembly", - "operations": "{\n let lookup := 0x3031323334353637383961626364656600000000000000000000000000000000\n for { let i := 40 } gt(i, 0) { }\n {\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n }\n ret := keccak256(0, 40)\n}", - "src": "3848:468:9" - } - ] - }, - "documentation": "@dev An optimised function to compute the sha3 of the lower-case\n hexadecimal representation of an Ethereum address.\n@param addr The address to hash\n@return The SHA3 hash of the lower-case hexadecimal encoding of the\n input address.", - "id": 2953, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sha3HexAddress", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2942, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 2953, - "src": "3720:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3720:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3719:14:9" - }, - "returnParameters": { - "id": 2946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "name": "ret", - "nodeType": "VariableDeclaration", - "scope": 2953, - "src": "3756:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2944, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3756:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3755:13:9" - }, - "scope": 2954, - "src": "3696:626:9", - "stateMutability": "pure", - "superFunction": null, - "visibility": "private" - } - ], - "scope": 2955, - "src": "136:4188:9" - } - ], - "src": "0:4325:9" - }, - "legacyAST": { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ReverseRegistrar.sol", - "exportedSymbols": { - "NameResolver": [ - 2738 - ], - "ReverseRegistrar": [ - 2954 - ] - }, - "id": 2955, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 2729, - "literals": [ - "solidity", - "^", - "0.5", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:9" - }, - { - "absolutePath": "/Users/makoto/work/ens/ens/contracts/ENS.sol", - "file": "./ENS.sol", - "id": 2730, - "nodeType": "ImportDirective", - "scope": 2955, - "sourceUnit": 437, - "src": "25:19:9", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "id": 2738, - "linearizedBaseContracts": [ - 2738 - ], - "name": "NameResolver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "id": 2737, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2732, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2737, - "src": "91:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2731, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "91:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2734, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 2737, - "src": "105:18:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2733, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "105:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "90:34:9" - }, - "returnParameters": { - "id": 2736, - "nodeType": "ParameterList", - "parameters": [], - "src": "131:0:9" - }, - "scope": 2738, - "src": "74:58:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 2955, - "src": "46:88:9" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 2954, - "linearizedBaseContracts": [ - 2954 - ], - "name": "ReverseRegistrar", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 2741, - "name": "ADDR_REVERSE_NODE", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "200:110:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "200:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839316431373737373831383834643033613637353761383033393936653338646532613432393637666233376565616361373237323932373130323561396532", - "id": 2740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "244:66:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65955458610802586644366824307633271870356699036341805474246458084352783133154_by_1", - "typeString": "int_const 6595...(69 digits omitted)...3154" - }, - "value": "0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2" - }, - "visibility": "public" - }, - { - "constant": false, - "id": 2743, - "name": "ens", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "317:14:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 2742, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "317:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 2745, - "name": "defaultResolver", - "nodeType": "VariableDeclaration", - "scope": 2954, - "src": "337:35:9", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - }, - "typeName": { - "contractScope": null, - "id": 2744, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2738, - "src": "337:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 2785, - "nodeType": "Block", - "src": "605:332:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2752, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "615:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2753, - "name": "ensAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2747, - "src": "621:7:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "src": "615:13:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2755, - "nodeType": "ExpressionStatement", - "src": "615:13:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2756, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "638:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 2757, - "name": "resolverAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2749, - "src": "656:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "src": "638:30:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "id": 2759, - "nodeType": "ExpressionStatement", - "src": "638:30:9" - }, - { - "assignments": [ - 2761 - ], - "declarations": [ - { - "constant": false, - "id": 2761, - "name": "oldRegistrar", - "nodeType": "VariableDeclaration", - "scope": 2785, - "src": "745:29:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - }, - "typeName": { - "contractScope": null, - "id": 2760, - "name": "ReverseRegistrar", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2954, - "src": "745:16:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2768, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2765, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "804:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2763, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "794:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "794:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "794:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2762, - "name": "ReverseRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2954, - "src": "777:16:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ReverseRegistrar_$2954_$", - "typeString": "type(contract ReverseRegistrar)" - } - }, - "id": 2767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "777:46:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "745:78:9" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2770, - "name": "oldRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2761, - "src": "845:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "837:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "837:21:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "870:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "862:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "862:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "837:37:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2784, - "nodeType": "IfStatement", - "src": "833:98:9", - "trueBody": { - "id": 2783, - "nodeType": "Block", - "src": "876:55:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2779, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "909:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 2780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "909:10:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 2776, - "name": "oldRegistrar", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2761, - "src": "890:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - }, - "id": 2778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "claim", - "nodeType": "MemberAccess", - "referencedDeclaration": 2801, - "src": "890:18:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) external returns (bytes32)" - } - }, - "id": 2781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "890:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2782, - "nodeType": "ExpressionStatement", - "src": "890:30:9" - } - ] - } - } - ] - }, - "documentation": "@dev Constructor\n@param ensAddr The address of the ENS registry.\n@param resolverAddr The address of the default reverse resolver.", - "id": 2786, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2747, - "name": "ensAddr", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "558:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - }, - "typeName": { - "contractScope": null, - "id": 2746, - "name": "ENS", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 436, - "src": "558:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2749, - "name": "resolverAddr", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "571:25:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - }, - "typeName": { - "contractScope": null, - "id": 2748, - "name": "NameResolver", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2738, - "src": "571:12:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "557:40:9" - }, - "returnParameters": { - "id": 2751, - "nodeType": "ParameterList", - "parameters": [], - "src": "605:0:9" - }, - "scope": 2954, - "src": "546:391:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2800, - "nodeType": "Block", - "src": "1259:62:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2794, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2788, - "src": "1294:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1309:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1301:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1301:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 2793, - "name": "claimWithResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2894, - "src": "1276:17:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address,address) returns (bytes32)" - } - }, - "id": 2798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1276:38:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2792, - "id": 2799, - "nodeType": "Return", - "src": "1269:45:9" - } - ] - }, - "documentation": "@dev Transfers ownership of the reverse ENS record associated with the\n calling account.\n@param owner The address to set as the owner of the reverse record in ENS.\n@return The ENS node hash of the reverse record.", - "id": 2801, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claim", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2788, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 2801, - "src": "1219:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2787, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1219:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1218:15:9" - }, - "returnParameters": { - "id": 2792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2791, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2801, - "src": "1250:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2790, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1250:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1249:9:9" - }, - "scope": 2954, - "src": "1204:117:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2893, - "nodeType": "Block", - "src": "1754:786:9", - "statements": [ - { - "assignments": [ - 2811 - ], - "declarations": [ - { - "constant": false, - "id": 2811, - "name": "label", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1764:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2810, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1764:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2816, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 2813, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3032, - "src": "1795:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 2814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1795:10:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 2812, - "name": "sha3HexAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "1780:14:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 2815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1780:26:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1764:42:9" - }, - { - "assignments": [ - 2818 - ], - "declarations": [ - { - "constant": false, - "id": 2818, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1816:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2817, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1816:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2826, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2822, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "1858:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2823, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "1877:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2820, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "1841:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1841:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1841:42:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2819, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1831:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1831:53:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1816:68:9" - }, - { - "assignments": [ - 2828 - ], - "declarations": [ - { - "constant": false, - "id": 2828, - "name": "currentOwner", - "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "1894:20:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2827, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1894:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2833, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2831, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "1927:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2829, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "1917:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 405, - "src": "1917:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1917:15:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1894:38:9" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 2845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2834, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "1990:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "307830", - "id": 2836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2010:3:9", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 2835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2002:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2002:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1990:24:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2839, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "2018:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2842, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2043:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2840, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2030:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2030:12:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2030:18:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2018:30:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1990:58:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2877, - "nodeType": "IfStatement", - "src": "1986:372:9", - "trueBody": { - "id": 2876, - "nodeType": "Block", - "src": "2050:308:9", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2846, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2133:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2848, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2157:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2149:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2149:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2133:29:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2868, - "nodeType": "IfStatement", - "src": "2129:174:9", - "trueBody": { - "id": 2867, - "nodeType": "Block", - "src": "2164:139:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2854, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "2202:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2855, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "2221:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2857, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2236:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2228:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2228:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2851, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2182:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "2182:19:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 2859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2182:60:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2860, - "nodeType": "ExpressionStatement", - "src": "2182:60:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 2861, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2260:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2863, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2283:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2275:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2275:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2260:28:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2866, - "nodeType": "ExpressionStatement", - "src": "2260:28:9" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2872, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2332:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2873, - "name": "resolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2805, - "src": "2338:8:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2869, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2316:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setResolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 377, - "src": "2316:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address) external" - } - }, - "id": 2874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2316:31:9", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2875, - "nodeType": "ExpressionStatement", - "src": "2316:31:9" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 2880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 2878, - "name": "currentOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2412:12:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 2879, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2803, - "src": "2428:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2412:21:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 2890, - "nodeType": "IfStatement", - "src": "2408:104:9", - "trueBody": { - "id": 2889, - "nodeType": "Block", - "src": "2435:77:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2884, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "2469:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2885, - "name": "label", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "2488:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2886, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2803, - "src": "2495:5:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 2881, - "name": "ens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2743, - "src": "2449:3:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$436", - "typeString": "contract ENS" - } - }, - "id": 2883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setSubnodeOwner", - "nodeType": "MemberAccess", - "referencedDeclaration": 370, - "src": "2449:19:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,address) external returns (bytes32)" - } - }, - "id": 2887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2449:52:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2888, - "nodeType": "ExpressionStatement", - "src": "2449:52:9" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 2891, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2818, - "src": "2529:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2809, - "id": 2892, - "nodeType": "Return", - "src": "2522:11:9" - } - ] - }, - "documentation": "@dev Transfers ownership of the reverse ENS record associated with the\n calling account.\n@param owner The address to set as the owner of the reverse record in ENS.\n@param resolver The address of the resolver to set; 0 to leave unchanged.\n@return The ENS node hash of the reverse record.", - "id": 2894, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "claimWithResolver", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2803, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1696:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2802, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1696:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 2805, - "name": "resolver", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1711:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1711:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1695:33:9" - }, - "returnParameters": { - "id": 2809, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2808, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "1745:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2807, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1745:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1744:9:9" - }, - "scope": 2954, - "src": "1669:871:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2921, - "nodeType": "Block", - "src": "2921:156:9", - "statements": [ - { - "assignments": [ - 2902 - ], - "declarations": [ - { - "constant": false, - "id": 2902, - "name": "node", - "nodeType": "VariableDeclaration", - "scope": 2921, - "src": "2931:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2901, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2931:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 2911, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2905, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "2972:4:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ReverseRegistrar_$2954", - "typeString": "contract ReverseRegistrar" - } - ], - "id": 2904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2964:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2964:13:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2908, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "2987:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - ], - "id": 2907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2979:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 2909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2979:24:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2903, - "name": "claimWithResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2894, - "src": "2946:17:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address,address) returns (bytes32)" - } - }, - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2946:58:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2931:73:9" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2915, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2902, - "src": "3038:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 2916, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "3044:4:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 2912, - "name": "defaultResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "3014:15:9", - "typeDescriptions": { - "typeIdentifier": "t_contract$_NameResolver_$2738", - "typeString": "contract NameResolver" - } - }, - "id": 2914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "setName", - "nodeType": "MemberAccess", - "referencedDeclaration": 2737, - "src": "3014:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes32,string memory) external" - } - }, - "id": 2917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3014:35:9", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2918, - "nodeType": "ExpressionStatement", - "src": "3014:35:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2919, - "name": "node", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2902, - "src": "3066:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2900, - "id": 2920, - "nodeType": "Return", - "src": "3059:11:9" - } - ] - }, - "documentation": "@dev Sets the `name()` record for the reverse ENS record associated with\nthe calling account. First updates the resolver to the default reverse\nresolver if necessary.\n@param name The name to set for this address.\n@return The ENS node hash of the reverse record.", - "id": 2922, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setName", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2896, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 2922, - "src": "2876:18:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2876:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2875:20:9" - }, - "returnParameters": { - "id": 2900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2899, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2922, - "src": "2912:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2898, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2912:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2911:9:9" - }, - "scope": 2954, - "src": "2859:218:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2939, - "nodeType": "Block", - "src": "3303:92:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2932, - "name": "ADDR_REVERSE_NODE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "3347:17:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 2934, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2924, - "src": "3381:4:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2933, - "name": "sha3HexAddress", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "3366:14:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 2935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3366:20:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 2930, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "3330:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3330:16:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3330:57:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2929, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "3320:9:9", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3320:68:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2928, - "id": 2938, - "nodeType": "Return", - "src": "3313:75:9" - } - ] - }, - "documentation": "@dev Returns the node hash for a given account's reverse records.\n@param addr The address to hash\n@return The ENS node hash.", - "id": 2940, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "node", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2924, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 2940, - "src": "3259:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3259:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3258:14:9" - }, - "returnParameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 2940, - "src": "3294:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2926, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3294:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3293:9:9" - }, - "scope": 2954, - "src": "3245:150:9", - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 2952, - "nodeType": "Block", - "src": "3769:553:9", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 2947, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2942, - "src": "3779:4:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2948, - "nodeType": "ExpressionStatement", - "src": "3779:4:9" - }, - { - "expression": { - "argumentTypes": null, - "id": 2949, - "name": "ret", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2945, - "src": "3793:3:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2950, - "nodeType": "ExpressionStatement", - "src": "3793:3:9" - }, - { - "externalReferences": [ - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4116:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4104:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4232:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4067:4:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4244:4:9", - "valueSize": 1 - } - }, - { - "ret": { - "declaration": 2945, - "isOffset": false, - "isSlot": false, - "src": "4283:3:9", - "valueSize": 1 - } - }, - { - "addr": { - "declaration": 2942, - "isOffset": false, - "isSlot": false, - "src": "4195:4:9", - "valueSize": 1 - } - } - ], - "id": 2951, - "nodeType": "InlineAssembly", - "operations": "{\n let lookup := 0x3031323334353637383961626364656600000000000000000000000000000000\n for { let i := 40 } gt(i, 0) { }\n {\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n }\n ret := keccak256(0, 40)\n}", - "src": "3848:468:9" - } - ] - }, - "documentation": "@dev An optimised function to compute the sha3 of the lower-case\n hexadecimal representation of an Ethereum address.\n@param addr The address to hash\n@return The SHA3 hash of the lower-case hexadecimal encoding of the\n input address.", - "id": 2953, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sha3HexAddress", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2942, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 2953, - "src": "3720:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3720:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3719:14:9" - }, - "returnParameters": { - "id": 2946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "name": "ret", - "nodeType": "VariableDeclaration", - "scope": 2953, - "src": "3756:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2944, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3756:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3755:13:9" - }, - "scope": 2954, - "src": "3696:626:9", - "stateMutability": "pure", - "superFunction": null, - "visibility": "private" - } - ], - "scope": 2955, - "src": "136:4188:9" - } - ], - "src": "0:4325:9" - }, - "compiler": { - "name": "solc", - "version": "0.5.16+commit.9c3226ce.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.929Z", - "networkType": "ethereum", - "devdoc": { - "methods": { - "claim(address)": { - "details": "Transfers ownership of the reverse ENS record associated with the calling account.", - "params": { - "owner": "The address to set as the owner of the reverse record in ENS." - }, - "return": "The ENS node hash of the reverse record." - }, - "claimWithResolver(address,address)": { - "details": "Transfers ownership of the reverse ENS record associated with the calling account.", - "params": { - "owner": "The address to set as the owner of the reverse record in ENS.", - "resolver": "The address of the resolver to set; 0 to leave unchanged." - }, - "return": "The ENS node hash of the reverse record." - }, - "constructor": { - "details": "Constructor", - "params": { - "ensAddr": "The address of the ENS registry.", - "resolverAddr": "The address of the default reverse resolver." - } - }, - "node(address)": { - "details": "Returns the node hash for a given account's reverse records.", - "params": { - "addr": "The address to hash" - }, - "return": "The ENS node hash." - }, - "setName(string)": { - "details": "Sets the `name()` record for the reverse ENS record associated with the calling account. First updates the resolver to the default reverse resolver if necessary.", - "params": { - "name": "The name to set for this address." - }, - "return": "The ENS node hash of the reverse record." - } - } - }, - "userdoc": { - "methods": {} - } -} diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json deleted file mode 100644 index 75d3c1f0d..000000000 --- a/build/contracts/SafeMath.json +++ /dev/null @@ -1,5148 +0,0 @@ -{ - "contractName": "SafeMath", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/math/SafeMath.sol\":\"SafeMath\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122061b01763dbdedb0c60c027b7130e3fc67be4183b7a39357b7894a0179c0f729864736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122061b01763dbdedb0c60c027b7130e3fc67be4183b7a39357b7894a0179c0f729864736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "622:4578:86:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "622:4578:86:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n return sub(a, b, \"SafeMath: subtraction overflow\");\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n uint256 c = a - b;\n\n return c;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) {\n return 0;\n }\n\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers. Reverts on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n return div(a, b, \"SafeMath: division by zero\");\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n uint256 c = a / b;\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\n\n return c;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * Reverts when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n return mod(a, b, \"SafeMath: modulo by zero\");\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * Reverts with custom message when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b != 0, errorMessage);\n return a % b;\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/math/SafeMath.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "exportedSymbols": { - "SafeMath": [ - 14409 - ] - }, - "id": 14410, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14215, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:86" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 14216, - "nodeType": "StructuredDocumentation", - "src": "58:563:86", - "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." - }, - "fullyImplemented": true, - "id": 14409, - "linearizedBaseContracts": [ - 14409 - ], - "name": "SafeMath", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 14241, - "nodeType": "Block", - "src": "941:109:86", - "statements": [ - { - "assignments": [ - 14227 - ], - "declarations": [ - { - "constant": false, - "id": 14227, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14241, - "src": "951:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14226, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "951:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14231, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14228, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14219, - "src": "963:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 14229, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14221, - "src": "967:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "963:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "951:17:86" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14233, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14227, - "src": "986:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 14234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14219, - "src": "991:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "986:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 14236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "994:29:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", - "typeString": "literal_string \"SafeMath: addition overflow\"" - }, - "value": "SafeMath: addition overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", - "typeString": "literal_string \"SafeMath: addition overflow\"" - } - ], - "id": 14232, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "978:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "978:46:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14238, - "nodeType": "ExpressionStatement", - "src": "978:46:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14239, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14227, - "src": "1042:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14225, - "id": 14240, - "nodeType": "Return", - "src": "1035:8:86" - } - ] - }, - "documentation": { - "id": 14217, - "nodeType": "StructuredDocumentation", - "src": "645:224:86", - "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." - }, - "id": 14242, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14222, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14219, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "887:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "887:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14221, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "898:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "898:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "886:22:86" - }, - "returnParameters": { - "id": 14225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14224, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "932:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14223, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "932:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "931:9:86" - }, - "scope": 14409, - "src": "874:176:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14258, - "nodeType": "Block", - "src": "1388:67:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14253, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14245, - "src": "1409:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14254, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14247, - "src": "1412:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 14255, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1415:32:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", - "typeString": "literal_string \"SafeMath: subtraction overflow\"" - }, - "value": "SafeMath: subtraction overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", - "typeString": "literal_string \"SafeMath: subtraction overflow\"" - } - ], - "id": 14252, - "name": "sub", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14259, - 14287 - ], - "referencedDeclaration": 14287, - "src": "1405:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1405:43:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14251, - "id": 14257, - "nodeType": "Return", - "src": "1398:50:86" - } - ] - }, - "documentation": { - "id": 14243, - "nodeType": "StructuredDocumentation", - "src": "1056:260:86", - "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." - }, - "id": 14259, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14248, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14245, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1334:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14244, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1334:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14247, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1345:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14246, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1345:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1333:22:86" - }, - "returnParameters": { - "id": 14251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1379:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1379:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1378:9:86" - }, - "scope": 14409, - "src": "1321:134:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14286, - "nodeType": "Block", - "src": "1841:92:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14272, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14264, - "src": "1859:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 14273, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14262, - "src": "1864:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1859:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14275, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14266, - "src": "1867:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14271, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1851:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1851:29:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14277, - "nodeType": "ExpressionStatement", - "src": "1851:29:86" - }, - { - "assignments": [ - 14279 - ], - "declarations": [ - { - "constant": false, - "id": 14279, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14286, - "src": "1890:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1890:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14283, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14280, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14262, - "src": "1902:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 14281, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14264, - "src": "1906:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1902:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1890:17:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14284, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14279, - "src": "1925:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14270, - "id": 14285, - "nodeType": "Return", - "src": "1918:8:86" - } - ] - }, - "documentation": { - "id": 14260, - "nodeType": "StructuredDocumentation", - "src": "1461:280:86", - "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." - }, - "id": 14287, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14262, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1759:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1759:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14264, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1770:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1770:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14266, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1781:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14265, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1781:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1758:50:86" - }, - "returnParameters": { - "id": 14270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14269, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1832:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1832:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1831:9:86" - }, - "scope": 14409, - "src": "1746:187:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14321, - "nodeType": "Block", - "src": "2247:392:86", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14297, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2479:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2479:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 14303, - "nodeType": "IfStatement", - "src": "2475:45:86", - "trueBody": { - "id": 14302, - "nodeType": "Block", - "src": "2487:33:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2508:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 14296, - "id": 14301, - "nodeType": "Return", - "src": "2501:8:86" - } - ] - } - }, - { - "assignments": [ - 14305 - ], - "declarations": [ - { - "constant": false, - "id": 14305, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14321, - "src": "2530:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2530:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14309, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14306, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2542:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 14307, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14292, - "src": "2546:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2542:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2530:17:86" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14311, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14305, - "src": "2565:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 14312, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2569:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2565:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 14314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14292, - "src": "2574:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2565:10:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 14316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2577:35:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", - "typeString": "literal_string \"SafeMath: multiplication overflow\"" - }, - "value": "SafeMath: multiplication overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", - "typeString": "literal_string \"SafeMath: multiplication overflow\"" - } - ], - "id": 14310, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2557:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2557:56:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14318, - "nodeType": "ExpressionStatement", - "src": "2557:56:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14319, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14305, - "src": "2631:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14296, - "id": 14320, - "nodeType": "Return", - "src": "2624:8:86" - } - ] - }, - "documentation": { - "id": 14288, - "nodeType": "StructuredDocumentation", - "src": "1939:236:86", - "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." - }, - "id": 14322, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mul", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14293, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14290, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2193:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14289, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2193:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14292, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2204:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14291, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2204:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2192:22:86" - }, - "returnParameters": { - "id": 14296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14295, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2238:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14294, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:9:86" - }, - "scope": 14409, - "src": "2180:459:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14338, - "nodeType": "Block", - "src": "3168:63:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14333, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14325, - "src": "3189:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14334, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14327, - "src": "3192:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 14335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3195:28:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", - "typeString": "literal_string \"SafeMath: division by zero\"" - }, - "value": "SafeMath: division by zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", - "typeString": "literal_string \"SafeMath: division by zero\"" - } - ], - "id": 14332, - "name": "div", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14339, - 14367 - ], - "referencedDeclaration": 14367, - "src": "3185:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3185:39:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14331, - "id": 14337, - "nodeType": "Return", - "src": "3178:46:86" - } - ] - }, - "documentation": { - "id": 14323, - "nodeType": "StructuredDocumentation", - "src": "2645:451:86", - "text": " @dev Returns the integer division of two unsigned integers. Reverts on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14339, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14325, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3114:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3114:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14327, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3125:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3125:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3113:22:86" - }, - "returnParameters": { - "id": 14331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3159:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3159:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3158:9:86" - }, - "scope": 14409, - "src": "3101:130:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14366, - "nodeType": "Block", - "src": "3808:177:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14352, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14344, - "src": "3826:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3830:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3826:5:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14355, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14346, - "src": "3833:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14351, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3818:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3818:28:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14357, - "nodeType": "ExpressionStatement", - "src": "3818:28:86" - }, - { - "assignments": [ - 14359 - ], - "declarations": [ - { - "constant": false, - "id": 14359, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14366, - "src": "3856:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14358, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3856:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14363, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14360, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14342, - "src": "3868:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 14361, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14344, - "src": "3872:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3868:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3856:17:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14364, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14359, - "src": "3977:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14350, - "id": 14365, - "nodeType": "Return", - "src": "3970:8:86" - } - ] - }, - "documentation": { - "id": 14340, - "nodeType": "StructuredDocumentation", - "src": "3237:471:86", - "text": " @dev Returns the integer division of two unsigned integers. Reverts with custom message on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14367, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14342, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3726:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3726:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14344, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3737:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14343, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3737:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14346, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3748:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14345, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3748:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3725:50:86" - }, - "returnParameters": { - "id": 14350, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14349, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3799:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3799:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3798:9:86" - }, - "scope": 14409, - "src": "3713:272:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14383, - "nodeType": "Block", - "src": "4503:61:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14378, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14370, - "src": "4524:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14379, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14372, - "src": "4527:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 14380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4530:26:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", - "typeString": "literal_string \"SafeMath: modulo by zero\"" - }, - "value": "SafeMath: modulo by zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", - "typeString": "literal_string \"SafeMath: modulo by zero\"" - } - ], - "id": 14377, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14384, - 14408 - ], - "referencedDeclaration": 14408, - "src": "4520:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4520:37:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14376, - "id": 14382, - "nodeType": "Return", - "src": "4513:44:86" - } - ] - }, - "documentation": { - "id": 14368, - "nodeType": "StructuredDocumentation", - "src": "3991:440:86", - "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n Reverts when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14384, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14370, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4449:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4449:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14372, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4460:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4460:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4448:22:86" - }, - "returnParameters": { - "id": 14376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14375, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4494:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14374, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4494:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4493:9:86" - }, - "scope": 14409, - "src": "4436:128:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14407, - "nodeType": "Block", - "src": "5130:68:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14397, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14389, - "src": "5148:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5153:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5148:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14400, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14391, - "src": "5156:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5140:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5140:29:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14402, - "nodeType": "ExpressionStatement", - "src": "5140:29:86" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14403, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14387, - "src": "5186:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "id": 14404, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14389, - "src": "5190:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5186:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14395, - "id": 14406, - "nodeType": "Return", - "src": "5179:12:86" - } - ] - }, - "documentation": { - "id": 14385, - "nodeType": "StructuredDocumentation", - "src": "4570:460:86", - "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n Reverts with custom message when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14408, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14387, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5048:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14386, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5048:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14389, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5059:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14388, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5059:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14391, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5070:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5070:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5047:50:86" - }, - "returnParameters": { - "id": 14395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14394, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5121:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14393, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5121:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5120:9:86" - }, - "scope": 14409, - "src": "5035:163:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 14410, - "src": "622:4578:86" - } - ], - "src": "33:5168:86" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "exportedSymbols": { - "SafeMath": [ - 14409 - ] - }, - "id": 14410, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 14215, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:86" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 14216, - "nodeType": "StructuredDocumentation", - "src": "58:563:86", - "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." - }, - "fullyImplemented": true, - "id": 14409, - "linearizedBaseContracts": [ - 14409 - ], - "name": "SafeMath", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 14241, - "nodeType": "Block", - "src": "941:109:86", - "statements": [ - { - "assignments": [ - 14227 - ], - "declarations": [ - { - "constant": false, - "id": 14227, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14241, - "src": "951:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14226, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "951:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14231, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14228, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14219, - "src": "963:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 14229, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14221, - "src": "967:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "963:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "951:17:86" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14233, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14227, - "src": "986:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 14234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14219, - "src": "991:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "986:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 14236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "994:29:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", - "typeString": "literal_string \"SafeMath: addition overflow\"" - }, - "value": "SafeMath: addition overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", - "typeString": "literal_string \"SafeMath: addition overflow\"" - } - ], - "id": 14232, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "978:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "978:46:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14238, - "nodeType": "ExpressionStatement", - "src": "978:46:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14239, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14227, - "src": "1042:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14225, - "id": 14240, - "nodeType": "Return", - "src": "1035:8:86" - } - ] - }, - "documentation": { - "id": 14217, - "nodeType": "StructuredDocumentation", - "src": "645:224:86", - "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." - }, - "id": 14242, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14222, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14219, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "887:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "887:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14221, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "898:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "898:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "886:22:86" - }, - "returnParameters": { - "id": 14225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14224, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14242, - "src": "932:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14223, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "932:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "931:9:86" - }, - "scope": 14409, - "src": "874:176:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14258, - "nodeType": "Block", - "src": "1388:67:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14253, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14245, - "src": "1409:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14254, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14247, - "src": "1412:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 14255, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1415:32:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", - "typeString": "literal_string \"SafeMath: subtraction overflow\"" - }, - "value": "SafeMath: subtraction overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", - "typeString": "literal_string \"SafeMath: subtraction overflow\"" - } - ], - "id": 14252, - "name": "sub", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14259, - 14287 - ], - "referencedDeclaration": 14287, - "src": "1405:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1405:43:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14251, - "id": 14257, - "nodeType": "Return", - "src": "1398:50:86" - } - ] - }, - "documentation": { - "id": 14243, - "nodeType": "StructuredDocumentation", - "src": "1056:260:86", - "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." - }, - "id": 14259, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14248, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14245, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1334:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14244, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1334:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14247, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1345:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14246, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1345:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1333:22:86" - }, - "returnParameters": { - "id": 14251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14250, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14259, - "src": "1379:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1379:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1378:9:86" - }, - "scope": 14409, - "src": "1321:134:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14286, - "nodeType": "Block", - "src": "1841:92:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14272, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14264, - "src": "1859:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 14273, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14262, - "src": "1864:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1859:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14275, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14266, - "src": "1867:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14271, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1851:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1851:29:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14277, - "nodeType": "ExpressionStatement", - "src": "1851:29:86" - }, - { - "assignments": [ - 14279 - ], - "declarations": [ - { - "constant": false, - "id": 14279, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14286, - "src": "1890:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1890:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14283, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14280, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14262, - "src": "1902:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 14281, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14264, - "src": "1906:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1902:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1890:17:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14284, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14279, - "src": "1925:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14270, - "id": 14285, - "nodeType": "Return", - "src": "1918:8:86" - } - ] - }, - "documentation": { - "id": 14260, - "nodeType": "StructuredDocumentation", - "src": "1461:280:86", - "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." - }, - "id": 14287, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14262, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1759:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1759:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14264, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1770:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1770:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14266, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1781:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14265, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1781:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1758:50:86" - }, - "returnParameters": { - "id": 14270, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14269, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14287, - "src": "1832:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1832:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1831:9:86" - }, - "scope": 14409, - "src": "1746:187:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14321, - "nodeType": "Block", - "src": "2247:392:86", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14297, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2479:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2479:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 14303, - "nodeType": "IfStatement", - "src": "2475:45:86", - "trueBody": { - "id": 14302, - "nodeType": "Block", - "src": "2487:33:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2508:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 14296, - "id": 14301, - "nodeType": "Return", - "src": "2501:8:86" - } - ] - } - }, - { - "assignments": [ - 14305 - ], - "declarations": [ - { - "constant": false, - "id": 14305, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14321, - "src": "2530:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2530:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14309, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14306, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2542:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 14307, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14292, - "src": "2546:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2542:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2530:17:86" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14311, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14305, - "src": "2565:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 14312, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14290, - "src": "2569:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2565:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 14314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14292, - "src": "2574:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2565:10:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 14316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2577:35:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", - "typeString": "literal_string \"SafeMath: multiplication overflow\"" - }, - "value": "SafeMath: multiplication overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", - "typeString": "literal_string \"SafeMath: multiplication overflow\"" - } - ], - "id": 14310, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2557:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2557:56:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14318, - "nodeType": "ExpressionStatement", - "src": "2557:56:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14319, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14305, - "src": "2631:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14296, - "id": 14320, - "nodeType": "Return", - "src": "2624:8:86" - } - ] - }, - "documentation": { - "id": 14288, - "nodeType": "StructuredDocumentation", - "src": "1939:236:86", - "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." - }, - "id": 14322, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mul", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14293, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14290, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2193:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14289, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2193:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14292, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2204:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14291, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2204:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2192:22:86" - }, - "returnParameters": { - "id": 14296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14295, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14322, - "src": "2238:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14294, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:9:86" - }, - "scope": 14409, - "src": "2180:459:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14338, - "nodeType": "Block", - "src": "3168:63:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14333, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14325, - "src": "3189:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14334, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14327, - "src": "3192:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 14335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3195:28:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", - "typeString": "literal_string \"SafeMath: division by zero\"" - }, - "value": "SafeMath: division by zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", - "typeString": "literal_string \"SafeMath: division by zero\"" - } - ], - "id": 14332, - "name": "div", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14339, - 14367 - ], - "referencedDeclaration": 14367, - "src": "3185:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3185:39:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14331, - "id": 14337, - "nodeType": "Return", - "src": "3178:46:86" - } - ] - }, - "documentation": { - "id": 14323, - "nodeType": "StructuredDocumentation", - "src": "2645:451:86", - "text": " @dev Returns the integer division of two unsigned integers. Reverts on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14339, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14325, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3114:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3114:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14327, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3125:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3125:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3113:22:86" - }, - "returnParameters": { - "id": 14331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14339, - "src": "3159:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3159:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3158:9:86" - }, - "scope": 14409, - "src": "3101:130:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14366, - "nodeType": "Block", - "src": "3808:177:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14352, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14344, - "src": "3826:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3830:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3826:5:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14355, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14346, - "src": "3833:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14351, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3818:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3818:28:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14357, - "nodeType": "ExpressionStatement", - "src": "3818:28:86" - }, - { - "assignments": [ - 14359 - ], - "declarations": [ - { - "constant": false, - "id": 14359, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14366, - "src": "3856:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14358, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3856:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 14363, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14360, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14342, - "src": "3868:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 14361, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14344, - "src": "3872:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3868:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3856:17:86" - }, - { - "expression": { - "argumentTypes": null, - "id": 14364, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14359, - "src": "3977:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14350, - "id": 14365, - "nodeType": "Return", - "src": "3970:8:86" - } - ] - }, - "documentation": { - "id": 14340, - "nodeType": "StructuredDocumentation", - "src": "3237:471:86", - "text": " @dev Returns the integer division of two unsigned integers. Reverts with custom message on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14367, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14342, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3726:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3726:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14344, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3737:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14343, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3737:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14346, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3748:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14345, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3748:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3725:50:86" - }, - "returnParameters": { - "id": 14350, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14349, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14367, - "src": "3799:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3799:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3798:9:86" - }, - "scope": 14409, - "src": "3713:272:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14383, - "nodeType": "Block", - "src": "4503:61:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 14378, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14370, - "src": "4524:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 14379, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14372, - "src": "4527:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 14380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4530:26:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", - "typeString": "literal_string \"SafeMath: modulo by zero\"" - }, - "value": "SafeMath: modulo by zero" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", - "typeString": "literal_string \"SafeMath: modulo by zero\"" - } - ], - "id": 14377, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 14384, - 14408 - ], - "referencedDeclaration": 14408, - "src": "4520:3:86", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,string memory) pure returns (uint256)" - } - }, - "id": 14381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4520:37:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14376, - "id": 14382, - "nodeType": "Return", - "src": "4513:44:86" - } - ] - }, - "documentation": { - "id": 14368, - "nodeType": "StructuredDocumentation", - "src": "3991:440:86", - "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n Reverts when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14384, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14370, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4449:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4449:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14372, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4460:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4460:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4448:22:86" - }, - "returnParameters": { - "id": 14376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14375, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14384, - "src": "4494:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14374, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4494:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4493:9:86" - }, - "scope": 14409, - "src": "4436:128:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 14407, - "nodeType": "Block", - "src": "5130:68:86", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14397, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14389, - "src": "5148:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 14398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5153:1:86", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5148:6:86", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 14400, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14391, - "src": "5156:12:86", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 14396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5140:7:86", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 14401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5140:29:86", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14402, - "nodeType": "ExpressionStatement", - "src": "5140:29:86" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 14403, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14387, - "src": "5186:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "id": 14404, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14389, - "src": "5190:1:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5186:5:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 14395, - "id": 14406, - "nodeType": "Return", - "src": "5179:12:86" - } - ] - }, - "documentation": { - "id": 14385, - "nodeType": "StructuredDocumentation", - "src": "4570:460:86", - "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n Reverts with custom message when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." - }, - "id": 14408, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 14392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14387, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5048:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14386, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5048:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14389, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5059:9:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14388, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5059:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 14391, - "mutability": "mutable", - "name": "errorMessage", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5070:26:86", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5070:6:86", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5047:50:86" - }, - "returnParameters": { - "id": 14395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14394, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 14408, - "src": "5121:7:86", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14393, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5121:7:86", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5120:9:86" - }, - "scope": 14409, - "src": "5035:163:86", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 14410, - "src": "622:4578:86" - } - ], - "src": "33:5168:86" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.900Z", - "devdoc": { - "details": "Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/SafeMathExtended.json b/build/contracts/SafeMathExtended.json deleted file mode 100644 index 33b682f87..000000000 --- a/build/contracts/SafeMathExtended.json +++ /dev/null @@ -1,8269 +0,0 @@ -{ - "contractName": "SafeMathExtended", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Unsigned math operations with safety checks that revert on error\",\"kind\":\"dev\",\"methods\":{},\"title\":\"SafeMathExtended\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":\"SafeMathExtended\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205208dcf09aa62e72db6df9cb1e400bdc5214394cd1ac6ce70409012e6b4de54064736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205208dcf09aa62e72db6df9cb1e400bdc5214394cd1ac6ce70409012e6b4de54064736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "133:3895:76:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "133:3895:76:-:0;;;;;;;;", - "source": "pragma solidity ^0.6.0;\n\n/**\n * @title SafeMathExtended\n * @dev Unsigned math operations with safety checks that revert on error\n */\nlibrary SafeMathExtended\n{\n\t/**\n\t* @dev Adds two unsigned integers, reverts on overflow.\n\t*/\n\tfunction add(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\tuint256 c = a + b;\n\t\trequire(c >= a);\n\t\treturn c;\n\t}\n\n\t/**\n\t* @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).\n\t*/\n\tfunction sub(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\trequire(b <= a);\n\t\tuint256 c = a - b;\n\t\treturn c;\n\t}\n\n\t/**\n\t* @dev Multiplies two unsigned integers, reverts on overflow.\n\t*/\n\tfunction mul(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\t// Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n\t\t// benefit is lost if 'b' is also tested.\n\t\t// See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\n\t\tif (a == 0)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t\tuint256 c = a * b;\n\t\trequire(c / a == b);\n\t\treturn c;\n\t}\n\n\t/**\n\t* @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.\n\t*/\n\tfunction div(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\t\t// Solidity only automatically asserts when dividing by 0\n\t\t\trequire(b > 0);\n\t\t\tuint256 c = a / b;\n\t\t\t// assert(a == b * c + a % b); // There is no case in which this doesn't hold\n\t\t\treturn c;\n\t}\n\n\t/**\n\t* @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),\n\t* reverts when dividing by zero.\n\t*/\n\tfunction mod(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\trequire(b != 0);\n\t\treturn a % b;\n\t}\n\n\t/**\n\t* @dev Returns the largest of two numbers.\n\t*/\n\tfunction max(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\treturn a >= b ? a : b;\n\t}\n\n\t/**\n\t* @dev Returns the smallest of two numbers.\n\t*/\n\tfunction min(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\treturn a < b ? a : b;\n\t}\n\n\t/**\n\t* @dev Multiplies the a by the fraction b/c\n\t*/\n\tfunction mulByFraction(uint256 a, uint256 b, uint256 c) internal pure returns (uint256)\n\t{\n\t\treturn div(mul(a, b), c);\n\t}\n\n\t/**\n\t* @dev Return b percents of a (equivalent to a percents of b)\n\t*/\n\tfunction percentage(uint256 a, uint256 b) internal pure returns (uint256)\n\t{\n\t\treturn mulByFraction(a, b, 100);\n\t}\n\n\t/**\n\t* @dev Returns the base 2 log of x\n\t* @notice Source : https://ethereum.stackexchange.com/questions/8086/logarithm-math-operation-in-solidity\n\t*/\n\tfunction log(uint x) internal pure returns (uint y)\n\t{\n\t\tassembly\n\t\t{\n\t\t\tlet arg := x\n\t\t\tx := sub(x,1)\n\t\t\tx := or(x, div(x, 0x02))\n\t\t\tx := or(x, div(x, 0x04))\n\t\t\tx := or(x, div(x, 0x10))\n\t\t\tx := or(x, div(x, 0x100))\n\t\t\tx := or(x, div(x, 0x10000))\n\t\t\tx := or(x, div(x, 0x100000000))\n\t\t\tx := or(x, div(x, 0x10000000000000000))\n\t\t\tx := or(x, div(x, 0x100000000000000000000000000000000))\n\t\t\tx := add(x, 1)\n\t\t\tlet m := mload(0x40)\n\t\t\tmstore(m, 0xf8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd)\n\t\t\tmstore(add(m,0x20), 0xf5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe)\n\t\t\tmstore(add(m,0x40), 0xf6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616)\n\t\t\tmstore(add(m,0x60), 0xc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff)\n\t\t\tmstore(add(m,0x80), 0xf7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e)\n\t\t\tmstore(add(m,0xa0), 0xe39ed557db96902cd38ed14fad815115c786af479b7e83247363534337271707)\n\t\t\tmstore(add(m,0xc0), 0xc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d2362422606)\n\t\t\tmstore(add(m,0xe0), 0x753a6d1b65325d0c552a4d1345224105391a310b29122104190a110309020100)\n\t\t\tmstore(0x40, add(m, 0x100))\n\t\t\tlet magic := 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff\n\t\t\tlet shift := 0x100000000000000000000000000000000000000000000000000000000000000\n\t\t\tlet a := div(mul(x, magic), shift)\n\t\t\ty := div(mload(add(m,sub(255,a))), shift)\n\t\t\ty := add(y, mul(256, gt(arg, 0x8000000000000000000000000000000000000000000000000000000000000000)))\n\t\t}\n\t}\n}\n", - "sourcePath": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "ast": { - "absolutePath": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "exportedSymbols": { - "SafeMathExtended": [ - 13484 - ] - }, - "id": 13485, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13268, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:76" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 13269, - "nodeType": "StructuredDocumentation", - "src": "25:107:76", - "text": " @title SafeMathExtended\n @dev Unsigned math operations with safety checks that revert on error" - }, - "fullyImplemented": true, - "id": 13484, - "linearizedBaseContracts": [ - 13484 - ], - "name": "SafeMathExtended", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13293, - "nodeType": "Block", - "src": "295:56:76", - "statements": [ - { - "assignments": [ - 13280 - ], - "declarations": [ - { - "constant": false, - "id": 13280, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13293, - "src": "299:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "299:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13284, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13281, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13272, - "src": "311:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 13282, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13274, - "src": "315:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "311:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "299:17:76" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13286, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13280, - "src": "328:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 13287, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13272, - "src": "333:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "328:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13285, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "320:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "320:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13290, - "nodeType": "ExpressionStatement", - "src": "320:15:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13291, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13280, - "src": "346:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13278, - "id": 13292, - "nodeType": "Return", - "src": "339:8:76" - } - ] - }, - "documentation": { - "id": 13270, - "nodeType": "StructuredDocumentation", - "src": "161:64:76", - "text": " @dev Adds two unsigned integers, reverts on overflow." - }, - "id": 13294, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13272, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "240:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13271, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "240:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13274, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "251:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "251:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "239:22:76" - }, - "returnParameters": { - "id": 13278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13277, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "285:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "285:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "284:9:76" - }, - "scope": 13484, - "src": "227:124:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13318, - "nodeType": "Block", - "src": "538:56:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13305, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13299, - "src": "550:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 13306, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13297, - "src": "555:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "550:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13304, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "542:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "542:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13309, - "nodeType": "ExpressionStatement", - "src": "542:15:76" - }, - { - "assignments": [ - 13311 - ], - "declarations": [ - { - "constant": false, - "id": 13311, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13318, - "src": "561:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13310, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "561:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13315, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13312, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13297, - "src": "573:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 13313, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13299, - "src": "577:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "573:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "561:17:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13316, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13311, - "src": "589:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13303, - "id": 13317, - "nodeType": "Return", - "src": "582:8:76" - } - ] - }, - "documentation": { - "id": 13295, - "nodeType": "StructuredDocumentation", - "src": "354:114:76", - "text": " @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend)." - }, - "id": 13319, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13297, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "483:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "483:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13299, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "494:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13298, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "494:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "482:22:76" - }, - "returnParameters": { - "id": 13303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13302, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "528:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "528:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:76" - }, - "scope": 13484, - "src": "470:124:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13352, - "nodeType": "Block", - "src": "737:294:76", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13329, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "944:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "949:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "944:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13335, - "nodeType": "IfStatement", - "src": "940:32:76", - "trueBody": { - "id": 13334, - "nodeType": "Block", - "src": "954:18:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "966:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 13328, - "id": 13333, - "nodeType": "Return", - "src": "959:8:76" - } - ] - } - }, - { - "assignments": [ - 13337 - ], - "declarations": [ - { - "constant": false, - "id": 13337, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13352, - "src": "975:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "975:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13341, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13338, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "987:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 13339, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13324, - "src": "991:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "987:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "975:17:76" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13343, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13337, - "src": "1004:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 13344, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "1008:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1004:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 13346, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13324, - "src": "1013:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1004:10:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13342, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "996:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "996:19:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13349, - "nodeType": "ExpressionStatement", - "src": "996:19:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13350, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13337, - "src": "1026:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13328, - "id": 13351, - "nodeType": "Return", - "src": "1019:8:76" - } - ] - }, - "documentation": { - "id": 13320, - "nodeType": "StructuredDocumentation", - "src": "597:70:76", - "text": " @dev Multiplies two unsigned integers, reverts on overflow." - }, - "id": 13353, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mul", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13322, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "682:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13321, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "682:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13324, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "693:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "693:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "681:22:76" - }, - "returnParameters": { - "id": 13328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "727:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "727:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "726:9:76" - }, - "scope": 13484, - "src": "669:362:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13377, - "nodeType": "Block", - "src": "1215:200:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13364, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13358, - "src": "1289:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1293:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1289:5:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13363, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1281:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1281:14:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13368, - "nodeType": "ExpressionStatement", - "src": "1281:14:76" - }, - { - "assignments": [ - 13370 - ], - "declarations": [ - { - "constant": false, - "id": 13370, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13377, - "src": "1300:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1300:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13374, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13371, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13356, - "src": "1312:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 13372, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13358, - "src": "1316:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1312:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1300:17:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13375, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13370, - "src": "1410:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13362, - "id": 13376, - "nodeType": "Return", - "src": "1403:8:76" - } - ] - }, - "documentation": { - "id": 13354, - "nodeType": "StructuredDocumentation", - "src": "1034:111:76", - "text": " @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero." - }, - "id": 13378, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13356, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1160:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1160:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13358, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1171:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13357, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1171:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1159:22:76" - }, - "returnParameters": { - "id": 13362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1205:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1205:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1204:9:76" - }, - "scope": 13484, - "src": "1147:268:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13398, - "nodeType": "Block", - "src": "1620:39:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13389, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13383, - "src": "1632:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1637:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1632:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13388, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1624:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13393, - "nodeType": "ExpressionStatement", - "src": "1624:15:76" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13394, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13381, - "src": "1650:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "id": 13395, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13383, - "src": "1654:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1650:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13387, - "id": 13397, - "nodeType": "Return", - "src": "1643:12:76" - } - ] - }, - "documentation": { - "id": 13379, - "nodeType": "StructuredDocumentation", - "src": "1418:132:76", - "text": " @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),\n reverts when dividing by zero." - }, - "id": 13399, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13381, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1565:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13380, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1565:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13383, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1576:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1576:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1564:22:76" - }, - "returnParameters": { - "id": 13387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13386, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1610:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13385, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1610:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1609:9:76" - }, - "scope": 13484, - "src": "1552:107:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13416, - "nodeType": "Block", - "src": "1783:29:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13409, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13402, - "src": "1794:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 13410, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13404, - "src": "1799:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1794:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 13413, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13404, - "src": "1807:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1794:14:76", - "trueExpression": { - "argumentTypes": null, - "id": 13412, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13402, - "src": "1803:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13408, - "id": 13415, - "nodeType": "Return", - "src": "1787:21:76" - } - ] - }, - "documentation": { - "id": 13400, - "nodeType": "StructuredDocumentation", - "src": "1662:51:76", - "text": " @dev Returns the largest of two numbers." - }, - "id": 13417, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13402, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1728:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1728:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13404, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1739:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1739:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1727:22:76" - }, - "returnParameters": { - "id": 13408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13407, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1773:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1773:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1772:9:76" - }, - "scope": 13484, - "src": "1715:97:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13434, - "nodeType": "Block", - "src": "1937:28:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13427, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13420, - "src": "1948:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 13428, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13422, - "src": "1952:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1948:5:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 13431, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13422, - "src": "1960:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1948:13:76", - "trueExpression": { - "argumentTypes": null, - "id": 13430, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13420, - "src": "1956:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13426, - "id": 13433, - "nodeType": "Return", - "src": "1941:20:76" - } - ] - }, - "documentation": { - "id": 13418, - "nodeType": "StructuredDocumentation", - "src": "1815:52:76", - "text": " @dev Returns the smallest of two numbers." - }, - "id": 13435, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13420, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1882:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13419, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1882:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13422, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1893:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1893:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1881:22:76" - }, - "returnParameters": { - "id": 13426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13425, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1927:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13424, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1927:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1926:9:76" - }, - "scope": 13484, - "src": "1869:96:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13455, - "nodeType": "Block", - "src": "2111:32:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13449, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13438, - "src": "2130:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13450, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13440, - "src": "2133:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 13448, - "name": "mul", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13353, - "src": "2126:3:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 13451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2126:9:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13452, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13442, - "src": "2137:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 13447, - "name": "div", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13378, - "src": "2122:3:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 13453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2122:17:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13446, - "id": 13454, - "nodeType": "Return", - "src": "2115:24:76" - } - ] - }, - "documentation": { - "id": 13436, - "nodeType": "StructuredDocumentation", - "src": "1968:52:76", - "text": " @dev Multiplies the a by the fraction b/c" - }, - "id": 13456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mulByFraction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13438, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2045:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2045:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13440, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2056:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13439, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2056:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13442, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2067:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2067:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2044:33:76" - }, - "returnParameters": { - "id": 13446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2101:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2101:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2100:9:76" - }, - "scope": 13484, - "src": "2022:121:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13472, - "nodeType": "Block", - "src": "2293:39:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13467, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13459, - "src": "2318:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13468, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13461, - "src": "2321:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "313030", - "id": 13469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2324:3:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 13466, - "name": "mulByFraction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13456, - "src": "2304:13:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 13470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2304:24:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13465, - "id": 13471, - "nodeType": "Return", - "src": "2297:31:76" - } - ] - }, - "documentation": { - "id": 13457, - "nodeType": "StructuredDocumentation", - "src": "2146:70:76", - "text": " @dev Return b percents of a (equivalent to a percents of b)" - }, - "id": 13473, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentage", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13459, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2238:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13458, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13461, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2249:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13460, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2249:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:22:76" - }, - "returnParameters": { - "id": 13465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2283:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2283:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2282:9:76" - }, - "scope": 13484, - "src": "2218:114:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13482, - "nodeType": "Block", - "src": "2540:1486:76", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2555:1468:76", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "2560:12:76", - "value": { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2571:1:76" - }, - "variables": [ - { - "name": "arg", - "nodeType": "YulTypedName", - "src": "2564:3:76", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2576:13:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2585:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2587:1:76", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2581:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2581:8:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2576:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2593:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2601:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2608:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2611:4:76", - "type": "", - "value": "0x02" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2604:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2604:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2598:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2598:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2593:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2621:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2629:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2636:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2639:4:76", - "type": "", - "value": "0x04" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2632:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2632:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2626:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2626:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2621:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2649:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2657:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2664:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2667:4:76", - "type": "", - "value": "0x10" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2660:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2660:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2654:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2654:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2649:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2677:25:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2685:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2692:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2695:5:76", - "type": "", - "value": "0x100" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2688:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2688:13:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2682:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2682:20:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2677:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2706:27:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2714:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2721:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2724:7:76", - "type": "", - "value": "0x10000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2717:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2717:15:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2711:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2711:22:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2706:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2737:31:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2745:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2752:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2755:11:76", - "type": "", - "value": "0x100000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2748:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2748:19:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2742:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2742:26:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2737:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2772:39:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2780:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2787:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2790:19:76", - "type": "", - "value": "0x10000000000000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2783:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2783:27:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2777:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2777:34:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2772:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2815:55:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2823:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2830:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2833:35:76", - "type": "", - "value": "0x100000000000000000000000000000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2826:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2826:43:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2820:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2820:50:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2815:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2874:14:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2883:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2886:1:76", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2879:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2879:9:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2874:1:76" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "2892:20:76", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2907:4:76", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2901:5:76" - }, - "nodeType": "YulFunctionCall", - "src": "2901:11:76" - }, - "variables": [ - { - "name": "m", - "nodeType": "YulTypedName", - "src": "2896:1:76", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "2923:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2936:66:76", - "type": "", - "value": "0xf8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2916:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "2916:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "2916:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3018:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3020:4:76", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3014:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3014:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3027:66:76", - "type": "", - "value": "0xf5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3007:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3007:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3007:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3109:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3111:4:76", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3105:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3105:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3118:66:76", - "type": "", - "value": "0xf6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3098:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3098:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3098:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3200:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3202:4:76", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3196:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3196:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3209:66:76", - "type": "", - "value": "0xc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3189:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3189:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3189:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3291:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3293:4:76", - "type": "", - "value": "0x80" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3287:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3287:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3300:66:76", - "type": "", - "value": "0xf7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3280:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3280:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3280:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3382:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3384:4:76", - "type": "", - "value": "0xa0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3378:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3378:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3391:66:76", - "type": "", - "value": "0xe39ed557db96902cd38ed14fad815115c786af479b7e83247363534337271707" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3371:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3371:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3371:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3473:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3475:4:76", - "type": "", - "value": "0xc0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3469:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3469:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3482:66:76", - "type": "", - "value": "0xc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d2362422606" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3462:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3462:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3462:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3564:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3566:4:76", - "type": "", - "value": "0xe0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3560:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3560:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3573:66:76", - "type": "", - "value": "0x753a6d1b65325d0c552a4d1345224105391a310b29122104190a110309020100" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3553:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3553:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3553:87:76" - }, - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3651:4:76", - "type": "", - "value": "0x40" - }, - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3661:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3664:5:76", - "type": "", - "value": "0x100" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3657:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3657:13:76" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3644:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3644:27:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3644:27:76" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3675:77:76", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3688:64:76", - "type": "", - "value": "0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff" - }, - "variables": [ - { - "name": "magic", - "nodeType": "YulTypedName", - "src": "3679:5:76", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3756:78:76", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3769:65:76", - "type": "", - "value": "0x100000000000000000000000000000000000000000000000000000000000000" - }, - "variables": [ - { - "name": "shift", - "nodeType": "YulTypedName", - "src": "3760:5:76", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3838:34:76", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "3855:1:76" - }, - { - "name": "magic", - "nodeType": "YulIdentifier", - "src": "3858:5:76" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "3851:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3851:13:76" - }, - { - "name": "shift", - "nodeType": "YulIdentifier", - "src": "3866:5:76" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3847:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3847:25:76" - }, - "variables": [ - { - "name": "a", - "nodeType": "YulTypedName", - "src": "3842:1:76", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3876:41:76", - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3895:1:76" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3901:3:76", - "type": "", - "value": "255" - }, - { - "name": "a", - "nodeType": "YulIdentifier", - "src": "3905:1:76" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3897:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3897:10:76" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3891:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3891:17:76" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3885:5:76" - }, - "nodeType": "YulFunctionCall", - "src": "3885:24:76" - }, - { - "name": "shift", - "nodeType": "YulIdentifier", - "src": "3911:5:76" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3881:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3881:36:76" - }, - "variableNames": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3876:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3921:98:76", - "value": { - "arguments": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3930:1:76" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3937:3:76", - "type": "", - "value": "256" - }, - { - "arguments": [ - { - "name": "arg", - "nodeType": "YulIdentifier", - "src": "3945:3:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3950:66:76", - "type": "", - "value": "0x8000000000000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "3942:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "3942:75:76" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "3933:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3933:85:76" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3926:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3926:93:76" - }, - "variableNames": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3921:1:76" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2571:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2576:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2585:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2593:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2601:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2608:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2621:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2629:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2636:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2649:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2657:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2664:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2677:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2685:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2692:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2706:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2714:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2721:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2737:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2745:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2752:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2772:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2780:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2787:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2815:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2823:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2830:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2874:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2883:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "3855:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3876:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3921:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3930:1:76", - "valueSize": 1 - } - ], - "id": 13481, - "nodeType": "InlineAssembly", - "src": "2544:1479:76" - } - ] - }, - "documentation": { - "id": 13474, - "nodeType": "StructuredDocumentation", - "src": "2335:150:76", - "text": " @dev Returns the base 2 log of x\n @notice Source : https://ethereum.stackexchange.com/questions/8086/logarithm-math-operation-in-solidity" - }, - "id": 13483, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13476, - "mutability": "mutable", - "name": "x", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13483, - "src": "2500:6:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13475, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2500:4:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2499:8:76" - }, - "returnParameters": { - "id": 13480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13479, - "mutability": "mutable", - "name": "y", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13483, - "src": "2531:6:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2531:4:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2530:8:76" - }, - "scope": 13484, - "src": "2487:1539:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13485, - "src": "133:3895:76" - } - ], - "src": "0:4029:76" - }, - "legacyAST": { - "absolutePath": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "exportedSymbols": { - "SafeMathExtended": [ - 13484 - ] - }, - "id": 13485, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 13268, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:76" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 13269, - "nodeType": "StructuredDocumentation", - "src": "25:107:76", - "text": " @title SafeMathExtended\n @dev Unsigned math operations with safety checks that revert on error" - }, - "fullyImplemented": true, - "id": 13484, - "linearizedBaseContracts": [ - 13484 - ], - "name": "SafeMathExtended", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 13293, - "nodeType": "Block", - "src": "295:56:76", - "statements": [ - { - "assignments": [ - 13280 - ], - "declarations": [ - { - "constant": false, - "id": 13280, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13293, - "src": "299:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13279, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "299:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13284, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13281, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13272, - "src": "311:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 13282, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13274, - "src": "315:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "311:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "299:17:76" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13286, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13280, - "src": "328:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 13287, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13272, - "src": "333:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "328:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13285, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "320:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "320:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13290, - "nodeType": "ExpressionStatement", - "src": "320:15:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13291, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13280, - "src": "346:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13278, - "id": 13292, - "nodeType": "Return", - "src": "339:8:76" - } - ] - }, - "documentation": { - "id": 13270, - "nodeType": "StructuredDocumentation", - "src": "161:64:76", - "text": " @dev Adds two unsigned integers, reverts on overflow." - }, - "id": 13294, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13272, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "240:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13271, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "240:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13274, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "251:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "251:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "239:22:76" - }, - "returnParameters": { - "id": 13278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13277, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13294, - "src": "285:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "285:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "284:9:76" - }, - "scope": 13484, - "src": "227:124:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13318, - "nodeType": "Block", - "src": "538:56:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13305, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13299, - "src": "550:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 13306, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13297, - "src": "555:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "550:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13304, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "542:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "542:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13309, - "nodeType": "ExpressionStatement", - "src": "542:15:76" - }, - { - "assignments": [ - 13311 - ], - "declarations": [ - { - "constant": false, - "id": 13311, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13318, - "src": "561:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13310, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "561:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13315, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13312, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13297, - "src": "573:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 13313, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13299, - "src": "577:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "573:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "561:17:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13316, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13311, - "src": "589:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13303, - "id": 13317, - "nodeType": "Return", - "src": "582:8:76" - } - ] - }, - "documentation": { - "id": 13295, - "nodeType": "StructuredDocumentation", - "src": "354:114:76", - "text": " @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend)." - }, - "id": 13319, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13297, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "483:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "483:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13299, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "494:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13298, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "494:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "482:22:76" - }, - "returnParameters": { - "id": 13303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13302, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13319, - "src": "528:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "528:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:76" - }, - "scope": 13484, - "src": "470:124:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13352, - "nodeType": "Block", - "src": "737:294:76", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13329, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "944:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "949:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "944:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 13335, - "nodeType": "IfStatement", - "src": "940:32:76", - "trueBody": { - "id": 13334, - "nodeType": "Block", - "src": "954:18:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "966:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 13328, - "id": 13333, - "nodeType": "Return", - "src": "959:8:76" - } - ] - } - }, - { - "assignments": [ - 13337 - ], - "declarations": [ - { - "constant": false, - "id": 13337, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13352, - "src": "975:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "975:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13341, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13338, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "987:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 13339, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13324, - "src": "991:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "987:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "975:17:76" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13343, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13337, - "src": "1004:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 13344, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13322, - "src": "1008:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1004:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 13346, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13324, - "src": "1013:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1004:10:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13342, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "996:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "996:19:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13349, - "nodeType": "ExpressionStatement", - "src": "996:19:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13350, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13337, - "src": "1026:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13328, - "id": 13351, - "nodeType": "Return", - "src": "1019:8:76" - } - ] - }, - "documentation": { - "id": 13320, - "nodeType": "StructuredDocumentation", - "src": "597:70:76", - "text": " @dev Multiplies two unsigned integers, reverts on overflow." - }, - "id": 13353, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mul", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13322, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "682:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13321, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "682:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13324, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "693:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "693:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "681:22:76" - }, - "returnParameters": { - "id": 13328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13327, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13353, - "src": "727:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13326, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "727:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "726:9:76" - }, - "scope": 13484, - "src": "669:362:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13377, - "nodeType": "Block", - "src": "1215:200:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13364, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13358, - "src": "1289:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1293:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1289:5:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13363, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1281:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1281:14:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13368, - "nodeType": "ExpressionStatement", - "src": "1281:14:76" - }, - { - "assignments": [ - 13370 - ], - "declarations": [ - { - "constant": false, - "id": 13370, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13377, - "src": "1300:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13369, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1300:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 13374, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13371, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13356, - "src": "1312:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 13372, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13358, - "src": "1316:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1312:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1300:17:76" - }, - { - "expression": { - "argumentTypes": null, - "id": 13375, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13370, - "src": "1410:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13362, - "id": 13376, - "nodeType": "Return", - "src": "1403:8:76" - } - ] - }, - "documentation": { - "id": 13354, - "nodeType": "StructuredDocumentation", - "src": "1034:111:76", - "text": " @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero." - }, - "id": 13378, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13356, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1160:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1160:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13358, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1171:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13357, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1171:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1159:22:76" - }, - "returnParameters": { - "id": 13362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13378, - "src": "1205:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1205:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1204:9:76" - }, - "scope": 13484, - "src": "1147:268:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13398, - "nodeType": "Block", - "src": "1620:39:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13389, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13383, - "src": "1632:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1637:1:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1632:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 13388, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1624:7:76", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 13392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1624:15:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13393, - "nodeType": "ExpressionStatement", - "src": "1624:15:76" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13394, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13381, - "src": "1650:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "id": 13395, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13383, - "src": "1654:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1650:5:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13387, - "id": 13397, - "nodeType": "Return", - "src": "1643:12:76" - } - ] - }, - "documentation": { - "id": 13379, - "nodeType": "StructuredDocumentation", - "src": "1418:132:76", - "text": " @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),\n reverts when dividing by zero." - }, - "id": 13399, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mod", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13381, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1565:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13380, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1565:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13383, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1576:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1576:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1564:22:76" - }, - "returnParameters": { - "id": 13387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13386, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13399, - "src": "1610:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13385, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1610:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1609:9:76" - }, - "scope": 13484, - "src": "1552:107:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13416, - "nodeType": "Block", - "src": "1783:29:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13409, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13402, - "src": "1794:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 13410, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13404, - "src": "1799:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1794:6:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 13413, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13404, - "src": "1807:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1794:14:76", - "trueExpression": { - "argumentTypes": null, - "id": 13412, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13402, - "src": "1803:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13408, - "id": 13415, - "nodeType": "Return", - "src": "1787:21:76" - } - ] - }, - "documentation": { - "id": 13400, - "nodeType": "StructuredDocumentation", - "src": "1662:51:76", - "text": " @dev Returns the largest of two numbers." - }, - "id": 13417, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13402, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1728:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1728:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13404, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1739:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1739:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1727:22:76" - }, - "returnParameters": { - "id": 13408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13407, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13417, - "src": "1773:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1773:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1772:9:76" - }, - "scope": 13484, - "src": "1715:97:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13434, - "nodeType": "Block", - "src": "1937:28:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 13429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 13427, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13420, - "src": "1948:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 13428, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13422, - "src": "1952:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1948:5:76", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 13431, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13422, - "src": "1960:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 13432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1948:13:76", - "trueExpression": { - "argumentTypes": null, - "id": 13430, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13420, - "src": "1956:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13426, - "id": 13433, - "nodeType": "Return", - "src": "1941:20:76" - } - ] - }, - "documentation": { - "id": 13418, - "nodeType": "StructuredDocumentation", - "src": "1815:52:76", - "text": " @dev Returns the smallest of two numbers." - }, - "id": 13435, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13420, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1882:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13419, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1882:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13422, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1893:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1893:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1881:22:76" - }, - "returnParameters": { - "id": 13426, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13425, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13435, - "src": "1927:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13424, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1927:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1926:9:76" - }, - "scope": 13484, - "src": "1869:96:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13455, - "nodeType": "Block", - "src": "2111:32:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13449, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13438, - "src": "2130:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13450, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13440, - "src": "2133:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 13448, - "name": "mul", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13353, - "src": "2126:3:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 13451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2126:9:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13452, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13442, - "src": "2137:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 13447, - "name": "div", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13378, - "src": "2122:3:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 13453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2122:17:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13446, - "id": 13454, - "nodeType": "Return", - "src": "2115:24:76" - } - ] - }, - "documentation": { - "id": 13436, - "nodeType": "StructuredDocumentation", - "src": "1968:52:76", - "text": " @dev Multiplies the a by the fraction b/c" - }, - "id": 13456, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mulByFraction", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13438, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2045:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2045:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13440, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2056:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13439, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2056:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13442, - "mutability": "mutable", - "name": "c", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2067:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2067:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2044:33:76" - }, - "returnParameters": { - "id": 13446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13456, - "src": "2101:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2101:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2100:9:76" - }, - "scope": 13484, - "src": "2022:121:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13472, - "nodeType": "Block", - "src": "2293:39:76", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 13467, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13459, - "src": "2318:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 13468, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13461, - "src": "2321:1:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "313030", - "id": 13469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2324:3:76", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - } - ], - "id": 13466, - "name": "mulByFraction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13456, - "src": "2304:13:76", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" - } - }, - "id": 13470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2304:24:76", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 13465, - "id": 13471, - "nodeType": "Return", - "src": "2297:31:76" - } - ] - }, - "documentation": { - "id": 13457, - "nodeType": "StructuredDocumentation", - "src": "2146:70:76", - "text": " @dev Return b percents of a (equivalent to a percents of b)" - }, - "id": 13473, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentage", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13459, - "mutability": "mutable", - "name": "a", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2238:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13458, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2238:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 13461, - "mutability": "mutable", - "name": "b", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2249:9:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13460, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2249:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2237:22:76" - }, - "returnParameters": { - "id": 13465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13464, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13473, - "src": "2283:7:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2283:7:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2282:9:76" - }, - "scope": 13484, - "src": "2218:114:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 13482, - "nodeType": "Block", - "src": "2540:1486:76", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2555:1468:76", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "2560:12:76", - "value": { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2571:1:76" - }, - "variables": [ - { - "name": "arg", - "nodeType": "YulTypedName", - "src": "2564:3:76", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2576:13:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2585:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2587:1:76", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2581:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2581:8:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2576:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2593:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2601:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2608:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2611:4:76", - "type": "", - "value": "0x02" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2604:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2604:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2598:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2598:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2593:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2621:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2629:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2636:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2639:4:76", - "type": "", - "value": "0x04" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2632:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2632:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2626:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2626:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2621:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2649:24:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2657:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2664:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2667:4:76", - "type": "", - "value": "0x10" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2660:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2660:12:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2654:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2654:19:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2649:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2677:25:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2685:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2692:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2695:5:76", - "type": "", - "value": "0x100" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2688:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2688:13:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2682:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2682:20:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2677:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2706:27:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2714:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2721:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2724:7:76", - "type": "", - "value": "0x10000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2717:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2717:15:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2711:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2711:22:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2706:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2737:31:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2745:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2752:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2755:11:76", - "type": "", - "value": "0x100000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2748:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2748:19:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2742:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2742:26:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2737:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2772:39:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2780:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2787:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2790:19:76", - "type": "", - "value": "0x10000000000000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2783:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2783:27:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2777:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2777:34:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2772:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2815:55:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2823:1:76" - }, - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2830:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2833:35:76", - "type": "", - "value": "0x100000000000000000000000000000000" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "2826:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2826:43:76" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "2820:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "2820:50:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2815:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2874:14:76", - "value": { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2883:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2886:1:76", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2879:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "2879:9:76" - }, - "variableNames": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "2874:1:76" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "2892:20:76", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2907:4:76", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2901:5:76" - }, - "nodeType": "YulFunctionCall", - "src": "2901:11:76" - }, - "variables": [ - { - "name": "m", - "nodeType": "YulTypedName", - "src": "2896:1:76", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "2923:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2936:66:76", - "type": "", - "value": "0xf8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2916:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "2916:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "2916:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3018:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3020:4:76", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3014:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3014:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3027:66:76", - "type": "", - "value": "0xf5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3007:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3007:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3007:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3109:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3111:4:76", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3105:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3105:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3118:66:76", - "type": "", - "value": "0xf6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3098:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3098:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3098:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3200:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3202:4:76", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3196:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3196:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3209:66:76", - "type": "", - "value": "0xc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3189:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3189:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3189:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3291:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3293:4:76", - "type": "", - "value": "0x80" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3287:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3287:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3300:66:76", - "type": "", - "value": "0xf7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3280:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3280:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3280:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3382:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3384:4:76", - "type": "", - "value": "0xa0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3378:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3378:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3391:66:76", - "type": "", - "value": "0xe39ed557db96902cd38ed14fad815115c786af479b7e83247363534337271707" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3371:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3371:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3371:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3473:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3475:4:76", - "type": "", - "value": "0xc0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3469:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3469:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3482:66:76", - "type": "", - "value": "0xc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d2362422606" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3462:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3462:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3462:87:76" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3564:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3566:4:76", - "type": "", - "value": "0xe0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3560:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3560:11:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3573:66:76", - "type": "", - "value": "0x753a6d1b65325d0c552a4d1345224105391a310b29122104190a110309020100" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3553:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3553:87:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3553:87:76" - }, - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3651:4:76", - "type": "", - "value": "0x40" - }, - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3661:1:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3664:5:76", - "type": "", - "value": "0x100" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3657:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3657:13:76" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3644:6:76" - }, - "nodeType": "YulFunctionCall", - "src": "3644:27:76" - }, - "nodeType": "YulExpressionStatement", - "src": "3644:27:76" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3675:77:76", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3688:64:76", - "type": "", - "value": "0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff" - }, - "variables": [ - { - "name": "magic", - "nodeType": "YulTypedName", - "src": "3679:5:76", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3756:78:76", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3769:65:76", - "type": "", - "value": "0x100000000000000000000000000000000000000000000000000000000000000" - }, - "variables": [ - { - "name": "shift", - "nodeType": "YulTypedName", - "src": "3760:5:76", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3838:34:76", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "x", - "nodeType": "YulIdentifier", - "src": "3855:1:76" - }, - { - "name": "magic", - "nodeType": "YulIdentifier", - "src": "3858:5:76" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "3851:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3851:13:76" - }, - { - "name": "shift", - "nodeType": "YulIdentifier", - "src": "3866:5:76" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3847:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3847:25:76" - }, - "variables": [ - { - "name": "a", - "nodeType": "YulTypedName", - "src": "3842:1:76", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3876:41:76", - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "name": "m", - "nodeType": "YulIdentifier", - "src": "3895:1:76" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3901:3:76", - "type": "", - "value": "255" - }, - { - "name": "a", - "nodeType": "YulIdentifier", - "src": "3905:1:76" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3897:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3897:10:76" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3891:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3891:17:76" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3885:5:76" - }, - "nodeType": "YulFunctionCall", - "src": "3885:24:76" - }, - { - "name": "shift", - "nodeType": "YulIdentifier", - "src": "3911:5:76" - } - ], - "functionName": { - "name": "div", - "nodeType": "YulIdentifier", - "src": "3881:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3881:36:76" - }, - "variableNames": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3876:1:76" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3921:98:76", - "value": { - "arguments": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3930:1:76" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3937:3:76", - "type": "", - "value": "256" - }, - { - "arguments": [ - { - "name": "arg", - "nodeType": "YulIdentifier", - "src": "3945:3:76" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3950:66:76", - "type": "", - "value": "0x8000000000000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "3942:2:76" - }, - "nodeType": "YulFunctionCall", - "src": "3942:75:76" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "3933:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3933:85:76" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3926:3:76" - }, - "nodeType": "YulFunctionCall", - "src": "3926:93:76" - }, - "variableNames": [ - { - "name": "y", - "nodeType": "YulIdentifier", - "src": "3921:1:76" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2571:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2576:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2585:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2593:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2601:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2608:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2621:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2629:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2636:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2649:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2657:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2664:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2677:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2685:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2692:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2706:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2714:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2721:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2737:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2745:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2752:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2772:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2780:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2787:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2815:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2823:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2830:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2874:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "2883:1:76", - "valueSize": 1 - }, - { - "declaration": 13476, - "isOffset": false, - "isSlot": false, - "src": "3855:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3876:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3921:1:76", - "valueSize": 1 - }, - { - "declaration": 13479, - "isOffset": false, - "isSlot": false, - "src": "3930:1:76", - "valueSize": 1 - } - ], - "id": 13481, - "nodeType": "InlineAssembly", - "src": "2544:1479:76" - } - ] - }, - "documentation": { - "id": 13474, - "nodeType": "StructuredDocumentation", - "src": "2335:150:76", - "text": " @dev Returns the base 2 log of x\n @notice Source : https://ethereum.stackexchange.com/questions/8086/logarithm-math-operation-in-solidity" - }, - "id": 13483, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 13477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13476, - "mutability": "mutable", - "name": "x", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13483, - "src": "2500:6:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13475, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2500:4:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2499:8:76" - }, - "returnParameters": { - "id": 13480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13479, - "mutability": "mutable", - "name": "y", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 13483, - "src": "2531:6:76", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2531:4:76", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2530:8:76" - }, - "scope": 13484, - "src": "2487:1539:76", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 13485, - "src": "133:3895:76" - } - ], - "src": "0:4029:76" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.894Z", - "devdoc": { - "details": "Unsigned math operations with safety checks that revert on error", - "kind": "dev", - "methods": {}, - "title": "SafeMathExtended", - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/SignatureVerifier.json b/build/contracts/SignatureVerifier.json deleted file mode 100644 index f91be4794..000000000 --- a/build/contracts/SignatureVerifier.json +++ /dev/null @@ -1,11434 +0,0 @@ -{ - "contractName": "SignatureVerifier", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":\"SignatureVerifier\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol\":{\"keccak256\":\"0xb59c042fe327f79a7c13fca4f0512c643545b51045a07517723dd1104fcb68f1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://42231705416aaefd95467b78933eb5dc4c71d5f0eebd3628f60cb2388109e4ec\",\"dweb:/ipfs/QmU7Eeejx7tGcAP14D1XinQgt4Mjfo2a3Ur7cipLPzjPqx\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol\":{\"keccak256\":\"0xba769d239982db0002541e750395aaceda605036bc1a7a1bb9982780c3cc206d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://d7404ee2d2a812df8af1b31efa41c40a4576fb361beccd044320a8bd3fe778e6\",\"dweb:/ipfs/QmaxWP1sWGHahrUBdfvrvTJJAuyoWoGRQ1Pz68qAJhLzZw\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1271/IERC1271.sol\":{\"keccak256\":\"0x5aacf5aa4d2f95e60146bc396f5ca94df0f224c1361bef93488e587bcefad1b3\",\"urls\":[\"bzz-raw://bcd2ab979ce9ebba488df57671a2e7cf8b169ba55a58503930bbf876ece99639\",\"dweb:/ipfs/QmYTS8gpAAWBPQ2Eazw9Ro74PmQGFwjaa3T6uAn5XCktQG\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Module.sol\":{\"keccak256\":\"0xb1e1ff5fcce00614303b0bb01c595a7d2f3496ae88bc2068e56ba9cd72ec8921\",\"urls\":[\"bzz-raw://a6b87d03a17727ce6fe6c5b0078a198898153ae8230345468479a9aa4560835d\",\"dweb:/ipfs/QmV4T7Wg8TS3uAVhnqMhqD6yZ7Qv8iouYnYrkTSCJirG2P\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/ERC1654/IERC1654.sol\":{\"keccak256\":\"0x7898850b7046bdfa2abccfe5c1dfc431cbb95c2814e5074cabeb462a32486fa6\",\"urls\":[\"bzz-raw://24fd636386fcd52ce7d0037806c56dd1227dffb8cb28fd29cd7eb39153176dd4\",\"dweb:/ipfs/QmNvwBKUJa8AaMKYmxrny2wRSENgiztbvRHPrbYR5yjKZK\"]},\"@iexec/solidity/contracts/ERC734/IERC734.sol\":{\"keccak256\":\"0x8c90e6571af80f3ccb1e04469cef3a5ac6d7ee02f61c8643bdceb5b8a141da62\",\"urls\":[\"bzz-raw://2402fc97239c6fd515910d4a6c367cabd24abcdc1c54c3090e64cdbaa9deb948\",\"dweb:/ipfs/Qma7jLg9bqkT8QeftRHgftGMZvSjqmsSoQZmWLhnwc2shy\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50600061001b610060565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350916000805160206103e3833981519152908290a35061005b610064565b61010f565b3390565b61006c610060565b6000546001600160a01b039081169116146100a25760405162461bcd60e51b8152600401610099906100da565b60405180910390fd5b600080546040516001600160a01b03909116906000805160206103e3833981519152908390a3600080546001600160a01b0319169055565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6102c58061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b1461006e575b600080fd5b61004e610081565b005b610058610109565b6040516100659190610200565b60405180910390f35b61004e61007c3660046101d2565b610118565b6100896101ce565b6000546001600160a01b039081169116146100bf5760405162461bcd60e51b81526004016100b69061025a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101206101ce565b6000546001600160a01b0390811691161461014d5760405162461bcd60e51b81526004016100b69061025a565b6001600160a01b0381166101735760405162461bcd60e51b81526004016100b690610214565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000602082840312156101e3578081fd5b81356001600160a01b03811681146101f9578182fd5b9392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220dc27329365c175f29b25d5ababae178a5760dc2bb1f0e566844bbd428531f8fc64736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063715018a6146100465780638da5cb5b14610050578063f2fde38b1461006e575b600080fd5b61004e610081565b005b610058610109565b6040516100659190610200565b60405180910390f35b61004e61007c3660046101d2565b610118565b6100896101ce565b6000546001600160a01b039081169116146100bf5760405162461bcd60e51b81526004016100b69061025a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6101206101ce565b6000546001600160a01b0390811691161461014d5760405162461bcd60e51b81526004016100b69061025a565b6001600160a01b0381166101735760405162461bcd60e51b81526004016100b690610214565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000602082840312156101e3578081fd5b81356001600160a01b03811681146101f9578182fd5b9392505050565b6001600160a01b0391909116815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220dc27329365c175f29b25d5ababae178a5760dc2bb1f0e566844bbd428531f8fc64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1502:4281:32:-:0;;;;;;;;;;;;-1:-1:-1;865:17:83;885:12;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:83;-1:-1:-1;;;;;907:18:83;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:83;-1:-1:-1;;;;;;;;;;;940:43:83;907:6;;940:43;-1:-1:-1;124:19:73;:17;:19::i;:::-;1502:4281:32;;590:104:81;677:10;590:104;:::o;1689:145:83:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;-1:-1:-1;;;;;;;;;;;1758:40:83;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;346:416:-1:-;546:2;560:47;;;531:18;;;873:19;266:34;913:14;;;246:55;320:12;;;517:245::o;:::-;1502:4281:32;;;;;;", - "deployedSourceMap": "1502:4281:32:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1689:145:83;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1983:240;;;;;;:::i;:::-;;:::i;1689:145::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;;;;;;;;;1795:1:::1;1779:6:::0;;1758:40:::1;::::0;-1:-1:-1;;;;;1779:6:83;;::::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1825:1;1808:19:::0;;-1:-1:-1;;;;;;1808:19:83::1;::::0;;1689:145::o;1066:77::-;1104:7;1130:6;-1:-1:-1;;;;;1130:6:83;1066:77;:::o;1983:240::-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:83;;;:22;;;1262:67;;;;-1:-1:-1;;;1262:67:83;;;;;;;:::i;:::-;-1:-1:-1;;;;;2071:22:83;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:83::1;;;;;;;:::i;:::-;2172:6;::::0;;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:83;;::::1;::::0;2172:6;::::1;::::0;2151:38:::1;::::0;::::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:83::1;-1:-1:-1::0;;;;;2199:17:83;;;::::1;::::0;;;::::1;::::0;;1983:240::o;590:104:81:-;677:10;590:104;:::o;142:241:-1:-;;246:2;234:9;225:7;221:23;217:32;214:2;;;-1:-1;;252:12;214:2;72:20;;-1:-1;;;;;2642:54;;2767:35;;2757:2;;-1:-1;;2806:12;2757:2;304:63;208:175;-1:-1;;;208:175::o;1235:222::-;-1:-1;;;;;2642:54;;;;461:37;;1362:2;1347:18;;1333:124::o;1464:416::-;1664:2;1678:47;;;735:2;1649:18;;;2414:19;771:34;2454:14;;;751:55;-1:-1;;;826:12;;;819:30;868:12;;;1635:245::o;1887:416::-;2087:2;2101:47;;;2072:18;;;2414:19;1155:34;2454:14;;;1135:55;1209:12;;;2058:245::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@iexec/solidity/contracts/ERC734/IERC734.sol\";\nimport \"@iexec/solidity/contracts/ERC1271/IERC1271.sol\";\nimport \"@iexec/solidity/contracts/ERC1654/IERC1654.sol\";\nimport \"../DelegateBase.sol\";\n\n\ncontract SignatureVerifier is DelegateBase\n{\n\t/**\n\t * Prepare message/structure predicat used for signing\n\t */\n\tfunction _toEthSignedMessage(bytes32 _msgHash)\n\tinternal pure returns (bytes memory)\n\t{\n\t\treturn abi.encodePacked('\\x19Ethereum Signed Message:\\n32', _msgHash);\n\t}\n\n\tfunction _toEthTypedStruct(bytes32 _structHash, bytes32 _domainHash)\n\tinternal pure returns (bytes memory)\n\t{\n\t\treturn abi.encodePacked('\\x19\\x01', _domainHash, _structHash);\n\t}\n\n\t/**\n\t * recover EOA signature (support both 65 bytes traditional and 64 bytes format EIP2098 format)\n\t */\n\tfunction _recover(bytes32 _hash, bytes memory _sign)\n\tinternal pure returns (address)\n\t{\n\t\tbytes32 r;\n\t\tbytes32 s;\n\t\tuint8 v;\n\n\t\tif (_sign.length == 65) // 65bytes: (r,s,v) form\n\t\t{\n\t\t\tassembly\n\t\t\t{\n\t\t\t\tr := mload(add(_sign, 0x20))\n\t\t\t\ts := mload(add(_sign, 0x40))\n\t\t\t\tv := byte(0, mload(add(_sign, 0x60)))\n\t\t\t}\n\t\t}\n\t\telse if (_sign.length == 64) // 64bytes: (r,vs) form → see EIP2098\n\t\t{\n\t\t\tassembly\n\t\t\t{\n\t\t\t\tr := mload(add(_sign, 0x20))\n\t\t\t\ts := and( mload(add(_sign, 0x40)), 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\t\t\t\tv := shr(7, byte(0, mload(add(_sign, 0x40))))\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\trevert('invalid-signature-format');\n\t\t}\n\n\t\tif (v < 27) v += 27;\n\t\trequire(v == 27 || v == 28, 'invalid-signature-v');\n\t\treturn ecrecover(_hash, v, r, s);\n\t}\n\n\t/**\n\t * Check if contract exist, otherwize assumed to be EOA\n\t */\n\tfunction _isContract(address account)\n\tinternal view returns (bool)\n\t{\n\t\t// According to EIP-1052, 0x0 is the value returned for not-yet created accounts\n\t\t// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned\n\t\t// for accounts without code, i.e. `keccak256('')`\n\t\tbytes32 codehash;\n\t\tbytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\n\t\t// solhint-disable-next-line no-inline-assembly\n\t\tassembly { codehash := extcodehash(account) }\n\t\treturn (codehash != accountHash && codehash != 0x0);\n\t}\n\n\t/**\n\t * Address to bytes32 casting to ERC734\n\t */\n\tfunction _addrToKey(address _addr)\n\tinternal pure returns (bytes32)\n\t{\n\t\treturn bytes32(uint256(_addr));\n\t}\n\n\t/**\n\t * Identity verification\n\t */\n\tfunction _checkIdentity(address _identity, address _candidate, uint256 _purpose)\n\tinternal view returns (bool valid)\n\t{\n\t\treturn _identity == _candidate || IERC734(_identity).keyHasPurpose(_addrToKey(_candidate), _purpose); // Simple address || ERC 734 identity contract\n\t}\n\n\tfunction _checkPresignature(address _identity, bytes32 _hash)\n\tinternal view returns (bool)\n\t{\n\t\treturn _identity != address(0) && _identity == m_presigned[_hash];\n\t}\n\n\tfunction _checkSignature(address _identity, bytes32 _hash, bytes memory _signature)\n\tinternal view returns (bool)\n\t{\n\t\tif (_isContract(_identity))\n\t\t{\n\t\t\ttry IERC1654(_identity).isValidSignature(_hash, _signature) returns (bytes4 value)\n\t\t\t{\n\t\t\t\treturn value == IERC1654(0).isValidSignature.selector;\n\t\t\t} catch (bytes memory /*lowLevelData*/) {}\n\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn _recover(_hash, _signature) == _identity;\n\t\t}\n\t}\n\n\tfunction _checkSignature(address _identity, bytes memory _predicat, bytes memory _signature)\n\tinternal view returns (bool)\n\t{\n\t\tif (_isContract(_identity))\n\t\t{\n\t\t\ttry IERC1271(_identity).isValidSignature(_predicat, _signature) returns (bytes4 value)\n\t\t\t{\n\t\t\t\treturn value == IERC1271(0).isValidSignature.selector;\n\t\t\t}\n\t\t\tcatch (bytes memory /*lowLevelData*/) {}\n\n\t\t\ttry IERC1654(_identity).isValidSignature(keccak256(_predicat), _signature) returns (bytes4 value)\n\t\t\t{\n\t\t\t\treturn value == IERC1654(0).isValidSignature.selector;\n\t\t\t}\n\t\t\tcatch (bytes memory /*lowLevelData*/) {}\n\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn _recover(keccak256(_predicat), _signature) == _identity;\n\t\t}\n\t}\n\n\tfunction _checkPresignatureOrSignature(address _identity, bytes32 _hash, bytes memory _signature)\n\tinternal view returns (bool)\n\t{\n\t\treturn _checkPresignature(_identity, _hash) || _checkSignature(_identity, _hash, _signature);\n\t}\n\n\tfunction _checkPresignatureOrSignature(address _identity, bytes memory _predicat, bytes memory _signature)\n\tinternal view returns (bool)\n\t{\n\t\treturn _checkPresignature(_identity, keccak256(_predicat)) || _checkSignature(_identity, _predicat, _signature);\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "exportedSymbols": { - "SignatureVerifier": [ - 8801 - ] - }, - "id": 8802, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8419, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:32" - }, - { - "id": 8420, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:32" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "file": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "id": 8421, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13328, - "src": "1301:54:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "file": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "id": 8422, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13149, - "src": "1356:56:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "file": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "id": 8423, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13186, - "src": "1413:56:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 8424, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 1659, - "src": "1470:29:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8425, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1532:12:32", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 8426, - "nodeType": "InheritanceSpecifier", - "src": "1532:12:32" - } - ], - "contractDependencies": [ - 309, - 1658, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8801, - "linearizedBaseContracts": [ - 8801, - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "SignatureVerifier", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 8440, - "nodeType": "Block", - "src": "1700:77:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "19457468657265756d205369676e6564204d6573736167653a0a3332", - "id": 8436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1728:34:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string \"\u0019Ethereum Signed Message:\n32\"" - }, - "value": "\u0019Ethereum Signed Message:\n32" - }, - { - "argumentTypes": null, - "id": 8437, - "name": "_msgHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8429, - "src": "1764:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string \"\u0019Ethereum Signed Message:\n32\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 8434, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1711:3:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1711:16:32", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1711:62:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 8433, - "id": 8439, - "nodeType": "Return", - "src": "1704:69:32" - } - ] - }, - "documentation": { - "id": 8427, - "nodeType": "StructuredDocumentation", - "src": "1548:64:32", - "text": " Prepare message/structure predicat used for signing" - }, - "id": 8441, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_toEthSignedMessage", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8429, - "mutability": "mutable", - "name": "_msgHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8441, - "src": "1643:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8428, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1643:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1642:18:32" - }, - "returnParameters": { - "id": 8433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8432, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8441, - "src": "1685:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1685:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1684:14:32" - }, - "scope": 8801, - "src": "1614:163:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8457, - "nodeType": "Block", - "src": "1888:69:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "1901", - "id": 8452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1916:10:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - "value": "\u0019\u0001" - }, - { - "argumentTypes": null, - "id": 8453, - "name": "_domainHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8445, - "src": "1928:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8454, - "name": "_structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8443, - "src": "1941:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 8450, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1899:3:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1899:16:32", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1899:54:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 8449, - "id": 8456, - "nodeType": "Return", - "src": "1892:61:32" - } - ] - }, - "documentation": null, - "id": 8458, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_toEthTypedStruct", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8443, - "mutability": "mutable", - "name": "_structHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1807:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8442, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1807:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8445, - "mutability": "mutable", - "name": "_domainHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1828:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8444, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1828:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1806:42:32" - }, - "returnParameters": { - "id": 8449, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8448, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1873:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8447, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1873:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1872:14:32" - }, - "scope": 8801, - "src": "1780:177:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8522, - "nodeType": "Block", - "src": "2154:733:32", - "statements": [ - { - "assignments": [ - 8469 - ], - "declarations": [ - { - "constant": false, - "id": 8469, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2158:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8468, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2158:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8470, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2158:9:32" - }, - { - "assignments": [ - 8472 - ], - "declarations": [ - { - "constant": false, - "id": 8472, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2171:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8471, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2171:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8473, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2171:9:32" - }, - { - "assignments": [ - 8475 - ], - "declarations": [ - { - "constant": false, - "id": 8475, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2184:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8474, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2184:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8476, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2184:9:32" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8477, - "name": "_sign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8463, - "src": "2202:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2202:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3635", - "id": 8479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2218:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65_by_1", - "typeString": "int_const 65" - }, - "value": "65" - }, - "src": "2202:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8483, - "name": "_sign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8463, - "src": "2412:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2412:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3634", - "id": 8485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2428:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "2412:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8493, - "nodeType": "Block", - "src": "2726:44:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e76616c69642d7369676e61747572652d666f726d6174", - "id": 8490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2738:26:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bd8109ce21237eb5a33faea603eb071141798f132df6d3ef4d09e9865996cefc", - "typeString": "literal_string \"invalid-signature-format\"" - }, - "value": "invalid-signature-format" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bd8109ce21237eb5a33faea603eb071141798f132df6d3ef4d09e9865996cefc", - "typeString": "literal_string \"invalid-signature-format\"" - } - ], - "id": 8489, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "2731:6:32", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 8491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2731:34:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8492, - "nodeType": "ExpressionStatement", - "src": "2731:34:32" - } - ] - }, - "id": 8494, - "nodeType": "IfStatement", - "src": "2408:362:32", - "trueBody": { - "id": 8488, - "nodeType": "Block", - "src": "2474:242:32", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2491:221:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2497:43:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2527:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2534:4:32", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2523:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2523:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2517:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2517:23:32" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "2497:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2545:112:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2575:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2582:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2571:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2571:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2565:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2565:23:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2590:66:32", - "type": "", - "value": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2550:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2550:107:32" - }, - "variableNames": [ - { - "name": "s", - "nodeType": "YulIdentifier", - "src": "2545:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2662:45:32", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2671:1:32", - "type": "", - "value": "7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2679:1:32", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2692:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2699:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2688:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2688:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2682:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2682:23:32" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "2674:4:32" - }, - "nodeType": "YulFunctionCall", - "src": "2674:32:32" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "2667:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2667:40:32" - }, - "variableNames": [ - { - "name": "v", - "nodeType": "YulIdentifier", - "src": "2662:1:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2527:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2575:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2692:5:32", - "valueSize": 1 - }, - { - "declaration": 8469, - "isOffset": false, - "isSlot": false, - "src": "2497:1:32", - "valueSize": 1 - }, - { - "declaration": 8472, - "isOffset": false, - "isSlot": false, - "src": "2545:1:32", - "valueSize": 1 - }, - { - "declaration": 8475, - "isOffset": false, - "isSlot": false, - "src": "2662:1:32", - "valueSize": 1 - } - ], - "id": 8487, - "nodeType": "InlineAssembly", - "src": "2479:233:32" - } - ] - } - }, - "id": 8495, - "nodeType": "IfStatement", - "src": "2198:572:32", - "trueBody": { - "id": 8482, - "nodeType": "Block", - "src": "2249:151:32", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2266:130:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2272:36:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2295:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2302:4:32", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2291:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2291:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2285:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2285:23:32" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "2272:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2313:36:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2336:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2343:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2332:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2332:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2326:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2326:23:32" - }, - "variableNames": [ - { - "name": "s", - "nodeType": "YulIdentifier", - "src": "2313:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2354:37:32", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2364:1:32", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2377:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2384:4:32", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2373:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2373:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2367:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2367:23:32" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "2359:4:32" - }, - "nodeType": "YulFunctionCall", - "src": "2359:32:32" - }, - "variableNames": [ - { - "name": "v", - "nodeType": "YulIdentifier", - "src": "2354:1:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2295:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2336:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2377:5:32", - "valueSize": 1 - }, - { - "declaration": 8469, - "isOffset": false, - "isSlot": false, - "src": "2272:1:32", - "valueSize": 1 - }, - { - "declaration": 8472, - "isOffset": false, - "isSlot": false, - "src": "2313:1:32", - "valueSize": 1 - }, - { - "declaration": 8475, - "isOffset": false, - "isSlot": false, - "src": "2354:1:32", - "valueSize": 1 - } - ], - "id": 8481, - "nodeType": "InlineAssembly", - "src": "2254:142:32" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8496, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2778:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2782:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2778:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8503, - "nodeType": "IfStatement", - "src": "2774:19:32", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 8501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2786:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2791:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2786:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "id": 8502, - "nodeType": "ExpressionStatement", - "src": "2786:7:32" - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8505, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2805:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2810:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2805:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8508, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2816:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3238", - "id": 8509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2821:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_28_by_1", - "typeString": "int_const 28" - }, - "value": "28" - }, - "src": "2816:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2805:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d7369676e61747572652d76", - "id": 8512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:21:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_992260a682068e96f22b6bb63ce40bb5385954a5f23c3d5900826215918358ac", - "typeString": "literal_string \"invalid-signature-v\"" - }, - "value": "invalid-signature-v" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_992260a682068e96f22b6bb63ce40bb5385954a5f23c3d5900826215918358ac", - "typeString": "literal_string \"invalid-signature-v\"" - } - ], - "id": 8504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2797:7:32", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2797:50:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8514, - "nodeType": "ExpressionStatement", - "src": "2797:50:32" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8516, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8461, - "src": "2868:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8517, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2875:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 8518, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8469, - "src": "2878:1:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8519, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8472, - "src": "2881:1:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8515, - "name": "ecrecover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -6, - "src": "2858:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address)" - } - }, - "id": 8520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2858:25:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 8467, - "id": 8521, - "nodeType": "Return", - "src": "2851:32:32" - } - ] - }, - "documentation": { - "id": 8459, - "nodeType": "StructuredDocumentation", - "src": "1960:105:32", - "text": " recover EOA signature (support both 65 bytes traditional and 64 bytes format EIP2098 format)" - }, - "id": 8523, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8461, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2085:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2085:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8463, - "mutability": "mutable", - "name": "_sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2100:18:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8462, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2100:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2084:35:32" - }, - "returnParameters": { - "id": 8467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2144:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2144:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2143:9:32" - }, - "scope": 8801, - "src": "2067:820:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8548, - "nodeType": "Block", - "src": "3026:493:32", - "statements": [ - { - "assignments": [ - 8532 - ], - "declarations": [ - { - "constant": false, - "id": 8532, - "mutability": "mutable", - "name": "codehash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8548, - "src": "3254:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8531, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3254:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8533, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "3254:16:32" - }, - { - "assignments": [ - 8535 - ], - "declarations": [ - { - "constant": false, - "id": 8535, - "mutability": "mutable", - "name": "accountHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8548, - "src": "3274:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3274:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8537, - "initialValue": { - "argumentTypes": null, - "hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730", - "id": 8536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3296:66:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_89477152217924674838424037953991966239322087453347756267410168184682657981552_by_1", - "typeString": "int_const 8947...(69 digits omitted)...1552" - }, - "value": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3274:88:32" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3425:36:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3427:32:32", - "value": { - "arguments": [ - { - "name": "account", - "nodeType": "YulIdentifier", - "src": "3451:7:32" - } - ], - "functionName": { - "name": "extcodehash", - "nodeType": "YulIdentifier", - "src": "3439:11:32" - }, - "nodeType": "YulFunctionCall", - "src": "3439:20:32" - }, - "variableNames": [ - { - "name": "codehash", - "nodeType": "YulIdentifier", - "src": "3427:8:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8526, - "isOffset": false, - "isSlot": false, - "src": "3451:7:32", - "valueSize": 1 - }, - { - "declaration": 8532, - "isOffset": false, - "isSlot": false, - "src": "3427:8:32", - "valueSize": 1 - } - ], - "id": 8538, - "nodeType": "InlineAssembly", - "src": "3416:45:32" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 8541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8539, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8532, - "src": "3472:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 8540, - "name": "accountHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8535, - "src": "3484:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3472:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 8544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8542, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8532, - "src": "3499:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 8543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3511:3:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "3499:15:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3472:42:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 8546, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3471:44:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8530, - "id": 8547, - "nodeType": "Return", - "src": "3464:51:32" - } - ] - }, - "documentation": { - "id": 8524, - "nodeType": "StructuredDocumentation", - "src": "2890:65:32", - "text": " Check if contract exist, otherwize assumed to be EOA" - }, - "id": 8549, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8526, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8549, - "src": "2978:15:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2978:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2977:17:32" - }, - "returnParameters": { - "id": 8530, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8529, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8549, - "src": "3019:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8528, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3019:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3018:6:32" - }, - "scope": 8801, - "src": "2957:562:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8565, - "nodeType": "Block", - "src": "3642:38:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8561, - "name": "_addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8552, - "src": "3669:5:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3661:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8559, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3661:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3661:14:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3653:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 8557, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3653:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3653:23:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 8556, - "id": 8564, - "nodeType": "Return", - "src": "3646:30:32" - } - ] - }, - "documentation": { - "id": 8550, - "nodeType": "StructuredDocumentation", - "src": "3522:49:32", - "text": " Address to bytes32 casting to ERC734" - }, - "id": 8566, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_addrToKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8552, - "mutability": "mutable", - "name": "_addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8566, - "src": "3593:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3593:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3592:15:32" - }, - "returnParameters": { - "id": 8556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8555, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8566, - "src": "3632:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3632:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3631:9:32" - }, - "scope": 8801, - "src": "3573:107:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8592, - "nodeType": "Block", - "src": "3837:155:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8578, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8569, - "src": "3848:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8579, - "name": "_candidate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8571, - "src": "3861:10:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3848:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8586, - "name": "_candidate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8571, - "src": "3919:10:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8585, - "name": "_addrToKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8566, - "src": "3908:10:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 8587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3908:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8588, - "name": "_purpose", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8573, - "src": "3932:8:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8582, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8569, - "src": "3883:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8581, - "name": "IERC734", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13327, - "src": "3875:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC734_$13327_$", - "typeString": "type(contract IERC734)" - } - }, - "id": 8583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3875:18:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC734_$13327", - "typeString": "contract IERC734" - } - }, - "id": 8584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "keyHasPurpose", - "nodeType": "MemberAccess", - "referencedDeclaration": 13278, - "src": "3875:32:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (bytes32,uint256) view external returns (bool)" - } - }, - "id": 8589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3875:66:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3848:93:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8577, - "id": 8591, - "nodeType": "Return", - "src": "3841:100:32" - } - ] - }, - "documentation": { - "id": 8567, - "nodeType": "StructuredDocumentation", - "src": "3683:34:32", - "text": " Identity verification" - }, - "id": 8593, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkIdentity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8574, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8569, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3743:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8568, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3743:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8571, - "mutability": "mutable", - "name": "_candidate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3762:18:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3762:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8573, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3782:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8572, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3782:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3742:57:32" - }, - "returnParameters": { - "id": 8577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8576, - "mutability": "mutable", - "name": "valid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3824:10:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8575, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3824:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3823:12:32" - }, - "scope": 8801, - "src": "3719:273:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8615, - "nodeType": "Block", - "src": "4088:73:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8602, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "4099:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4120:1:32", - "subdenomination": null, - "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": 8604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4112:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 8603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4112:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4112:10:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4099:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8608, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "4126:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8609, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "4139:11:32", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 8611, - "indexExpression": { - "argumentTypes": null, - "id": 8610, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8597, - "src": "4151:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4139:18:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4126:31:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4099:58:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8601, - "id": 8614, - "nodeType": "Return", - "src": "4092:65:32" - } - ] - }, - "documentation": null, - "id": 8616, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8595, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4023:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4023:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8597, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4042:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4042:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4022:34:32" - }, - "returnParameters": { - "id": 8601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8600, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4081:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8599, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4081:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4080:6:32" - }, - "scope": 8801, - "src": "3995:166:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8668, - "nodeType": "Block", - "src": "4279:323:32", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8628, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4299:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8627, - "name": "_isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8549, - "src": "4287:11:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 8629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4287:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8666, - "nodeType": "Block", - "src": "4542:57:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8660, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8620, - "src": "4563:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8661, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8622, - "src": "4570:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8659, - "name": "_recover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8523, - "src": "4554:8:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes32,bytes memory) pure returns (address)" - } - }, - "id": 8662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4554:27:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8663, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4585:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4554:40:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8626, - "id": 8665, - "nodeType": "Return", - "src": "4547:47:32" - } - ] - }, - "id": 8667, - "nodeType": "IfStatement", - "src": "4283:316:32", - "trueBody": { - "id": 8658, - "nodeType": "Block", - "src": "4313:219:32", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 8648, - "nodeType": "Block", - "src": "4404:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8640, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8638, - "src": "4417:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4435:1:32", - "subdenomination": null, - "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": 8641, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4426:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4426:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4426:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4426:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4417:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8626, - "id": 8647, - "nodeType": "Return", - "src": "4410:53:32" - } - ] - }, - "errorName": "", - "id": 8649, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8638, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8649, - "src": "4387:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8637, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4387:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4386:14:32" - }, - "src": "4378:91:32" - }, - { - "block": { - "id": 8653, - "nodeType": "Block", - "src": "4508:2:32", - "statements": [] - }, - "errorName": "", - "id": 8654, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8651, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8654, - "src": "4477:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8650, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4477:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4476:31:32" - }, - "src": "4470:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8634, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8620, - "src": "4359:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8635, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8622, - "src": "4366:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8631, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4331:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8630, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4322:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4322:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4322:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4322:55:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8655, - "nodeType": "TryStatement", - "src": "4318:192:32" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 8656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4522:5:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 8626, - "id": 8657, - "nodeType": "Return", - "src": "4515:12:32" - } - ] - } - } - ] - }, - "documentation": null, - "id": 8669, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8618, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4189:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4189:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8620, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4208:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4208:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8622, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4223:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8621, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4223:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4188:59:32" - }, - "returnParameters": { - "id": 8626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8625, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4272:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8624, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4272:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4271:6:32" - }, - "scope": 8801, - "src": "4164:438:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8751, - "nodeType": "Block", - "src": "4729:560:32", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8681, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4749:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8680, - "name": "_isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8549, - "src": "4737:11:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 8682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4737:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8749, - "nodeType": "Block", - "src": "5214:72:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8742, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "5245:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8741, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5235:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5235:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8744, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "5257:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8740, - "name": "_recover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8523, - "src": "5226:8:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes32,bytes memory) pure returns (address)" - } - }, - "id": 8745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5226:42:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8746, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "5272:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5226:55:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8748, - "nodeType": "Return", - "src": "5219:62:32" - } - ] - }, - "id": 8750, - "nodeType": "IfStatement", - "src": "4733:553:32", - "trueBody": { - "id": 8739, - "nodeType": "Block", - "src": "4763:441:32", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 8701, - "nodeType": "Block", - "src": "4858:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8693, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "4871:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4889:1:32", - "subdenomination": null, - "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": 8694, - "name": "IERC1271", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13148, - "src": "4880:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1271_$13148_$", - "typeString": "type(contract IERC1271)" - } - }, - "id": 8696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4880:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1271_$13148", - "typeString": "contract IERC1271" - } - }, - "id": 8697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13147, - "src": "4880:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes memory,bytes memory) view external returns (bytes4)" - } - }, - "id": 8698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4880:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4871:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8700, - "nodeType": "Return", - "src": "4864:53:32" - } - ] - }, - "errorName": "", - "id": 8702, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8691, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8702, - "src": "4841:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8690, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4841:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4840:14:32" - }, - "src": "4832:91:32" - }, - { - "block": { - "id": 8706, - "nodeType": "Block", - "src": "4965:2:32", - "statements": [] - }, - "errorName": "", - "id": 8707, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8707, - "src": "4934:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8703, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4934:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4933:31:32" - }, - "src": "4927:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8687, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "4809:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 8688, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "4820:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8684, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4781:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8683, - "name": "IERC1271", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13148, - "src": "4772:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1271_$13148_$", - "typeString": "type(contract IERC1271)" - } - }, - "id": 8685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4772:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1271_$13148", - "typeString": "contract IERC1271" - } - }, - "id": 8686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13147, - "src": "4772:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes memory,bytes memory) view external returns (bytes4)" - } - }, - "id": 8689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4772:59:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8708, - "nodeType": "TryStatement", - "src": "4768:199:32" - }, - { - "clauses": [ - { - "block": { - "id": 8729, - "nodeType": "Block", - "src": "5073:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8721, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8719, - "src": "5086:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8723, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5104:1:32", - "subdenomination": null, - "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": 8722, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "5095:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5095:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "5095:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5095:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "5086:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8728, - "nodeType": "Return", - "src": "5079:53:32" - } - ] - }, - "errorName": "", - "id": 8730, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8719, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8730, - "src": "5056:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8718, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "5056:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5055:14:32" - }, - "src": "5047:91:32" - }, - { - "block": { - "id": 8734, - "nodeType": "Block", - "src": "5180:2:32", - "statements": [] - }, - "errorName": "", - "id": 8735, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8732, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8735, - "src": "5149:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8731, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5149:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5148:31:32" - }, - "src": "5142:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8714, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "5023:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8713, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5013:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5013:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8716, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "5035:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8710, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4985:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8709, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4976:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4976:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4976:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4976:70:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8736, - "nodeType": "TryStatement", - "src": "4972:210:32" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 8737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5194:5:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 8679, - "id": 8738, - "nodeType": "Return", - "src": "5187:12:32" - } - ] - } - } - ] - }, - "documentation": null, - "id": 8752, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8676, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8671, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4630:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8670, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4630:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8673, - "mutability": "mutable", - "name": "_predicat", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4649:22:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8672, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4649:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8675, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4673:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8674, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4673:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4629:68:32" - }, - "returnParameters": { - "id": 8679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8678, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4722:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8677, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4722:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4721:6:32" - }, - "scope": 8801, - "src": "4605:684:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8774, - "nodeType": "Block", - "src": "5421:100:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8764, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8754, - "src": "5451:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8765, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8756, - "src": "5462:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8763, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "5432:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 8766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5432:36:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8768, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8754, - "src": "5488:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8769, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8756, - "src": "5499:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8770, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8758, - "src": "5506:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8767, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8669, - "src": "5472:15:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 8771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5472:45:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5432:85:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8762, - "id": 8773, - "nodeType": "Return", - "src": "5425:92:32" - } - ] - }, - "documentation": null, - "id": 8775, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8754, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5331:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8753, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5331:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8756, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5350:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8755, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5350:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8758, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5365:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8757, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5365:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5330:59:32" - }, - "returnParameters": { - "id": 8762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8761, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5414:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8760, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5414:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5413:6:32" - }, - "scope": 8801, - "src": "5292:229:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8799, - "nodeType": "Block", - "src": "5662:119:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8787, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8777, - "src": "5692:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8789, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8779, - "src": "5713:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8788, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5703:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5703:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8786, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "5673:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 8791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5673:51:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8793, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8777, - "src": "5744:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8794, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8779, - "src": "5755:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 8795, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8781, - "src": "5766:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8792, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5728:15:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 8796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5728:49:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5673:104:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8785, - "id": 8798, - "nodeType": "Return", - "src": "5666:111:32" - } - ] - }, - "documentation": null, - "id": 8800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8777, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5563:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8776, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5563:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8779, - "mutability": "mutable", - "name": "_predicat", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5582:22:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8778, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5582:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8781, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5606:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8780, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5606:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5562:68:32" - }, - "returnParameters": { - "id": 8785, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8784, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5655:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8783, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5655:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5654:6:32" - }, - "scope": 8801, - "src": "5524:257:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 8802, - "src": "1502:4281:32" - } - ], - "src": "1242:4542:32" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/delegates/SignatureVerifier.sol", - "exportedSymbols": { - "SignatureVerifier": [ - 8801 - ] - }, - "id": 8802, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 8419, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:32" - }, - { - "id": 8420, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "1266:33:32" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "file": "@iexec/solidity/contracts/ERC734/IERC734.sol", - "id": 8421, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13328, - "src": "1301:54:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "file": "@iexec/solidity/contracts/ERC1271/IERC1271.sol", - "id": 8422, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13149, - "src": "1356:56:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "file": "@iexec/solidity/contracts/ERC1654/IERC1654.sol", - "id": 8423, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 13186, - "src": "1413:56:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/DelegateBase.sol", - "file": "../DelegateBase.sol", - "id": 8424, - "nodeType": "ImportDirective", - "scope": 8802, - "sourceUnit": 1659, - "src": "1470:29:32", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 8425, - "name": "DelegateBase", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1658, - "src": "1532:12:32", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DelegateBase_$1658", - "typeString": "contract DelegateBase" - } - }, - "id": 8426, - "nodeType": "InheritanceSpecifier", - "src": "1532:12:32" - } - ], - "contractDependencies": [ - 309, - 1658, - 13161, - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 8801, - "linearizedBaseContracts": [ - 8801, - 1658, - 13161, - 309, - 13173, - 14132, - 13740 - ], - "name": "SignatureVerifier", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 8440, - "nodeType": "Block", - "src": "1700:77:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "19457468657265756d205369676e6564204d6573736167653a0a3332", - "id": 8436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1728:34:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string \"\u0019Ethereum Signed Message:\n32\"" - }, - "value": "\u0019Ethereum Signed Message:\n32" - }, - { - "argumentTypes": null, - "id": 8437, - "name": "_msgHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8429, - "src": "1764:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string \"\u0019Ethereum Signed Message:\n32\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 8434, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1711:3:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1711:16:32", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1711:62:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 8433, - "id": 8439, - "nodeType": "Return", - "src": "1704:69:32" - } - ] - }, - "documentation": { - "id": 8427, - "nodeType": "StructuredDocumentation", - "src": "1548:64:32", - "text": " Prepare message/structure predicat used for signing" - }, - "id": 8441, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_toEthSignedMessage", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8429, - "mutability": "mutable", - "name": "_msgHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8441, - "src": "1643:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8428, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1643:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1642:18:32" - }, - "returnParameters": { - "id": 8433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8432, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8441, - "src": "1685:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1685:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1684:14:32" - }, - "scope": 8801, - "src": "1614:163:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8457, - "nodeType": "Block", - "src": "1888:69:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "1901", - "id": 8452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1916:10:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - "value": "\u0019\u0001" - }, - { - "argumentTypes": null, - "id": 8453, - "name": "_domainHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8445, - "src": "1928:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8454, - "name": "_structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8443, - "src": "1941:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string \"\u0019\u0001\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 8450, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1899:3:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1899:16:32", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 8455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1899:54:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 8449, - "id": 8456, - "nodeType": "Return", - "src": "1892:61:32" - } - ] - }, - "documentation": null, - "id": 8458, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_toEthTypedStruct", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8443, - "mutability": "mutable", - "name": "_structHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1807:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8442, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1807:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8445, - "mutability": "mutable", - "name": "_domainHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1828:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8444, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1828:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1806:42:32" - }, - "returnParameters": { - "id": 8449, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8448, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8458, - "src": "1873:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8447, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1873:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1872:14:32" - }, - "scope": 8801, - "src": "1780:177:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8522, - "nodeType": "Block", - "src": "2154:733:32", - "statements": [ - { - "assignments": [ - 8469 - ], - "declarations": [ - { - "constant": false, - "id": 8469, - "mutability": "mutable", - "name": "r", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2158:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8468, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2158:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8470, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2158:9:32" - }, - { - "assignments": [ - 8472 - ], - "declarations": [ - { - "constant": false, - "id": 8472, - "mutability": "mutable", - "name": "s", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2171:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8471, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2171:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8473, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2171:9:32" - }, - { - "assignments": [ - 8475 - ], - "declarations": [ - { - "constant": false, - "id": 8475, - "mutability": "mutable", - "name": "v", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8522, - "src": "2184:9:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 8474, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2184:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8476, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "2184:9:32" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8477, - "name": "_sign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8463, - "src": "2202:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2202:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3635", - "id": 8479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2218:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_65_by_1", - "typeString": "int_const 65" - }, - "value": "65" - }, - "src": "2202:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8483, - "name": "_sign", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8463, - "src": "2412:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2412:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3634", - "id": 8485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2428:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "2412:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8493, - "nodeType": "Block", - "src": "2726:44:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e76616c69642d7369676e61747572652d666f726d6174", - "id": 8490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2738:26:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bd8109ce21237eb5a33faea603eb071141798f132df6d3ef4d09e9865996cefc", - "typeString": "literal_string \"invalid-signature-format\"" - }, - "value": "invalid-signature-format" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bd8109ce21237eb5a33faea603eb071141798f132df6d3ef4d09e9865996cefc", - "typeString": "literal_string \"invalid-signature-format\"" - } - ], - "id": 8489, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "2731:6:32", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 8491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2731:34:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8492, - "nodeType": "ExpressionStatement", - "src": "2731:34:32" - } - ] - }, - "id": 8494, - "nodeType": "IfStatement", - "src": "2408:362:32", - "trueBody": { - "id": 8488, - "nodeType": "Block", - "src": "2474:242:32", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2491:221:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2497:43:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2527:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2534:4:32", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2523:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2523:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2517:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2517:23:32" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "2497:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2545:112:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2575:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2582:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2571:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2571:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2565:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2565:23:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2590:66:32", - "type": "", - "value": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2550:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2550:107:32" - }, - "variableNames": [ - { - "name": "s", - "nodeType": "YulIdentifier", - "src": "2545:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2662:45:32", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2671:1:32", - "type": "", - "value": "7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2679:1:32", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2692:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2699:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2688:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2688:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2682:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2682:23:32" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "2674:4:32" - }, - "nodeType": "YulFunctionCall", - "src": "2674:32:32" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "2667:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2667:40:32" - }, - "variableNames": [ - { - "name": "v", - "nodeType": "YulIdentifier", - "src": "2662:1:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2527:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2575:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2692:5:32", - "valueSize": 1 - }, - { - "declaration": 8469, - "isOffset": false, - "isSlot": false, - "src": "2497:1:32", - "valueSize": 1 - }, - { - "declaration": 8472, - "isOffset": false, - "isSlot": false, - "src": "2545:1:32", - "valueSize": 1 - }, - { - "declaration": 8475, - "isOffset": false, - "isSlot": false, - "src": "2662:1:32", - "valueSize": 1 - } - ], - "id": 8487, - "nodeType": "InlineAssembly", - "src": "2479:233:32" - } - ] - } - }, - "id": 8495, - "nodeType": "IfStatement", - "src": "2198:572:32", - "trueBody": { - "id": 8482, - "nodeType": "Block", - "src": "2249:151:32", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "2266:130:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2272:36:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2295:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2302:4:32", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2291:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2291:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2285:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2285:23:32" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "2272:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2313:36:32", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2336:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2343:4:32", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2332:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2332:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2326:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2326:23:32" - }, - "variableNames": [ - { - "name": "s", - "nodeType": "YulIdentifier", - "src": "2313:1:32" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2354:37:32", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2364:1:32", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_sign", - "nodeType": "YulIdentifier", - "src": "2377:5:32" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2384:4:32", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2373:3:32" - }, - "nodeType": "YulFunctionCall", - "src": "2373:16:32" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2367:5:32" - }, - "nodeType": "YulFunctionCall", - "src": "2367:23:32" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "2359:4:32" - }, - "nodeType": "YulFunctionCall", - "src": "2359:32:32" - }, - "variableNames": [ - { - "name": "v", - "nodeType": "YulIdentifier", - "src": "2354:1:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2295:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2336:5:32", - "valueSize": 1 - }, - { - "declaration": 8463, - "isOffset": false, - "isSlot": false, - "src": "2377:5:32", - "valueSize": 1 - }, - { - "declaration": 8469, - "isOffset": false, - "isSlot": false, - "src": "2272:1:32", - "valueSize": 1 - }, - { - "declaration": 8472, - "isOffset": false, - "isSlot": false, - "src": "2313:1:32", - "valueSize": 1 - }, - { - "declaration": 8475, - "isOffset": false, - "isSlot": false, - "src": "2354:1:32", - "valueSize": 1 - } - ], - "id": 8481, - "nodeType": "InlineAssembly", - "src": "2254:142:32" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8496, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2778:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2782:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2778:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8503, - "nodeType": "IfStatement", - "src": "2774:19:32", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 8501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2786:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2791:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2786:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "id": 8502, - "nodeType": "ExpressionStatement", - "src": "2786:7:32" - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8505, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2805:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3237", - "id": 8506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2810:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "2805:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 8510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8508, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2816:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3238", - "id": 8509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2821:2:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_28_by_1", - "typeString": "int_const 28" - }, - "value": "28" - }, - "src": "2816:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2805:18:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "696e76616c69642d7369676e61747572652d76", - "id": 8512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2825:21:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_992260a682068e96f22b6bb63ce40bb5385954a5f23c3d5900826215918358ac", - "typeString": "literal_string \"invalid-signature-v\"" - }, - "value": "invalid-signature-v" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_992260a682068e96f22b6bb63ce40bb5385954a5f23c3d5900826215918358ac", - "typeString": "literal_string \"invalid-signature-v\"" - } - ], - "id": 8504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2797:7:32", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2797:50:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8514, - "nodeType": "ExpressionStatement", - "src": "2797:50:32" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8516, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8461, - "src": "2868:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8517, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "2875:1:32", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 8518, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8469, - "src": "2878:1:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8519, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8472, - "src": "2881:1:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8515, - "name": "ecrecover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -6, - "src": "2858:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address)" - } - }, - "id": 8520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2858:25:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 8467, - "id": 8521, - "nodeType": "Return", - "src": "2851:32:32" - } - ] - }, - "documentation": { - "id": 8459, - "nodeType": "StructuredDocumentation", - "src": "1960:105:32", - "text": " recover EOA signature (support both 65 bytes traditional and 64 bytes format EIP2098 format)" - }, - "id": 8523, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_recover", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8461, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2085:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2085:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8463, - "mutability": "mutable", - "name": "_sign", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2100:18:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8462, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2100:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2084:35:32" - }, - "returnParameters": { - "id": 8467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8466, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8523, - "src": "2144:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2144:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2143:9:32" - }, - "scope": 8801, - "src": "2067:820:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8548, - "nodeType": "Block", - "src": "3026:493:32", - "statements": [ - { - "assignments": [ - 8532 - ], - "declarations": [ - { - "constant": false, - "id": 8532, - "mutability": "mutable", - "name": "codehash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8548, - "src": "3254:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8531, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3254:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8533, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "3254:16:32" - }, - { - "assignments": [ - 8535 - ], - "declarations": [ - { - "constant": false, - "id": 8535, - "mutability": "mutable", - "name": "accountHash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8548, - "src": "3274:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8534, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3274:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8537, - "initialValue": { - "argumentTypes": null, - "hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730", - "id": 8536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3296:66:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_89477152217924674838424037953991966239322087453347756267410168184682657981552_by_1", - "typeString": "int_const 8947...(69 digits omitted)...1552" - }, - "value": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3274:88:32" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3425:36:32", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3427:32:32", - "value": { - "arguments": [ - { - "name": "account", - "nodeType": "YulIdentifier", - "src": "3451:7:32" - } - ], - "functionName": { - "name": "extcodehash", - "nodeType": "YulIdentifier", - "src": "3439:11:32" - }, - "nodeType": "YulFunctionCall", - "src": "3439:20:32" - }, - "variableNames": [ - { - "name": "codehash", - "nodeType": "YulIdentifier", - "src": "3427:8:32" - } - ] - } - ] - }, - "evmVersion": "istanbul", - "externalReferences": [ - { - "declaration": 8526, - "isOffset": false, - "isSlot": false, - "src": "3451:7:32", - "valueSize": 1 - }, - { - "declaration": 8532, - "isOffset": false, - "isSlot": false, - "src": "3427:8:32", - "valueSize": 1 - } - ], - "id": 8538, - "nodeType": "InlineAssembly", - "src": "3416:45:32" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 8541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8539, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8532, - "src": "3472:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 8540, - "name": "accountHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8535, - "src": "3484:11:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3472:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 8544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8542, - "name": "codehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8532, - "src": "3499:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 8543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3511:3:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "3499:15:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3472:42:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 8546, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3471:44:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8530, - "id": 8547, - "nodeType": "Return", - "src": "3464:51:32" - } - ] - }, - "documentation": { - "id": 8524, - "nodeType": "StructuredDocumentation", - "src": "2890:65:32", - "text": " Check if contract exist, otherwize assumed to be EOA" - }, - "id": 8549, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isContract", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8527, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8526, - "mutability": "mutable", - "name": "account", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8549, - "src": "2978:15:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2978:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2977:17:32" - }, - "returnParameters": { - "id": 8530, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8529, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8549, - "src": "3019:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8528, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3019:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3018:6:32" - }, - "scope": 8801, - "src": "2957:562:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8565, - "nodeType": "Block", - "src": "3642:38:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8561, - "name": "_addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8552, - "src": "3669:5:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3661:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 8559, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3661:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3661:14:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3653:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 8557, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3653:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3653:23:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 8556, - "id": 8564, - "nodeType": "Return", - "src": "3646:30:32" - } - ] - }, - "documentation": { - "id": 8550, - "nodeType": "StructuredDocumentation", - "src": "3522:49:32", - "text": " Address to bytes32 casting to ERC734" - }, - "id": 8566, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_addrToKey", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8552, - "mutability": "mutable", - "name": "_addr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8566, - "src": "3593:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3593:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3592:15:32" - }, - "returnParameters": { - "id": 8556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8555, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8566, - "src": "3632:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3632:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3631:9:32" - }, - "scope": 8801, - "src": "3573:107:32", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8592, - "nodeType": "Block", - "src": "3837:155:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8578, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8569, - "src": "3848:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8579, - "name": "_candidate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8571, - "src": "3861:10:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3848:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8586, - "name": "_candidate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8571, - "src": "3919:10:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8585, - "name": "_addrToKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8566, - "src": "3908:10:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_bytes32_$", - "typeString": "function (address) pure returns (bytes32)" - } - }, - "id": 8587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3908:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8588, - "name": "_purpose", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8573, - "src": "3932:8:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8582, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8569, - "src": "3883:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8581, - "name": "IERC734", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13327, - "src": "3875:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC734_$13327_$", - "typeString": "type(contract IERC734)" - } - }, - "id": 8583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3875:18:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC734_$13327", - "typeString": "contract IERC734" - } - }, - "id": 8584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "keyHasPurpose", - "nodeType": "MemberAccess", - "referencedDeclaration": 13278, - "src": "3875:32:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (bytes32,uint256) view external returns (bool)" - } - }, - "id": 8589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3875:66:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3848:93:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8577, - "id": 8591, - "nodeType": "Return", - "src": "3841:100:32" - } - ] - }, - "documentation": { - "id": 8567, - "nodeType": "StructuredDocumentation", - "src": "3683:34:32", - "text": " Identity verification" - }, - "id": 8593, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkIdentity", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8574, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8569, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3743:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8568, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3743:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8571, - "mutability": "mutable", - "name": "_candidate", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3762:18:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3762:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8573, - "mutability": "mutable", - "name": "_purpose", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3782:16:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8572, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3782:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3742:57:32" - }, - "returnParameters": { - "id": 8577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8576, - "mutability": "mutable", - "name": "valid", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8593, - "src": "3824:10:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8575, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3824:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3823:12:32" - }, - "scope": 8801, - "src": "3719:273:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8615, - "nodeType": "Block", - "src": "4088:73:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8602, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "4099:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4120:1:32", - "subdenomination": null, - "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": 8604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4112:7:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 8603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4112:7:32", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 8606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4112:10:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "4099:23:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8608, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "4126:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8609, - "name": "m_presigned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "4139:11:32", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - } - }, - "id": 8611, - "indexExpression": { - "argumentTypes": null, - "id": 8610, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8597, - "src": "4151:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4139:18:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4126:31:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4099:58:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8601, - "id": 8614, - "nodeType": "Return", - "src": "4092:65:32" - } - ] - }, - "documentation": null, - "id": 8616, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8595, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4023:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4023:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8597, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4042:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4042:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4022:34:32" - }, - "returnParameters": { - "id": 8601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8600, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8616, - "src": "4081:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8599, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4081:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4080:6:32" - }, - "scope": 8801, - "src": "3995:166:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8668, - "nodeType": "Block", - "src": "4279:323:32", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8628, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4299:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8627, - "name": "_isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8549, - "src": "4287:11:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 8629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4287:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8666, - "nodeType": "Block", - "src": "4542:57:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8660, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8620, - "src": "4563:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8661, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8622, - "src": "4570:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8659, - "name": "_recover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8523, - "src": "4554:8:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes32,bytes memory) pure returns (address)" - } - }, - "id": 8662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4554:27:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8663, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4585:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4554:40:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8626, - "id": 8665, - "nodeType": "Return", - "src": "4547:47:32" - } - ] - }, - "id": 8667, - "nodeType": "IfStatement", - "src": "4283:316:32", - "trueBody": { - "id": 8658, - "nodeType": "Block", - "src": "4313:219:32", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 8648, - "nodeType": "Block", - "src": "4404:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8640, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8638, - "src": "4417:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4435:1:32", - "subdenomination": null, - "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": 8641, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4426:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4426:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4426:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4426:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4417:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8626, - "id": 8647, - "nodeType": "Return", - "src": "4410:53:32" - } - ] - }, - "errorName": "", - "id": 8649, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8638, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8649, - "src": "4387:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8637, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4387:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4386:14:32" - }, - "src": "4378:91:32" - }, - { - "block": { - "id": 8653, - "nodeType": "Block", - "src": "4508:2:32", - "statements": [] - }, - "errorName": "", - "id": 8654, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8651, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8654, - "src": "4477:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8650, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4477:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4476:31:32" - }, - "src": "4470:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8634, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8620, - "src": "4359:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8635, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8622, - "src": "4366:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8631, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8618, - "src": "4331:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8630, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4322:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4322:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4322:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4322:55:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8655, - "nodeType": "TryStatement", - "src": "4318:192:32" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 8656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4522:5:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 8626, - "id": 8657, - "nodeType": "Return", - "src": "4515:12:32" - } - ] - } - } - ] - }, - "documentation": null, - "id": 8669, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8618, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4189:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4189:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8620, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4208:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8619, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4208:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8622, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4223:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8621, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4223:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4188:59:32" - }, - "returnParameters": { - "id": 8626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8625, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8669, - "src": "4272:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8624, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4272:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4271:6:32" - }, - "scope": 8801, - "src": "4164:438:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8751, - "nodeType": "Block", - "src": "4729:560:32", - "statements": [ - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8681, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4749:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8680, - "name": "_isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8549, - "src": "4737:11:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 8682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4737:22:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8749, - "nodeType": "Block", - "src": "5214:72:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8742, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "5245:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8741, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5235:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5235:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8744, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "5257:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8740, - "name": "_recover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8523, - "src": "5226:8:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$", - "typeString": "function (bytes32,bytes memory) pure returns (address)" - } - }, - "id": 8745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5226:42:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8746, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "5272:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5226:55:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8748, - "nodeType": "Return", - "src": "5219:62:32" - } - ] - }, - "id": 8750, - "nodeType": "IfStatement", - "src": "4733:553:32", - "trueBody": { - "id": 8739, - "nodeType": "Block", - "src": "4763:441:32", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 8701, - "nodeType": "Block", - "src": "4858:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8693, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "4871:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8695, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4889:1:32", - "subdenomination": null, - "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": 8694, - "name": "IERC1271", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13148, - "src": "4880:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1271_$13148_$", - "typeString": "type(contract IERC1271)" - } - }, - "id": 8696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4880:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1271_$13148", - "typeString": "contract IERC1271" - } - }, - "id": 8697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13147, - "src": "4880:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes memory,bytes memory) view external returns (bytes4)" - } - }, - "id": 8698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4880:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "4871:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8700, - "nodeType": "Return", - "src": "4864:53:32" - } - ] - }, - "errorName": "", - "id": 8702, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8691, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8702, - "src": "4841:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8690, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4841:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4840:14:32" - }, - "src": "4832:91:32" - }, - { - "block": { - "id": 8706, - "nodeType": "Block", - "src": "4965:2:32", - "statements": [] - }, - "errorName": "", - "id": 8707, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8704, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8707, - "src": "4934:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8703, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4934:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4933:31:32" - }, - "src": "4927:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8687, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "4809:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 8688, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "4820:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8684, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4781:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8683, - "name": "IERC1271", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13148, - "src": "4772:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1271_$13148_$", - "typeString": "type(contract IERC1271)" - } - }, - "id": 8685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4772:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1271_$13148", - "typeString": "contract IERC1271" - } - }, - "id": 8686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13147, - "src": "4772:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes memory,bytes memory) view external returns (bytes4)" - } - }, - "id": 8689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4772:59:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8708, - "nodeType": "TryStatement", - "src": "4768:199:32" - }, - { - "clauses": [ - { - "block": { - "id": 8729, - "nodeType": "Block", - "src": "5073:65:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8721, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8719, - "src": "5086:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8723, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5104:1:32", - "subdenomination": null, - "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": 8722, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "5095:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5095:11:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "5095:28:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "selector", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5095:37:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "5086:46:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8679, - "id": 8728, - "nodeType": "Return", - "src": "5079:53:32" - } - ] - }, - "errorName": "", - "id": 8730, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8719, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8730, - "src": "5056:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8718, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "5056:6:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5055:14:32" - }, - "src": "5047:91:32" - }, - { - "block": { - "id": 8734, - "nodeType": "Block", - "src": "5180:2:32", - "statements": [] - }, - "errorName": "", - "id": 8735, - "nodeType": "TryCatchClause", - "parameters": { - "id": 8733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8732, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8735, - "src": "5149:12:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8731, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5149:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5148:31:32" - }, - "src": "5142:40:32" - } - ], - "externalCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8714, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8673, - "src": "5023:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8713, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5013:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5013:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8716, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "5035:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8710, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8671, - "src": "4985:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8709, - "name": "IERC1654", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "4976:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC1654_$13185_$", - "typeString": "type(contract IERC1654)" - } - }, - "id": 8711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4976:19:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC1654_$13185", - "typeString": "contract IERC1654" - } - }, - "id": 8712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isValidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 13184, - "src": "4976:36:32", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes32,bytes memory) view external returns (bytes4)" - } - }, - "id": 8717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4976:70:32", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8736, - "nodeType": "TryStatement", - "src": "4972:210:32" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 8737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5194:5:32", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 8679, - "id": 8738, - "nodeType": "Return", - "src": "5187:12:32" - } - ] - } - } - ] - }, - "documentation": null, - "id": 8752, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8676, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8671, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4630:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8670, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4630:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8673, - "mutability": "mutable", - "name": "_predicat", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4649:22:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8672, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4649:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8675, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4673:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8674, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4673:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4629:68:32" - }, - "returnParameters": { - "id": 8679, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8678, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8752, - "src": "4722:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8677, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4722:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4721:6:32" - }, - "scope": 8801, - "src": "4605:684:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8774, - "nodeType": "Block", - "src": "5421:100:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8764, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8754, - "src": "5451:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8765, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8756, - "src": "5462:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8763, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "5432:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 8766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5432:36:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8768, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8754, - "src": "5488:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8769, - "name": "_hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8756, - "src": "5499:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 8770, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8758, - "src": "5506:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8767, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8669, - "src": "5472:15:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes32,bytes memory) view returns (bool)" - } - }, - "id": 8771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5472:45:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5432:85:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8762, - "id": 8773, - "nodeType": "Return", - "src": "5425:92:32" - } - ] - }, - "documentation": null, - "id": 8775, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8754, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5331:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8753, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5331:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8756, - "mutability": "mutable", - "name": "_hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5350:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8755, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5350:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8758, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5365:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8757, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5365:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5330:59:32" - }, - "returnParameters": { - "id": 8762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8761, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8775, - "src": "5414:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8760, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5414:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5413:6:32" - }, - "scope": 8801, - "src": "5292:229:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8799, - "nodeType": "Block", - "src": "5662:119:32", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8787, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8777, - "src": "5692:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8789, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8779, - "src": "5713:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8788, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5703:9:32", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5703:20:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8786, - "name": "_checkPresignature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8616, - "src": "5673:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (address,bytes32) view returns (bool)" - } - }, - "id": 8791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5673:51:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8793, - "name": "_identity", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8777, - "src": "5744:9:32", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8794, - "name": "_predicat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8779, - "src": "5755:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "id": 8795, - "name": "_signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8781, - "src": "5766:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8792, - "name": "_checkSignature", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8669, - 8752 - ], - "referencedDeclaration": 8752, - "src": "5728:15:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", - "typeString": "function (address,bytes memory,bytes memory) view returns (bool)" - } - }, - "id": 8796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5728:49:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5673:104:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8785, - "id": 8798, - "nodeType": "Return", - "src": "5666:111:32" - } - ] - }, - "documentation": null, - "id": 8800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_checkPresignatureOrSignature", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 8782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8777, - "mutability": "mutable", - "name": "_identity", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5563:17:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8776, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5563:7:32", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8779, - "mutability": "mutable", - "name": "_predicat", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5582:22:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8778, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5582:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8781, - "mutability": "mutable", - "name": "_signature", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5606:23:32", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8780, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5606:5:32", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5562:68:32" - }, - "returnParameters": { - "id": 8785, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8784, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 8800, - "src": "5655:4:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8783, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5655:4:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5654:6:32" - }, - "scope": 8801, - "src": "5524:257:32", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 8802, - "src": "1502:4281:32" - } - ], - "src": "1242:4542:32" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.689Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Store.json b/build/contracts/Store.json deleted file mode 100644 index 17ddb2e72..000000000 --- a/build/contracts/Store.json +++ /dev/null @@ -1,3074 +0,0 @@ -{ - "contractName": "Store", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":\"Store\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol\":{\"keccak256\":\"0xbc74ce351bc304d65cc20a95bad8290711ac47267b7cfff5500cdeff42b1a18b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f92ebcd5817a7d6f20ef48662f985e9bdb8a68f3752249a14a1a4cbb8b99f190\",\"dweb:/ipfs/QmZAph8GSDPRkXxNUsQpGCXDsmMSGo6Pr5HFg2f4ZXgRZc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC1404.sol\":{\"keccak256\":\"0xec243d84d26dd07f7a93a6f0665d56d60d20b139bf7f201a502a438ac95ac771\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://75cd876336f5cb77d0492f2082912fa42b526cf00820f1f0a0e8be012d402360\",\"dweb:/ipfs/QmZWgMF27i1JfGbgc7FTny9YkoFWDXiYh9gjpfXnHVLWy8\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol\":{\"keccak256\":\"0xc2aa3e67c31421ad6f43594875c1d5c5a62366d19ef22485d4764a9c2e53ab7c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f15679680aa5a9590707ab921d90569eb7e30a3c8340a4d9d0bef3ac5375d56b\",\"dweb:/ipfs/QmWZovmERYpAu3FKW7Ea3gZZeangFyGpkpgcLEggbkqhdM\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC677.sol\":{\"keccak256\":\"0x2fc0f8ca46db18638bd9daed90a3e6bd90fec77ef4c899b7aa1b28010355d096\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c213b13843b23ba7b755ad821c07b77cfacafddc5348a2191c164300344818ce\",\"dweb:/ipfs/QmSruFZbrEuzJFmRbbzZL3GehKpqEm6RfVGcuZZGwBedsp\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol\":{\"keccak256\":\"0x7fab9c16493884c64cdd31627c5d71389de785becf611b738343d75f7495471d\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3e243796363e7d4cd249b432a2511cdb49759ed7d2e8bd73817f09ff60ff919c\",\"dweb:/ipfs/Qmeat95AtRviDFcJ3W3aBZmH51aHReX9RLnPZ3Gof3FnzW\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol\":{\"keccak256\":\"0x430eaa82ce8d43771c8a84af5113e31de79490d5b9d561ef90034bdc5a2a993b\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://65cb57ac25afa5b6e0811290866aace3b013fe67aa82c5e72b6bb00d50e9f28a\",\"dweb:/ipfs/QmTTNTASsnM8db9vTjkbxz5kiNtqVxNrjwxkvVEmoHuMj9\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol\":{\"keccak256\":\"0x1408d4f83f2c512ce71a680975d480fffb5ff417b2ecc37de45076e8d8f43d1a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e817bcc02c7e8547179b0293ed61b4066a04ab3e2b7cda6db90b41e42cabcecc\",\"dweb:/ipfs/QmVPJzM6SXg4ngSSHi2kioQ2htbJPUta5ZMyrgMnAGmrW6\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol\":{\"keccak256\":\"0xf58ec4bed61a76b9d557e7b1f486fced23cb4dfc5047fc93ba6b4684c1624c2a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://530858af626fb5598eb9c973b9d3a0c2c1d431b43ca9e7c49143ab5edf619d67\",\"dweb:/ipfs/QmRkksj1gDnz1kcB6JFKuBKXD3mq52SsjuPN5SMUqSK46u\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/interface/contracts/IexecClerk.sol\":{\"keccak256\":\"0x703252a638a5a7e2b600395fd920712a1ac259018bc9578fe581a77fa2f008a9\",\"urls\":[\"bzz-raw://072b9e948e5ac4a7f60466c23b322ea0f1aca711f1a94616e658600c2a4c36a2\",\"dweb:/ipfs/QmRP57bkhWDr5BeawfjiKsbdwFiHnw6nc6zgiEad3hQoSJ\"]},\"@iexec/interface/contracts/IexecHub.sol\":{\"keccak256\":\"0x8e293b7624550823838ed9113400544c5980afac1043ddacad7a862c91b0840d\",\"urls\":[\"bzz-raw://ae34ebc355838595ee69b24a31e60deb186455cc388c88de7ecd0294c7037075\",\"dweb:/ipfs/QmUYVQJBWG7ohAYksJRDJKcJVyPMXNFJSPWMAuQcGfWHo7\"]},\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]},\"@iexec/interface/contracts/libs/IexecODBLibCore.sol\":{\"keccak256\":\"0x3fc7ff4152e9a8f9747d42e262c15c3d460d409732711d9e1da8a88163880183\",\"urls\":[\"bzz-raw://8bacc98b866852e9f1e3563948381cba142ab61d6b1a7c62fbc53b7d57aa0589\",\"dweb:/ipfs/QmUNjhjBxdtHQFWQ61CgnPoaAzL767tQSKF6x34VFWeRyF\"]},\"@iexec/interface/contracts/libs/IexecODBLibOrders.sol\":{\"keccak256\":\"0xe2848a685785b09dc9ee5a6e6329a417eaf18e520388e8575d45a5376b1d62ca\",\"urls\":[\"bzz-raw://d1385ab26f382baa7aadb80faed54290296be09eeccbee1193a1b8a53b0b15d5\",\"dweb:/ipfs/QmUQTFcGX5VZiYwHKu9Yjc4PHNrMgdAyKwKi6tFEMsbaJk\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\":{\"keccak256\":\"0x4d1e8821dc216013f20044bbf82df3c2ab2c739d1b2ce4d90c15cb65f85707d8\",\"urls\":[\"bzz-raw://e36d4db70862f87b8657c19330f0d45e8e7018ebcf3df97525638c8caa919d2b\",\"dweb:/ipfs/QmZqsrXPsyRkRkjuupKG2SYsyUTBXqe7nkkCy7RKxDKz1L\"]},\"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\":{\"keccak256\":\"0xf2802ae591eb22954d9c8e02658ae7577940890aff8d8927a7255e254fed605b\",\"urls\":[\"bzz-raw://8dcc485d21a3aa3f643768d4ac4fc69697b9b37f8fb779f3998ab4cee143fa66\",\"dweb:/ipfs/QmWdwgKPMoWuidYQp6WFsJBhNbJUwFHNE9YPYQZhBsKj7e\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x5c26b39d26f7ed489e555d955dcd3e01872972e71fdd1528e93ec164e4f23385\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efdc632af6960cf865dbc113665ea1f5b90eab75cc40ec062b2f6ae6da582017\",\"dweb:/ipfs/QmfAZFDuG62vxmAN9DnXApv7e7PMzPqi4RkqqZHLMSQiY5\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]},\"solstruct/contracts/libs/LibMap2.bytes4.address.bytes.sol\":{\"keccak256\":\"0x471645d4b20cc36606122fc6bb692cdf8489118547f90bde2740cb73b1e64d54\",\"urls\":[\"bzz-raw://7ca824c03cd077e6d9630eaa4755787c785a61f612cb8e3ba13d0ce92ee55738\",\"dweb:/ipfs/QmdavtXDokZ7vWZt8pMxPi7DaG3Hd1Q5MyeJjXGRFQuL9r\"]},\"solstruct/contracts/libs/LibSet.bytes4.sol\":{\"keccak256\":\"0xdec5833ab65ae8cab500b84424dde49c1f7817c6575e1631a729fc88c6d4bd7f\",\"urls\":[\"bzz-raw://2e5d23b8383819e6dd77ea61ed30740bcba45b0fff609922b11d1cae2b0223f1\",\"dweb:/ipfs/QmQ27sefXEYXBUSEGdPkuzCqemtUJzNXhhsyd7kB94w6CE\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@iexec/interface/contracts/IexecHub.sol\";\nimport \"@iexec/solidity/contracts/Libs/SafeMathExtended.sol\";\nimport \"@iexec/solidity/contracts/ERC1538/ERC1538Store.sol\";\n// import \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"./erlc/IERC20KYC.sol\";\n\nimport \"./libs/IexecLibCore_v5.sol\";\nimport \"./libs/IexecLibOrders_v5.sol\";\nimport \"./registries/apps/App.sol\";\nimport \"./registries/datasets/Dataset.sol\";\nimport \"./registries/workerpools/Workerpool.sol\";\nimport \"./registries/IRegistry.sol\";\n\n/****************************************************************************\n * WARNING: Be carefull when editing this file. *\n * *\n * If you want add new variables for expanded features, add them at the *\n * end, or (better?) create a Store_v2 that inherits from this Store. *\n * *\n * If in doubt, read about ERC1538 memory store. *\n ****************************************************************************/\n\nabstract contract Store is ERC1538Store\n{\n\t// Registries\n\tIRegistry internal m_appregistry;\n\tIRegistry internal m_datasetregistry;\n\tIRegistry internal m_workerpoolregistry;\n\n\t// Escrow\n\tIERC20KYC internal m_baseToken;\n\tstring internal m_name;\n\tstring internal m_symbol;\n\tuint8 internal m_decimals;\n\tuint256 internal m_totalSupply;\n\tmapping (address => uint256 ) internal m_balances;\n\tmapping (address => uint256 ) internal m_frozens;\n\tmapping (address => mapping (address => uint256)) internal m_allowances;\n\n\t// Poco - Constants\n\tuint256 internal constant CONTRIBUTION_DEADLINE_RATIO = 7;\n\tuint256 internal constant REVEAL_DEADLINE_RATIO = 2;\n\tuint256 internal constant FINAL_DEADLINE_RATIO = 10;\n\tuint256 internal constant WORKERPOOL_STAKE_RATIO = 30;\n\tuint256 internal constant KITTY_RATIO = 10;\n\tuint256 internal constant KITTY_MIN = 1000000000; // ADJUSTEMENT VARIABLE\n\taddress internal constant KITTY_ADDRESS = 0x99c2268479b93fDe36232351229815DF80837e23; // address(uint256(keccak256(bytes('iExecKitty'))) - 1);\n\tuint256 internal constant GROUPMEMBER_PURPOSE = 4;\n\tbytes32 internal EIP712DOMAIN_SEPARATOR;\n\n\t// Poco - Storage\n\tmapping(bytes32 => address ) internal m_presigned; // per order\n\tmapping(bytes32 => uint256 ) internal m_consumed; // per order\n\tmapping(bytes32 => IexecLibCore_v5.Deal ) internal m_deals; // per deal\n\tmapping(bytes32 => IexecLibCore_v5.Task ) internal m_tasks; // per task\n\tmapping(bytes32 => IexecLibCore_v5.Consensus ) internal m_consensus; // per task\n\tmapping(bytes32 => mapping(address => IexecLibCore_v5.Contribution)) internal m_contributions; // per task-worker\n\tmapping(address => uint256 ) internal m_workerScores; // per worker\n\n\t// Poco - Settings\n\taddress internal m_teebroker;\n\tuint256 internal m_callbackgas;\n\n\t// Categories\n\tIexecLibCore_v5.Category[] internal m_categories;\n\n\t// Backward compatibility\n\tIexecHubInterface internal m_v3_iexecHub;\n\tmapping(address => bool) internal m_v3_scoreImported;\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol", - "exportedSymbols": { - "Store": [ - 309 - ] - }, - "id": 310, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 197, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:4" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecHub.sol", - "file": "@iexec/interface/contracts/IexecHub.sol", - "id": 198, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 12341, - "src": "1267:49:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "file": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "id": 199, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 13546, - "src": "1317:61:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "file": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "id": 200, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 13174, - "src": "1379:60:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol", - "file": "./erlc/IERC20KYC.sol", - "id": 201, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1031, - "src": "1500:30:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "./libs/IexecLibCore_v5.sol", - "id": 202, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1195, - "src": "1532:36:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "./libs/IexecLibOrders_v5.sol", - "id": 203, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1630, - "src": "1569:38:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "file": "./registries/apps/App.sol", - "id": 204, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10344, - "src": "1608:35:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "file": "./registries/datasets/Dataset.sol", - "id": 205, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10496, - "src": "1644:43:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "file": "./registries/workerpools/Workerpool.sol", - "id": 206, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10668, - "src": "1688:49:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "./registries/IRegistry.sol", - "id": 207, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 9986, - "src": "1738:36:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 208, - "name": "ERC1538Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13173, - "src": "2429:12:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Store_$13173", - "typeString": "contract ERC1538Store" - } - }, - "id": 209, - "nodeType": "InheritanceSpecifier", - "src": "2429:12:4" - } - ], - "contractDependencies": [ - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 309, - "linearizedBaseContracts": [ - 309, - 13173, - 14132, - 13740 - ], - "name": "Store", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 211, - "mutability": "mutable", - "name": "m_appregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2460:32:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 210, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2460:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 213, - "mutability": "mutable", - "name": "m_datasetregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2495:36:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 212, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2495:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 215, - "mutability": "mutable", - "name": "m_workerpoolregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2534:39:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 214, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2534:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 217, - "mutability": "mutable", - "name": "m_baseToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2588:30:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - }, - "typeName": { - "contractScope": null, - "id": 216, - "name": "IERC20KYC", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1030, - "src": "2588:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 219, - "mutability": "mutable", - "name": "m_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2621:25:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2621:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 221, - "mutability": "mutable", - "name": "m_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2649:27:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 220, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2649:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "mutability": "mutable", - "name": "m_decimals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2679:29:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 222, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2679:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 225, - "mutability": "mutable", - "name": "m_totalSupply", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2711:32:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2711:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 229, - "mutability": "mutable", - "name": "m_balances", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2746:69:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 228, - "keyType": { - "id": 226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2755:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2746:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2786:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 233, - "mutability": "mutable", - "name": "m_frozens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2818:68:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 232, - "keyType": { - "id": 230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2827:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2818:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 231, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2858:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 239, - "mutability": "mutable", - "name": "m_allowances", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2889:71:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "typeName": { - "id": 238, - "keyType": { - "id": 234, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2898:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2889:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "valueType": { - "id": 237, - "keyType": { - "id": 235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2918:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2909:28:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 236, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2929:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": true, - "id": 242, - "mutability": "constant", - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2985:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 240, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2985:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "37", - "id": 241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3041:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_7_by_1", - "typeString": "int_const 7" - }, - "value": "7" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 245, - "mutability": "constant", - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3045:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3045:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3101:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 248, - "mutability": "constant", - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3105:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 246, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3105:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3130", - "id": 247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3161:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 251, - "mutability": "constant", - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3166:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3166:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3330", - "id": 250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3222:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_30_by_1", - "typeString": "int_const 30" - }, - "value": "30" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 254, - "mutability": "constant", - "name": "KITTY_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3227:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3227:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3130", - "id": 253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3283:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 257, - "mutability": "constant", - "name": "KITTY_MIN", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3288:66:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3288:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31303030303030303030", - "id": 256, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3344:10:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - }, - "value": "1000000000" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 260, - "mutability": "constant", - "name": "KITTY_ADDRESS", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3381:98:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 258, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3381:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839396332323638343739623933664465333632333233353132323938313544463830383337653233", - "id": 259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3437:42:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "value": "0x99c2268479b93fDe36232351229815DF80837e23" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 263, - "mutability": "constant", - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3539:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3539:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "34", - "id": 262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3595:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 265, - "mutability": "mutable", - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3599:48:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 264, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3599:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 269, - "mutability": "mutable", - "name": "m_presigned", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3670:89:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - }, - "typeName": { - "id": 268, - "keyType": { - "id": 266, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3678:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3670:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - }, - "valueType": { - "id": 267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3708:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 273, - "mutability": "mutable", - "name": "m_consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3779:88:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 272, - "keyType": { - "id": 270, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3787:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3779:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 271, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3817:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 277, - "mutability": "mutable", - "name": "m_deals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3888:85:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal)" - }, - "typeName": { - "id": 276, - "keyType": { - "id": 274, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3896:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3888:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal)" - }, - "valueType": { - "contractScope": null, - "id": 275, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3926:20:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 281, - "mutability": "mutable", - "name": "m_tasks", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3996:85:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task)" - }, - "typeName": { - "id": 280, - "keyType": { - "id": 278, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4004:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3996:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task)" - }, - "valueType": { - "contractScope": null, - "id": 279, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "4034:20:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 285, - "mutability": "mutable", - "name": "m_consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4104:89:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus)" - }, - "typeName": { - "id": 284, - "keyType": { - "id": 282, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4112:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "4104:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus)" - }, - "valueType": { - "contractScope": null, - "id": 283, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "4142:25:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 291, - "mutability": "mutable", - "name": "m_contributions", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4212:93:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution))" - }, - "typeName": { - "id": 290, - "keyType": { - "id": 286, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4220:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "4212:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution))" - }, - "valueType": { - "id": 289, - "keyType": { - "id": 287, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4239:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4231:48:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution)" - }, - "valueType": { - "contractScope": null, - "id": 288, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "4250:28:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 295, - "mutability": "mutable", - "name": "m_workerScores", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4327:92:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 294, - "keyType": { - "id": 292, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4335:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4327:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4365:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 297, - "mutability": "mutable", - "name": "m_teebroker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4458:28:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 296, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4458:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 299, - "mutability": "mutable", - "name": "m_callbackgas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4489:30:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 298, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4489:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 302, - "mutability": "mutable", - "name": "m_categories", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4538:48:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 300, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "4538:24:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "id": 301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4538:26:4", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 304, - "mutability": "mutable", - "name": "m_v3_iexecHub", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4617:40:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - }, - "typeName": { - "contractScope": null, - "id": 303, - "name": "IexecHubInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12340, - "src": "4617:17:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 308, - "mutability": "mutable", - "name": "m_v3_scoreImported", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4660:52:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "typeName": { - "id": 307, - "keyType": { - "id": 305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4668:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4660:24:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 306, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4679:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "scope": 310, - "src": "2402:2313:4" - } - ], - "src": "1242:3474:4" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/Store.sol", - "exportedSymbols": { - "Store": [ - 309 - ] - }, - "id": 310, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 197, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:4" - }, - { - "absolutePath": "@iexec/interface/contracts/IexecHub.sol", - "file": "@iexec/interface/contracts/IexecHub.sol", - "id": 198, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 12341, - "src": "1267:49:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "file": "@iexec/solidity/contracts/Libs/SafeMathExtended.sol", - "id": 199, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 13546, - "src": "1317:61:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "file": "@iexec/solidity/contracts/ERC1538/ERC1538Store.sol", - "id": 200, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 13174, - "src": "1379:60:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/erlc/IERC20KYC.sol", - "file": "./erlc/IERC20KYC.sol", - "id": 201, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1031, - "src": "1500:30:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibCore_v5.sol", - "file": "./libs/IexecLibCore_v5.sol", - "id": 202, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1195, - "src": "1532:36:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/libs/IexecLibOrders_v5.sol", - "file": "./libs/IexecLibOrders_v5.sol", - "id": 203, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 1630, - "src": "1569:38:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/apps/App.sol", - "file": "./registries/apps/App.sol", - "id": 204, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10344, - "src": "1608:35:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/datasets/Dataset.sol", - "file": "./registries/datasets/Dataset.sol", - "id": 205, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10496, - "src": "1644:43:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "file": "./registries/workerpools/Workerpool.sol", - "id": 206, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 10668, - "src": "1688:49:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol", - "file": "./registries/IRegistry.sol", - "id": 207, - "nodeType": "ImportDirective", - "scope": 310, - "sourceUnit": 9986, - "src": "1738:36:4", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": true, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 208, - "name": "ERC1538Store", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13173, - "src": "2429:12:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC1538Store_$13173", - "typeString": "contract ERC1538Store" - } - }, - "id": 209, - "nodeType": "InheritanceSpecifier", - "src": "2429:12:4" - } - ], - "contractDependencies": [ - 13173, - 13740, - 14132 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 309, - "linearizedBaseContracts": [ - 309, - 13173, - 14132, - 13740 - ], - "name": "Store", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 211, - "mutability": "mutable", - "name": "m_appregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2460:32:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 210, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2460:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 213, - "mutability": "mutable", - "name": "m_datasetregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2495:36:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 212, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2495:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 215, - "mutability": "mutable", - "name": "m_workerpoolregistry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2534:39:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - }, - "typeName": { - "contractScope": null, - "id": 214, - "name": "IRegistry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9985, - "src": "2534:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IRegistry_$9985", - "typeString": "contract IRegistry" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 217, - "mutability": "mutable", - "name": "m_baseToken", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2588:30:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - }, - "typeName": { - "contractScope": null, - "id": 216, - "name": "IERC20KYC", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1030, - "src": "2588:9:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20KYC_$1030", - "typeString": "contract IERC20KYC" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 219, - "mutability": "mutable", - "name": "m_name", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2621:25:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2621:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 221, - "mutability": "mutable", - "name": "m_symbol", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2649:27:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 220, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2649:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "mutability": "mutable", - "name": "m_decimals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2679:29:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 222, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2679:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 225, - "mutability": "mutable", - "name": "m_totalSupply", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2711:32:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2711:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 229, - "mutability": "mutable", - "name": "m_balances", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2746:69:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 228, - "keyType": { - "id": 226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2755:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2746:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2786:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 233, - "mutability": "mutable", - "name": "m_frozens", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2818:68:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 232, - "keyType": { - "id": 230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2827:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2818:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 231, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2858:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 239, - "mutability": "mutable", - "name": "m_allowances", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2889:71:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "typeName": { - "id": 238, - "keyType": { - "id": 234, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2898:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2889:49:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "valueType": { - "id": 237, - "keyType": { - "id": 235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2918:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2909:28:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 236, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2929:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": true, - "id": 242, - "mutability": "constant", - "name": "CONTRIBUTION_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "2985:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 240, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2985:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "37", - "id": 241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3041:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_7_by_1", - "typeString": "int_const 7" - }, - "value": "7" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 245, - "mutability": "constant", - "name": "REVEAL_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3045:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 243, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3045:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "32", - "id": 244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3101:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 248, - "mutability": "constant", - "name": "FINAL_DEADLINE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3105:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 246, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3105:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3130", - "id": 247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3161:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 251, - "mutability": "constant", - "name": "WORKERPOOL_STAKE_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3166:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3166:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3330", - "id": 250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3222:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_30_by_1", - "typeString": "int_const 30" - }, - "value": "30" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 254, - "mutability": "constant", - "name": "KITTY_RATIO", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3227:58:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3227:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "3130", - "id": 253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3283:2:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 257, - "mutability": "constant", - "name": "KITTY_MIN", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3288:66:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 255, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3288:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "31303030303030303030", - "id": 256, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3344:10:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000_by_1", - "typeString": "int_const 1000000000" - }, - "value": "1000000000" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 260, - "mutability": "constant", - "name": "KITTY_ADDRESS", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3381:98:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 258, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3381:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "307839396332323638343739623933664465333632333233353132323938313544463830383337653233", - "id": 259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3437:42:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "value": "0x99c2268479b93fDe36232351229815DF80837e23" - }, - "visibility": "internal" - }, - { - "constant": true, - "id": 263, - "mutability": "constant", - "name": "GROUPMEMBER_PURPOSE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3539:57:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3539:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "34", - "id": 262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3595:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 265, - "mutability": "mutable", - "name": "EIP712DOMAIN_SEPARATOR", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3599:48:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 264, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3599:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 269, - "mutability": "mutable", - "name": "m_presigned", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3670:89:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - }, - "typeName": { - "id": 268, - "keyType": { - "id": 266, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3678:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3670:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", - "typeString": "mapping(bytes32 => address)" - }, - "valueType": { - "id": 267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3708:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 273, - "mutability": "mutable", - "name": "m_consumed", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3779:88:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 272, - "keyType": { - "id": 270, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3787:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3779:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 271, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3817:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 277, - "mutability": "mutable", - "name": "m_deals", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3888:85:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal)" - }, - "typeName": { - "id": 276, - "keyType": { - "id": 274, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3896:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3888:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Deal_$1132_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Deal)" - }, - "valueType": { - "contractScope": null, - "id": 275, - "name": "IexecLibCore_v5.Deal", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1132, - "src": "3926:20:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Deal_$1132_storage_ptr", - "typeString": "struct IexecLibCore_v5.Deal" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 281, - "mutability": "mutable", - "name": "m_tasks", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "3996:85:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task)" - }, - "typeName": { - "id": 280, - "keyType": { - "id": 278, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4004:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "3996:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Task_$1170_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Task)" - }, - "valueType": { - "contractScope": null, - "id": 279, - "name": "IexecLibCore_v5.Task", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1170, - "src": "4034:20:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Task_$1170_storage_ptr", - "typeString": "struct IexecLibCore_v5.Task" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 285, - "mutability": "mutable", - "name": "m_consensus", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4104:89:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus)" - }, - "typeName": { - "id": 284, - "keyType": { - "id": 282, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4112:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "4104:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Consensus_$1177_storage_$", - "typeString": "mapping(bytes32 => struct IexecLibCore_v5.Consensus)" - }, - "valueType": { - "contractScope": null, - "id": 283, - "name": "IexecLibCore_v5.Consensus", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1177, - "src": "4142:25:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Consensus_$1177_storage_ptr", - "typeString": "struct IexecLibCore_v5.Consensus" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 291, - "mutability": "mutable", - "name": "m_contributions", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4212:93:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution))" - }, - "typeName": { - "id": 290, - "keyType": { - "id": 286, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4220:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "4212:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$_$", - "typeString": "mapping(bytes32 => mapping(address => struct IexecLibCore_v5.Contribution))" - }, - "valueType": { - "id": 289, - "keyType": { - "id": 287, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4239:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4231:48:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Contribution_$1193_storage_$", - "typeString": "mapping(address => struct IexecLibCore_v5.Contribution)" - }, - "valueType": { - "contractScope": null, - "id": 288, - "name": "IexecLibCore_v5.Contribution", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1193, - "src": "4250:28:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Contribution_$1193_storage_ptr", - "typeString": "struct IexecLibCore_v5.Contribution" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 295, - "mutability": "mutable", - "name": "m_workerScores", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4327:92:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 294, - "keyType": { - "id": 292, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4335:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4327:68:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4365:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 297, - "mutability": "mutable", - "name": "m_teebroker", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4458:28:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 296, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4458:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 299, - "mutability": "mutable", - "name": "m_callbackgas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4489:30:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 298, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4489:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 302, - "mutability": "mutable", - "name": "m_categories", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4538:48:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage", - "typeString": "struct IexecLibCore_v5.Category[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 300, - "name": "IexecLibCore_v5.Category", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1094, - "src": "4538:24:4", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Category_$1094_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category" - } - }, - "id": 301, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4538:26:4", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Category_$1094_storage_$dyn_storage_ptr", - "typeString": "struct IexecLibCore_v5.Category[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 304, - "mutability": "mutable", - "name": "m_v3_iexecHub", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4617:40:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - }, - "typeName": { - "contractScope": null, - "id": 303, - "name": "IexecHubInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12340, - "src": "4617:17:4", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecHubInterface_$12340", - "typeString": "contract IexecHubInterface" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 308, - "mutability": "mutable", - "name": "m_v3_scoreImported", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 309, - "src": "4660:52:4", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "typeName": { - "id": 307, - "keyType": { - "id": 305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4668:7:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "4660:24:4", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 306, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4679:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "internal" - } - ], - "scope": 310, - "src": "2402:2313:4" - } - ], - "src": "1242:3474:4" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-09T09:15:00.542Z", - "devdoc": { - "kind": "dev", - "methods": { - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Strings.json b/build/contracts/Strings.json deleted file mode 100644 index 3423d7c51..000000000 --- a/build/contracts/Strings.json +++ /dev/null @@ -1,2312 +0,0 @@ -{ - "contractName": "Strings", - "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7f016a618a250134003f488467b21cc273c2609b39b1c04c9285275a68ade8564736f6c634300060c0033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7f016a618a250134003f488467b21cc273c2609b39b1c04c9285275a68ade8564736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "93:834:101:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "93:834:101:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = byte(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n", - "sourcePath": "@openzeppelin/contracts/utils/Strings.sol", - "ast": { - "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", - "exportedSymbols": { - "Strings": [ - 17834 - ] - }, - "id": 17835, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17749, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:101" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 17750, - "nodeType": "StructuredDocumentation", - "src": "58:34:101", - "text": " @dev String operations." - }, - "fullyImplemented": true, - "id": 17834, - "linearizedBaseContracts": [ - 17834 - ], - "name": "Strings", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 17832, - "nodeType": "Block", - "src": "273:652:101", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17758, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "475:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "484:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "475:10:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 17764, - "nodeType": "IfStatement", - "src": "471:51:101", - "trueBody": { - "id": 17763, - "nodeType": "Block", - "src": "487:35:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17761, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "508:3:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "typeString": "literal_string \"0\"" - }, - "value": "0" - }, - "functionReturnParameters": 17757, - "id": 17762, - "nodeType": "Return", - "src": "501:10:101" - } - ] - } - }, - { - "assignments": [ - 17766 - ], - "declarations": [ - { - "constant": false, - "id": 17766, - "mutability": "mutable", - "name": "temp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "531:12:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "531:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17768, - "initialValue": { - "argumentTypes": null, - "id": 17767, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "546:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "531:20:101" - }, - { - "assignments": [ - 17770 - ], - "declarations": [ - { - "constant": false, - "id": 17770, - "mutability": "mutable", - "name": "digits", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "561:14:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17769, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "561:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17771, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "561:14:101" - }, - { - "body": { - "id": 17782, - "nodeType": "Block", - "src": "603:57:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 17776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "617:8:101", - "subExpression": { - "argumentTypes": null, - "id": 17775, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "617:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17777, - "nodeType": "ExpressionStatement", - "src": "617:8:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17778, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "639:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "647:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "639:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17781, - "nodeType": "ExpressionStatement", - "src": "639:10:101" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17772, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "592:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "592:9:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 17783, - "nodeType": "WhileStatement", - "src": "585:75:101" - }, - { - "assignments": [ - 17785 - ], - "declarations": [ - { - "constant": false, - "id": 17785, - "mutability": "mutable", - "name": "buffer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "669:19:101", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 17784, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "669:5:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17790, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17788, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "701:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "691:9:101", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 17786, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "695:5:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 17789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "691:17:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "669:39:101" - }, - { - "assignments": [ - 17792 - ], - "declarations": [ - { - "constant": false, - "id": 17792, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "718:13:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17791, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "718:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17796, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17793, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "734:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "743:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "734:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "718:26:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17797, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "754:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17798, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "761:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "754:12:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17800, - "nodeType": "ExpressionStatement", - "src": "754:12:101" - }, - { - "body": { - "id": 17825, - "nodeType": "Block", - "src": "794:94:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 17819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 17804, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17785, - "src": "808:6:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 17807, - "indexExpression": { - "argumentTypes": null, - "id": 17806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "815:7:101", - "subExpression": { - "argumentTypes": null, - "id": 17805, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17792, - "src": "815:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "808:15:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "hexValue": "3438", - "id": 17812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "837:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_48_by_1", - "typeString": "int_const 48" - }, - "value": "48" - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17813, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "842:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "849:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "842:9:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "837:14:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "831:5:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 17810, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "831:5:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "831:21:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 17809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "826:4:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 17808, - "name": "byte", - "nodeType": "ElementaryTypeName", - "src": "826:4:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "826:27:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "808:45:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 17820, - "nodeType": "ExpressionStatement", - "src": "808:45:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17821, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "867:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "875:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "867:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17824, - "nodeType": "ExpressionStatement", - "src": "867:10:101" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17801, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "783:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "791:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "783:9:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 17826, - "nodeType": "WhileStatement", - "src": "776:112:101" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17829, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17785, - "src": "911:6:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "904:6:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 17827, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "904:6:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "904:14:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 17757, - "id": 17831, - "nodeType": "Return", - "src": "897:21:101" - } - ] - }, - "documentation": { - "id": 17751, - "nodeType": "StructuredDocumentation", - "src": "115:82:101", - "text": " @dev Converts a `uint256` to its ASCII `string` representation." - }, - "id": 17833, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toString", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17754, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17753, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17833, - "src": "220:13:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "220:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "219:15:101" - }, - "returnParameters": { - "id": 17757, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17756, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17833, - "src": "258:13:101", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17755, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "258:6:101", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "257:15:101" - }, - "scope": 17834, - "src": "202:723:101", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17835, - "src": "93:834:101" - } - ], - "src": "33:895:101" - }, - "legacyAST": { - "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", - "exportedSymbols": { - "Strings": [ - 17834 - ] - }, - "id": 17835, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 17749, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:101" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 17750, - "nodeType": "StructuredDocumentation", - "src": "58:34:101", - "text": " @dev String operations." - }, - "fullyImplemented": true, - "id": 17834, - "linearizedBaseContracts": [ - 17834 - ], - "name": "Strings", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 17832, - "nodeType": "Block", - "src": "273:652:101", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17758, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "475:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "484:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "475:10:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 17764, - "nodeType": "IfStatement", - "src": "471:51:101", - "trueBody": { - "id": 17763, - "nodeType": "Block", - "src": "487:35:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17761, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "508:3:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "typeString": "literal_string \"0\"" - }, - "value": "0" - }, - "functionReturnParameters": 17757, - "id": 17762, - "nodeType": "Return", - "src": "501:10:101" - } - ] - } - }, - { - "assignments": [ - 17766 - ], - "declarations": [ - { - "constant": false, - "id": 17766, - "mutability": "mutable", - "name": "temp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "531:12:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17765, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "531:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17768, - "initialValue": { - "argumentTypes": null, - "id": 17767, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "546:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "531:20:101" - }, - { - "assignments": [ - 17770 - ], - "declarations": [ - { - "constant": false, - "id": 17770, - "mutability": "mutable", - "name": "digits", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "561:14:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17769, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "561:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17771, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "561:14:101" - }, - { - "body": { - "id": 17782, - "nodeType": "Block", - "src": "603:57:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 17776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "617:8:101", - "subExpression": { - "argumentTypes": null, - "id": 17775, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "617:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17777, - "nodeType": "ExpressionStatement", - "src": "617:8:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17778, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "639:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "647:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "639:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17781, - "nodeType": "ExpressionStatement", - "src": "639:10:101" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17772, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "592:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "600:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "592:9:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 17783, - "nodeType": "WhileStatement", - "src": "585:75:101" - }, - { - "assignments": [ - 17785 - ], - "declarations": [ - { - "constant": false, - "id": 17785, - "mutability": "mutable", - "name": "buffer", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "669:19:101", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 17784, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "669:5:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17790, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17788, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "701:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "691:9:101", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 17786, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "695:5:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 17789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "691:17:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "669:39:101" - }, - { - "assignments": [ - 17792 - ], - "declarations": [ - { - "constant": false, - "id": 17792, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17832, - "src": "718:13:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17791, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "718:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 17796, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17793, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17770, - "src": "734:6:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 17794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "743:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "734:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "718:26:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17797, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "754:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 17798, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17753, - "src": "761:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "754:12:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17800, - "nodeType": "ExpressionStatement", - "src": "754:12:101" - }, - { - "body": { - "id": 17825, - "nodeType": "Block", - "src": "794:94:101", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 17819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 17804, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17785, - "src": "808:6:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 17807, - "indexExpression": { - "argumentTypes": null, - "id": 17806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "815:7:101", - "subExpression": { - "argumentTypes": null, - "id": 17805, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17792, - "src": "815:5:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "808:15:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "hexValue": "3438", - "id": 17812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "837:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_48_by_1", - "typeString": "int_const 48" - }, - "value": "48" - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17813, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "842:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "849:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "842:9:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "837:14:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 17811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "831:5:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 17810, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "831:5:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "831:21:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 17809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "826:4:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 17808, - "name": "byte", - "nodeType": "ElementaryTypeName", - "src": "826:4:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "826:27:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "808:45:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 17820, - "nodeType": "ExpressionStatement", - "src": "808:45:101" - }, - { - "expression": { - "argumentTypes": null, - "id": 17823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 17821, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "867:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3130", - "id": 17822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "875:2:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "867:10:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 17824, - "nodeType": "ExpressionStatement", - "src": "867:10:101" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 17803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 17801, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17766, - "src": "783:4:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 17802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "791:1:101", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "783:9:101", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 17826, - "nodeType": "WhileStatement", - "src": "776:112:101" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 17829, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17785, - "src": "911:6:101", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "904:6:101", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 17827, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "904:6:101", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 17830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "904:14:101", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 17757, - "id": 17831, - "nodeType": "Return", - "src": "897:21:101" - } - ] - }, - "documentation": { - "id": 17751, - "nodeType": "StructuredDocumentation", - "src": "115:82:101", - "text": " @dev Converts a `uint256` to its ASCII `string` representation." - }, - "id": 17833, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toString", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 17754, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17753, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17833, - "src": "220:13:101", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "220:7:101", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "219:15:101" - }, - "returnParameters": { - "id": 17757, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17756, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 17833, - "src": "258:13:101", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17755, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "258:6:101", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "257:15:101" - }, - "scope": 17834, - "src": "202:723:101", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 17835, - "src": "93:834:101" - } - ], - "src": "33:895:101" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.919Z", - "devdoc": { - "details": "String operations.", - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/TestClient.json b/build/contracts/TestClient.json deleted file mode 100644 index cb4b51148..000000000 --- a/build/contracts/TestClient.json +++ /dev/null @@ -1,1338 +0,0 @@ -{ - "contractName": "TestClient", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "result", - "type": "bytes" - } - ], - "name": "GotResult", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "gstore", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "store", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "result", - "type": "bytes" - } - ], - "name": "receiveResult", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"name\":\"GotResult\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"gstore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"name\":\"receiveResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"store\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestClient.sol\":\"TestClient\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestClient.sol\":{\"keccak256\":\"0xcd91ba39625b90e79289d065b16fe63d1f56092d1a057a282a9010f0cd51d3ea\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://8e7808ddf74b01a2d779f888c439a369cb41e161af379f1abde7b24eb1f4c094\",\"dweb:/ipfs/QmdPZFpCULzEMgun55LjS6wVQ4fuLcCPYLyRxoCwNDyEp1\"]},\"@iexec/solidity/contracts/ERC1154/IERC1154.sol\":{\"keccak256\":\"0x542ed19435ffdf4e5f1fbf57f87d26883e04cf96c21c69f7eb691e46c0f6ee5d\",\"urls\":[\"bzz-raw://d7744c331a362162870775cdea560f2db4da1ae6123ca05aba825a8850da37a0\",\"dweb:/ipfs/Qmf3FgPtiUiCA4Mnb9LpGrUciub9RwxniGSRPriRM4hVpc\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610380806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635dd8085514610046578063654cf88c146100bf578063905f658c14610151575b600080fd5b6100bd6004803603604081101561005c57600080fd5b8135919081019060408101602082013564010000000081111561007e57600080fd5b82018360208201111561009057600080fd5b803590602001918460018302840111640100000000831117156100b257600080fd5b509092509050610180565b005b6100dc600480360360208110156100d557600080fd5b503561020b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61016e6004803603602081101561016757600080fd5b50356102a5565b60408051918252519081900360200190f35b5a6000848152602081815260408083209390935560019052206101a49083836102b7565b50827fccc426763ac02171b240f5f93cd8963dad9700205747a4a23f9c9854f9e9cf3a838360405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050565b60016020818152600092835260409283902080548451600294821615610100026000190190911693909304601f810183900483028401830190945283835291929083018282801561029d5780601f106102725761010080835404028352916020019161029d565b820191906000526020600020905b81548152906001019060200180831161028057829003601f168201915b505050505081565b60006020819052908152604090205481565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106102f85782800160ff19823516178555610325565b82800160010185558215610325579182015b8281111561032557823582559160200191906001019061030a565b50610331929150610335565b5090565b5b80821115610331576000815560010161033656fea264697066735822122072f2385d8b2eae8c0496b10392bd06a79bad25568417fd36aaaa53edde92387e64736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80635dd8085514610046578063654cf88c146100bf578063905f658c14610151575b600080fd5b6100bd6004803603604081101561005c57600080fd5b8135919081019060408101602082013564010000000081111561007e57600080fd5b82018360208201111561009057600080fd5b803590602001918460018302840111640100000000831117156100b257600080fd5b509092509050610180565b005b6100dc600480360360208110156100d557600080fd5b503561020b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61016e6004803603602081101561016757600080fd5b50356102a5565b60408051918252519081900360200190f35b5a6000848152602081815260408083209390935560019052206101a49083836102b7565b50827fccc426763ac02171b240f5f93cd8963dad9700205747a4a23f9c9854f9e9cf3a838360405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050565b60016020818152600092835260409283902080548451600294821615610100026000190190911693909304601f810183900483028401830190945283835291929083018282801561029d5780601f106102725761010080835404028352916020019161029d565b820191906000526020600020905b81548152906001019060200180831161028057829003601f168201915b505050505081565b60006020819052908152604090205481565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106102f85782800160ff19823516178555610325565b82800160010185558215610325579182015b8281111561032557823582559160200191906001019061030a565b50610331929150610335565b5090565b5b80821115610331576000815560010161033656fea264697066735822122072f2385d8b2eae8c0496b10392bd06a79bad25568417fd36aaaa53edde92387e64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1326:376:60:-:0;;;1509:27;;;;;;;;;;1326:376;;;;;;", - "deployedSourceMap": "1326:376:60:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1539:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1539:160:60;;-1:-1:-1;1539:160:60;-1:-1:-1;1539:160:60;:::i;:::-;;1465:40;;;;;;;;;;;;;;;;-1:-1:-1;1465:40:60;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1421:41;;;;;;;;;;;;;;;;-1:-1:-1;1421:41:60;;:::i;:::-;;;;;;;;;;;;;;;;1539:160;1633:9;1620:6;:10;;;;;;;;;;;:22;;;;1646:5;:9;;;:19;;1659:6;;1646:19;:::i;:::-;;1684:2;1674:21;1688:6;;1674:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1674:21:60;;;;;;;;-1:-1:-1;1674:21:60;;-1:-1:-1;;;;1674:21:60;1539:160;;;:::o;1465:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1465:40:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1421:41::-;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"@iexec/solidity/contracts/ERC1154/IERC1154.sol\";\n\n\ncontract TestClient is IOracleConsumer\n{\n\tevent GotResult(bytes32 indexed id, bytes result);\n\n\tmapping(bytes32 => uint256) public gstore;\n\tmapping(bytes32 => bytes ) public store;\n\n\tconstructor()\n\tpublic\n\t{\n\t}\n\n\tfunction receiveResult(bytes32 id, bytes calldata result) external override\n\t{\n\t\tgstore[id] = gasleft();\n\t\tstore[id] = result;\n\t\temit GotResult(id, result);\n\t}\n\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestClient.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestClient.sol", - "exportedSymbols": { - "TestClient": [ - 11540 - ] - }, - "id": 11541, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11491, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:60" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 11492, - "nodeType": "ImportDirective", - "scope": 11541, - "sourceUnit": 13076, - "src": "1267:56:60", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 11493, - "name": "IOracleConsumer", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13067, - "src": "1349:15:60", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOracleConsumer_$13067", - "typeString": "contract IOracleConsumer" - } - }, - "id": 11494, - "nodeType": "InheritanceSpecifier", - "src": "1349:15:60" - } - ], - "contractDependencies": [ - 13067 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 11540, - "linearizedBaseContracts": [ - 11540, - 13067 - ], - "name": "TestClient", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11500, - "name": "GotResult", - "nodeType": "EventDefinition", - "parameters": { - "id": 11499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11496, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11500, - "src": "1384:18:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11495, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1384:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11498, - "indexed": false, - "mutability": "mutable", - "name": "result", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11500, - "src": "1404:12:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1404:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1383:34:60" - }, - "src": "1368:50:60" - }, - { - "constant": false, - "functionSelector": "905f658c", - "id": 11504, - "mutability": "mutable", - "name": "gstore", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11540, - "src": "1421:41:60", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 11503, - "keyType": { - "id": 11501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1429:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1421:27:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 11502, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1440:7:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "654cf88c", - "id": 11508, - "mutability": "mutable", - "name": "store", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11540, - "src": "1465:40:60", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes)" - }, - "typeName": { - "id": 11507, - "keyType": { - "id": 11505, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1473:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1465:27:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes)" - }, - "valueType": { - "id": 11506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1484:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 11511, - "nodeType": "Block", - "src": "1532:4:60", - "statements": [] - }, - "documentation": null, - "id": 11512, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11509, - "nodeType": "ParameterList", - "parameters": [], - "src": "1520:2:60" - }, - "returnParameters": { - "id": 11510, - "nodeType": "ParameterList", - "parameters": [], - "src": "1532:0:60" - }, - "scope": 11540, - "src": "1509:27:60", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 13066 - ], - "body": { - "id": 11538, - "nodeType": "Block", - "src": "1616:83:60", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 11525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11520, - "name": "gstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11504, - "src": "1620:6:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11522, - "indexExpression": { - "argumentTypes": null, - "id": 11521, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1627:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1620:10:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 11523, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "1633:7:60", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 11524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1633:9:60", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1620:22:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11526, - "nodeType": "ExpressionStatement", - "src": "1620:22:60" - }, - { - "expression": { - "argumentTypes": null, - "id": 11531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11527, - "name": "store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11508, - "src": "1646:5:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes storage ref)" - } - }, - "id": 11529, - "indexExpression": { - "argumentTypes": null, - "id": 11528, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1652:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1646:9:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11530, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11516, - "src": "1659:6:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "1646:19:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 11532, - "nodeType": "ExpressionStatement", - "src": "1646:19:60" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11534, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1684:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11535, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11516, - "src": "1688:6:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11533, - "name": "GotResult", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11500, - "src": "1674:9:60", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 11536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1674:21:60", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11537, - "nodeType": "EmitStatement", - "src": "1669:26:60" - } - ] - }, - "documentation": null, - "functionSelector": "5dd80855", - "id": 11539, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 11518, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1606:8:60" - }, - "parameters": { - "id": 11517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11514, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11539, - "src": "1562:10:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1562:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11516, - "mutability": "mutable", - "name": "result", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11539, - "src": "1574:21:60", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1574:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1561:35:60" - }, - "returnParameters": { - "id": 11519, - "nodeType": "ParameterList", - "parameters": [], - "src": "1616:0:60" - }, - "scope": 11540, - "src": "1539:160:60", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11541, - "src": "1326:376:60" - } - ], - "src": "1242:461:60" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestClient.sol", - "exportedSymbols": { - "TestClient": [ - 11540 - ] - }, - "id": 11541, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11491, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:60" - }, - { - "absolutePath": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "file": "@iexec/solidity/contracts/ERC1154/IERC1154.sol", - "id": 11492, - "nodeType": "ImportDirective", - "scope": 11541, - "sourceUnit": 13076, - "src": "1267:56:60", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 11493, - "name": "IOracleConsumer", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13067, - "src": "1349:15:60", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IOracleConsumer_$13067", - "typeString": "contract IOracleConsumer" - } - }, - "id": 11494, - "nodeType": "InheritanceSpecifier", - "src": "1349:15:60" - } - ], - "contractDependencies": [ - 13067 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 11540, - "linearizedBaseContracts": [ - 11540, - 13067 - ], - "name": "TestClient", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11500, - "name": "GotResult", - "nodeType": "EventDefinition", - "parameters": { - "id": 11499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11496, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11500, - "src": "1384:18:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11495, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1384:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11498, - "indexed": false, - "mutability": "mutable", - "name": "result", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11500, - "src": "1404:12:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1404:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1383:34:60" - }, - "src": "1368:50:60" - }, - { - "constant": false, - "functionSelector": "905f658c", - "id": 11504, - "mutability": "mutable", - "name": "gstore", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11540, - "src": "1421:41:60", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 11503, - "keyType": { - "id": 11501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1429:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1421:27:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 11502, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1440:7:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "654cf88c", - "id": 11508, - "mutability": "mutable", - "name": "store", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11540, - "src": "1465:40:60", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes)" - }, - "typeName": { - "id": 11507, - "keyType": { - "id": 11505, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1473:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1465:27:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes)" - }, - "valueType": { - "id": 11506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1484:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 11511, - "nodeType": "Block", - "src": "1532:4:60", - "statements": [] - }, - "documentation": null, - "id": 11512, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11509, - "nodeType": "ParameterList", - "parameters": [], - "src": "1520:2:60" - }, - "returnParameters": { - "id": 11510, - "nodeType": "ParameterList", - "parameters": [], - "src": "1532:0:60" - }, - "scope": 11540, - "src": "1509:27:60", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 13066 - ], - "body": { - "id": 11538, - "nodeType": "Block", - "src": "1616:83:60", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 11525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11520, - "name": "gstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11504, - "src": "1620:6:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11522, - "indexExpression": { - "argumentTypes": null, - "id": 11521, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1627:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1620:10:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 11523, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "1633:7:60", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 11524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1633:9:60", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1620:22:60", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11526, - "nodeType": "ExpressionStatement", - "src": "1620:22:60" - }, - { - "expression": { - "argumentTypes": null, - "id": 11531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11527, - "name": "store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11508, - "src": "1646:5:60", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes_storage_$", - "typeString": "mapping(bytes32 => bytes storage ref)" - } - }, - "id": 11529, - "indexExpression": { - "argumentTypes": null, - "id": 11528, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1652:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1646:9:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11530, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11516, - "src": "1659:6:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "1646:19:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 11532, - "nodeType": "ExpressionStatement", - "src": "1646:19:60" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11534, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11514, - "src": "1684:2:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11535, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11516, - "src": "1688:6:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11533, - "name": "GotResult", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11500, - "src": "1674:9:60", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes memory)" - } - }, - "id": 11536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1674:21:60", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11537, - "nodeType": "EmitStatement", - "src": "1669:26:60" - } - ] - }, - "documentation": null, - "functionSelector": "5dd80855", - "id": 11539, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveResult", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 11518, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1606:8:60" - }, - "parameters": { - "id": 11517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11514, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11539, - "src": "1562:10:60", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11513, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1562:7:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11516, - "mutability": "mutable", - "name": "result", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11539, - "src": "1574:21:60", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1574:5:60", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1561:35:60" - }, - "returnParameters": { - "id": 11519, - "nodeType": "ParameterList", - "parameters": [], - "src": "1616:0:60" - }, - "scope": 11540, - "src": "1539:160:60", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11541, - "src": "1326:376:60" - } - ], - "src": "1242:461:60" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.879Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/TestReceiver.json b/build/contracts/TestReceiver.json deleted file mode 100644 index 264c6386d..000000000 --- a/build/contracts/TestReceiver.json +++ /dev/null @@ -1,1404 +0,0 @@ -{ - "contractName": "TestReceiver", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "extraData", - "type": "bytes" - } - ], - "name": "GotApproval", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_value", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_token", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_extraData", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"GotApproval\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"receiveApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestReceiver.sol\":\"TestReceiver\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol\":{\"keccak256\":\"0xd914d8f8a6ebf78bdb876c2243e90c6bfffcf280e3760affa57afd7e618cd420\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1807226c064ecf6819c50440342aaaab2833209193c6307f4ab42567d54d329c\",\"dweb:/ipfs/QmSBVCBo2GqWKqW98pw3mXwzXY7iupoUTnDytXAVyTi8T5\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestReceiver.sol\":{\"keccak256\":\"0x00f8515e90f564f499806e38f57b4e8dce76492a9e13f74627a5edaf3798e969\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://82e83d09a15ecd813304ab40245ea97c56f880535fb951203389f516b4507fd9\",\"dweb:/ipfs/QmcHyLMBe5zEiMDcPQrNSXseNrSahRKLkZbsrN23eWAUvU\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b506101af806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638f4ffcb114610030575b600080fd5b6100bf6004803603608081101561004657600080fd5b6001600160a01b03823581169260208101359260408201359092169181019060808101606082013564010000000081111561008057600080fd5b82018360208201111561009257600080fd5b803590602001918460018302840111640100000000831117156100b457600080fd5b5090925090506100d3565b604080519115158252519081900360200190f35b6000846100e257506000610170565b7f9304cb4e5095c22133682d56d385bc94b8f429a2d989572ae241952c950714fa868686868660405180866001600160a01b03168152602001858152602001846001600160a01b03168152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039850909650505050505050a15060015b9594505050505056fea26469706673582212202be0253f6266e07230e45e413d643fb3ac9c9e0fd89d73a1d16eba72b443590464736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80638f4ffcb114610030575b600080fd5b6100bf6004803603608081101561004657600080fd5b6001600160a01b03823581169260208101359260408201359092169181019060808101606082013564010000000081111561008057600080fd5b82018360208201111561009257600080fd5b803590602001918460018302840111640100000000831117156100b457600080fd5b5090925090506100d3565b604080519115158252519081900360200190f35b6000846100e257506000610170565b7f9304cb4e5095c22133682d56d385bc94b8f429a2d989572ae241952c950714fa868686868660405180866001600160a01b03168152602001858152602001846001600160a01b03168152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039850909650505050505050a15060015b9594505050505056fea26469706673582212202be0253f6266e07230e45e413d643fb3ac9c9e0fd89d73a1d16eba72b443590464736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1326:466:61:-:0;;;1456:27;;;;;;;;;;1326:466;;;;;;", - "deployedSourceMap": "1326:466:61:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1486:303;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1486:303:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1486:303:61;;-1:-1:-1;1486:303:61;-1:-1:-1;1486:303:61;:::i;:::-;;;;;;;;;;;;;;;;;;;1645:4;1660:11;1656:130;;-1:-1:-1;1687:5:61;1680:12;;1656:130;1717:48;1729:7;1738:6;1746;1754:10;;1717:48;;;;-1:-1:-1;;;;;1717:48:61;;;;;;;;;;;-1:-1:-1;;;;;1717:48:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1717:48:61;;;;;;;;-1:-1:-1;1717:48:61;;-1:-1:-1;;;;;;;1717:48:61;-1:-1:-1;1777:4:61;1656:130;1486:303;;;;;;;:::o", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"../../modules/interfaces/IexecTokenSpender.sol\";\n\n\ncontract TestReceiver is IexecTokenSpender\n{\n\tevent GotApproval(address sender, uint256 value, address token, bytes extraData);\n\n\tconstructor()\n\tpublic\n\t{\n\t}\n\n\tfunction receiveApproval(\n\t\taddress _sender,\n\t\tuint256 _value,\n\t\taddress _token,\n\t\tbytes calldata _extraData)\n\texternal override returns (bool)\n\t{\n\t\tif (_value == 0)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\temit GotApproval(_sender, _value, _token, _extraData);\n\t\t\treturn true;\n\t\t}\n\t}\n\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestReceiver.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestReceiver.sol", - "exportedSymbols": { - "TestReceiver": [ - 11592 - ] - }, - "id": 11593, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11542, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:61" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../../modules/interfaces/IexecTokenSpender.sol", - "id": 11543, - "nodeType": "ImportDirective", - "scope": 11593, - "sourceUnit": 9912, - "src": "1267:56:61", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 11544, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9911, - "src": "1351:17:61", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9911", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 11545, - "nodeType": "InheritanceSpecifier", - "src": "1351:17:61" - } - ], - "contractDependencies": [ - 9911 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 11592, - "linearizedBaseContracts": [ - 11592, - 9911 - ], - "name": "TestReceiver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11555, - "name": "GotApproval", - "nodeType": "EventDefinition", - "parameters": { - "id": 11554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11547, - "indexed": false, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1390:14:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11546, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1390:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11549, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1406:13:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11551, - "indexed": false, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1421:13:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1421:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11553, - "indexed": false, - "mutability": "mutable", - "name": "extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1436:15:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11552, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1436:5:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1389:63:61" - }, - "src": "1372:81:61" - }, - { - "body": { - "id": 11558, - "nodeType": "Block", - "src": "1479:4:61", - "statements": [] - }, - "documentation": null, - "id": 11559, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11556, - "nodeType": "ParameterList", - "parameters": [], - "src": "1467:2:61" - }, - "returnParameters": { - "id": 11557, - "nodeType": "ParameterList", - "parameters": [], - "src": "1479:0:61" - }, - "scope": 11592, - "src": "1456:27:61", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9910 - ], - "body": { - "id": 11590, - "nodeType": "Block", - "src": "1652:137:61", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11573, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11563, - "src": "1660:6:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 11574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1670:1:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1660:11:61", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 11588, - "nodeType": "Block", - "src": "1707:79:61", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11580, - "name": "_sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11561, - "src": "1729:7:61", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11581, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11563, - "src": "1738:6:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11582, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11565, - "src": "1746:6:61", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11583, - "name": "_extraData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11567, - "src": "1754:10:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11579, - "name": "GotApproval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11555, - "src": "1717:11:61", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,address,bytes memory)" - } - }, - "id": 11584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1717:48:61", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11585, - "nodeType": "EmitStatement", - "src": "1712:53:61" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 11586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1777:4:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 11572, - "id": 11587, - "nodeType": "Return", - "src": "1770:11:61" - } - ] - }, - "id": 11589, - "nodeType": "IfStatement", - "src": "1656:130:61", - "trueBody": { - "id": 11578, - "nodeType": "Block", - "src": "1675:22:61", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 11576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1687:5:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 11572, - "id": 11577, - "nodeType": "Return", - "src": "1680:12:61" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 11591, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 11569, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1627:8:61" - }, - "parameters": { - "id": 11568, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11561, - "mutability": "mutable", - "name": "_sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1514:22:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1514:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11563, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1540:21:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11562, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1540:7:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11565, - "mutability": "mutable", - "name": "_token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1565:21:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1565:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11567, - "mutability": "mutable", - "name": "_extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1590:25:61", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11566, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1590:5:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1510:106:61" - }, - "returnParameters": { - "id": 11572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11571, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1645:4:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11570, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1645:4:61", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1644:6:61" - }, - "scope": 11592, - "src": "1486:303:61", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11593, - "src": "1326:466:61" - } - ], - "src": "1242:551:61" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/testing/TestReceiver.sol", - "exportedSymbols": { - "TestReceiver": [ - 11592 - ] - }, - "id": 11593, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 11542, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:61" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/modules/interfaces/IexecTokenSpender.sol", - "file": "../../modules/interfaces/IexecTokenSpender.sol", - "id": 11543, - "nodeType": "ImportDirective", - "scope": 11593, - "sourceUnit": 9912, - "src": "1267:56:61", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 11544, - "name": "IexecTokenSpender", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9911, - "src": "1351:17:61", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IexecTokenSpender_$9911", - "typeString": "contract IexecTokenSpender" - } - }, - "id": 11545, - "nodeType": "InheritanceSpecifier", - "src": "1351:17:61" - } - ], - "contractDependencies": [ - 9911 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 11592, - "linearizedBaseContracts": [ - 11592, - 9911 - ], - "name": "TestReceiver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 11555, - "name": "GotApproval", - "nodeType": "EventDefinition", - "parameters": { - "id": 11554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11547, - "indexed": false, - "mutability": "mutable", - "name": "sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1390:14:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11546, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1390:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11549, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1406:13:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11551, - "indexed": false, - "mutability": "mutable", - "name": "token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1421:13:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1421:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11553, - "indexed": false, - "mutability": "mutable", - "name": "extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11555, - "src": "1436:15:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11552, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1436:5:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1389:63:61" - }, - "src": "1372:81:61" - }, - { - "body": { - "id": 11558, - "nodeType": "Block", - "src": "1479:4:61", - "statements": [] - }, - "documentation": null, - "id": 11559, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11556, - "nodeType": "ParameterList", - "parameters": [], - "src": "1467:2:61" - }, - "returnParameters": { - "id": 11557, - "nodeType": "ParameterList", - "parameters": [], - "src": "1479:0:61" - }, - "scope": 11592, - "src": "1456:27:61", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "baseFunctions": [ - 9910 - ], - "body": { - "id": 11590, - "nodeType": "Block", - "src": "1652:137:61", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11573, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11563, - "src": "1660:6:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 11574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1670:1:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1660:11:61", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 11588, - "nodeType": "Block", - "src": "1707:79:61", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11580, - "name": "_sender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11561, - "src": "1729:7:61", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11581, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11563, - "src": "1738:6:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11582, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11565, - "src": "1746:6:61", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11583, - "name": "_extraData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11567, - "src": "1754:10:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11579, - "name": "GotApproval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11555, - "src": "1717:11:61", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,address,bytes memory)" - } - }, - "id": 11584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1717:48:61", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11585, - "nodeType": "EmitStatement", - "src": "1712:53:61" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 11586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1777:4:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 11572, - "id": 11587, - "nodeType": "Return", - "src": "1770:11:61" - } - ] - }, - "id": 11589, - "nodeType": "IfStatement", - "src": "1656:130:61", - "trueBody": { - "id": 11578, - "nodeType": "Block", - "src": "1675:22:61", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 11576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1687:5:61", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 11572, - "id": 11577, - "nodeType": "Return", - "src": "1680:12:61" - } - ] - } - } - ] - }, - "documentation": null, - "functionSelector": "8f4ffcb1", - "id": 11591, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "overrides": { - "id": 11569, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1627:8:61" - }, - "parameters": { - "id": 11568, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11561, - "mutability": "mutable", - "name": "_sender", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1514:22:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1514:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11563, - "mutability": "mutable", - "name": "_value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1540:21:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11562, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1540:7:61", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11565, - "mutability": "mutable", - "name": "_token", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1565:21:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1565:7:61", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11567, - "mutability": "mutable", - "name": "_extraData", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1590:25:61", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11566, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1590:5:61", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1510:106:61" - }, - "returnParameters": { - "id": 11572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11571, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11591, - "src": "1645:4:61", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11570, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1645:4:61", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1644:6:61" - }, - "scope": 11592, - "src": "1486:303:61", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 11593, - "src": "1326:466:61" - } - ], - "src": "1242:551:61" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.880Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/TimelockController.json b/build/contracts/TimelockController.json deleted file mode 100644 index 63fce1b24..000000000 --- a/build/contracts/TimelockController.json +++ /dev/null @@ -1,21469 +0,0 @@ -{ - "contractName": "TimelockController", - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "minDelay", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "administrators", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "proposers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "executors", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "CallExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "CallScheduled", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "Cancelled", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldDuration", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newDuration", - "type": "uint256" - } - ], - "name": "MinDelayChange", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTOR_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "PROPOSER_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "TIMELOCK_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "getRoleMember", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleMemberCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationPending", - "outputs": [ - { - "internalType": "bool", - "name": "pending", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationReady", - "outputs": [ - { - "internalType": "bool", - "name": "ready", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "isOperationDone", - "outputs": [ - { - "internalType": "bool", - "name": "done", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "getTimestamp", - "outputs": [ - { - "internalType": "uint256", - "name": "timestamp", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMinDelay", - "outputs": [ - { - "internalType": "uint256", - "name": "duration", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "hashOperation", - "outputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "hashOperationBatch", - "outputs": [ - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "schedule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "delay", - "type": "uint256" - } - ], - "name": "scheduleBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "cancel", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "datas", - "type": "bytes[]" - }, - { - "internalType": "bytes32", - "name": "predecessor", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "salt", - "type": "bytes32" - } - ], - "name": "executeBatch", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "newDelay", - "type": "uint256" - } - ], - "name": "updateDelay", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minDelay\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"administrators\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"proposers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"executors\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"CallExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"CallScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"Cancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"MinDelayChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXECUTOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROPOSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TIMELOCK_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"cancel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"datas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"getTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"hashOperation\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"datas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"hashOperationBatch\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationDone\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"done\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationPending\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"pending\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationReady\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"ready\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"schedule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"datas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"scheduleBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDelay\",\"type\":\"uint256\"}],\"name\":\"updateDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Contract module which acts as a timelocked controller. When set as the owner of an `Ownable` smart contract, it enforces a timelock on all `onlyOwner` maintenance operations. This gives time for users of the controlled contract to exit before a potentially dangerous maintenance operation is applied. By default, this contract is self administered, meaning administration tasks have to go through the timelock process. The proposer (resp executor) role is in charge of proposing (resp executing) operations. A common use case is to position this {TimelockController} as the owner of a smart contract, with a multisig or a DAO as the sole proposer.\",\"events\":{\"CallExecuted(bytes32,uint256,address,uint256,bytes)\":{\"details\":\"Emitted when a call is performed as part of operation `id`.\"},\"CallScheduled(bytes32,uint256,address,uint256,bytes,bytes32,uint256)\":{\"details\":\"Emitted when a call is scheduled as part of operation `id`.\"},\"Cancelled(bytes32)\":{\"details\":\"Emitted when operation `id` is cancelled.\"},\"MinDelayChange(uint256,uint256)\":{\"details\":\"Emitted when the minimum delay for future operations is modified.\"}},\"kind\":\"dev\",\"methods\":{\"cancel(bytes32)\":{\"details\":\"Cancel an operation. Requirements: - the caller must have the 'proposer' role.\"},\"constructor\":{\"details\":\"Initializes the contract with a given `minDelay`.\"},\"execute(address,uint256,bytes,bytes32,bytes32)\":{\"details\":\"Execute an (ready) operation containing a single transaction. Emits a {CallExecuted} event. Requirements: - the caller must have the 'executor' role.\"},\"executeBatch(address[],uint256[],bytes[],bytes32,bytes32)\":{\"details\":\"Execute an (ready) operation containing a batch of transactions. Emits one {CallExecuted} event per transaction in the batch. Requirements: - the caller must have the 'executor' role.\"},\"getMinDelay()\":{\"details\":\"Returns the minimum delay for an operation to become valid.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"getTimestamp(bytes32)\":{\"details\":\"Returns the timestamp at with an operation becomes ready (0 for unset operations, 1 for done operations).\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"hashOperation(address,uint256,bytes,bytes32,bytes32)\":{\"details\":\"Returns the identifier of an operation containing a single transaction.\"},\"hashOperationBatch(address[],uint256[],bytes[],bytes32,bytes32)\":{\"details\":\"Returns the identifier of an operation containing a batch of transactions.\"},\"isOperationDone(bytes32)\":{\"details\":\"Returns whether an operation is done or not.\"},\"isOperationPending(bytes32)\":{\"details\":\"Returns whether an operation is pending or not.\"},\"isOperationReady(bytes32)\":{\"details\":\"Returns whether an operation is ready or not.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"schedule(address,uint256,bytes,bytes32,bytes32,uint256)\":{\"details\":\"Schedule an operation containing a single transaction. Emits a {CallScheduled} event. Requirements: - the caller must have the 'proposer' role.\"},\"scheduleBatch(address[],uint256[],bytes[],bytes32,bytes32,uint256)\":{\"details\":\"Schedule an operation containing a batch of transactions. Emits one {CallScheduled} event per transaction in the batch. Requirements: - the caller must have the 'proposer' role.\"},\"updateDelay(uint256)\":{\"details\":\"Changes the timelock duration for future operations. Emits a {MinDelayChange} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/TimelockController.sol\":\"TimelockController\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/TimelockController.sol\":{\"keccak256\":\"0x0a50b9a03fdb4727c1165bd4bc1ad7cbb3b5678921d5dd5ea773ab5a3852e5d4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f25b0fa3537c5044acebeabebc844930eb17e1609511c2557e3b2b103ff0e28\",\"dweb:/ipfs/QmP1uqbi9yDHrq8v5Th9j9zKwgXpQ2nNAUTpT2eYRYpxR9\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x92f7900d382761c7faefeaced81c6b4f1aae909ed0551803bfe8f27101956360\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://407c0864143968542e5cf5aa7556916d2cf292b201e3dadb65662e9a3aa24187\",\"dweb:/ipfs/QmSnXzYAUaGLGr7uofRbgQraTJvatbjQLBPhyYiMd18oUJ\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060405162001f0c38038062001f0c8339810160408190526200003491620003cb565b6200004f60008051602062001eac83398151915280620001ab565b6200007960008051602062001ecc83398151915260008051602062001eac833981519152620001ab565b620000a360008051602062001eec83398151915260008051602062001eac833981519152620001ab565b60005b8351811015620000ee57620000e560008051602062001eac833981519152858381518110620000d157fe5b6020026020010151620001fd60201b60201c565b600101620000a6565b5060005b825181101562000126576200011d60008051602062001ecc833981519152848381518110620000d157fe5b600101620000f2565b5060005b81518110156200015e576200015560008051602062001eec833981519152838381518110620000d157fe5b6001016200012a565b5060028490556040517f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5906200019990600090879062000463565b60405180910390a15050505062000471565b600082815260208190526040808220600201549051839285917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a460009182526020829052604090912060020155565b6200020982826200020d565b5050565b6000828152602081815260409091206200023291839062000ba762000286821b17901c565b15620002095762000242620002a6565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200029d836001600160a01b038416620002aa565b90505b92915050565b3390565b6000620002b88383620002f9565b620002f057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620002a0565b506000620002a0565b60009081526001919091016020526040902054151590565b80516001600160a01b0381168114620002a057600080fd5b600082601f8301126200033a578081fd5b81516001600160401b038082111562000351578283fd5b6020808302604051828282010181811085821117156200036f578687fd5b6040528481529450818501925085820181870183018810156200039157600080fd5b600091505b84821015620003c057620003ab888262000311565b84529282019260019190910190820162000396565b505050505092915050565b60008060008060808587031215620003e1578384fd5b845160208601519094506001600160401b038082111562000400578485fd5b6200040e8883890162000329565b9450604087015191508082111562000424578384fd5b620004328883890162000329565b9350606087015191508082111562000448578283fd5b50620004578782880162000329565b91505092959194509250565b918252602082015260400190565b611a2b80620004816000396000f3fe60806040526004361061014f5760003560e01c80638f2a0bb0116100b6578063c4d252f51161006f578063c4d252f514610394578063ca15c873146103b4578063d45c4435146103d4578063d547741f146103f4578063e38335e514610414578063f27a0c921461042757610156565b80638f2a0bb0146102dd5780638f61f4f5146102fd5780639010d07c1461031257806391d148541461033f578063a217fddf1461035f578063b1c5f4271461037457610156565b80632ab0f529116101085780632ab0f5291461021d5780632f2ff15d1461023d57806336568abe1461025d578063584b153e1461027d57806364d623531461029d5780638065657f146102bd57610156565b806301d5062a1461015b57806307bd02651461017d5780630d3cf6fc146101a8578063134008d3146101bd57806313bc9f20146101d0578063248a9ca3146101fd57610156565b3661015657005b600080fd5b34801561016757600080fd5b5061017b61017636600461112f565b61043c565b005b34801561018957600080fd5b506101926104f8565b60405161019f9190611558565b60405180910390f35b3480156101b457600080fd5b5061019261051c565b61017b6101cb3660046110c3565b610540565b3480156101dc57600080fd5b506101f06101eb3660046112f6565b6105d7565b60405161019f919061154d565b34801561020957600080fd5b506101926102183660046112f6565b610609565b34801561022957600080fd5b506101f06102383660046112f6565b61061e565b34801561024957600080fd5b5061017b61025836600461130e565b610634565b34801561026957600080fd5b5061017b61027836600461130e565b61067c565b34801561028957600080fd5b506101f06102983660046112f6565b6106be565b3480156102a957600080fd5b5061017b6102b83660046112f6565b6106d4565b3480156102c957600080fd5b506101926102d83660046110c3565b610733565b3480156102e957600080fd5b5061017b6102f8366004611248565b610772565b34801561030957600080fd5b506101926108c8565b34801561031e57600080fd5b5061033261032d36600461133d565b6108da565b60405161019f9190611423565b34801561034b57600080fd5b506101f061035a36600461130e565b6108f9565b34801561036b57600080fd5b50610192610911565b34801561038057600080fd5b5061019261038f3660046111a3565b610916565b3480156103a057600080fd5b5061017b6103af3660046112f6565b61095b565b3480156103c057600080fd5b506101926103cf3660046112f6565b610a04565b3480156103e057600080fd5b506101926103ef3660046112f6565b610a1b565b34801561040057600080fd5b5061017b61040f36600461130e565b610a2d565b61017b6104223660046111a3565b610a67565b34801561043357600080fd5b50610192610ba1565b6000805160206119d68339815191526104578161035a610bbc565b8061046857506104688160006108f9565b61048d5760405162461bcd60e51b81526004016104849061167b565b60405180910390fd5b600061049d898989898989610733565b90506104a98184610bc0565b6000817f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b8b8b8b8a6040516104e596959493929190611469565b60405180910390a3505050505050505050565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b7f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6361056d8161035a610bbc565b8061057e575061057e8160006108f9565b61059a5760405162461bcd60e51b81526004016104849061167b565b60006105aa888888888888610733565b90506105b584610c2e565b6105c48160008a8a8a8a610c5e565b6105cd81610d26565b5050505050505050565b600081815260016020819052604082205411801561060357506000828152600160205260409020544210155b92915050565b60009081526020819052604090206002015490565b6000908152600160208190526040909120541490565b6000828152602081905260409020600201546106529061035a610bbc565b61066e5760405162461bcd60e51b8152600401610484906115e9565b6106788282610d5f565b5050565b610684610bbc565b6001600160a01b0316816001600160a01b0316146106b45760405162461bcd60e51b8152600401610484906118cb565b6106788282610dc8565b6000908152600160208190526040909120541190565b3330146106f35760405162461bcd60e51b815260040161048490611880565b7f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d56002548260405161072692919061196d565b60405180910390a1600255565b600086868686868660405160200161075096959493929190611469565b6040516020818303038152906040528051906020012090509695505050505050565b6000805160206119d683398151915261078d8161035a610bbc565b8061079e575061079e8160006108f9565b6107ba5760405162461bcd60e51b81526004016104849061167b565b8887146107d95760405162461bcd60e51b815260040161048490611638565b8885146107f85760405162461bcd60e51b815260040161048490611638565b600061080a8b8b8b8b8b8b8b8b610916565b90506108168184610bc0565b60005b8a8110156108ba5780827f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8e8e8581811061085057fe5b905060200201602081019061086591906110a8565b8d8d8681811061087157fe5b905060200201358c8c8781811061088457fe5b9050602002810190610896919061197b565b8c8b6040516108aa96959493929190611469565b60405180910390a3600101610819565b505050505050505050505050565b6000805160206119d683398151915281565b60008281526020819052604081206108f29083610e31565b9392505050565b60008281526020819052604081206108f29083610e3d565b600081565b600088888888888888886040516020016109379897969594939291906114a6565b60405160208183030381529060405280519060200120905098975050505050505050565b6000805160206119d68339815191526109768161035a610bbc565b8061098757506109878160006108f9565b6109a35760405162461bcd60e51b81526004016104849061167b565b6109ac826106be565b6109c85760405162461bcd60e51b81526004016104849061182f565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b600081815260208190526040812061060390610e52565b60009081526001602052604090205490565b600082815260208190526040902060020154610a4b9061035a610bbc565b6106b45760405162461bcd60e51b815260040161048490611700565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63610a948161035a610bbc565b80610aa55750610aa58160006108f9565b610ac15760405162461bcd60e51b81526004016104849061167b565b878614610ae05760405162461bcd60e51b815260040161048490611638565b878414610aff5760405162461bcd60e51b815260040161048490611638565b6000610b118a8a8a8a8a8a8a8a610916565b9050610b1c84610c2e565b60005b89811015610b8b57610b8382828d8d85818110610b3857fe5b9050602002016020810190610b4d91906110a8565b8c8c86818110610b5957fe5b905060200201358b8b87818110610b6c57fe5b9050602002810190610b7e919061197b565b610c5e565b600101610b1f565b50610b9581610d26565b50505050505050505050565b60025490565b60006108f2836001600160a01b038416610e5d565b3390565b60008281526001602052604090205415610bec5760405162461bcd60e51b815260040161048490611796565b600254811015610c0e5760405162461bcd60e51b815260040161048490611750565b610c184282610ea7565b6000928352600160205260409092209190915550565b801580610c3f5750610c3f8161061e565b610c5b5760405162461bcd60e51b8152600401610484906115a3565b50565b6000846001600160a01b0316848484604051610c7b929190611413565b60006040518083038185875af1925050503d8060008114610cb8576040519150601f19603f3d011682016040523d82523d6000602084013e610cbd565b606091505b5050905080610cde5760405162461bcd60e51b81526004016104849061191a565b85877fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b5887878787604051610d159493929190611437565b60405180910390a350505050505050565b610d2f816105d7565b610d4b5760405162461bcd60e51b8152600401610484906117e5565b600090815260016020819052604090912055565b6000828152602081905260409020610d779082610ba7565b1561067857610d84610bbc565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020610de09082610ecc565b1561067857610ded610bbc565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006108f28383610ee1565b60006108f2836001600160a01b038416610f26565b600061060382610f3e565b6000610e698383610f26565b610e9f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610603565b506000610603565b6000828201838110156108f25760405162461bcd60e51b8152600401610484906116c9565b60006108f2836001600160a01b038416610f42565b81546000908210610f045760405162461bcd60e51b815260040161048490611561565b826000018281548110610f1357fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60008181526001830160205260408120548015610ffe5783546000198083019190810190600090879083908110610f7557fe5b9060005260206000200154905080876000018481548110610f9257fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080610fc257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610603565b6000915050610603565b80356001600160a01b038116811461060357600080fd5b60008083601f840112611030578182fd5b50813567ffffffffffffffff811115611047578182fd5b602083019150836020808302850101111561106157600080fd5b9250929050565b60008083601f840112611079578182fd5b50813567ffffffffffffffff811115611090578182fd5b60208301915083602082850101111561106157600080fd5b6000602082840312156110b9578081fd5b6108f28383611008565b60008060008060008060a087890312156110db578182fd5b86356110e6816119c0565b955060208701359450604087013567ffffffffffffffff811115611108578283fd5b61111489828a01611068565b979a9699509760608101359660809091013595509350505050565b600080600080600080600060c0888a031215611149578081fd5b6111538989611008565b965060208801359550604088013567ffffffffffffffff811115611175578182fd5b6111818a828b01611068565b989b979a50986060810135976080820135975060a09091013595509350505050565b60008060008060008060008060a0898b0312156111be578081fd5b883567ffffffffffffffff808211156111d5578283fd5b6111e18c838d0161101f565b909a50985060208b01359150808211156111f9578283fd5b6112058c838d0161101f565b909850965060408b013591508082111561121d578283fd5b5061122a8b828c0161101f565b999c989b509699959896976060870135966080013595509350505050565b600080600080600080600080600060c08a8c031215611265578081fd5b893567ffffffffffffffff8082111561127c578283fd5b6112888d838e0161101f565b909b50995060208c01359150808211156112a0578283fd5b6112ac8d838e0161101f565b909950975060408c01359150808211156112c4578283fd5b506112d18c828d0161101f565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b600060208284031215611307578081fd5b5035919050565b60008060408385031215611320578182fd5b823591506020830135611332816119c0565b809150509250929050565b6000806040838503121561134f578182fd5b50508035926020909101359150565b818352602080840193600091908185020181018584845b878110156113dc5782840389528135601e19883603018112611395578687fd5b8701803567ffffffffffffffff8111156113ad578788fd5b8036038913156113bb578788fd5b6113c886828985016113e9565b9a87019a9550505090840190600101611375565b5091979650505050505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b600060018060a01b03861682528460208301526060604083015261145f6060830184866113e9565b9695505050505050565b600060018060a01b038816825286602083015260a0604083015261149160a0830186886113e9565b60608301949094525060800152949350505050565b60a0808252810188905260008960c08301825b8b8110156114e95760208381016001600160a01b036114d88287611008565b1684529350909101906001016114b9565b5083810360208501528881526001600160fb1b03891115611508578283fd5b602089029150818a6020830137016020818101838152848303909101604085015261153481888a61135e565b6060850196909652505050608001529695505050505050565b901515815260200190565b90815260200190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526026908201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656040820152656e64656e637960d01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526023908201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d616040820152620e8c6d60eb1b606082015260800190565b6020808252602e908201527f54696d656c6f636b436f6e74726f6c6c65723a2073656e64657220726571756960408201526d3932b9903832b936b4b9b9b4b7b760911b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526026908201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e746040820152652064656c617960d01b606082015260800190565b6020808252602f908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60408201526e1c9958591e481cd8da19591d5b1959608a1b606082015260800190565b6020808252602a908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973604082015269206e6f7420726561647960b01b606082015260800190565b60208082526031908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616040820152701b9b9bdd0818994818d85b98d95b1b1959607a1b606082015260800190565b6020808252602b908201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060408201526a62652074696d656c6f636b60a81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526033908201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e6720746040820152721c985b9cd858dd1a5bdb881c995d995c9d1959606a1b606082015260800190565b918252602082015260400190565b6000808335601e19843603018112611991578283fd5b83018035915067ffffffffffffffff8211156119ab578283fd5b60200191503681900382131561106157600080fd5b6001600160a01b0381168114610c5b57600080fdfeb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1a26469706673582212205e5daa2b04341042e79bebf250df3c41bdd9188d7f150a92a8f8b1cfbcff92e264736f6c634300060c00335f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63", - "deployedBytecode": "0x60806040526004361061014f5760003560e01c80638f2a0bb0116100b6578063c4d252f51161006f578063c4d252f514610394578063ca15c873146103b4578063d45c4435146103d4578063d547741f146103f4578063e38335e514610414578063f27a0c921461042757610156565b80638f2a0bb0146102dd5780638f61f4f5146102fd5780639010d07c1461031257806391d148541461033f578063a217fddf1461035f578063b1c5f4271461037457610156565b80632ab0f529116101085780632ab0f5291461021d5780632f2ff15d1461023d57806336568abe1461025d578063584b153e1461027d57806364d623531461029d5780638065657f146102bd57610156565b806301d5062a1461015b57806307bd02651461017d5780630d3cf6fc146101a8578063134008d3146101bd57806313bc9f20146101d0578063248a9ca3146101fd57610156565b3661015657005b600080fd5b34801561016757600080fd5b5061017b61017636600461112f565b61043c565b005b34801561018957600080fd5b506101926104f8565b60405161019f9190611558565b60405180910390f35b3480156101b457600080fd5b5061019261051c565b61017b6101cb3660046110c3565b610540565b3480156101dc57600080fd5b506101f06101eb3660046112f6565b6105d7565b60405161019f919061154d565b34801561020957600080fd5b506101926102183660046112f6565b610609565b34801561022957600080fd5b506101f06102383660046112f6565b61061e565b34801561024957600080fd5b5061017b61025836600461130e565b610634565b34801561026957600080fd5b5061017b61027836600461130e565b61067c565b34801561028957600080fd5b506101f06102983660046112f6565b6106be565b3480156102a957600080fd5b5061017b6102b83660046112f6565b6106d4565b3480156102c957600080fd5b506101926102d83660046110c3565b610733565b3480156102e957600080fd5b5061017b6102f8366004611248565b610772565b34801561030957600080fd5b506101926108c8565b34801561031e57600080fd5b5061033261032d36600461133d565b6108da565b60405161019f9190611423565b34801561034b57600080fd5b506101f061035a36600461130e565b6108f9565b34801561036b57600080fd5b50610192610911565b34801561038057600080fd5b5061019261038f3660046111a3565b610916565b3480156103a057600080fd5b5061017b6103af3660046112f6565b61095b565b3480156103c057600080fd5b506101926103cf3660046112f6565b610a04565b3480156103e057600080fd5b506101926103ef3660046112f6565b610a1b565b34801561040057600080fd5b5061017b61040f36600461130e565b610a2d565b61017b6104223660046111a3565b610a67565b34801561043357600080fd5b50610192610ba1565b6000805160206119d68339815191526104578161035a610bbc565b8061046857506104688160006108f9565b61048d5760405162461bcd60e51b81526004016104849061167b565b60405180910390fd5b600061049d898989898989610733565b90506104a98184610bc0565b6000817f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b8b8b8b8a6040516104e596959493929190611469565b60405180910390a3505050505050505050565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b7f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6361056d8161035a610bbc565b8061057e575061057e8160006108f9565b61059a5760405162461bcd60e51b81526004016104849061167b565b60006105aa888888888888610733565b90506105b584610c2e565b6105c48160008a8a8a8a610c5e565b6105cd81610d26565b5050505050505050565b600081815260016020819052604082205411801561060357506000828152600160205260409020544210155b92915050565b60009081526020819052604090206002015490565b6000908152600160208190526040909120541490565b6000828152602081905260409020600201546106529061035a610bbc565b61066e5760405162461bcd60e51b8152600401610484906115e9565b6106788282610d5f565b5050565b610684610bbc565b6001600160a01b0316816001600160a01b0316146106b45760405162461bcd60e51b8152600401610484906118cb565b6106788282610dc8565b6000908152600160208190526040909120541190565b3330146106f35760405162461bcd60e51b815260040161048490611880565b7f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d56002548260405161072692919061196d565b60405180910390a1600255565b600086868686868660405160200161075096959493929190611469565b6040516020818303038152906040528051906020012090509695505050505050565b6000805160206119d683398151915261078d8161035a610bbc565b8061079e575061079e8160006108f9565b6107ba5760405162461bcd60e51b81526004016104849061167b565b8887146107d95760405162461bcd60e51b815260040161048490611638565b8885146107f85760405162461bcd60e51b815260040161048490611638565b600061080a8b8b8b8b8b8b8b8b610916565b90506108168184610bc0565b60005b8a8110156108ba5780827f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8e8e8581811061085057fe5b905060200201602081019061086591906110a8565b8d8d8681811061087157fe5b905060200201358c8c8781811061088457fe5b9050602002810190610896919061197b565b8c8b6040516108aa96959493929190611469565b60405180910390a3600101610819565b505050505050505050505050565b6000805160206119d683398151915281565b60008281526020819052604081206108f29083610e31565b9392505050565b60008281526020819052604081206108f29083610e3d565b600081565b600088888888888888886040516020016109379897969594939291906114a6565b60405160208183030381529060405280519060200120905098975050505050505050565b6000805160206119d68339815191526109768161035a610bbc565b8061098757506109878160006108f9565b6109a35760405162461bcd60e51b81526004016104849061167b565b6109ac826106be565b6109c85760405162461bcd60e51b81526004016104849061182f565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b600081815260208190526040812061060390610e52565b60009081526001602052604090205490565b600082815260208190526040902060020154610a4b9061035a610bbc565b6106b45760405162461bcd60e51b815260040161048490611700565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63610a948161035a610bbc565b80610aa55750610aa58160006108f9565b610ac15760405162461bcd60e51b81526004016104849061167b565b878614610ae05760405162461bcd60e51b815260040161048490611638565b878414610aff5760405162461bcd60e51b815260040161048490611638565b6000610b118a8a8a8a8a8a8a8a610916565b9050610b1c84610c2e565b60005b89811015610b8b57610b8382828d8d85818110610b3857fe5b9050602002016020810190610b4d91906110a8565b8c8c86818110610b5957fe5b905060200201358b8b87818110610b6c57fe5b9050602002810190610b7e919061197b565b610c5e565b600101610b1f565b50610b9581610d26565b50505050505050505050565b60025490565b60006108f2836001600160a01b038416610e5d565b3390565b60008281526001602052604090205415610bec5760405162461bcd60e51b815260040161048490611796565b600254811015610c0e5760405162461bcd60e51b815260040161048490611750565b610c184282610ea7565b6000928352600160205260409092209190915550565b801580610c3f5750610c3f8161061e565b610c5b5760405162461bcd60e51b8152600401610484906115a3565b50565b6000846001600160a01b0316848484604051610c7b929190611413565b60006040518083038185875af1925050503d8060008114610cb8576040519150601f19603f3d011682016040523d82523d6000602084013e610cbd565b606091505b5050905080610cde5760405162461bcd60e51b81526004016104849061191a565b85877fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b5887878787604051610d159493929190611437565b60405180910390a350505050505050565b610d2f816105d7565b610d4b5760405162461bcd60e51b8152600401610484906117e5565b600090815260016020819052604090912055565b6000828152602081905260409020610d779082610ba7565b1561067857610d84610bbc565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020610de09082610ecc565b1561067857610ded610bbc565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006108f28383610ee1565b60006108f2836001600160a01b038416610f26565b600061060382610f3e565b6000610e698383610f26565b610e9f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610603565b506000610603565b6000828201838110156108f25760405162461bcd60e51b8152600401610484906116c9565b60006108f2836001600160a01b038416610f42565b81546000908210610f045760405162461bcd60e51b815260040161048490611561565b826000018281548110610f1357fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60008181526001830160205260408120548015610ffe5783546000198083019190810190600090879083908110610f7557fe5b9060005260206000200154905080876000018481548110610f9257fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080610fc257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610603565b6000915050610603565b80356001600160a01b038116811461060357600080fd5b60008083601f840112611030578182fd5b50813567ffffffffffffffff811115611047578182fd5b602083019150836020808302850101111561106157600080fd5b9250929050565b60008083601f840112611079578182fd5b50813567ffffffffffffffff811115611090578182fd5b60208301915083602082850101111561106157600080fd5b6000602082840312156110b9578081fd5b6108f28383611008565b60008060008060008060a087890312156110db578182fd5b86356110e6816119c0565b955060208701359450604087013567ffffffffffffffff811115611108578283fd5b61111489828a01611068565b979a9699509760608101359660809091013595509350505050565b600080600080600080600060c0888a031215611149578081fd5b6111538989611008565b965060208801359550604088013567ffffffffffffffff811115611175578182fd5b6111818a828b01611068565b989b979a50986060810135976080820135975060a09091013595509350505050565b60008060008060008060008060a0898b0312156111be578081fd5b883567ffffffffffffffff808211156111d5578283fd5b6111e18c838d0161101f565b909a50985060208b01359150808211156111f9578283fd5b6112058c838d0161101f565b909850965060408b013591508082111561121d578283fd5b5061122a8b828c0161101f565b999c989b509699959896976060870135966080013595509350505050565b600080600080600080600080600060c08a8c031215611265578081fd5b893567ffffffffffffffff8082111561127c578283fd5b6112888d838e0161101f565b909b50995060208c01359150808211156112a0578283fd5b6112ac8d838e0161101f565b909950975060408c01359150808211156112c4578283fd5b506112d18c828d0161101f565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b600060208284031215611307578081fd5b5035919050565b60008060408385031215611320578182fd5b823591506020830135611332816119c0565b809150509250929050565b6000806040838503121561134f578182fd5b50508035926020909101359150565b818352602080840193600091908185020181018584845b878110156113dc5782840389528135601e19883603018112611395578687fd5b8701803567ffffffffffffffff8111156113ad578788fd5b8036038913156113bb578788fd5b6113c886828985016113e9565b9a87019a9550505090840190600101611375565b5091979650505050505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b600060018060a01b03861682528460208301526060604083015261145f6060830184866113e9565b9695505050505050565b600060018060a01b038816825286602083015260a0604083015261149160a0830186886113e9565b60608301949094525060800152949350505050565b60a0808252810188905260008960c08301825b8b8110156114e95760208381016001600160a01b036114d88287611008565b1684529350909101906001016114b9565b5083810360208501528881526001600160fb1b03891115611508578283fd5b602089029150818a6020830137016020818101838152848303909101604085015261153481888a61135e565b6060850196909652505050608001529695505050505050565b901515815260200190565b90815260200190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526026908201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656040820152656e64656e637960d01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526023908201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d616040820152620e8c6d60eb1b606082015260800190565b6020808252602e908201527f54696d656c6f636b436f6e74726f6c6c65723a2073656e64657220726571756960408201526d3932b9903832b936b4b9b9b4b7b760911b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526026908201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e746040820152652064656c617960d01b606082015260800190565b6020808252602f908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60408201526e1c9958591e481cd8da19591d5b1959608a1b606082015260800190565b6020808252602a908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973604082015269206e6f7420726561647960b01b606082015260800190565b60208082526031908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616040820152701b9b9bdd0818994818d85b98d95b1b1959607a1b606082015260800190565b6020808252602b908201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060408201526a62652074696d656c6f636b60a81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526033908201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e6720746040820152721c985b9cd858dd1a5bdb881c995d995c9d1959606a1b606082015260800190565b918252602082015260400190565b6000808335601e19843603018112611991578283fd5b83018035915067ffffffffffffffff8211156119ab578283fd5b60200191503681900382131561106157600080fd5b6001600160a01b0381168114610c5b57600080fdfeb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1a26469706673582212205e5daa2b04341042e79bebf250df3c41bdd9188d7f150a92a8f8b1cfbcff92e264736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "898:9667:59:-:0;;;2112:863;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2248:55;-1:-1:-1;;;;;;;;;;;996:32:59;2248:13;:55::i;:::-;2313:49;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;2313:13:59;:49::i;:::-;2372;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;2372:13:59;:49::i;:::-;2472:9;2467:127;2491:14;:21;2487:1;:25;2467:127;;;2533:50;-1:-1:-1;;;;;;;;;;;2565:14:59;2580:1;2565:17;;;;;;;;;;;;;;2533:10;;;:50;;:::i;:::-;2514:3;;2467:127;;;;2639:9;2634:111;2658:9;:16;2654:1;:20;2634:111;;;2695:39;-1:-1:-1;;;;;;;;;;;2721:9:59;2731:1;2721:12;;;;;;;2695:39;2676:3;;2634:111;;;;2790:9;2785:111;2809:9;:16;2805:1;:20;2785:111;;;2846:39;-1:-1:-1;;;;;;;;;;;2872:9:59;2882:1;2872:12;;;;;;;2846:39;2827:3;;2785:111;;;-1:-1:-1;2906:9:59;:20;;;2941:27;;;;;;2956:1;;2918:8;;2941:27;:::i;:::-;;;;;;;;2112:863;;;;898:9667;;6813:196:81;6924:6;:12;;;;;;;;;;;:22;;;6901:57;;6948:9;;6931:4;;6901:57;;6924:6;6901:57;6968:6;:12;;;;;;;;;;;:22;;:34;6813:196::o;6578:110::-;6656:25;6667:4;6673:7;6656:10;:25::i;:::-;6578:110;;:::o;7015:184::-;7088:6;:12;;;;;;;;;;;:33;;7113:7;;7088:24;;;;;:33;;:::i;:::-;7084:109;;;7169:12;:10;:12::i;:::-;-1:-1:-1;;;;;7142:40:81;7160:7;-1:-1:-1;;;;;7142:40:81;7154:4;7142:40;;;;;;;;;;7015:184;;:::o;4864:141:100:-;4934:4;4957:41;4962:3;-1:-1:-1;;;;;4982:14:100;;4957:4;:41::i;:::-;4950:48;;4864:141;;;;;:::o;590:104:80:-;677:10;590:104;:::o;1611:404:100:-;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;3776:127;3849:4;3872:19;;;:12;;;;;:19;;;;;;:24;;;3776:127::o;5:134:-1:-;83:13;;-1:-1;;;;;3460:54;;3787:35;;3777:2;;3836:1;;3826:12;164:722;;292:3;285:4;277:6;273:17;269:27;259:2;;-1:-1;;300:12;259:2;334:13;;-1:-1;;;;;3137:30;;;3134:2;;;-1:-1;;3170:12;3134:2;3215:4;;3207:6;3203:17;2788:2;2782:9;3215:4;3203:17;2818:6;2814:17;;2925:6;2913:10;2910:22;3148:18;2877:10;2874:34;2871:62;2868:2;;;-1:-1;;2936:12;2868:2;2788;2955:22;470:21;;;353:89;-1:-1;527:14;;;;-1:-1;502:17;;;607:27;;;;;604:36;-1:-1;601:2;;;653:1;;643:12;601:2;678:1;669:10;;663:217;688:6;685:1;682:13;663:217;;;768:48;812:3;800:10;768:48;:::i;:::-;756:61;;831:14;;;;710:1;703:9;;;;;859:14;;663:217;;;667:14;;;;;252:634;;;;:::o;1035:1059::-;;;;;1276:3;1264:9;1255:7;1251:23;1247:33;1244:2;;;-1:-1;;1283:12;1244:2;972:13;;1467:2;1452:18;;1446:25;972:13;;-1:-1;;;;;;1480:30;;;1477:2;;;-1:-1;;1513:12;1477:2;1543:89;1624:7;1615:6;1604:9;1600:22;1543:89;:::i;:::-;1533:99;;1690:2;1679:9;1675:18;1669:25;1655:39;;1491:18;1706:6;1703:30;1700:2;;;-1:-1;;1736:12;1700:2;1766:89;1847:7;1838:6;1827:9;1823:22;1766:89;:::i;:::-;1756:99;;1913:2;1902:9;1898:18;1892:25;1878:39;;1491:18;1929:6;1926:30;1923:2;;;-1:-1;;1959:12;1923:2;;1989:89;2070:7;2061:6;2050:9;2046:22;1989:89;:::i;:::-;1979:99;;;1238:856;;;;;;;:::o;2370:349::-;2180:58;;;2705:2;2690:18;;2321:37;2533:2;2518:18;;2504:215::o;:::-;898:9667:59;;;;;;", - "deployedSourceMap": "898:9667:59:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5675:348;;;;;;;;;;-1:-1:-1;5675:348:59;;;;;:::i;:::-;;:::i;:::-;;1106:66;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;950:78;;;;;;;;;;;;;:::i;7970:335::-;;;;;;:::i;:::-;;:::i;3856:220::-;;;;;;;;;;-1:-1:-1;3856:220:59;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4272:112:81:-;;;;;;;;;;-1:-1:-1;4272:112:81;;;;;:::i;:::-;;:::i;4155:127:59:-;;;;;;;;;;-1:-1:-1;4155:127:59;;;;;:::i;:::-;;:::i;4634:223:81:-;;;;;;;;;;-1:-1:-1;4634:223:81;;;;;:::i;:::-;;:::i;5808:205::-;;;;;;;;;;-1:-1:-1;5808:205:81;;;;;:::i;:::-;;:::i;3644:132:59:-;;;;;;;;;;-1:-1:-1;3644:132:59;;;;;:::i;:::-;;:::i;10327:236::-;;;;;;;;;;-1:-1:-1;10327:236:59;;;;;:::i;:::-;;:::i;4844:230::-;;;;;;;;;;-1:-1:-1;4844:230:59;;;;;:::i;:::-;;:::i;6277:647::-;;;;;;;;;;-1:-1:-1;6277:647:59;;;;;:::i;:::-;;:::i;1034:66::-;;;;;;;;;;;;;:::i;3955:136:81:-;;;;;;;;;;-1:-1:-1;3955:136:81;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2940:137::-;;;;;;;;;;-1:-1:-1;2940:137:81;;;;;:::i;:::-;;:::i;1717:49::-;;;;;;;;;;;;;:::i;5190:265:59:-;;;;;;;;;;-1:-1:-1;5190:265:59;;;;;:::i;:::-;;:::i;7515:229::-;;;;;;;;;;-1:-1:-1;7515:229:59;;;;;:::i;:::-;;:::i;3245:125:81:-;;;;;;;;;;-1:-1:-1;3245:125:81;;;;;:::i;:::-;;:::i;4429:113:59:-;;;;;;;;;;-1:-1:-1;4429:113:59;;;;;:::i;:::-;;:::i;5091:226:81:-;;;;;;;;;;-1:-1:-1;5091:226:81;;;;;:::i;:::-;;:::i;8565:634:59:-;;;;;;:::i;:::-;;:::i;4636:95::-;;;;;;;;;;;;;:::i;5675:348::-;-1:-1:-1;;;;;;;;;;;3307:27:59;3315:4;3321:12;:10;:12::i;3307:27::-;:56;;;;3338:25;3346:4;3360:1;3338:7;:25::i;:::-;3299:115;;;;-1:-1:-1;;;3299:115:59;;;;;;;:::i;:::-;;;;;;;;;5844:10:::1;5857:53;5871:6;5879:5;5886:4;;5892:11;5905:4;5857:13;:53::i;:::-;5844:66;;5920:20;5930:2;5934:5;5920:9;:20::i;:::-;5973:1;5969:2;5955:61;5976:6;5984:5;5991:4;;5997:11;6010:5;5955:61;;;;;;;;;;;:::i;:::-;;;;;;;;3424:1;5675:348:::0;;;;;;;;:::o;1106:66::-;1146:26;1106:66;:::o;950:78::-;996:32;950:78;:::o;7970:335::-;1146:26;3307:27;3315:4;3321:12;:10;:12::i;3307:27::-;:56;;;;3338:25;3346:4;3360:1;3338:7;:25::i;:::-;3299:115;;;;-1:-1:-1;;;3299:115:59;;;;;;;:::i;:::-;8131:10:::1;8144:53;8158:6;8166:5;8173:4;;8179:11;8192:4;8144:13;:53::i;:::-;8131:66;;8207:24;8219:11;8207;:24::i;:::-;8241:33;8247:2;8251:1;8254:6;8262:5;8269:4;;8241:5;:33::i;:::-;8284:14;8295:2;8284:10;:14::i;:::-;3424:1;7970:335:::0;;;;;;;:::o;3856:220::-;3915:10;3998:15;;;1230:1;3998:15;;;;;;;;:33;:71;;;;-1:-1:-1;4035:15:59;;;;:11;:15;;;;;;4054;-1:-1:-1;4035:34:59;3998:71;3991:78;3856:220;-1:-1:-1;;3856:220:59:o;4272:112:81:-;4329:7;4355:12;;;;;;;;;;:22;;;;4272:112::o;4155:127:59:-;4213:9;4241:15;;;1230:1;4241:15;;;;;;;;;:34;;4155:127::o;4634:223:81:-;4725:6;:12;;;;;;;;;;:22;;;4717:45;;4749:12;:10;:12::i;4717:45::-;4709:105;;;;-1:-1:-1;;;4709:105:81;;;;;;;:::i;:::-;4825:25;4836:4;4842:7;4825:10;:25::i;:::-;4634:223;;:::o;5808:205::-;5905:12;:10;:12::i;:::-;-1:-1:-1;;;;;5894:23:81;:7;-1:-1:-1;;;;;5894:23:81;;5886:83;;;;-1:-1:-1;;;5886:83:81;;;;;;;:::i;:::-;5980:26;5992:4;5998:7;5980:11;:26::i;3644:132:59:-;3705:12;3736:15;;;1230:1;3736:15;;;;;;;;;:33;;3644:132::o;10327:236::-;10401:10;10423:4;10401:27;10393:83;;;;-1:-1:-1;;;10393:83:59;;;;;;;:::i;:::-;10491:35;10506:9;;10517:8;10491:35;;;;;;;:::i;:::-;;;;;;;;10536:9;:20;10327:236::o;4844:230::-;4975:12;5027:6;5035:5;5042:4;;5048:11;5061:4;5016:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5006:61;;;;;;4999:68;;4844:230;;;;;;;;:::o;6277:647::-;-1:-1:-1;;;;;;;;;;;3307:27:59;3315:4;3321:12;:10;:12::i;3307:27::-;:56;;;;3338:25;3346:4;3360:1;3338:7;:25::i;:::-;3299:115;;;;-1:-1:-1;;;3299:115:59;;;;;;;:::i;:::-;6486:31;;::::1;6478:79;;;;-1:-1:-1::0;;;6478:79:59::1;;;;;;;:::i;:::-;6575:30:::0;;::::1;6567:78;;;;-1:-1:-1::0;;;6567:78:59::1;;;;;;;:::i;:::-;6656:10;6669:61;6688:7;;6697:6;;6705:5;;6712:11;6725:4;6669:18;:61::i;:::-;6656:74;;6740:20;6750:2;6754:5;6740:9;:20::i;:::-;6775:9;6770:148;6790:18:::0;;::::1;6770:148;;;6852:1;6848:2;6834:73;6855:7;;6863:1;6855:10;;;;;;;;;;;;;;;;;;;;:::i;:::-;6867:6;;6874:1;6867:9;;;;;;;;;;;;;6878:5;;6884:1;6878:8;;;;;;;;;;;;;;;;;;:::i;:::-;6888:11;6901:5;6834:73;;;;;;;;;;;:::i;:::-;;;;;;;;6810:3;;6770:148;;;;3424:1;6277:647:::0;;;;;;;;;;:::o;1034:66::-;-1:-1:-1;;;;;;;;;;;1034:66:59;:::o;3955:136:81:-;4028:7;4054:12;;;;;;;;;;:30;;4078:5;4054:23;:30::i;:::-;4047:37;3955:136;-1:-1:-1;;;3955:136:81:o;2940:137::-;3009:4;3032:12;;;;;;;;;;:38;;3062:7;3032:29;:38::i;1717:49::-;1762:4;1717:49;:::o;5190:265:59:-;5353:12;5405:7;;5414:6;;5422:5;;5429:11;5442:4;5394:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5384:64;;;;;;5377:71;;5190:265;;;;;;;;;;:::o;7515:229::-;-1:-1:-1;;;;;;;;;;;3307:27:59;3315:4;3321:12;:10;:12::i;3307:27::-;:56;;;;3338:25;3346:4;3360:1;3338:7;:25::i;:::-;3299:115;;;;-1:-1:-1;;;3299:115:59;;;;;;;:::i;:::-;7600:22:::1;7619:2;7600:18;:22::i;:::-;7592:84;;;;-1:-1:-1::0;;;7592:84:59::1;;;;;;;:::i;:::-;7693:15;::::0;;;:11:::1;:15;::::0;;;;;7686:22;;;7724:13;7705:2;;7724:13:::1;::::0;::::1;7515:229:::0;;:::o;3245:125:81:-;3308:7;3334:12;;;;;;;;;;:29;;:27;:29::i;4429:113:59:-;4484:17;4520:15;;;:11;:15;;;;;;;4429:113::o;5091:226:81:-;5183:6;:12;;;;;;;;;;:22;;;5175:45;;5207:12;:10;:12::i;5175:45::-;5167:106;;;;-1:-1:-1;;;5167:106:81;;;;;;;:::i;8565:634:59:-;1146:26;3307:27;3315:4;3321:12;:10;:12::i;3307:27::-;:56;;;;3338:25;3346:4;3360:1;3338:7;:25::i;:::-;3299:115;;;;-1:-1:-1;;;3299:115:59;;;;;;;:::i;:::-;8766:31;;::::1;8758:79;;;;-1:-1:-1::0;;;8758:79:59::1;;;;;;;:::i;:::-;8855:30:::0;;::::1;8847:78;;;;-1:-1:-1::0;;;8847:78:59::1;;;;;;;:::i;:::-;8936:10;8949:61;8968:7;;8977:6;;8985:5;;8992:11;9005:4;8949:18;:61::i;:::-;8936:74;;9020:24;9032:11;9020;:24::i;:::-;9059:9;9054:115;9074:18:::0;;::::1;9054:115;;;9113:45;9119:2;9123:1;9126:7;;9134:1;9126:10;;;;;;;;;;;;;;;;;;;;:::i;:::-;9138:6;;9145:1;9138:9;;;;;;;;;;;;;9149:5;;9155:1;9149:8;;;;;;;;;;;;;;;;;;:::i;:::-;9113:5;:45::i;:::-;9094:3;;9054:115;;;;9178:14;9189:2;9178:10;:14::i;:::-;3424:1;8565:634:::0;;;;;;;;;:::o;4636:95::-;4715:9;;4636:95;:::o;4864:141:100:-;4934:4;4957:41;4962:3;-1:-1:-1;;;;;4982:14:100;;4957:4;:41::i;590:104:80:-;677:10;590:104;:::o;7026:348:59:-;7098:15;;;;:11;:15;;;;;;:20;7090:80;;;;-1:-1:-1;;;7090:80:59;;;;;;;:::i;:::-;7197:9;;7188:5;:18;;7180:69;;;;-1:-1:-1;;;7180:69:59;;;;;;;:::i;:::-;7331:36;7344:15;7361:5;7331:12;:36::i;:::-;7313:15;;;;:11;:15;;;;;;:54;;;;-1:-1:-1;7026:348:59:o;9282:180::-;9355:25;;;:57;;;9384:28;9400:11;9384:15;:28::i;:::-;9347:108;;;;-1:-1:-1;;;9347:108:59;;;;;;;:::i;:::-;9282:180;:::o;9826:368::-;9998:12;10015:6;-1:-1:-1;;;;;10015:11:59;10034:5;10041:4;;10015:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9997:49;;;10064:7;10056:71;;;;-1:-1:-1;;;10056:71:59;;;;;;;:::i;:::-;10160:5;10156:2;10143:44;10167:6;10175:5;10182:4;;10143:44;;;;;;;;;:::i;:::-;;;;;;;;9826:368;;;;;;;:::o;9544:175::-;9602:20;9619:2;9602:16;:20::i;:::-;9594:75;;;;-1:-1:-1;;;9594:75:59;;;;;;;:::i;:::-;9679:15;;;;1230:1;9679:15;;;;;;;;:33;9544:175::o;7015:184:81:-;7088:6;:12;;;;;;;;;;:33;;7113:7;7088:24;:33::i;:::-;7084:109;;;7169:12;:10;:12::i;:::-;-1:-1:-1;;;;;7142:40:81;7160:7;-1:-1:-1;;;;;7142:40:81;7154:4;7142:40;;;;;;;;;;7015:184;;:::o;7205:188::-;7279:6;:12;;;;;;;;;;:36;;7307:7;7279:27;:36::i;:::-;7275:112;;;7363:12;:10;:12::i;:::-;-1:-1:-1;;;;;7336:40:81;7354:7;-1:-1:-1;;;;;7336:40:81;7348:4;7336:40;;;;;;;;;;7205:188;;:::o;6085:147:100:-;6159:7;6201:22;6205:3;6217:5;6201:3;:22::i;5401:156::-;5481:4;5504:46;5514:3;-1:-1:-1;;;;;5534:14:100;;5504:9;:46::i;5638:115::-;5701:7;5727:19;5735:3;5727:7;:19::i;1611:404::-;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;874:176:86;932:7;963:5;;;986:6;;;;978:46;;;;-1:-1:-1;;;978:46:86;;;;;;;:::i;5173:147:100:-;5246:4;5269:44;5277:3;-1:-1:-1;;;;;5297:14:100;;5269:7;:44::i;4423:201::-;4517:18;;4490:7;;4517:26;-1:-1:-1;4509:73:100;;;;-1:-1:-1;;;4509:73:100;;;;;;;:::i;:::-;4599:3;:11;;4611:5;4599:18;;;;;;;;;;;;;;;;4592:25;;4423:201;;;;:::o;3776:127::-;3849:4;3872:19;;;:12;;;;;:19;;;;;;:24;;;3776:127::o;3984:107::-;4066:18;;3984:107::o;2183:1512::-;2249:4;2386:19;;;:12;;;:19;;;;;;2420:15;;2416:1273;;2849:18;;-1:-1:-1;;2801:14:100;;;;2849:22;;;;2777:21;;2849:3;;:22;;3131;;;;;;;;;;;;;;3111:42;;3274:9;3245:3;:11;;3257:13;3245:26;;;;;;;;;;;;;;;;;;;:38;;;;3349:23;;;3391:1;3349:12;;;:23;;;;;;3375:17;;;3349:43;;3498:17;;3349:3;;3498:17;;;;;;;;;;;;;;;;;;;;;;3590:3;:12;;:19;3603:5;3590:19;;;;;;;;;;;3583:26;;;3631:4;3624:11;;;;;;;;2416:1273;3673:5;3666:12;;;;;5:130:-1;72:20;;-1:-1;;;;;31435:54;;31898:35;;31888:2;;31947:1;;31937:12;160:352;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;1436:336::-;;;1550:3;1543:4;1535:6;1531:17;1527:27;1517:2;;-1:-1;;1558:12;1517:2;-1:-1;1588:20;;1628:18;1617:30;;1614:2;;;-1:-1;;1650:12;1614:2;1694:4;1686:6;1682:17;1670:29;;1745:3;1694:4;1725:17;1686:6;1711:32;;1708:41;1705:2;;;1762:1;;1752:12;1917:241;;2021:2;2009:9;2000:7;1996:23;1992:32;1989:2;;;-1:-1;;2027:12;1989:2;2089:53;2134:7;2110:22;2089:53;:::i;2165:867::-;;;;;;;2356:3;2344:9;2335:7;2331:23;2327:33;2324:2;;;-1:-1;;2363:12;2324:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2415:63;-1:-1;2515:2;2554:22;;1847:20;;-1:-1;2651:2;2636:18;;2623:32;2675:18;2664:30;;2661:2;;;-1:-1;;2697:12;2661:2;2735:64;2791:7;2782:6;2771:9;2767:22;2735:64;:::i;:::-;2318:714;;;;-1:-1;2717:82;2836:2;2875:22;;1352:20;;2944:3;2984:22;;;1352:20;;-1:-1;2318:714;-1:-1;;;;2318:714::o;3039:993::-;;;;;;;;3247:3;3235:9;3226:7;3222:23;3218:33;3215:2;;;-1:-1;;3254:12;3215:2;3316:53;3361:7;3337:22;3316:53;:::i;:::-;3306:63;;3406:2;3449:9;3445:22;1847:20;3414:63;;3542:2;3531:9;3527:18;3514:32;3566:18;3558:6;3555:30;3552:2;;;-1:-1;;3588:12;3552:2;3626:64;3682:7;3673:6;3662:9;3658:22;3626:64;:::i;:::-;3209:823;;;;-1:-1;3608:82;3727:2;3766:22;;1352:20;;3835:3;3875:22;;1352:20;;-1:-1;3944:3;3984:22;;;1847:20;;-1:-1;3209:823;-1:-1;;;;3209:823::o;4039:1233::-;;;;;;;;;4327:3;4315:9;4306:7;4302:23;4298:33;4295:2;;;-1:-1;;4334:12;4295:2;4392:17;4379:31;4430:18;;4422:6;4419:30;4416:2;;;-1:-1;;4452:12;4416:2;4490:80;4562:7;4553:6;4542:9;4538:22;4490:80;:::i;:::-;4472:98;;-1:-1;4472:98;-1:-1;4635:2;4620:18;;4607:32;;-1:-1;4648:30;;;4645:2;;;-1:-1;;4681:12;4645:2;4719:80;4791:7;4782:6;4771:9;4767:22;4719:80;:::i;:::-;4701:98;;-1:-1;4701:98;-1:-1;4864:2;4849:18;;4836:32;;-1:-1;4877:30;;;4874:2;;;-1:-1;;4910:12;4874:2;;4948:91;5031:7;5022:6;5011:9;5007:22;4948:91;:::i;:::-;4289:983;;;;-1:-1;4289:983;;;;4930:109;;5076:2;5115:22;;1352:20;;5184:3;5224:22;1352:20;;-1:-1;4289:983;-1:-1;;;;4289:983::o;5279:1359::-;;;;;;;;;;5584:3;5572:9;5563:7;5559:23;5555:33;5552:2;;;-1:-1;;5591:12;5552:2;5649:17;5636:31;5687:18;;5679:6;5676:30;5673:2;;;-1:-1;;5709:12;5673:2;5747:80;5819:7;5810:6;5799:9;5795:22;5747:80;:::i;:::-;5729:98;;-1:-1;5729:98;-1:-1;5892:2;5877:18;;5864:32;;-1:-1;5905:30;;;5902:2;;;-1:-1;;5938:12;5902:2;5976:80;6048:7;6039:6;6028:9;6024:22;5976:80;:::i;:::-;5958:98;;-1:-1;5958:98;-1:-1;6121:2;6106:18;;6093:32;;-1:-1;6134:30;;;6131:2;;;-1:-1;;6167:12;6131:2;;6205:91;6288:7;6279:6;6268:9;6264:22;6205:91;:::i;:::-;5546:1092;;;;-1:-1;5546:1092;;;;6187:109;;6333:2;6372:22;;1352:20;;6441:3;6481:22;;1352:20;;-1:-1;6550:3;6590:22;1847:20;;-1:-1;5546:1092;-1:-1;;;;5546:1092::o;6645:241::-;;6749:2;6737:9;6728:7;6724:23;6720:32;6717:2;;;-1:-1;;6755:12;6717:2;-1:-1;1352:20;;6711:175;-1:-1;6711:175::o;6893:366::-;;;7014:2;7002:9;6993:7;6989:23;6985:32;6982:2;;;-1:-1;;7020:12;6982:2;1365:6;1352:20;7072:63;;7172:2;7215:9;7211:22;72:20;97:33;124:5;97:33;:::i;:::-;7180:63;;;;6976:283;;;;;:::o;7266:366::-;;;7387:2;7375:9;7366:7;7362:23;7358:32;7355:2;;;-1:-1;;7393:12;7355:2;-1:-1;;1352:20;;;7545:2;7584:22;;;1847:20;;-1:-1;7349:283::o;9248:935::-;29358:19;;;29407:4;29398:14;;;;9248:935;;29407:4;9570:17;;;9561:27;;;29398:14;9684:21;9248:935;9711:433;9736:6;9733:1;9730:13;9711:433;;;9798:9;9792:4;9788:20;9783:3;9776:33;30719:3;30706:17;30763:48;;30787:8;30771:14;30767:29;30763:48;30743:18;30739:73;30729:2;;-1:-1;;30816:12;30729:2;30845:33;;30900:19;;30970:18;30959:30;;30956:2;;;-1:-1;;30992:12;30956:2;31049:17;30771:14;31029:38;31019:8;31015:53;31012:2;;;-1:-1;;31071:12;31012:2;8199:74;10014:4;9999:13;29407:4;30938:5;30934:16;8199:74;:::i;:::-;10123:14;;;;9912:107;-1:-1;;;29085:14;;;;9758:1;9751:9;9711:433;;;-1:-1;10167:10;;9402:781;-1:-1;;;;;;;9402:781::o;10951:277::-;;29370:6;29365:3;29358:19;31662:6;31657:3;29407:4;29402:3;29398:14;31639:30;-1:-1;29407:4;31709:6;29402:3;31700:16;;31693:27;29407:4;31818:7;;31822:2;11214:6;31802:14;31798:28;29402:3;11183:39;;11176:46;;11041:187;;;;;:::o;17424:291::-;;31662:6;31657:3;31652;31639:30;31700:16;;31693:27;;;31700:16;17568:147;-1:-1;17568:147::o;17722:222::-;-1:-1;;;;;31435:54;;;;8348:37;;17849:2;17834:18;;17820:124::o;17951:548::-;;31446:42;;;;;8378:5;31435:54;8355:3;8348:37;10909:5;18326:2;18315:9;18311:18;10879:37;18162:2;18363;18352:9;18348:18;18341:48;18403:86;18162:2;18151:9;18147:18;18475:6;18467;18403:86;:::i;:::-;18395:94;18133:366;-1:-1;;;;;;18133:366::o;18506:772::-;;31446:42;;;;;8378:5;31435:54;8355:3;8348:37;10909:5;18938:2;18927:9;18923:18;10879:37;18773:3;18975:2;18964:9;18960:18;18953:48;19015:86;18773:3;18762:9;18758:19;19087:6;19079;19015:86;:::i;:::-;19180:2;19165:18;;10879:37;;;;-1:-1;19263:3;19248:19;10879:37;19007:94;18744:534;-1:-1;;;;18744:534::o;20064:1212::-;20503:3;20518:47;;;20488:19;;29358;;;20064:1212;8873:21;29398:14;;;20064:1212;8900:291;8925:6;8922:1;8919:13;8900:291;;;29407:4;30567:12;;;-1:-1;;;;;30541:39;30567:12;9021:6;30541:39;:::i;:::-;31435:54;8348:37;;9112:72;-1:-1;8041:14;;;;8947:1;8940:9;8900:291;;;-1:-1;20735:20;;;29407:4;20715:18;;20708:48;29358:19;;;-1:-1;;;;;10470:78;;10467:2;;;-1:-1;;10551:12;10467:2;29407:4;10586:6;10582:17;10572:27;;31662:6;31657:3;29407:4;29402:3;29398:14;31639:30;31700:16;29407:4;31700:16;;;31693:27;;;20926:20;;;;;;20921:2;20906:18;;20899:48;20961:138;31700:16;21085:6;21077;20961:138;:::i;:::-;21178:2;21163:18;;10879:37;;;;-1:-1;;;21261:3;21246:19;10879:37;20953:146;20474:802;-1:-1;;;;;;20474:802::o;21283:210::-;31268:13;;31261:21;10762:34;;21404:2;21389:18;;21375:118::o;21500:222::-;10879:37;;;21627:2;21612:18;;21598:124::o;21729:416::-;21929:2;21943:47;;;12130:2;21914:18;;;29358:19;12166:34;29398:14;;;12146:55;-1:-1;;;12221:12;;;12214:26;12259:12;;;21900:245::o;22152:416::-;22352:2;22366:47;;;12510:2;22337:18;;;29358:19;12546:34;29398:14;;;12526:55;-1:-1;;;12601:12;;;12594:30;12643:12;;;22323:245::o;22575:416::-;22775:2;22789:47;;;12894:2;22760:18;;;29358:19;12930:34;29398:14;;;12910:55;-1:-1;;;12985:12;;;12978:39;13036:12;;;22746:245::o;22998:416::-;23198:2;23212:47;;;13287:2;23183:18;;;29358:19;13323:34;29398:14;;;13303:55;-1:-1;;;13378:12;;;13371:27;13417:12;;;23169:245::o;23421:416::-;23621:2;23635:47;;;13668:2;23606:18;;;29358:19;13704:34;29398:14;;;13684:55;-1:-1;;;13759:12;;;13752:38;13809:12;;;23592:245::o;23844:416::-;24044:2;24058:47;;;14060:2;24029:18;;;29358:19;14096:29;29398:14;;;14076:50;14145:12;;;24015:245::o;24267:416::-;24467:2;24481:47;;;14396:2;24452:18;;;29358:19;14432:34;29398:14;;;14412:55;-1:-1;;;14487:12;;;14480:40;14539:12;;;24438:245::o;24690:416::-;24890:2;24904:47;;;14790:2;24875:18;;;29358:19;14826:34;29398:14;;;14806:55;-1:-1;;;14881:12;;;14874:30;14923:12;;;24861:245::o;25113:416::-;25313:2;25327:47;;;15174:2;25298:18;;;29358:19;15210:34;29398:14;;;15190:55;-1:-1;;;15265:12;;;15258:39;15316:12;;;25284:245::o;25536:416::-;25736:2;25750:47;;;15567:2;25721:18;;;29358:19;15603:34;29398:14;;;15583:55;-1:-1;;;15658:12;;;15651:34;15704:12;;;25707:245::o;25959:416::-;26159:2;26173:47;;;15955:2;26144:18;;;29358:19;15991:34;29398:14;;;15971:55;-1:-1;;;16046:12;;;16039:41;16099:12;;;26130:245::o;26382:416::-;26582:2;26596:47;;;16350:2;26567:18;;;29358:19;16386:34;29398:14;;;16366:55;-1:-1;;;16441:12;;;16434:35;16488:12;;;26553:245::o;26805:416::-;27005:2;27019:47;;;16739:2;26990:18;;;29358:19;16775:34;29398:14;;;16755:55;-1:-1;;;16830:12;;;16823:39;16881:12;;;26976:245::o;27228:416::-;27428:2;27442:47;;;17132:2;27413:18;;;29358:19;17168:34;29398:14;;;17148:55;-1:-1;;;17223:12;;;17216:43;17278:12;;;27399:245::o;27880:333::-;10879:37;;;28199:2;28184:18;;10879:37;28035:2;28020:18;;28006:207::o;28220:506::-;;;28355:11;28342:25;30763:48;;28430:8;28414:14;28410:29;28406:48;28386:18;28382:73;28372:2;;-1:-1;;28459:12;28372:2;28486:33;;28540:18;;;-1:-1;28578:18;28567:30;;28564:2;;;-1:-1;;28600:12;28564:2;28445:4;28628:13;;-1:-1;28414:14;28660:38;;;28650:49;;28647:2;;;28712:1;;28702:12;31839:117;-1:-1;;;;;31435:54;;31898:35;;31888:2;;31947:1;;31937:12", - "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.6.0;\npragma experimental ABIEncoderV2;\n\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"@openzeppelin/contracts/math/SafeMath.sol\";\n\n/**\n * @dev Contract module which acts as a timelocked controller. When set as the\n * owner of an `Ownable` smart contract, it enforces a timelock on all\n * `onlyOwner` maintenance operations. This gives time for users of the\n * controlled contract to exit before a potentially dangerous maintenance\n * operation is applied.\n *\n * By default, this contract is self administered, meaning administration tasks\n * have to go through the timelock process. The proposer (resp executor) role\n * is in charge of proposing (resp executing) operations. A common use case is\n * to position this {TimelockController} as the owner of a smart contract, with\n * a multisig or a DAO as the sole proposer.\n */\ncontract TimelockController is AccessControl {\n\n bytes32 public constant TIMELOCK_ADMIN_ROLE = keccak256(\"TIMELOCK_ADMIN_ROLE\");\n bytes32 public constant PROPOSER_ROLE = keccak256(\"PROPOSER_ROLE\");\n bytes32 public constant EXECUTOR_ROLE = keccak256(\"EXECUTOR_ROLE\");\n uint256 internal constant _DONE_TIMESTAMP = uint256(1);\n\n mapping(bytes32 => uint256) private _timestamps;\n uint256 private _minDelay;\n\n /**\n * @dev Emitted when a call is scheduled as part of operation `id`.\n */\n event CallScheduled(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, uint256 delay);\n\n /**\n * @dev Emitted when a call is performed as part of operation `id`.\n */\n event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data);\n\n /**\n * @dev Emitted when operation `id` is cancelled.\n */\n event Cancelled(bytes32 indexed id);\n\n /**\n * @dev Emitted when the minimum delay for future operations is modified.\n */\n event MinDelayChange(uint256 oldDuration, uint256 newDuration);\n\n /**\n * @dev Initializes the contract with a given `minDelay`.\n */\n constructor(uint256 minDelay, address[] memory administrators, address[] memory proposers, address[] memory executors) public {\n _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE);\n _setRoleAdmin(PROPOSER_ROLE, TIMELOCK_ADMIN_ROLE);\n _setRoleAdmin(EXECUTOR_ROLE, TIMELOCK_ADMIN_ROLE);\n\n // register administrators\n for (uint256 i = 0; i < administrators.length; ++i) {\n _setupRole(TIMELOCK_ADMIN_ROLE, administrators[i]);\n }\n\n // register proposers\n for (uint256 i = 0; i < proposers.length; ++i) {\n _setupRole(PROPOSER_ROLE, proposers[i]);\n }\n\n // register executors\n for (uint256 i = 0; i < executors.length; ++i) {\n _setupRole(EXECUTOR_ROLE, executors[i]);\n }\n\n _minDelay = minDelay;\n emit MinDelayChange(0, minDelay);\n }\n\n /**\n * @dev Modifier to make a function callable only by a certain role. In\n * addition to checking the sender's role, `address(0)` 's role is also\n * considered. Granting a role to `address(0)` is equivalent to enabling\n * this role for everyone.\n */\n modifier onlyRole(bytes32 role) {\n require(hasRole(role, _msgSender()) || hasRole(role, address(0)), \"TimelockController: sender requires permission\");\n _;\n }\n\n /*\n * @dev Contract might receive/hold ETH as part of the maintenance process.\n */\n receive() external payable {}\n\n /**\n * @dev Returns whether an operation is pending or not.\n */\n function isOperationPending(bytes32 id) public view returns (bool pending) {\n return _timestamps[id] > _DONE_TIMESTAMP;\n }\n\n /**\n * @dev Returns whether an operation is ready or not.\n */\n function isOperationReady(bytes32 id) public view returns (bool ready) {\n // solhint-disable-next-line not-rely-on-time\n return _timestamps[id] > _DONE_TIMESTAMP && _timestamps[id] <= block.timestamp;\n }\n\n /**\n * @dev Returns whether an operation is done or not.\n */\n function isOperationDone(bytes32 id) public view returns (bool done) {\n return _timestamps[id] == _DONE_TIMESTAMP;\n }\n\n /**\n * @dev Returns the timestamp at with an operation becomes ready (0 for\n * unset operations, 1 for done operations).\n */\n function getTimestamp(bytes32 id) public view returns (uint256 timestamp) {\n return _timestamps[id];\n }\n\n /**\n * @dev Returns the minimum delay for an operation to become valid.\n */\n function getMinDelay() public view returns (uint256 duration) {\n return _minDelay;\n }\n\n /**\n * @dev Returns the identifier of an operation containing a single\n * transaction.\n */\n function hashOperation(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt) public pure returns (bytes32 hash) {\n return keccak256(abi.encode(target, value, data, predecessor, salt));\n }\n\n /**\n * @dev Returns the identifier of an operation containing a batch of\n * transactions.\n */\n function hashOperationBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt) public pure returns (bytes32 hash) {\n return keccak256(abi.encode(targets, values, datas, predecessor, salt));\n }\n\n /**\n * @dev Schedule an operation containing a single transaction.\n *\n * Emits a {CallScheduled} event.\n *\n * Requirements:\n *\n * - the caller must have the 'proposer' role.\n */\n function schedule(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt, uint256 delay) public virtual onlyRole(PROPOSER_ROLE) {\n bytes32 id = hashOperation(target, value, data, predecessor, salt);\n _schedule(id, delay);\n emit CallScheduled(id, 0, target, value, data, predecessor, delay);\n }\n\n /**\n * @dev Schedule an operation containing a batch of transactions.\n *\n * Emits one {CallScheduled} event per transaction in the batch.\n *\n * Requirements:\n *\n * - the caller must have the 'proposer' role.\n */\n function scheduleBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt, uint256 delay) public virtual onlyRole(PROPOSER_ROLE) {\n require(targets.length == values.length, \"TimelockController: length mismatch\");\n require(targets.length == datas.length, \"TimelockController: length mismatch\");\n\n bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt);\n _schedule(id, delay);\n for (uint256 i = 0; i < targets.length; ++i) {\n emit CallScheduled(id, i, targets[i], values[i], datas[i], predecessor, delay);\n }\n }\n\n /**\n * @dev Schedule an operation that is to becomes valid after a given delay.\n */\n function _schedule(bytes32 id, uint256 delay) private {\n require(_timestamps[id] == 0, \"TimelockController: operation already scheduled\");\n require(delay >= _minDelay, \"TimelockController: insufficient delay\");\n // solhint-disable-next-line not-rely-on-time\n _timestamps[id] = SafeMath.add(block.timestamp, delay);\n }\n\n /**\n * @dev Cancel an operation.\n *\n * Requirements:\n *\n * - the caller must have the 'proposer' role.\n */\n function cancel(bytes32 id) public virtual onlyRole(PROPOSER_ROLE) {\n require(isOperationPending(id), \"TimelockController: operation cannot be cancelled\");\n delete _timestamps[id];\n\n emit Cancelled(id);\n }\n\n /**\n * @dev Execute an (ready) operation containing a single transaction.\n *\n * Emits a {CallExecuted} event.\n *\n * Requirements:\n *\n * - the caller must have the 'executor' role.\n */\n function execute(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt) public payable virtual onlyRole(EXECUTOR_ROLE) {\n bytes32 id = hashOperation(target, value, data, predecessor, salt);\n _beforeCall(predecessor);\n _call(id, 0, target, value, data);\n _afterCall(id);\n }\n\n /**\n * @dev Execute an (ready) operation containing a batch of transactions.\n *\n * Emits one {CallExecuted} event per transaction in the batch.\n *\n * Requirements:\n *\n * - the caller must have the 'executor' role.\n */\n function executeBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt) public payable virtual onlyRole(EXECUTOR_ROLE) {\n require(targets.length == values.length, \"TimelockController: length mismatch\");\n require(targets.length == datas.length, \"TimelockController: length mismatch\");\n\n bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt);\n _beforeCall(predecessor);\n for (uint256 i = 0; i < targets.length; ++i) {\n _call(id, i, targets[i], values[i], datas[i]);\n }\n _afterCall(id);\n }\n\n /**\n * @dev Checks before execution of an operation's calls.\n */\n function _beforeCall(bytes32 predecessor) private view {\n require(predecessor == bytes32(0) || isOperationDone(predecessor), \"TimelockController: missing dependency\");\n }\n\n /**\n * @dev Checks after execution of an operation's calls.\n */\n function _afterCall(bytes32 id) private {\n require(isOperationReady(id), \"TimelockController: operation is not ready\");\n _timestamps[id] = _DONE_TIMESTAMP;\n }\n\n /**\n * @dev Execute an operation's call.\n *\n * Emits a {CallExecuted} event.\n */\n function _call(bytes32 id, uint256 index, address target, uint256 value, bytes calldata data) private {\n // solhint-disable-next-line avoid-low-level-calls\n (bool success,) = target.call{value: value}(data);\n require(success, \"TimelockController: underlying transaction reverted\");\n\n emit CallExecuted(id, index, target, value, data);\n }\n\n /**\n * @dev Changes the timelock duration for future operations.\n *\n * Emits a {MinDelayChange} event.\n */\n function updateDelay(uint256 newDelay) external virtual {\n require(msg.sender == address(this), \"TimelockController: caller must be timelock\");\n emit MinDelayChange(_minDelay, newDelay);\n _minDelay = newDelay;\n }\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/TimelockController.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/TimelockController.sol", - "exportedSymbols": { - "TimelockController": [ - 11489 - ] - }, - "id": 11490, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10727, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:59" - }, - { - "id": 10728, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "57:33:59" - }, - { - "absolutePath": "@openzeppelin/contracts/access/AccessControl.sol", - "file": "@openzeppelin/contracts/access/AccessControl.sol", - "id": 10729, - "nodeType": "ImportDirective", - "scope": 11490, - "sourceUnit": 13963, - "src": "92:58:59", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "file": "@openzeppelin/contracts/math/SafeMath.sol", - "id": 10730, - "nodeType": "ImportDirective", - "scope": 11490, - "sourceUnit": 14410, - "src": "151:51:59", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10732, - "name": "AccessControl", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13962, - "src": "929:13:59", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AccessControl_$13962", - "typeString": "contract AccessControl" - } - }, - "id": 10733, - "nodeType": "InheritanceSpecifier", - "src": "929:13:59" - } - ], - "contractDependencies": [ - 13679, - 13962 - ], - "contractKind": "contract", - "documentation": { - "id": 10731, - "nodeType": "StructuredDocumentation", - "src": "204:693:59", - "text": " @dev Contract module which acts as a timelocked controller. When set as the\n owner of an `Ownable` smart contract, it enforces a timelock on all\n `onlyOwner` maintenance operations. This gives time for users of the\n controlled contract to exit before a potentially dangerous maintenance\n operation is applied.\n By default, this contract is self administered, meaning administration tasks\n have to go through the timelock process. The proposer (resp executor) role\n is in charge of proposing (resp executing) operations. A common use case is\n to position this {TimelockController} as the owner of a smart contract, with\n a multisig or a DAO as the sole proposer." - }, - "fullyImplemented": true, - "id": 11489, - "linearizedBaseContracts": [ - 11489, - 13962, - 13679 - ], - "name": "TimelockController", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "0d3cf6fc", - "id": 10738, - "mutability": "constant", - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "950:78:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "950:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "54494d454c4f434b5f41444d494e5f524f4c45", - "id": 10736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1006:21:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", - "typeString": "literal_string \"TIMELOCK_ADMIN_ROLE\"" - }, - "value": "TIMELOCK_ADMIN_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", - "typeString": "literal_string \"TIMELOCK_ADMIN_ROLE\"" - } - ], - "id": 10735, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "996:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "996:32:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "8f61f4f5", - "id": 10743, - "mutability": "constant", - "name": "PROPOSER_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1034:66:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1034:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "50524f504f5345525f524f4c45", - "id": 10741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1084:15:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1", - "typeString": "literal_string \"PROPOSER_ROLE\"" - }, - "value": "PROPOSER_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1", - "typeString": "literal_string \"PROPOSER_ROLE\"" - } - ], - "id": 10740, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1074:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1074:26:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "07bd0265", - "id": 10748, - "mutability": "constant", - "name": "EXECUTOR_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1106:66:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10744, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1106:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "4558454355544f525f524f4c45", - "id": 10746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1156:15:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63", - "typeString": "literal_string \"EXECUTOR_ROLE\"" - }, - "value": "EXECUTOR_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63", - "typeString": "literal_string \"EXECUTOR_ROLE\"" - } - ], - "id": 10745, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1146:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1146:26:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "id": 10754, - "mutability": "constant", - "name": "_DONE_TIMESTAMP", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1178:54:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10749, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1178:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 10752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1230:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 10751, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1222:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10750, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1222:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10758, - "mutability": "mutable", - "name": "_timestamps", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1239:47:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 10757, - "keyType": { - "id": 10755, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1247:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1239:27:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 10756, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1258:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 10760, - "mutability": "mutable", - "name": "_minDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1292:25:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1292:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "private" - }, - { - "anonymous": false, - "documentation": { - "id": 10761, - "nodeType": "StructuredDocumentation", - "src": "1324:83:59", - "text": " @dev Emitted when a call is scheduled as part of operation `id`." - }, - "id": 10777, - "name": "CallScheduled", - "nodeType": "EventDefinition", - "parameters": { - "id": 10776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10763, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1432:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10762, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1432:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10765, - "indexed": true, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1452:21:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10764, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1452:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10767, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1475:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10766, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1475:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10769, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1491:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10768, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1491:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10771, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1506:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10770, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1506:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10773, - "indexed": false, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1518:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10772, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1518:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10775, - "indexed": false, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1539:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1539:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1431:122:59" - }, - "src": "1412:142:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10778, - "nodeType": "StructuredDocumentation", - "src": "1560:83:59", - "text": " @dev Emitted when a call is performed as part of operation `id`." - }, - "id": 10790, - "name": "CallExecuted", - "nodeType": "EventDefinition", - "parameters": { - "id": 10789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10780, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1667:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10779, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1667:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10782, - "indexed": true, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1687:21:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10781, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1687:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10784, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1710:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1710:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10786, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1726:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10785, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1726:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10788, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1741:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10787, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1741:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1666:86:59" - }, - "src": "1648:105:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10791, - "nodeType": "StructuredDocumentation", - "src": "1759:65:59", - "text": " @dev Emitted when operation `id` is cancelled." - }, - "id": 10795, - "name": "Cancelled", - "nodeType": "EventDefinition", - "parameters": { - "id": 10794, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10793, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10795, - "src": "1845:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10792, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1845:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1844:20:59" - }, - "src": "1829:36:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10796, - "nodeType": "StructuredDocumentation", - "src": "1871:89:59", - "text": " @dev Emitted when the minimum delay for future operations is modified." - }, - "id": 10802, - "name": "MinDelayChange", - "nodeType": "EventDefinition", - "parameters": { - "id": 10801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10798, - "indexed": false, - "mutability": "mutable", - "name": "oldDuration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10802, - "src": "1986:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10797, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1986:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10800, - "indexed": false, - "mutability": "mutable", - "name": "newDuration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10802, - "src": "2007:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10799, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2007:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1985:42:59" - }, - "src": "1965:63:59" - }, - { - "body": { - "id": 10901, - "nodeType": "Block", - "src": "2238:737:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10818, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2262:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10819, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2283:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10817, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2248:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2248:55:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10821, - "nodeType": "ExpressionStatement", - "src": "2248:55:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10823, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "2327:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10824, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2342:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10822, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2313:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2313:49:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10826, - "nodeType": "ExpressionStatement", - "src": "2313:49:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10828, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "2386:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10829, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2401:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10827, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2372:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2372:49:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10831, - "nodeType": "ExpressionStatement", - "src": "2372:49:59" - }, - { - "body": { - "id": 10850, - "nodeType": "Block", - "src": "2519:75:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10844, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2544:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10845, - "name": "administrators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10808, - "src": "2565:14:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10847, - "indexExpression": { - "argumentTypes": null, - "id": 10846, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2580:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2565:17:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10843, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2533:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:50:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10849, - "nodeType": "ExpressionStatement", - "src": "2533:50:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10836, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2487:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10837, - "name": "administrators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10808, - "src": "2491:14:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2491:21:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2487:25:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10851, - "initializationExpression": { - "assignments": [ - 10833 - ], - "declarations": [ - { - "constant": false, - "id": 10833, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10851, - "src": "2472:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10832, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2472:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10835, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2472:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2514:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10840, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2516:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10842, - "nodeType": "ExpressionStatement", - "src": "2514:3:59" - }, - "nodeType": "ForStatement", - "src": "2467:127:59" - }, - { - "body": { - "id": 10870, - "nodeType": "Block", - "src": "2681:64:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10864, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "2706:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10865, - "name": "proposers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10811, - "src": "2721:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10867, - "indexExpression": { - "argumentTypes": null, - "id": 10866, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2731:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2721:12:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10863, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2695:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2695:39:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10869, - "nodeType": "ExpressionStatement", - "src": "2695:39:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10856, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2654:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10857, - "name": "proposers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10811, - "src": "2658:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2658:16:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2654:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10871, - "initializationExpression": { - "assignments": [ - 10853 - ], - "declarations": [ - { - "constant": false, - "id": 10853, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10871, - "src": "2639:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10852, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2639:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10855, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2651:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2639:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2676:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10860, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2678:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10862, - "nodeType": "ExpressionStatement", - "src": "2676:3:59" - }, - "nodeType": "ForStatement", - "src": "2634:111:59" - }, - { - "body": { - "id": 10890, - "nodeType": "Block", - "src": "2832:64:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10884, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "2857:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10885, - "name": "executors", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10814, - "src": "2872:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10887, - "indexExpression": { - "argumentTypes": null, - "id": 10886, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2882:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2872:12:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10883, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2846:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2846:39:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10889, - "nodeType": "ExpressionStatement", - "src": "2846:39:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10876, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2805:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10877, - "name": "executors", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10814, - "src": "2809:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2809:16:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2805:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10891, - "initializationExpression": { - "assignments": [ - 10873 - ], - "declarations": [ - { - "constant": false, - "id": 10873, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10891, - "src": "2790:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10872, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2790:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10875, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2802:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2790:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2827:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10880, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2829:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10882, - "nodeType": "ExpressionStatement", - "src": "2827:3:59" - }, - "nodeType": "ForStatement", - "src": "2785:111:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 10894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10892, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "2906:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10893, - "name": "minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10805, - "src": "2918:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2906:20:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10895, - "nodeType": "ExpressionStatement", - "src": "2906:20:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10897, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2956:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 10898, - "name": "minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10805, - "src": "2959:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10896, - "name": "MinDelayChange", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10802, - "src": "2941:14:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 10899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2941:27:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10900, - "nodeType": "EmitStatement", - "src": "2936:32:59" - } - ] - }, - "documentation": { - "id": 10803, - "nodeType": "StructuredDocumentation", - "src": "2034:73:59", - "text": " @dev Initializes the contract with a given `minDelay`." - }, - "id": 10902, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10805, - "mutability": "mutable", - "name": "minDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2124:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10804, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2124:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10808, - "mutability": "mutable", - "name": "administrators", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2142:31:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10806, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2142:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10807, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2142:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10811, - "mutability": "mutable", - "name": "proposers", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2175:26:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10809, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2175:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10810, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2175:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10814, - "mutability": "mutable", - "name": "executors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2203:26:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2203:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10813, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2203:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2123:107:59" - }, - "returnParameters": { - "id": 10816, - "nodeType": "ParameterList", - "parameters": [], - "src": "2238:0:59" - }, - "scope": 11489, - "src": "2112:863:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10925, - "nodeType": "Block", - "src": "3289:143:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10909, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10905, - "src": "3315:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10910, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "3321:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 10911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3321:12:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10908, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "3307:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 10912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3307:27:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10914, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10905, - "src": "3346:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3360:1:59", - "subdenomination": null, - "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": 10916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3352:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10915, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3352:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3352:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10913, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "3338:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 10919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3338:25:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3307:56:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a2073656e646572207265717569726573207065726d697373696f6e", - "id": 10921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3365:48:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1aed9e0f8f7c4a7d979f6ae9346f74660c58b1c7a35b3de9e9388f54d400d4eb", - "typeString": "literal_string \"TimelockController: sender requires permission\"" - }, - "value": "TimelockController: sender requires permission" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1aed9e0f8f7c4a7d979f6ae9346f74660c58b1c7a35b3de9e9388f54d400d4eb", - "typeString": "literal_string \"TimelockController: sender requires permission\"" - } - ], - "id": 10907, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3299:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3299:115:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10923, - "nodeType": "ExpressionStatement", - "src": "3299:115:59" - }, - { - "id": 10924, - "nodeType": "PlaceholderStatement", - "src": "3424:1:59" - } - ] - }, - "documentation": { - "id": 10903, - "nodeType": "StructuredDocumentation", - "src": "2981:271:59", - "text": " @dev Modifier to make a function callable only by a certain role. In\n addition to checking the sender's role, `address(0)` 's role is also\n considered. Granting a role to `address(0)` is equivalent to enabling\n this role for everyone." - }, - "id": 10926, - "name": "onlyRole", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 10906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10905, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10926, - "src": "3275:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10904, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3275:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3274:14:59" - }, - "src": "3257:175:59", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10929, - "nodeType": "Block", - "src": "3560:2:59", - "statements": [] - }, - "documentation": null, - "id": 10930, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10927, - "nodeType": "ParameterList", - "parameters": [], - "src": "3540:2:59" - }, - "returnParameters": { - "id": 10928, - "nodeType": "ParameterList", - "parameters": [], - "src": "3560:0:59" - }, - "scope": 11489, - "src": "3533:29:59", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10944, - "nodeType": "Block", - "src": "3719:57:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10938, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "3736:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10940, - "indexExpression": { - "argumentTypes": null, - "id": 10939, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10933, - "src": "3748:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3736:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 10941, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "3754:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3736:33:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10937, - "id": 10943, - "nodeType": "Return", - "src": "3729:40:59" - } - ] - }, - "documentation": { - "id": 10931, - "nodeType": "StructuredDocumentation", - "src": "3568:71:59", - "text": " @dev Returns whether an operation is pending or not." - }, - "functionSelector": "584b153e", - "id": 10945, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationPending", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10933, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10945, - "src": "3672:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10932, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3672:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3671:12:59" - }, - "returnParameters": { - "id": 10937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10936, - "mutability": "mutable", - "name": "pending", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10945, - "src": "3705:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10935, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3705:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3704:14:59" - }, - "scope": 11489, - "src": "3644:132:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10966, - "nodeType": "Block", - "src": "3927:149:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10953, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "3998:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10955, - "indexExpression": { - "argumentTypes": null, - "id": 10954, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10948, - "src": "4010:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3998:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 10956, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "4016:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3998:33:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10958, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4035:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10960, - "indexExpression": { - "argumentTypes": null, - "id": 10959, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10948, - "src": "4047:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4035:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10961, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "4054:5:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 10962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4054:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4035:34:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3998:71:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10952, - "id": 10965, - "nodeType": "Return", - "src": "3991:78:59" - } - ] - }, - "documentation": { - "id": 10946, - "nodeType": "StructuredDocumentation", - "src": "3782:69:59", - "text": " @dev Returns whether an operation is ready or not." - }, - "functionSelector": "13bc9f20", - "id": 10967, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationReady", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10948, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10967, - "src": "3882:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10947, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3882:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3881:12:59" - }, - "returnParameters": { - "id": 10952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10951, - "mutability": "mutable", - "name": "ready", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10967, - "src": "3915:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10950, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3915:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3914:12:59" - }, - "scope": 11489, - "src": "3856:220:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10981, - "nodeType": "Block", - "src": "4224:58:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10975, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4241:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10977, - "indexExpression": { - "argumentTypes": null, - "id": 10976, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10970, - "src": "4253:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4241:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 10978, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "4260:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4241:34:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10974, - "id": 10980, - "nodeType": "Return", - "src": "4234:41:59" - } - ] - }, - "documentation": { - "id": 10968, - "nodeType": "StructuredDocumentation", - "src": "4082:68:59", - "text": " @dev Returns whether an operation is done or not." - }, - "functionSelector": "2ab0f529", - "id": 10982, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationDone", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10970, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10982, - "src": "4180:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10969, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4180:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4179:12:59" - }, - "returnParameters": { - "id": 10974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10973, - "mutability": "mutable", - "name": "done", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10982, - "src": "4213:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10972, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4213:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4212:11:59" - }, - "scope": 11489, - "src": "4155:127:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10994, - "nodeType": "Block", - "src": "4503:39:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10990, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4520:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10992, - "indexExpression": { - "argumentTypes": null, - "id": 10991, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10985, - "src": "4532:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4520:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10989, - "id": 10993, - "nodeType": "Return", - "src": "4513:22:59" - } - ] - }, - "documentation": { - "id": 10983, - "nodeType": "StructuredDocumentation", - "src": "4288:136:59", - "text": " @dev Returns the timestamp at with an operation becomes ready (0 for\n unset operations, 1 for done operations)." - }, - "functionSelector": "d45c4435", - "id": 10995, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getTimestamp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10985, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10995, - "src": "4451:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10984, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4451:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4450:12:59" - }, - "returnParameters": { - "id": 10989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10988, - "mutability": "mutable", - "name": "timestamp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10995, - "src": "4484:17:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10987, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4484:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4483:19:59" - }, - "scope": 11489, - "src": "4429:113:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11003, - "nodeType": "Block", - "src": "4698:33:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 11001, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "4715:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 11000, - "id": 11002, - "nodeType": "Return", - "src": "4708:16:59" - } - ] - }, - "documentation": { - "id": 10996, - "nodeType": "StructuredDocumentation", - "src": "4548:83:59", - "text": " @dev Returns the minimum delay for an operation to become valid." - }, - "functionSelector": "f27a0c92", - "id": 11004, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getMinDelay", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10997, - "nodeType": "ParameterList", - "parameters": [], - "src": "4656:2:59" - }, - "returnParameters": { - "id": 11000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10999, - "mutability": "mutable", - "name": "duration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11004, - "src": "4680:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4680:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4679:18:59" - }, - "scope": 11489, - "src": "4636:95:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11031, - "nodeType": "Block", - "src": "4989:85:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11023, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11007, - "src": "5027:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11024, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11009, - "src": "5035:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11025, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11011, - "src": "5042:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11026, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11013, - "src": "5048:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11027, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11015, - "src": "5061:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 11021, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5016:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5016:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 11028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5016:50:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11020, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5006:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 11029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5006:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 11019, - "id": 11030, - "nodeType": "Return", - "src": "4999:68:59" - } - ] - }, - "documentation": { - "id": 11005, - "nodeType": "StructuredDocumentation", - "src": "4737:102:59", - "text": " @dev Returns the identifier of an operation containing a single\n transaction." - }, - "functionSelector": "8065657f", - "id": 11032, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hashOperation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11007, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4867:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11006, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4867:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11009, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4883:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11008, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4883:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11011, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4898:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11010, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4898:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11013, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4919:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11012, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4919:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11015, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4940:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11014, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4940:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4866:87:59" - }, - "returnParameters": { - "id": 11019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11018, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4975:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11017, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4975:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4974:14:59" - }, - "scope": 11489, - "src": "4844:230:59", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11062, - "nodeType": "Block", - "src": "5367:88:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11054, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11036, - "src": "5405:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11055, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11039, - "src": "5414:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11056, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11042, - "src": "5422:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11057, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11044, - "src": "5429:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11058, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11046, - "src": "5442:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 11052, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5394:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5394:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 11059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5394:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11051, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5384:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 11060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5384:64:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 11050, - "id": 11061, - "nodeType": "Return", - "src": "5377:71:59" - } - ] - }, - "documentation": { - "id": 11033, - "nodeType": "StructuredDocumentation", - "src": "5080:105:59", - "text": " @dev Returns the identifier of an operation containing a batch of\n transactions." - }, - "functionSelector": "b1c5f427", - "id": 11063, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hashOperationBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11036, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5218:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11034, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5218:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11035, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5218:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11039, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5246:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11037, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5246:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11038, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5246:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11042, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5273:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11040, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5273:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11041, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5273:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11044, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5297:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11043, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5297:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11046, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5318:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11045, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5318:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5217:114:59" - }, - "returnParameters": { - "id": 11050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11049, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5353:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11048, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5353:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5352:14:59" - }, - "scope": 11489, - "src": "5190:265:59", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11107, - "nodeType": "Block", - "src": "5834:189:59", - "statements": [ - { - "assignments": [ - 11083 - ], - "declarations": [ - { - "constant": false, - "id": 11083, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11107, - "src": "5844:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11082, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5844:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11091, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11085, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11066, - "src": "5871:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11086, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11068, - "src": "5879:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11087, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11070, - "src": "5886:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11088, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11072, - "src": "5892:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11089, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11074, - "src": "5905:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11084, - "name": "hashOperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11032, - "src": "5857:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,uint256,bytes calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5857:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5844:66:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11093, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11083, - "src": "5930:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11094, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11076, - "src": "5934:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11092, - "name": "_schedule", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11229, - "src": "5920:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256)" - } - }, - "id": 11095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5920:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11096, - "nodeType": "ExpressionStatement", - "src": "5920:20:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11098, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11083, - "src": "5969:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 11099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5973:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 11100, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11066, - "src": "5976:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11101, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11068, - "src": "5984:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11102, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11070, - "src": "5991:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11103, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11072, - "src": "5997:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11104, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11076, - "src": "6010:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11097, - "name": "CallScheduled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10777, - "src": "5955:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory,bytes32,uint256)" - } - }, - "id": 11105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5955:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11106, - "nodeType": "EmitStatement", - "src": "5950:66:59" - } - ] - }, - "documentation": { - "id": 11064, - "nodeType": "StructuredDocumentation", - "src": "5461:209:59", - "text": " @dev Schedule an operation containing a single transaction.\n Emits a {CallScheduled} event.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "01d5062a", - "id": 11108, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11079, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "5819:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11080, - "modifierName": { - "argumentTypes": null, - "id": 11078, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "5810:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "5810:23:59" - } - ], - "name": "schedule", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11077, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11066, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5693:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5693:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11068, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5709:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5709:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11070, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5724:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11069, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5724:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11072, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5745:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11071, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5745:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11074, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5766:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11073, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5766:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11076, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5780:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11075, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5780:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5692:102:59" - }, - "returnParameters": { - "id": 11081, - "nodeType": "ParameterList", - "parameters": [], - "src": "5834:0:59" - }, - "scope": 11489, - "src": "5675:348:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11192, - "nodeType": "Block", - "src": "6468:456:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11131, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6486:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6486:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11133, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6504:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6504:13:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6486:31:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6519:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11130, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6478:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6478:79:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11138, - "nodeType": "ExpressionStatement", - "src": "6478:79:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11140, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6575:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6575:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11142, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6593:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6593:12:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6575:30:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6607:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11139, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6567:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6567:78:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11147, - "nodeType": "ExpressionStatement", - "src": "6567:78:59" - }, - { - "assignments": [ - 11149 - ], - "declarations": [ - { - "constant": false, - "id": 11149, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11192, - "src": "6656:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11148, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6656:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11157, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11151, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6688:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11152, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6697:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11153, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6705:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11154, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11120, - "src": "6712:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11155, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11122, - "src": "6725:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11150, - "name": "hashOperationBatch", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11063, - "src": "6669:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address[] calldata,uint256[] calldata,bytes calldata[] calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6669:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6656:74:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11159, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11149, - "src": "6750:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11160, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11124, - "src": "6754:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11158, - "name": "_schedule", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11229, - "src": "6740:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256)" - } - }, - "id": 11161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6740:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11162, - "nodeType": "ExpressionStatement", - "src": "6740:20:59" - }, - { - "body": { - "id": 11190, - "nodeType": "Block", - "src": "6815:103:59", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11175, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11149, - "src": "6848:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11176, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6852:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11177, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6855:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11179, - "indexExpression": { - "argumentTypes": null, - "id": 11178, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6863:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6855:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11180, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6867:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11182, - "indexExpression": { - "argumentTypes": null, - "id": 11181, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6874:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6867:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11183, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6878:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11185, - "indexExpression": { - "argumentTypes": null, - "id": 11184, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6884:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6878:8:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11186, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11120, - "src": "6888:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11187, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11124, - "src": "6901:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11174, - "name": "CallScheduled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10777, - "src": "6834:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory,bytes32,uint256)" - } - }, - "id": 11188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6834:73:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11189, - "nodeType": "EmitStatement", - "src": "6829:78:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11167, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6790:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11168, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6794:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6794:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6790:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 11191, - "initializationExpression": { - "assignments": [ - 11164 - ], - "declarations": [ - { - "constant": false, - "id": 11164, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11191, - "src": "6775:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11163, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6775:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11166, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 11165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6787:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6775:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 11172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "6810:3:59", - "subExpression": { - "argumentTypes": null, - "id": 11171, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6812:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11173, - "nodeType": "ExpressionStatement", - "src": "6810:3:59" - }, - "nodeType": "ForStatement", - "src": "6770:148:59" - } - ] - }, - "documentation": { - "id": 11109, - "nodeType": "StructuredDocumentation", - "src": "6029:243:59", - "text": " @dev Schedule an operation containing a batch of transactions.\n Emits one {CallScheduled} event per transaction in the batch.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "8f2a0bb0", - "id": 11193, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11127, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "6453:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11128, - "modifierName": { - "argumentTypes": null, - "id": 11126, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "6444:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6444:23:59" - } - ], - "name": "scheduleBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11112, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6300:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11110, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6300:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11111, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6300:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11115, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6328:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11113, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6328:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11114, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6328:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11118, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6355:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11116, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6355:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11117, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6355:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11120, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6379:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11119, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6379:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11122, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6400:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11121, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6400:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11124, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6414:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6414:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6299:129:59" - }, - "returnParameters": { - "id": 11129, - "nodeType": "ParameterList", - "parameters": [], - "src": "6468:0:59" - }, - "scope": 11489, - "src": "6277:647:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11228, - "nodeType": "Block", - "src": "7080:294:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11202, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7098:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11204, - "indexExpression": { - "argumentTypes": null, - "id": 11203, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11196, - "src": "7110:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7098:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 11205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7117:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7098:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c7265616479207363686564756c6564", - "id": 11207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7120:49:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2e50231ecb348ec53d87c71b0f084343770a9a06cbe6e2505c22b7e29d233fe", - "typeString": "literal_string \"TimelockController: operation already scheduled\"" - }, - "value": "TimelockController: operation already scheduled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2e50231ecb348ec53d87c71b0f084343770a9a06cbe6e2505c22b7e29d233fe", - "typeString": "literal_string \"TimelockController: operation already scheduled\"" - } - ], - "id": 11201, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7090:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7090:80:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11209, - "nodeType": "ExpressionStatement", - "src": "7090:80:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11211, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11198, - "src": "7188:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 11212, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "7197:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7188:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e742064656c6179", - "id": 11214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7208:40:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75aaed5c76f1bea21a1c6dab60898c911c430cd1eac23b8d8a559aa50cb17eca", - "typeString": "literal_string \"TimelockController: insufficient delay\"" - }, - "value": "TimelockController: insufficient delay" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_75aaed5c76f1bea21a1c6dab60898c911c430cd1eac23b8d8a559aa50cb17eca", - "typeString": "literal_string \"TimelockController: insufficient delay\"" - } - ], - "id": 11210, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7180:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7180:69:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11216, - "nodeType": "ExpressionStatement", - "src": "7180:69:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11217, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7313:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11219, - "indexExpression": { - "argumentTypes": null, - "id": 11218, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11196, - "src": "7325:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7313:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11222, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "7344:5:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 11223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7344:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11224, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11198, - "src": "7361:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 11220, - "name": "SafeMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14409, - "src": "7331:8:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$14409_$", - "typeString": "type(library SafeMath)" - } - }, - "id": 11221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 14242, - "src": "7331:12:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 11225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7331:36:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7313:54:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11227, - "nodeType": "ExpressionStatement", - "src": "7313:54:59" - } - ] - }, - "documentation": { - "id": 11194, - "nodeType": "StructuredDocumentation", - "src": "6930:91:59", - "text": " @dev Schedule an operation that is to becomes valid after a given delay." - }, - "id": 11229, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_schedule", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11196, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11229, - "src": "7045:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11195, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7045:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11198, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11229, - "src": "7057:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7057:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7044:27:59" - }, - "returnParameters": { - "id": 11200, - "nodeType": "ParameterList", - "parameters": [], - "src": "7080:0:59" - }, - "scope": 11489, - "src": "7026:348:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11254, - "nodeType": "Block", - "src": "7582:162:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11240, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7619:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11239, - "name": "isOperationPending", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10945, - "src": "7600:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11241, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7600:22:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616e6e6f742062652063616e63656c6c6564", - "id": 11242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7624:51:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da89af2fc5eaabb52110eb28e200457fadb874889554529840e92529248f2d41", - "typeString": "literal_string \"TimelockController: operation cannot be cancelled\"" - }, - "value": "TimelockController: operation cannot be cancelled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_da89af2fc5eaabb52110eb28e200457fadb874889554529840e92529248f2d41", - "typeString": "literal_string \"TimelockController: operation cannot be cancelled\"" - } - ], - "id": 11238, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7592:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7592:84:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11244, - "nodeType": "ExpressionStatement", - "src": "7592:84:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "7686:22:59", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11245, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7693:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11247, - "indexExpression": { - "argumentTypes": null, - "id": 11246, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7705:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7693:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11249, - "nodeType": "ExpressionStatement", - "src": "7686:22:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11251, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7734:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11250, - "name": "Cancelled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10795, - "src": "7724:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7724:13:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11253, - "nodeType": "EmitStatement", - "src": "7719:18:59" - } - ] - }, - "documentation": { - "id": 11230, - "nodeType": "StructuredDocumentation", - "src": "7380:130:59", - "text": " @dev Cancel an operation.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "c4d252f5", - "id": 11255, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11235, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "7567:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11236, - "modifierName": { - "argumentTypes": null, - "id": 11234, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "7558:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7558:23:59" - } - ], - "name": "cancel", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11232, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11255, - "src": "7531:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11231, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7531:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7530:12:59" - }, - "returnParameters": { - "id": 11237, - "nodeType": "ParameterList", - "parameters": [], - "src": "7582:0:59" - }, - "scope": 11489, - "src": "7515:229:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11298, - "nodeType": "Block", - "src": "8121:184:59", - "statements": [ - { - "assignments": [ - 11273 - ], - "declarations": [ - { - "constant": false, - "id": 11273, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11298, - "src": "8131:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11272, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8131:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11281, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11275, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11258, - "src": "8158:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11276, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11260, - "src": "8166:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11277, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11262, - "src": "8173:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11278, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11264, - "src": "8179:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11279, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11266, - "src": "8192:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11274, - "name": "hashOperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11032, - "src": "8144:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,uint256,bytes calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8144:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8131:66:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11283, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11264, - "src": "8219:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11282, - "name": "_beforeCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11404, - "src": "8207:11:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$__$", - "typeString": "function (bytes32) view" - } - }, - "id": 11284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8207:24:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11285, - "nodeType": "ExpressionStatement", - "src": "8207:24:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11287, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11273, - "src": "8247:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 11288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8251:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 11289, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11258, - "src": "8254:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11290, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11260, - "src": "8262:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11291, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11262, - "src": "8269:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11286, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11461, - "src": "8241:5:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes calldata)" - } - }, - "id": 11292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8241:33:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11293, - "nodeType": "ExpressionStatement", - "src": "8241:33:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11295, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11273, - "src": "8295:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11294, - "name": "_afterCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11424, - "src": "8284:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8284:14:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11297, - "nodeType": "ExpressionStatement", - "src": "8284:14:59" - } - ] - }, - "documentation": { - "id": 11256, - "nodeType": "StructuredDocumentation", - "src": "7750:215:59", - "text": " @dev Execute an (ready) operation containing a single transaction.\n Emits a {CallExecuted} event.\n Requirements:\n - the caller must have the 'executor' role." - }, - "functionSelector": "134008d3", - "id": 11299, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11269, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "8106:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11270, - "modifierName": { - "argumentTypes": null, - "id": 11268, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "8097:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8097:23:59" - } - ], - "name": "execute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11258, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "7987:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11257, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7987:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11260, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8003:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11259, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8003:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11262, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8018:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11261, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8018:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11264, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8039:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11263, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8039:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11266, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8060:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11265, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8060:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7986:87:59" - }, - "returnParameters": { - "id": 11271, - "nodeType": "ParameterList", - "parameters": [], - "src": "8121:0:59" - }, - "scope": 11489, - "src": "7970:335:59", - "stateMutability": "payable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11382, - "nodeType": "Block", - "src": "8748:451:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11320, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8766:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8766:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11322, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "8784:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8784:13:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8766:31:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8799:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11319, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8758:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8758:79:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11327, - "nodeType": "ExpressionStatement", - "src": "8758:79:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11329, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8855:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8855:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11331, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "8873:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8873:12:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8855:30:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8887:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11328, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8847:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8847:78:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11336, - "nodeType": "ExpressionStatement", - "src": "8847:78:59" - }, - { - "assignments": [ - 11338 - ], - "declarations": [ - { - "constant": false, - "id": 11338, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11382, - "src": "8936:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11337, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8936:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11346, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11340, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8968:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11341, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "8977:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11342, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "8985:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11343, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11311, - "src": "8992:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11344, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11313, - "src": "9005:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11339, - "name": "hashOperationBatch", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11063, - "src": "8949:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address[] calldata,uint256[] calldata,bytes calldata[] calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8949:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8936:74:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11348, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11311, - "src": "9032:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11347, - "name": "_beforeCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11404, - "src": "9020:11:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$__$", - "typeString": "function (bytes32) view" - } - }, - "id": 11349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9020:24:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11350, - "nodeType": "ExpressionStatement", - "src": "9020:24:59" - }, - { - "body": { - "id": 11376, - "nodeType": "Block", - "src": "9099:70:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11363, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11338, - "src": "9119:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11364, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9123:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11365, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "9126:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11367, - "indexExpression": { - "argumentTypes": null, - "id": 11366, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9134:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9126:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11368, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "9138:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11370, - "indexExpression": { - "argumentTypes": null, - "id": 11369, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9145:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9138:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11371, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "9149:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11373, - "indexExpression": { - "argumentTypes": null, - "id": 11372, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9155:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9149:8:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11362, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11461, - "src": "9113:5:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes calldata)" - } - }, - "id": 11374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9113:45:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11375, - "nodeType": "ExpressionStatement", - "src": "9113:45:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11355, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9074:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11356, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "9078:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9078:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9074:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 11377, - "initializationExpression": { - "assignments": [ - 11352 - ], - "declarations": [ - { - "constant": false, - "id": 11352, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11377, - "src": "9059:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11351, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9059:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11354, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 11353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9071:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9059:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 11360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "9094:3:59", - "subExpression": { - "argumentTypes": null, - "id": 11359, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9096:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11361, - "nodeType": "ExpressionStatement", - "src": "9094:3:59" - }, - "nodeType": "ForStatement", - "src": "9054:115:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11379, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11338, - "src": "9189:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11378, - "name": "_afterCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11424, - "src": "9178:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9178:14:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11381, - "nodeType": "ExpressionStatement", - "src": "9178:14:59" - } - ] - }, - "documentation": { - "id": 11300, - "nodeType": "StructuredDocumentation", - "src": "8311:249:59", - "text": " @dev Execute an (ready) operation containing a batch of transactions.\n Emits one {CallExecuted} event per transaction in the batch.\n Requirements:\n - the caller must have the 'executor' role." - }, - "functionSelector": "e38335e5", - "id": 11383, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11316, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "8733:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11317, - "modifierName": { - "argumentTypes": null, - "id": 11315, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "8724:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8724:23:59" - } - ], - "name": "executeBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11314, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11303, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8587:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11301, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8587:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11302, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8587:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11306, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8615:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8615:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11305, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8615:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11309, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8642:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11307, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8642:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11308, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8642:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11311, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8666:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11310, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8666:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11313, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8687:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11312, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8687:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8586:114:59" - }, - "returnParameters": { - "id": 11318, - "nodeType": "ParameterList", - "parameters": [], - "src": "8748:0:59" - }, - "scope": 11489, - "src": "8565:634:59", - "stateMutability": "payable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11403, - "nodeType": "Block", - "src": "9337:125:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 11399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 11395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11390, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11386, - "src": "9355:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 11393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9378:1:59", - "subdenomination": null, - "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": 11392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9370:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 11391, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9370:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 11394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9370:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9355:25:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11397, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11386, - "src": "9400:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11396, - "name": "isOperationDone", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10982, - "src": "9384:15:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9384:28:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9355:57:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656e64656e6379", - "id": 11400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9414:40:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_085b5849f077fe696490280fee046708c1e4f3bcf6af0860b3ba8ae447863111", - "typeString": "literal_string \"TimelockController: missing dependency\"" - }, - "value": "TimelockController: missing dependency" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_085b5849f077fe696490280fee046708c1e4f3bcf6af0860b3ba8ae447863111", - "typeString": "literal_string \"TimelockController: missing dependency\"" - } - ], - "id": 11389, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9347:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9347:108:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11402, - "nodeType": "ExpressionStatement", - "src": "9347:108:59" - } - ] - }, - "documentation": { - "id": 11384, - "nodeType": "StructuredDocumentation", - "src": "9205:72:59", - "text": " @dev Checks before execution of an operation's calls." - }, - "id": 11404, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11386, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11404, - "src": "9303:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9303:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9302:21:59" - }, - "returnParameters": { - "id": 11388, - "nodeType": "ParameterList", - "parameters": [], - "src": "9337:0:59" - }, - "scope": 11489, - "src": "9282:180:59", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11423, - "nodeType": "Block", - "src": "9584:135:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11412, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11407, - "src": "9619:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11411, - "name": "isOperationReady", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10967, - "src": "9602:16:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9602:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973206e6f74207265616479", - "id": 11414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9624:44:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bdd7703854adf2fa4a48f46f1199f94db1c1b76d093badefa0f8cb70636f7603", - "typeString": "literal_string \"TimelockController: operation is not ready\"" - }, - "value": "TimelockController: operation is not ready" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_bdd7703854adf2fa4a48f46f1199f94db1c1b76d093badefa0f8cb70636f7603", - "typeString": "literal_string \"TimelockController: operation is not ready\"" - } - ], - "id": 11410, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9594:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9594:75:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11416, - "nodeType": "ExpressionStatement", - "src": "9594:75:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11417, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "9679:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11419, - "indexExpression": { - "argumentTypes": null, - "id": 11418, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11407, - "src": "9691:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9679:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11420, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "9697:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9679:33:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11422, - "nodeType": "ExpressionStatement", - "src": "9679:33:59" - } - ] - }, - "documentation": { - "id": 11405, - "nodeType": "StructuredDocumentation", - "src": "9468:71:59", - "text": " @dev Checks after execution of an operation's calls." - }, - "id": 11424, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_afterCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11407, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11424, - "src": "9564:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11406, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9564:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9563:12:59" - }, - "returnParameters": { - "id": 11409, - "nodeType": "ParameterList", - "parameters": [], - "src": "9584:0:59" - }, - "scope": 11489, - "src": "9544:175:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11460, - "nodeType": "Block", - "src": "9928:266:59", - "statements": [ - { - "assignments": [ - 11439, - null - ], - "declarations": [ - { - "constant": false, - "id": 11439, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11460, - "src": "9998:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9998:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 11446, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11444, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11435, - "src": "10041:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "id": 11440, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11431, - "src": "10015:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10015:11:59", - "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": 11443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 11442, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11433, - "src": "10034:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "10015:25:59", - "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": 11445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10015:31:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9997:49:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11448, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11439, - "src": "10064:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e67207472616e73616374696f6e207265766572746564", - "id": 11449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10073:53:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fbe63f64b4d04d8b888d3da1b3ef528c7e3e8181ee7a63834cb97d1e3be7bcbf", - "typeString": "literal_string \"TimelockController: underlying transaction reverted\"" - }, - "value": "TimelockController: underlying transaction reverted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fbe63f64b4d04d8b888d3da1b3ef528c7e3e8181ee7a63834cb97d1e3be7bcbf", - "typeString": "literal_string \"TimelockController: underlying transaction reverted\"" - } - ], - "id": 11447, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10056:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10056:71:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11451, - "nodeType": "ExpressionStatement", - "src": "10056:71:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11453, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11427, - "src": "10156:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11454, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11429, - "src": "10160:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11455, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11431, - "src": "10167:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11456, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11433, - "src": "10175:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11457, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11435, - "src": "10182:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11452, - "name": "CallExecuted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10790, - "src": "10143:12:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory)" - } - }, - "id": 11458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10143:44:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11459, - "nodeType": "EmitStatement", - "src": "10138:49:59" - } - ] - }, - "documentation": { - "id": 11425, - "nodeType": "StructuredDocumentation", - "src": "9725:96:59", - "text": " @dev Execute an operation's call.\n Emits a {CallExecuted} event." - }, - "id": 11461, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_call", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11427, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9841:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11426, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9841:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11429, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9853:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11428, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9853:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11431, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9868:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9868:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11433, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9884:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11432, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9884:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11435, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9899:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11434, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9899:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9840:79:59" - }, - "returnParameters": { - "id": 11437, - "nodeType": "ParameterList", - "parameters": [], - "src": "9928:0:59" - }, - "scope": 11489, - "src": "9826:368:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11487, - "nodeType": "Block", - "src": "10383:180:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 11474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11468, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "10401:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 11469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10401:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11472, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10423:4:59", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TimelockController_$11489", - "typeString": "contract TimelockController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_TimelockController_$11489", - "typeString": "contract TimelockController" - } - ], - "id": 11471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10415:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 11470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10415:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 11473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10415:13:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "10401:27:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742062652074696d656c6f636b", - "id": 11475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10430:45:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9bc92801aafde1b21a5337b55bc3174f20991aa3b4cf4e5fdd1a61b63aa92df", - "typeString": "literal_string \"TimelockController: caller must be timelock\"" - }, - "value": "TimelockController: caller must be timelock" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f9bc92801aafde1b21a5337b55bc3174f20991aa3b4cf4e5fdd1a61b63aa92df", - "typeString": "literal_string \"TimelockController: caller must be timelock\"" - } - ], - "id": 11467, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10393:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10393:83:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11477, - "nodeType": "ExpressionStatement", - "src": "10393:83:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11479, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "10506:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11480, - "name": "newDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11464, - "src": "10517:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11478, - "name": "MinDelayChange", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10802, - "src": "10491:14:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 11481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10491:35:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11482, - "nodeType": "EmitStatement", - "src": "10486:40:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 11483, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "10536:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11484, - "name": "newDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11464, - "src": "10548:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10536:20:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11486, - "nodeType": "ExpressionStatement", - "src": "10536:20:59" - } - ] - }, - "documentation": { - "id": 11462, - "nodeType": "StructuredDocumentation", - "src": "10200:122:59", - "text": " @dev Changes the timelock duration for future operations.\n Emits a {MinDelayChange} event." - }, - "functionSelector": "64d62353", - "id": 11488, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "updateDelay", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11464, - "mutability": "mutable", - "name": "newDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11488, - "src": "10348:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10348:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10347:18:59" - }, - "returnParameters": { - "id": 11466, - "nodeType": "ParameterList", - "parameters": [], - "src": "10383:0:59" - }, - "scope": 11489, - "src": "10327:236:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - } - ], - "scope": 11490, - "src": "898:9667:59" - } - ], - "src": "33:10533:59" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/tools/TimelockController.sol", - "exportedSymbols": { - "TimelockController": [ - 11489 - ] - }, - "id": 11490, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10727, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "33:23:59" - }, - { - "id": 10728, - "literals": [ - "experimental", - "ABIEncoderV2" - ], - "nodeType": "PragmaDirective", - "src": "57:33:59" - }, - { - "absolutePath": "@openzeppelin/contracts/access/AccessControl.sol", - "file": "@openzeppelin/contracts/access/AccessControl.sol", - "id": 10729, - "nodeType": "ImportDirective", - "scope": 11490, - "sourceUnit": 13963, - "src": "92:58:59", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "@openzeppelin/contracts/math/SafeMath.sol", - "file": "@openzeppelin/contracts/math/SafeMath.sol", - "id": 10730, - "nodeType": "ImportDirective", - "scope": 11490, - "sourceUnit": 14410, - "src": "151:51:59", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10732, - "name": "AccessControl", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 13962, - "src": "929:13:59", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AccessControl_$13962", - "typeString": "contract AccessControl" - } - }, - "id": 10733, - "nodeType": "InheritanceSpecifier", - "src": "929:13:59" - } - ], - "contractDependencies": [ - 13679, - 13962 - ], - "contractKind": "contract", - "documentation": { - "id": 10731, - "nodeType": "StructuredDocumentation", - "src": "204:693:59", - "text": " @dev Contract module which acts as a timelocked controller. When set as the\n owner of an `Ownable` smart contract, it enforces a timelock on all\n `onlyOwner` maintenance operations. This gives time for users of the\n controlled contract to exit before a potentially dangerous maintenance\n operation is applied.\n By default, this contract is self administered, meaning administration tasks\n have to go through the timelock process. The proposer (resp executor) role\n is in charge of proposing (resp executing) operations. A common use case is\n to position this {TimelockController} as the owner of a smart contract, with\n a multisig or a DAO as the sole proposer." - }, - "fullyImplemented": true, - "id": 11489, - "linearizedBaseContracts": [ - 11489, - 13962, - 13679 - ], - "name": "TimelockController", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "functionSelector": "0d3cf6fc", - "id": 10738, - "mutability": "constant", - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "950:78:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10734, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "950:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "54494d454c4f434b5f41444d494e5f524f4c45", - "id": 10736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1006:21:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", - "typeString": "literal_string \"TIMELOCK_ADMIN_ROLE\"" - }, - "value": "TIMELOCK_ADMIN_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", - "typeString": "literal_string \"TIMELOCK_ADMIN_ROLE\"" - } - ], - "id": 10735, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "996:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "996:32:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "8f61f4f5", - "id": 10743, - "mutability": "constant", - "name": "PROPOSER_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1034:66:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10739, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1034:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "50524f504f5345525f524f4c45", - "id": 10741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1084:15:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1", - "typeString": "literal_string \"PROPOSER_ROLE\"" - }, - "value": "PROPOSER_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1", - "typeString": "literal_string \"PROPOSER_ROLE\"" - } - ], - "id": 10740, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1074:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1074:26:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "functionSelector": "07bd0265", - "id": 10748, - "mutability": "constant", - "name": "EXECUTOR_ROLE", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1106:66:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10744, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1106:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "4558454355544f525f524f4c45", - "id": 10746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1156:15:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63", - "typeString": "literal_string \"EXECUTOR_ROLE\"" - }, - "value": "EXECUTOR_ROLE" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63", - "typeString": "literal_string \"EXECUTOR_ROLE\"" - } - ], - "id": 10745, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1146:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 10747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1146:26:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "public" - }, - { - "constant": true, - "id": 10754, - "mutability": "constant", - "name": "_DONE_TIMESTAMP", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1178:54:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10749, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1178:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "31", - "id": 10752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1230:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 10751, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1222:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 10750, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1222:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10758, - "mutability": "mutable", - "name": "_timestamps", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1239:47:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "typeName": { - "id": 10757, - "keyType": { - "id": 10755, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1247:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "1239:27:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 10756, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1258:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 10760, - "mutability": "mutable", - "name": "_minDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11489, - "src": "1292:25:59", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1292:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "private" - }, - { - "anonymous": false, - "documentation": { - "id": 10761, - "nodeType": "StructuredDocumentation", - "src": "1324:83:59", - "text": " @dev Emitted when a call is scheduled as part of operation `id`." - }, - "id": 10777, - "name": "CallScheduled", - "nodeType": "EventDefinition", - "parameters": { - "id": 10776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10763, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1432:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10762, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1432:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10765, - "indexed": true, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1452:21:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10764, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1452:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10767, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1475:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10766, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1475:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10769, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1491:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10768, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1491:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10771, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1506:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10770, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1506:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10773, - "indexed": false, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1518:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10772, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1518:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10775, - "indexed": false, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10777, - "src": "1539:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1539:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1431:122:59" - }, - "src": "1412:142:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10778, - "nodeType": "StructuredDocumentation", - "src": "1560:83:59", - "text": " @dev Emitted when a call is performed as part of operation `id`." - }, - "id": 10790, - "name": "CallExecuted", - "nodeType": "EventDefinition", - "parameters": { - "id": 10789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10780, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1667:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10779, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1667:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10782, - "indexed": true, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1687:21:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10781, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1687:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10784, - "indexed": false, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1710:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1710:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10786, - "indexed": false, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1726:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10785, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1726:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10788, - "indexed": false, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10790, - "src": "1741:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10787, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1741:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1666:86:59" - }, - "src": "1648:105:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10791, - "nodeType": "StructuredDocumentation", - "src": "1759:65:59", - "text": " @dev Emitted when operation `id` is cancelled." - }, - "id": 10795, - "name": "Cancelled", - "nodeType": "EventDefinition", - "parameters": { - "id": 10794, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10793, - "indexed": true, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10795, - "src": "1845:18:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10792, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1845:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1844:20:59" - }, - "src": "1829:36:59" - }, - { - "anonymous": false, - "documentation": { - "id": 10796, - "nodeType": "StructuredDocumentation", - "src": "1871:89:59", - "text": " @dev Emitted when the minimum delay for future operations is modified." - }, - "id": 10802, - "name": "MinDelayChange", - "nodeType": "EventDefinition", - "parameters": { - "id": 10801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10798, - "indexed": false, - "mutability": "mutable", - "name": "oldDuration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10802, - "src": "1986:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10797, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1986:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10800, - "indexed": false, - "mutability": "mutable", - "name": "newDuration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10802, - "src": "2007:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10799, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2007:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1985:42:59" - }, - "src": "1965:63:59" - }, - { - "body": { - "id": 10901, - "nodeType": "Block", - "src": "2238:737:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10818, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2262:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10819, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2283:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10817, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2248:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2248:55:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10821, - "nodeType": "ExpressionStatement", - "src": "2248:55:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10823, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "2327:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10824, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2342:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10822, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2313:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2313:49:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10826, - "nodeType": "ExpressionStatement", - "src": "2313:49:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10828, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "2386:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 10829, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2401:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 10827, - "name": "_setRoleAdmin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13913, - "src": "2372:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 10830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2372:49:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10831, - "nodeType": "ExpressionStatement", - "src": "2372:49:59" - }, - { - "body": { - "id": 10850, - "nodeType": "Block", - "src": "2519:75:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10844, - "name": "TIMELOCK_ADMIN_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10738, - "src": "2544:19:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10845, - "name": "administrators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10808, - "src": "2565:14:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10847, - "indexExpression": { - "argumentTypes": null, - "id": 10846, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2580:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2565:17:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10843, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2533:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2533:50:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10849, - "nodeType": "ExpressionStatement", - "src": "2533:50:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10836, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2487:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10837, - "name": "administrators", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10808, - "src": "2491:14:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2491:21:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2487:25:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10851, - "initializationExpression": { - "assignments": [ - 10833 - ], - "declarations": [ - { - "constant": false, - "id": 10833, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10851, - "src": "2472:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10832, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2472:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10835, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2484:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2472:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2514:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10840, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10833, - "src": "2516:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10842, - "nodeType": "ExpressionStatement", - "src": "2514:3:59" - }, - "nodeType": "ForStatement", - "src": "2467:127:59" - }, - { - "body": { - "id": 10870, - "nodeType": "Block", - "src": "2681:64:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10864, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "2706:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10865, - "name": "proposers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10811, - "src": "2721:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10867, - "indexExpression": { - "argumentTypes": null, - "id": 10866, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2731:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2721:12:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10863, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2695:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2695:39:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10869, - "nodeType": "ExpressionStatement", - "src": "2695:39:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10856, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2654:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10857, - "name": "proposers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10811, - "src": "2658:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2658:16:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2654:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10871, - "initializationExpression": { - "assignments": [ - 10853 - ], - "declarations": [ - { - "constant": false, - "id": 10853, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10871, - "src": "2639:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10852, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2639:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10855, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2651:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2639:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2676:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10860, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10853, - "src": "2678:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10862, - "nodeType": "ExpressionStatement", - "src": "2676:3:59" - }, - "nodeType": "ForStatement", - "src": "2634:111:59" - }, - { - "body": { - "id": 10890, - "nodeType": "Block", - "src": "2832:64:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10884, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "2857:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10885, - "name": "executors", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10814, - "src": "2872:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10887, - "indexExpression": { - "argumentTypes": null, - "id": 10886, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2882:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2872:12:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 10883, - "name": "_setupRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13888, - "src": "2846:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", - "typeString": "function (bytes32,address)" - } - }, - "id": 10888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2846:39:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10889, - "nodeType": "ExpressionStatement", - "src": "2846:39:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10876, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2805:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10877, - "name": "executors", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10814, - "src": "2809:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 10878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2809:16:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2805:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 10891, - "initializationExpression": { - "assignments": [ - 10873 - ], - "declarations": [ - { - "constant": false, - "id": 10873, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10891, - "src": "2790:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10872, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2790:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10875, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 10874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2802:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2790:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 10881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "2827:3:59", - "subExpression": { - "argumentTypes": null, - "id": 10880, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10873, - "src": "2829:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10882, - "nodeType": "ExpressionStatement", - "src": "2827:3:59" - }, - "nodeType": "ForStatement", - "src": "2785:111:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 10894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10892, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "2906:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10893, - "name": "minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10805, - "src": "2918:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2906:20:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10895, - "nodeType": "ExpressionStatement", - "src": "2906:20:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10897, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2956:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 10898, - "name": "minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10805, - "src": "2959:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10896, - "name": "MinDelayChange", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10802, - "src": "2941:14:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 10899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2941:27:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10900, - "nodeType": "EmitStatement", - "src": "2936:32:59" - } - ] - }, - "documentation": { - "id": 10803, - "nodeType": "StructuredDocumentation", - "src": "2034:73:59", - "text": " @dev Initializes the contract with a given `minDelay`." - }, - "id": 10902, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10815, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10805, - "mutability": "mutable", - "name": "minDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2124:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10804, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2124:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10808, - "mutability": "mutable", - "name": "administrators", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2142:31:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10806, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2142:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10807, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2142:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10811, - "mutability": "mutable", - "name": "proposers", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2175:26:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10809, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2175:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10810, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2175:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10814, - "mutability": "mutable", - "name": "executors", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10902, - "src": "2203:26:59", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 10812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2203:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 10813, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2203:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2123:107:59" - }, - "returnParameters": { - "id": 10816, - "nodeType": "ParameterList", - "parameters": [], - "src": "2238:0:59" - }, - "scope": 11489, - "src": "2112:863:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10925, - "nodeType": "Block", - "src": "3289:143:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10909, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10905, - "src": "3315:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10910, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13667, - "src": "3321:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", - "typeString": "function () view returns (address payable)" - } - }, - "id": 10911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3321:12:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10908, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "3307:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 10912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3307:27:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10914, - "name": "role", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10905, - "src": "3346:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 10917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3360:1:59", - "subdenomination": null, - "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": 10916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3352:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10915, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3352:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3352:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10913, - "name": "hasRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13751, - "src": "3338:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", - "typeString": "function (bytes32,address) view returns (bool)" - } - }, - "id": 10919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3338:25:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3307:56:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a2073656e646572207265717569726573207065726d697373696f6e", - "id": 10921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3365:48:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1aed9e0f8f7c4a7d979f6ae9346f74660c58b1c7a35b3de9e9388f54d400d4eb", - "typeString": "literal_string \"TimelockController: sender requires permission\"" - }, - "value": "TimelockController: sender requires permission" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1aed9e0f8f7c4a7d979f6ae9346f74660c58b1c7a35b3de9e9388f54d400d4eb", - "typeString": "literal_string \"TimelockController: sender requires permission\"" - } - ], - "id": 10907, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3299:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 10922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3299:115:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10923, - "nodeType": "ExpressionStatement", - "src": "3299:115:59" - }, - { - "id": 10924, - "nodeType": "PlaceholderStatement", - "src": "3424:1:59" - } - ] - }, - "documentation": { - "id": 10903, - "nodeType": "StructuredDocumentation", - "src": "2981:271:59", - "text": " @dev Modifier to make a function callable only by a certain role. In\n addition to checking the sender's role, `address(0)` 's role is also\n considered. Granting a role to `address(0)` is equivalent to enabling\n this role for everyone." - }, - "id": 10926, - "name": "onlyRole", - "nodeType": "ModifierDefinition", - "overrides": null, - "parameters": { - "id": 10906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10905, - "mutability": "mutable", - "name": "role", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10926, - "src": "3275:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10904, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3275:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3274:14:59" - }, - "src": "3257:175:59", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10929, - "nodeType": "Block", - "src": "3560:2:59", - "statements": [] - }, - "documentation": null, - "id": 10930, - "implemented": true, - "kind": "receive", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10927, - "nodeType": "ParameterList", - "parameters": [], - "src": "3540:2:59" - }, - "returnParameters": { - "id": 10928, - "nodeType": "ParameterList", - "parameters": [], - "src": "3560:0:59" - }, - "scope": 11489, - "src": "3533:29:59", - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10944, - "nodeType": "Block", - "src": "3719:57:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10938, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "3736:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10940, - "indexExpression": { - "argumentTypes": null, - "id": 10939, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10933, - "src": "3748:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3736:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 10941, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "3754:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3736:33:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10937, - "id": 10943, - "nodeType": "Return", - "src": "3729:40:59" - } - ] - }, - "documentation": { - "id": 10931, - "nodeType": "StructuredDocumentation", - "src": "3568:71:59", - "text": " @dev Returns whether an operation is pending or not." - }, - "functionSelector": "584b153e", - "id": 10945, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationPending", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10933, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10945, - "src": "3672:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10932, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3672:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3671:12:59" - }, - "returnParameters": { - "id": 10937, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10936, - "mutability": "mutable", - "name": "pending", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10945, - "src": "3705:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10935, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3705:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3704:14:59" - }, - "scope": 11489, - "src": "3644:132:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10966, - "nodeType": "Block", - "src": "3927:149:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 10964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10953, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "3998:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10955, - "indexExpression": { - "argumentTypes": null, - "id": 10954, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10948, - "src": "4010:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3998:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 10956, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "4016:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3998:33:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10958, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4035:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10960, - "indexExpression": { - "argumentTypes": null, - "id": 10959, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10948, - "src": "4047:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4035:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10961, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "4054:5:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 10962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4054:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4035:34:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3998:71:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10952, - "id": 10965, - "nodeType": "Return", - "src": "3991:78:59" - } - ] - }, - "documentation": { - "id": 10946, - "nodeType": "StructuredDocumentation", - "src": "3782:69:59", - "text": " @dev Returns whether an operation is ready or not." - }, - "functionSelector": "13bc9f20", - "id": 10967, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationReady", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10948, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10967, - "src": "3882:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10947, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3882:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3881:12:59" - }, - "returnParameters": { - "id": 10952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10951, - "mutability": "mutable", - "name": "ready", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10967, - "src": "3915:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10950, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3915:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3914:12:59" - }, - "scope": 11489, - "src": "3856:220:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10981, - "nodeType": "Block", - "src": "4224:58:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10975, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4241:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10977, - "indexExpression": { - "argumentTypes": null, - "id": 10976, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10970, - "src": "4253:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4241:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 10978, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "4260:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4241:34:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 10974, - "id": 10980, - "nodeType": "Return", - "src": "4234:41:59" - } - ] - }, - "documentation": { - "id": 10968, - "nodeType": "StructuredDocumentation", - "src": "4082:68:59", - "text": " @dev Returns whether an operation is done or not." - }, - "functionSelector": "2ab0f529", - "id": 10982, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isOperationDone", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10970, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10982, - "src": "4180:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10969, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4180:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4179:12:59" - }, - "returnParameters": { - "id": 10974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10973, - "mutability": "mutable", - "name": "done", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10982, - "src": "4213:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10972, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4213:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4212:11:59" - }, - "scope": 11489, - "src": "4155:127:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10994, - "nodeType": "Block", - "src": "4503:39:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 10990, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "4520:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 10992, - "indexExpression": { - "argumentTypes": null, - "id": 10991, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10985, - "src": "4532:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4520:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 10989, - "id": 10993, - "nodeType": "Return", - "src": "4513:22:59" - } - ] - }, - "documentation": { - "id": 10983, - "nodeType": "StructuredDocumentation", - "src": "4288:136:59", - "text": " @dev Returns the timestamp at with an operation becomes ready (0 for\n unset operations, 1 for done operations)." - }, - "functionSelector": "d45c4435", - "id": 10995, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getTimestamp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10985, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10995, - "src": "4451:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 10984, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4451:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4450:12:59" - }, - "returnParameters": { - "id": 10989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10988, - "mutability": "mutable", - "name": "timestamp", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10995, - "src": "4484:17:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10987, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4484:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4483:19:59" - }, - "scope": 11489, - "src": "4429:113:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11003, - "nodeType": "Block", - "src": "4698:33:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 11001, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "4715:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 11000, - "id": 11002, - "nodeType": "Return", - "src": "4708:16:59" - } - ] - }, - "documentation": { - "id": 10996, - "nodeType": "StructuredDocumentation", - "src": "4548:83:59", - "text": " @dev Returns the minimum delay for an operation to become valid." - }, - "functionSelector": "f27a0c92", - "id": 11004, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getMinDelay", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10997, - "nodeType": "ParameterList", - "parameters": [], - "src": "4656:2:59" - }, - "returnParameters": { - "id": 11000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10999, - "mutability": "mutable", - "name": "duration", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11004, - "src": "4680:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4680:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4679:18:59" - }, - "scope": 11489, - "src": "4636:95:59", - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11031, - "nodeType": "Block", - "src": "4989:85:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11023, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11007, - "src": "5027:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11024, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11009, - "src": "5035:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11025, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11011, - "src": "5042:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11026, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11013, - "src": "5048:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11027, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11015, - "src": "5061:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 11021, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5016:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5016:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 11028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5016:50:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11020, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5006:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 11029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5006:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 11019, - "id": 11030, - "nodeType": "Return", - "src": "4999:68:59" - } - ] - }, - "documentation": { - "id": 11005, - "nodeType": "StructuredDocumentation", - "src": "4737:102:59", - "text": " @dev Returns the identifier of an operation containing a single\n transaction." - }, - "functionSelector": "8065657f", - "id": 11032, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hashOperation", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11007, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4867:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11006, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4867:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11009, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4883:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11008, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4883:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11011, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4898:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11010, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4898:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11013, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4919:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11012, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4919:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11015, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4940:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11014, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4940:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4866:87:59" - }, - "returnParameters": { - "id": 11019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11018, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11032, - "src": "4975:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11017, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4975:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4974:14:59" - }, - "scope": 11489, - "src": "4844:230:59", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11062, - "nodeType": "Block", - "src": "5367:88:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11054, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11036, - "src": "5405:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11055, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11039, - "src": "5414:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11056, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11042, - "src": "5422:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11057, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11044, - "src": "5429:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11058, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11046, - "src": "5442:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "argumentTypes": null, - "id": 11052, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5394:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5394:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 11059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5394:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11051, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5384:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 11060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5384:64:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 11050, - "id": 11061, - "nodeType": "Return", - "src": "5377:71:59" - } - ] - }, - "documentation": { - "id": 11033, - "nodeType": "StructuredDocumentation", - "src": "5080:105:59", - "text": " @dev Returns the identifier of an operation containing a batch of\n transactions." - }, - "functionSelector": "b1c5f427", - "id": 11063, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hashOperationBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11036, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5218:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11034, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5218:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11035, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5218:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11039, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5246:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11037, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5246:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11038, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5246:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11042, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5273:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11040, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5273:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11041, - "length": null, - "nodeType": "ArrayTypeName", - "src": "5273:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11044, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5297:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11043, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5297:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11046, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5318:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11045, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5318:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5217:114:59" - }, - "returnParameters": { - "id": 11050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11049, - "mutability": "mutable", - "name": "hash", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11063, - "src": "5353:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11048, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5353:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5352:14:59" - }, - "scope": 11489, - "src": "5190:265:59", - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 11107, - "nodeType": "Block", - "src": "5834:189:59", - "statements": [ - { - "assignments": [ - 11083 - ], - "declarations": [ - { - "constant": false, - "id": 11083, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11107, - "src": "5844:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11082, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5844:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11091, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11085, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11066, - "src": "5871:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11086, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11068, - "src": "5879:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11087, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11070, - "src": "5886:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11088, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11072, - "src": "5892:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11089, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11074, - "src": "5905:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11084, - "name": "hashOperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11032, - "src": "5857:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,uint256,bytes calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5857:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5844:66:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11093, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11083, - "src": "5930:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11094, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11076, - "src": "5934:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11092, - "name": "_schedule", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11229, - "src": "5920:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256)" - } - }, - "id": 11095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5920:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11096, - "nodeType": "ExpressionStatement", - "src": "5920:20:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11098, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11083, - "src": "5969:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 11099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5973:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 11100, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11066, - "src": "5976:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11101, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11068, - "src": "5984:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11102, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11070, - "src": "5991:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11103, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11072, - "src": "5997:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11104, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11076, - "src": "6010:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11097, - "name": "CallScheduled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10777, - "src": "5955:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory,bytes32,uint256)" - } - }, - "id": 11105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5955:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11106, - "nodeType": "EmitStatement", - "src": "5950:66:59" - } - ] - }, - "documentation": { - "id": 11064, - "nodeType": "StructuredDocumentation", - "src": "5461:209:59", - "text": " @dev Schedule an operation containing a single transaction.\n Emits a {CallScheduled} event.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "01d5062a", - "id": 11108, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11079, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "5819:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11080, - "modifierName": { - "argumentTypes": null, - "id": 11078, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "5810:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "5810:23:59" - } - ], - "name": "schedule", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11077, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11066, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5693:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5693:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11068, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5709:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5709:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11070, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5724:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11069, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5724:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11072, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5745:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11071, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5745:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11074, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5766:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11073, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5766:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11076, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11108, - "src": "5780:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11075, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5780:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5692:102:59" - }, - "returnParameters": { - "id": 11081, - "nodeType": "ParameterList", - "parameters": [], - "src": "5834:0:59" - }, - "scope": 11489, - "src": "5675:348:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11192, - "nodeType": "Block", - "src": "6468:456:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11131, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6486:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6486:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11133, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6504:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6504:13:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6486:31:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6519:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11130, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6478:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6478:79:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11138, - "nodeType": "ExpressionStatement", - "src": "6478:79:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11140, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6575:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6575:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11142, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6593:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6593:12:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6575:30:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6607:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11139, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6567:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6567:78:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11147, - "nodeType": "ExpressionStatement", - "src": "6567:78:59" - }, - { - "assignments": [ - 11149 - ], - "declarations": [ - { - "constant": false, - "id": 11149, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11192, - "src": "6656:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11148, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6656:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11157, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11151, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6688:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11152, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6697:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11153, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6705:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11154, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11120, - "src": "6712:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11155, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11122, - "src": "6725:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11150, - "name": "hashOperationBatch", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11063, - "src": "6669:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address[] calldata,uint256[] calldata,bytes calldata[] calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6669:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6656:74:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11159, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11149, - "src": "6750:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11160, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11124, - "src": "6754:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11158, - "name": "_schedule", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11229, - "src": "6740:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256)" - } - }, - "id": 11161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6740:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11162, - "nodeType": "ExpressionStatement", - "src": "6740:20:59" - }, - { - "body": { - "id": 11190, - "nodeType": "Block", - "src": "6815:103:59", - "statements": [ - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11175, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11149, - "src": "6848:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11176, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6852:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11177, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6855:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11179, - "indexExpression": { - "argumentTypes": null, - "id": 11178, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6863:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6855:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11180, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "6867:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11182, - "indexExpression": { - "argumentTypes": null, - "id": 11181, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6874:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6867:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11183, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11118, - "src": "6878:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11185, - "indexExpression": { - "argumentTypes": null, - "id": 11184, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6884:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6878:8:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11186, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11120, - "src": "6888:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11187, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11124, - "src": "6901:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11174, - "name": "CallScheduled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10777, - "src": "6834:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory,bytes32,uint256)" - } - }, - "id": 11188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6834:73:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11189, - "nodeType": "EmitStatement", - "src": "6829:78:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11167, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6790:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11168, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11112, - "src": "6794:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6794:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6790:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 11191, - "initializationExpression": { - "assignments": [ - 11164 - ], - "declarations": [ - { - "constant": false, - "id": 11164, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11191, - "src": "6775:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11163, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6775:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11166, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 11165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6787:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6775:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 11172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "6810:3:59", - "subExpression": { - "argumentTypes": null, - "id": 11171, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11164, - "src": "6812:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11173, - "nodeType": "ExpressionStatement", - "src": "6810:3:59" - }, - "nodeType": "ForStatement", - "src": "6770:148:59" - } - ] - }, - "documentation": { - "id": 11109, - "nodeType": "StructuredDocumentation", - "src": "6029:243:59", - "text": " @dev Schedule an operation containing a batch of transactions.\n Emits one {CallScheduled} event per transaction in the batch.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "8f2a0bb0", - "id": 11193, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11127, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "6453:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11128, - "modifierName": { - "argumentTypes": null, - "id": 11126, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "6444:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6444:23:59" - } - ], - "name": "scheduleBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11125, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11112, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6300:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11110, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6300:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11111, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6300:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11115, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6328:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11113, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6328:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11114, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6328:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11118, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6355:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11116, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6355:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11117, - "length": null, - "nodeType": "ArrayTypeName", - "src": "6355:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11120, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6379:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11119, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6379:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11122, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6400:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11121, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "6400:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11124, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11193, - "src": "6414:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6414:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6299:129:59" - }, - "returnParameters": { - "id": 11129, - "nodeType": "ParameterList", - "parameters": [], - "src": "6468:0:59" - }, - "scope": 11489, - "src": "6277:647:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11228, - "nodeType": "Block", - "src": "7080:294:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11202, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7098:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11204, - "indexExpression": { - "argumentTypes": null, - "id": 11203, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11196, - "src": "7110:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7098:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 11205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7117:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7098:20:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c7265616479207363686564756c6564", - "id": 11207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7120:49:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2e50231ecb348ec53d87c71b0f084343770a9a06cbe6e2505c22b7e29d233fe", - "typeString": "literal_string \"TimelockController: operation already scheduled\"" - }, - "value": "TimelockController: operation already scheduled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2e50231ecb348ec53d87c71b0f084343770a9a06cbe6e2505c22b7e29d233fe", - "typeString": "literal_string \"TimelockController: operation already scheduled\"" - } - ], - "id": 11201, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7090:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7090:80:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11209, - "nodeType": "ExpressionStatement", - "src": "7090:80:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11211, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11198, - "src": "7188:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 11212, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "7197:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7188:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e742064656c6179", - "id": 11214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7208:40:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75aaed5c76f1bea21a1c6dab60898c911c430cd1eac23b8d8a559aa50cb17eca", - "typeString": "literal_string \"TimelockController: insufficient delay\"" - }, - "value": "TimelockController: insufficient delay" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_75aaed5c76f1bea21a1c6dab60898c911c430cd1eac23b8d8a559aa50cb17eca", - "typeString": "literal_string \"TimelockController: insufficient delay\"" - } - ], - "id": 11210, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7180:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7180:69:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11216, - "nodeType": "ExpressionStatement", - "src": "7180:69:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11217, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7313:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11219, - "indexExpression": { - "argumentTypes": null, - "id": 11218, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11196, - "src": "7325:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7313:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11222, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "7344:5:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 11223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7344:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11224, - "name": "delay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11198, - "src": "7361:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 11220, - "name": "SafeMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14409, - "src": "7331:8:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$14409_$", - "typeString": "type(library SafeMath)" - } - }, - "id": 11221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "add", - "nodeType": "MemberAccess", - "referencedDeclaration": 14242, - "src": "7331:12:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 11225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7331:36:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7313:54:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11227, - "nodeType": "ExpressionStatement", - "src": "7313:54:59" - } - ] - }, - "documentation": { - "id": 11194, - "nodeType": "StructuredDocumentation", - "src": "6930:91:59", - "text": " @dev Schedule an operation that is to becomes valid after a given delay." - }, - "id": 11229, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_schedule", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11196, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11229, - "src": "7045:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11195, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7045:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11198, - "mutability": "mutable", - "name": "delay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11229, - "src": "7057:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7057:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7044:27:59" - }, - "returnParameters": { - "id": 11200, - "nodeType": "ParameterList", - "parameters": [], - "src": "7080:0:59" - }, - "scope": 11489, - "src": "7026:348:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11254, - "nodeType": "Block", - "src": "7582:162:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11240, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7619:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11239, - "name": "isOperationPending", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10945, - "src": "7600:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11241, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7600:22:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616e6e6f742062652063616e63656c6c6564", - "id": 11242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7624:51:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da89af2fc5eaabb52110eb28e200457fadb874889554529840e92529248f2d41", - "typeString": "literal_string \"TimelockController: operation cannot be cancelled\"" - }, - "value": "TimelockController: operation cannot be cancelled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_da89af2fc5eaabb52110eb28e200457fadb874889554529840e92529248f2d41", - "typeString": "literal_string \"TimelockController: operation cannot be cancelled\"" - } - ], - "id": 11238, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7592:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7592:84:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11244, - "nodeType": "ExpressionStatement", - "src": "7592:84:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "7686:22:59", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11245, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "7693:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11247, - "indexExpression": { - "argumentTypes": null, - "id": 11246, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7705:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7693:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11249, - "nodeType": "ExpressionStatement", - "src": "7686:22:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11251, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "7734:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11250, - "name": "Cancelled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10795, - "src": "7724:9:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7724:13:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11253, - "nodeType": "EmitStatement", - "src": "7719:18:59" - } - ] - }, - "documentation": { - "id": 11230, - "nodeType": "StructuredDocumentation", - "src": "7380:130:59", - "text": " @dev Cancel an operation.\n Requirements:\n - the caller must have the 'proposer' role." - }, - "functionSelector": "c4d252f5", - "id": 11255, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11235, - "name": "PROPOSER_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10743, - "src": "7567:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11236, - "modifierName": { - "argumentTypes": null, - "id": 11234, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "7558:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7558:23:59" - } - ], - "name": "cancel", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11232, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11255, - "src": "7531:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11231, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7531:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7530:12:59" - }, - "returnParameters": { - "id": 11237, - "nodeType": "ParameterList", - "parameters": [], - "src": "7582:0:59" - }, - "scope": 11489, - "src": "7515:229:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11298, - "nodeType": "Block", - "src": "8121:184:59", - "statements": [ - { - "assignments": [ - 11273 - ], - "declarations": [ - { - "constant": false, - "id": 11273, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11298, - "src": "8131:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11272, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8131:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11281, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11275, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11258, - "src": "8158:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11276, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11260, - "src": "8166:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11277, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11262, - "src": "8173:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "id": 11278, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11264, - "src": "8179:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11279, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11266, - "src": "8192:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11274, - "name": "hashOperation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11032, - "src": "8144:13:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,uint256,bytes calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8144:53:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8131:66:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11283, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11264, - "src": "8219:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11282, - "name": "_beforeCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11404, - "src": "8207:11:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$__$", - "typeString": "function (bytes32) view" - } - }, - "id": 11284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8207:24:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11285, - "nodeType": "ExpressionStatement", - "src": "8207:24:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11287, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11273, - "src": "8247:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "hexValue": "30", - "id": 11288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8251:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "argumentTypes": null, - "id": 11289, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11258, - "src": "8254:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11290, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11260, - "src": "8262:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11291, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11262, - "src": "8269:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11286, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11461, - "src": "8241:5:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes calldata)" - } - }, - "id": 11292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8241:33:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11293, - "nodeType": "ExpressionStatement", - "src": "8241:33:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11295, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11273, - "src": "8295:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11294, - "name": "_afterCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11424, - "src": "8284:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8284:14:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11297, - "nodeType": "ExpressionStatement", - "src": "8284:14:59" - } - ] - }, - "documentation": { - "id": 11256, - "nodeType": "StructuredDocumentation", - "src": "7750:215:59", - "text": " @dev Execute an (ready) operation containing a single transaction.\n Emits a {CallExecuted} event.\n Requirements:\n - the caller must have the 'executor' role." - }, - "functionSelector": "134008d3", - "id": 11299, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11269, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "8106:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11270, - "modifierName": { - "argumentTypes": null, - "id": 11268, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "8097:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8097:23:59" - } - ], - "name": "execute", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11258, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "7987:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11257, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7987:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11260, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8003:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11259, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8003:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11262, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8018:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11261, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8018:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11264, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8039:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11263, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8039:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11266, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11299, - "src": "8060:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11265, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8060:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7986:87:59" - }, - "returnParameters": { - "id": 11271, - "nodeType": "ParameterList", - "parameters": [], - "src": "8121:0:59" - }, - "scope": 11489, - "src": "7970:335:59", - "stateMutability": "payable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11382, - "nodeType": "Block", - "src": "8748:451:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11320, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8766:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8766:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11322, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "8784:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8784:13:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8766:31:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8799:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11319, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8758:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8758:79:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11327, - "nodeType": "ExpressionStatement", - "src": "8758:79:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11329, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8855:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8855:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11331, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "8873:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8873:12:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8855:30:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d61746368", - "id": 11334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8887:37:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - }, - "value": "TimelockController: length mismatch" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c14c6f30381b2bdef28138a7ead69cb623f2ab2f3d25f0cebf8e7f631a759d0", - "typeString": "literal_string \"TimelockController: length mismatch\"" - } - ], - "id": 11328, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8847:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8847:78:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11336, - "nodeType": "ExpressionStatement", - "src": "8847:78:59" - }, - { - "assignments": [ - 11338 - ], - "declarations": [ - { - "constant": false, - "id": 11338, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11382, - "src": "8936:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11337, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8936:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11346, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11340, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "8968:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11341, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "8977:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11342, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "8985:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - { - "argumentTypes": null, - "id": 11343, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11311, - "src": "8992:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11344, - "name": "salt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11313, - "src": "9005:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11339, - "name": "hashOperationBatch", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11063, - "src": "8949:18:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address[] calldata,uint256[] calldata,bytes calldata[] calldata,bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 11345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8949:61:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8936:74:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11348, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11311, - "src": "9032:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11347, - "name": "_beforeCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11404, - "src": "9020:11:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$__$", - "typeString": "function (bytes32) view" - } - }, - "id": 11349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9020:24:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11350, - "nodeType": "ExpressionStatement", - "src": "9020:24:59" - }, - { - "body": { - "id": 11376, - "nodeType": "Block", - "src": "9099:70:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11363, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11338, - "src": "9119:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11364, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9123:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11365, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "9126:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11367, - "indexExpression": { - "argumentTypes": null, - "id": 11366, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9134:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9126:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11368, - "name": "values", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11306, - "src": "9138:6:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 11370, - "indexExpression": { - "argumentTypes": null, - "id": 11369, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9145:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9138:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11371, - "name": "datas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11309, - "src": "9149:5:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes calldata[] calldata" - } - }, - "id": 11373, - "indexExpression": { - "argumentTypes": null, - "id": 11372, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9155:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9149:8:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11362, - "name": "_call", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11461, - "src": "9113:5:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes calldata)" - } - }, - "id": 11374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9113:45:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11375, - "nodeType": "ExpressionStatement", - "src": "9113:45:59" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 11358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11355, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9074:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11356, - "name": "targets", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "9078:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - }, - "id": 11357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9078:14:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9074:18:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 11377, - "initializationExpression": { - "assignments": [ - 11352 - ], - "declarations": [ - { - "constant": false, - "id": 11352, - "mutability": "mutable", - "name": "i", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11377, - "src": "9059:9:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11351, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9059:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 11354, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 11353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9071:1:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9059:13:59" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 11360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "9094:3:59", - "subExpression": { - "argumentTypes": null, - "id": 11359, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11352, - "src": "9096:1:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11361, - "nodeType": "ExpressionStatement", - "src": "9094:3:59" - }, - "nodeType": "ForStatement", - "src": "9054:115:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11379, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11338, - "src": "9189:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11378, - "name": "_afterCall", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11424, - "src": "9178:10:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$", - "typeString": "function (bytes32)" - } - }, - "id": 11380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9178:14:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11381, - "nodeType": "ExpressionStatement", - "src": "9178:14:59" - } - ] - }, - "documentation": { - "id": 11300, - "nodeType": "StructuredDocumentation", - "src": "8311:249:59", - "text": " @dev Execute an (ready) operation containing a batch of transactions.\n Emits one {CallExecuted} event per transaction in the batch.\n Requirements:\n - the caller must have the 'executor' role." - }, - "functionSelector": "e38335e5", - "id": 11383, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 11316, - "name": "EXECUTOR_ROLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10748, - "src": "8733:13:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "id": 11317, - "modifierName": { - "argumentTypes": null, - "id": 11315, - "name": "onlyRole", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10926, - "src": "8724:8:59", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_bytes32_$", - "typeString": "modifier (bytes32)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8724:23:59" - } - ], - "name": "executeBatch", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11314, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11303, - "mutability": "mutable", - "name": "targets", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8587:26:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 11301, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8587:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11302, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8587:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11306, - "mutability": "mutable", - "name": "values", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8615:25:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 11304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8615:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11305, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8615:9:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11309, - "mutability": "mutable", - "name": "datas", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8642:22:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 11307, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8642:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 11308, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8642:7:59", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11311, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8666:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11310, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8666:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11313, - "mutability": "mutable", - "name": "salt", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11383, - "src": "8687:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11312, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8687:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8586:114:59" - }, - "returnParameters": { - "id": 11318, - "nodeType": "ParameterList", - "parameters": [], - "src": "8748:0:59" - }, - "scope": 11489, - "src": "8565:634:59", - "stateMutability": "payable", - "virtual": true, - "visibility": "public" - }, - { - "body": { - "id": 11403, - "nodeType": "Block", - "src": "9337:125:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 11399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 11395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 11390, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11386, - "src": "9355:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 11393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9378:1:59", - "subdenomination": null, - "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": 11392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9370:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 11391, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9370:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 11394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9370:10:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9355:25:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11397, - "name": "predecessor", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11386, - "src": "9400:11:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11396, - "name": "isOperationDone", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10982, - "src": "9384:15:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9384:28:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9355:57:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656e64656e6379", - "id": 11400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9414:40:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_085b5849f077fe696490280fee046708c1e4f3bcf6af0860b3ba8ae447863111", - "typeString": "literal_string \"TimelockController: missing dependency\"" - }, - "value": "TimelockController: missing dependency" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_085b5849f077fe696490280fee046708c1e4f3bcf6af0860b3ba8ae447863111", - "typeString": "literal_string \"TimelockController: missing dependency\"" - } - ], - "id": 11389, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9347:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9347:108:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11402, - "nodeType": "ExpressionStatement", - "src": "9347:108:59" - } - ] - }, - "documentation": { - "id": 11384, - "nodeType": "StructuredDocumentation", - "src": "9205:72:59", - "text": " @dev Checks before execution of an operation's calls." - }, - "id": 11404, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_beforeCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11386, - "mutability": "mutable", - "name": "predecessor", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11404, - "src": "9303:19:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9303:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9302:21:59" - }, - "returnParameters": { - "id": 11388, - "nodeType": "ParameterList", - "parameters": [], - "src": "9337:0:59" - }, - "scope": 11489, - "src": "9282:180:59", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11423, - "nodeType": "Block", - "src": "9584:135:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11412, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11407, - "src": "9619:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 11411, - "name": "isOperationReady", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10967, - "src": "9602:16:59", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$", - "typeString": "function (bytes32) view returns (bool)" - } - }, - "id": 11413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9602:20:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973206e6f74207265616479", - "id": 11414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9624:44:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bdd7703854adf2fa4a48f46f1199f94db1c1b76d093badefa0f8cb70636f7603", - "typeString": "literal_string \"TimelockController: operation is not ready\"" - }, - "value": "TimelockController: operation is not ready" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_bdd7703854adf2fa4a48f46f1199f94db1c1b76d093badefa0f8cb70636f7603", - "typeString": "literal_string \"TimelockController: operation is not ready\"" - } - ], - "id": 11410, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9594:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9594:75:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11416, - "nodeType": "ExpressionStatement", - "src": "9594:75:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 11417, - "name": "_timestamps", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10758, - "src": "9679:11:59", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 11419, - "indexExpression": { - "argumentTypes": null, - "id": 11418, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11407, - "src": "9691:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9679:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11420, - "name": "_DONE_TIMESTAMP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10754, - "src": "9697:15:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9679:33:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11422, - "nodeType": "ExpressionStatement", - "src": "9679:33:59" - } - ] - }, - "documentation": { - "id": 11405, - "nodeType": "StructuredDocumentation", - "src": "9468:71:59", - "text": " @dev Checks after execution of an operation's calls." - }, - "id": 11424, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_afterCall", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11407, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11424, - "src": "9564:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11406, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9564:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9563:12:59" - }, - "returnParameters": { - "id": 11409, - "nodeType": "ParameterList", - "parameters": [], - "src": "9584:0:59" - }, - "scope": 11489, - "src": "9544:175:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11460, - "nodeType": "Block", - "src": "9928:266:59", - "statements": [ - { - "assignments": [ - 11439, - null - ], - "declarations": [ - { - "constant": false, - "id": 11439, - "mutability": "mutable", - "name": "success", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11460, - "src": "9998:12:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9998:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - null - ], - "id": 11446, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11444, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11435, - "src": "10041:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "expression": { - "argumentTypes": null, - "id": 11440, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11431, - "src": "10015:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 11441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "call", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10015:11:59", - "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": 11443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "argumentTypes": null, - "id": 11442, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11433, - "src": "10034:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "10015:25:59", - "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": 11445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10015:31:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9997:49:59" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11448, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11439, - "src": "10064:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e67207472616e73616374696f6e207265766572746564", - "id": 11449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10073:53:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fbe63f64b4d04d8b888d3da1b3ef528c7e3e8181ee7a63834cb97d1e3be7bcbf", - "typeString": "literal_string \"TimelockController: underlying transaction reverted\"" - }, - "value": "TimelockController: underlying transaction reverted" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_fbe63f64b4d04d8b888d3da1b3ef528c7e3e8181ee7a63834cb97d1e3be7bcbf", - "typeString": "literal_string \"TimelockController: underlying transaction reverted\"" - } - ], - "id": 11447, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10056:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10056:71:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11451, - "nodeType": "ExpressionStatement", - "src": "10056:71:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11453, - "name": "id", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11427, - "src": "10156:2:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 11454, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11429, - "src": "10160:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11455, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11431, - "src": "10167:6:59", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 11456, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11433, - "src": "10175:5:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11457, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11435, - "src": "10182:4:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 11452, - "name": "CallExecuted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10790, - "src": "10143:12:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes32,uint256,address,uint256,bytes memory)" - } - }, - "id": 11458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10143:44:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11459, - "nodeType": "EmitStatement", - "src": "10138:49:59" - } - ] - }, - "documentation": { - "id": 11425, - "nodeType": "StructuredDocumentation", - "src": "9725:96:59", - "text": " @dev Execute an operation's call.\n Emits a {CallExecuted} event." - }, - "id": 11461, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_call", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11427, - "mutability": "mutable", - "name": "id", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9841:10:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 11426, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9841:7:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11429, - "mutability": "mutable", - "name": "index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9853:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11428, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9853:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11431, - "mutability": "mutable", - "name": "target", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9868:14:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9868:7:59", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11433, - "mutability": "mutable", - "name": "value", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9884:13:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11432, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9884:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11435, - "mutability": "mutable", - "name": "data", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11461, - "src": "9899:19:59", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 11434, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9899:5:59", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9840:79:59" - }, - "returnParameters": { - "id": 11437, - "nodeType": "ParameterList", - "parameters": [], - "src": "9928:0:59" - }, - "scope": 11489, - "src": "9826:368:59", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 11487, - "nodeType": "Block", - "src": "10383:180:59", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 11474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 11468, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "10401:3:59", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 11469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10401:10:59", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11472, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10423:4:59", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TimelockController_$11489", - "typeString": "contract TimelockController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_TimelockController_$11489", - "typeString": "contract TimelockController" - } - ], - "id": 11471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10415:7:59", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 11470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10415:7:59", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 11473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10415:13:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "10401:27:59", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742062652074696d656c6f636b", - "id": 11475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10430:45:59", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9bc92801aafde1b21a5337b55bc3174f20991aa3b4cf4e5fdd1a61b63aa92df", - "typeString": "literal_string \"TimelockController: caller must be timelock\"" - }, - "value": "TimelockController: caller must be timelock" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f9bc92801aafde1b21a5337b55bc3174f20991aa3b4cf4e5fdd1a61b63aa92df", - "typeString": "literal_string \"TimelockController: caller must be timelock\"" - } - ], - "id": 11467, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10393:7:59", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 11476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10393:83:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11477, - "nodeType": "ExpressionStatement", - "src": "10393:83:59" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 11479, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "10506:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 11480, - "name": "newDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11464, - "src": "10517:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 11478, - "name": "MinDelayChange", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10802, - "src": "10491:14:59", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 11481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10491:35:59", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11482, - "nodeType": "EmitStatement", - "src": "10486:40:59" - }, - { - "expression": { - "argumentTypes": null, - "id": 11485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 11483, - "name": "_minDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10760, - "src": "10536:9:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 11484, - "name": "newDelay", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11464, - "src": "10548:8:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10536:20:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 11486, - "nodeType": "ExpressionStatement", - "src": "10536:20:59" - } - ] - }, - "documentation": { - "id": 11462, - "nodeType": "StructuredDocumentation", - "src": "10200:122:59", - "text": " @dev Changes the timelock duration for future operations.\n Emits a {MinDelayChange} event." - }, - "functionSelector": "64d62353", - "id": 11488, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "updateDelay", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 11465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11464, - "mutability": "mutable", - "name": "newDelay", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 11488, - "src": "10348:16:59", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11463, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10348:7:59", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10347:18:59" - }, - "returnParameters": { - "id": 11466, - "nodeType": "ParameterList", - "parameters": [], - "src": "10383:0:59" - }, - "scope": 11489, - "src": "10327:236:59", - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - } - ], - "scope": 11490, - "src": "898:9667:59" - } - ], - "src": "33:10533:59" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.872Z", - "devdoc": { - "details": "Contract module which acts as a timelocked controller. When set as the owner of an `Ownable` smart contract, it enforces a timelock on all `onlyOwner` maintenance operations. This gives time for users of the controlled contract to exit before a potentially dangerous maintenance operation is applied. By default, this contract is self administered, meaning administration tasks have to go through the timelock process. The proposer (resp executor) role is in charge of proposing (resp executing) operations. A common use case is to position this {TimelockController} as the owner of a smart contract, with a multisig or a DAO as the sole proposer.", - "events": { - "CallExecuted(bytes32,uint256,address,uint256,bytes)": { - "details": "Emitted when a call is performed as part of operation `id`." - }, - "CallScheduled(bytes32,uint256,address,uint256,bytes,bytes32,uint256)": { - "details": "Emitted when a call is scheduled as part of operation `id`." - }, - "Cancelled(bytes32)": { - "details": "Emitted when operation `id` is cancelled." - }, - "MinDelayChange(uint256,uint256)": { - "details": "Emitted when the minimum delay for future operations is modified." - } - }, - "kind": "dev", - "methods": { - "cancel(bytes32)": { - "details": "Cancel an operation. Requirements: - the caller must have the 'proposer' role." - }, - "constructor": { - "details": "Initializes the contract with a given `minDelay`." - }, - "execute(address,uint256,bytes,bytes32,bytes32)": { - "details": "Execute an (ready) operation containing a single transaction. Emits a {CallExecuted} event. Requirements: - the caller must have the 'executor' role." - }, - "executeBatch(address[],uint256[],bytes[],bytes32,bytes32)": { - "details": "Execute an (ready) operation containing a batch of transactions. Emits one {CallExecuted} event per transaction in the batch. Requirements: - the caller must have the 'executor' role." - }, - "getMinDelay()": { - "details": "Returns the minimum delay for an operation to become valid." - }, - "getRoleAdmin(bytes32)": { - "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." - }, - "getRoleMember(bytes32,uint256)": { - "details": "Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information." - }, - "getRoleMemberCount(bytes32)": { - "details": "Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role." - }, - "getTimestamp(bytes32)": { - "details": "Returns the timestamp at with an operation becomes ready (0 for unset operations, 1 for done operations)." - }, - "grantRole(bytes32,address)": { - "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." - }, - "hasRole(bytes32,address)": { - "details": "Returns `true` if `account` has been granted `role`." - }, - "hashOperation(address,uint256,bytes,bytes32,bytes32)": { - "details": "Returns the identifier of an operation containing a single transaction." - }, - "hashOperationBatch(address[],uint256[],bytes[],bytes32,bytes32)": { - "details": "Returns the identifier of an operation containing a batch of transactions." - }, - "isOperationDone(bytes32)": { - "details": "Returns whether an operation is done or not." - }, - "isOperationPending(bytes32)": { - "details": "Returns whether an operation is pending or not." - }, - "isOperationReady(bytes32)": { - "details": "Returns whether an operation is ready or not." - }, - "renounceRole(bytes32,address)": { - "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." - }, - "revokeRole(bytes32,address)": { - "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." - }, - "schedule(address,uint256,bytes,bytes32,bytes32,uint256)": { - "details": "Schedule an operation containing a single transaction. Emits a {CallScheduled} event. Requirements: - the caller must have the 'proposer' role." - }, - "scheduleBatch(address[],uint256[],bytes[],bytes32,bytes32,uint256)": { - "details": "Schedule an operation containing a batch of transactions. Emits one {CallScheduled} event per transaction in the batch. Requirements: - the caller must have the 'proposer' role." - }, - "updateDelay(uint256)": { - "details": "Changes the timelock duration for future operations. Emits a {MinDelayChange} event." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/Workerpool.json b/build/contracts/Workerpool.json deleted file mode 100644 index 7247d7f4d..000000000 --- a/build/contracts/Workerpool.json +++ /dev/null @@ -1,2187 +0,0 @@ -{ - "contractName": "Workerpool", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "oldSchedulerRewardRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "PolicyUpdate", - "type": "event" - }, - { - "inputs": [], - "name": "m_schedulerRewardRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerStakeRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerpoolDescription", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "changePolicy", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldSchedulerRewardRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSchedulerRewardRatioPolicy\",\"type\":\"uint256\"}],\"name\":\"PolicyUpdate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newSchedulerRewardRatioPolicy\",\"type\":\"uint256\"}],\"name\":\"changePolicy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_workerpoolDescription\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_schedulerRewardRatioPolicy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_workerStakeRatioPolicy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_workerpoolDescription\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"PolicyUpdate(uint256,uint256,uint256,uint256)\":{\"notice\":\"Events\"}},\"kind\":\"user\",\"methods\":{\"initialize(string)\":{\"notice\":\"Constructor\"},\"m_workerpoolDescription()\":{\"notice\":\"Parameters\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":\"Workerpool\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50610803806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146101ca578063b55e75af146101d2578063f199413c146101da578063f62d1888146101fd57610088565b80633121db1c1461008d578063584feb3a1461010f5780637b1039991461018c57806387639c68146101b0575b600080fd5b61010d600480360360408110156100a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506102a3565b005b610117610346565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101946103d3565b604080516001600160a01b039092168252519081900360200190f35b6101b86103e2565b60408051918252519081900360200190f35b6101946103e8565b6101b8610465565b61010d600480360360408110156101f057600080fd5b508035906020013561046b565b61010d6004803603602081101561021357600080fd5b81019060208101813564010000000081111561022e57600080fd5b82018360208201111561024057600080fd5b8035906020019184600183028401116401000000008311171561026257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061052f945050505050565b336102ac6103e8565b6001600160a01b031614610301576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b6103418383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cb5780601f106103a0576101008083540402835291602001916103cb565b820191906000526020600020905b8154815290600101906020018083116103ae57829003601f168201915b505050505081565b6000546001600160a01b031681565b60035481565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561043457600080fd5b505afa158015610448573d6000803e3d6000fd5b505050506040513d602081101561045e57600080fd5b5051905090565b60025481565b336104746103e8565b6001600160a01b0316146104c9576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b60648111156104d757600080fd5b60025460035460408051928352602083018590528281019190915260608201839052517f61f37ef3a6d587ce2d6be79492e1fac570f2745787015db7ed95ad4397b05c1e9181900360800190a1600291909155600355565b610538336106c4565b805161054b90600190602084019061073a565b5050601e6002556001600355565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bf57600080fd5b505afa1580156105d3573d6000803e3d6000fd5b505050506040513d60208110156105e957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610648578181015183820152602001610630565b50505050905090810190601f1680156106755780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069457600080fd5b505af11580156106a8573d6000803e3d6000fd5b505050506040513d60208110156106be57600080fd5b50505050565b6000546001600160a01b031615610718576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077b57805160ff19168380011785556107a8565b828001600101855582156107a8579182015b828111156107a857825182559160200191906001019061078d565b506107b49291506107b8565b5090565b5b808211156107b457600081556001016107b956fea264697066735822122098f3ba1be3fb376ad4dad5417cd3cb20d034c7a944c050c8323b4413b24a6f1564736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146101ca578063b55e75af146101d2578063f199413c146101da578063f62d1888146101fd57610088565b80633121db1c1461008d578063584feb3a1461010f5780637b1039991461018c57806387639c68146101b0575b600080fd5b61010d600480360360408110156100a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506102a3565b005b610117610346565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101946103d3565b604080516001600160a01b039092168252519081900360200190f35b6101b86103e2565b60408051918252519081900360200190f35b6101946103e8565b6101b8610465565b61010d600480360360408110156101f057600080fd5b508035906020013561046b565b61010d6004803603602081101561021357600080fd5b81019060208101813564010000000081111561022e57600080fd5b82018360208201111561024057600080fd5b8035906020019184600183028401116401000000008311171561026257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061052f945050505050565b336102ac6103e8565b6001600160a01b031614610301576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b6103418383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cb5780601f106103a0576101008083540402835291602001916103cb565b820191906000526020600020905b8154815290600101906020018083116103ae57829003601f168201915b505050505081565b6000546001600160a01b031681565b60035481565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561043457600080fd5b505afa158015610448573d6000803e3d6000fd5b505050506040513d602081101561045e57600080fd5b5051905090565b60025481565b336104746103e8565b6001600160a01b0316146104c9576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b60648111156104d757600080fd5b60025460035460408051928352602083018590528281019190915260608201839052517f61f37ef3a6d587ce2d6be79492e1fac570f2745787015db7ed95ad4397b05c1e9181900360800190a1600291909155600355565b610538336106c4565b805161054b90600190602084019061073a565b5050601e6002556001600355565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bf57600080fd5b505afa1580156105d3573d6000803e3d6000fd5b505050506040513d60208110156105e957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610648578181015183820152602001610630565b50505050905090810190601f1680156106755780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069457600080fd5b505af11580156106a8573d6000803e3d6000fd5b505050506040513d60208110156106be57600080fd5b50505050565b6000546001600160a01b031615610718576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077b57805160ff19168380011785556107a8565b828001600101855582156107a8579182015b828111156107a857825182559160200191906001019061078d565b506107b49291506107b8565b5090565b5b808211156107b457600081556001016107b956fea264697066735822122098f3ba1be3fb376ad4dad5417cd3cb20d034c7a944c050c8323b4413b24a6f1564736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1300:1201:56:-:0;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1300:1201:56:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1816:112:51;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1816:112:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1816:112:51;;-1:-1:-1;1816:112:51;-1:-1:-1;1816:112:51;:::i;:::-;;1365:38:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1427:25:51;;;:::i;:::-;;;;-1:-1:-1;;;;;1427:25:51;;;;;;;;;;;;;;1476:43:56;;;:::i;:::-;;;;;;;;;;;;;;;;1615:103:51;;;:::i;1406:39:56:-;;;:::i;2040:459::-;;;;;;;;;;;;;;;;-1:-1:-1;2040:459:56;;;;;;;:::i;1783:254::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1783:254:56;;-1:-1:-1;1783:254:56;;-1:-1:-1;;;;;1783:254:56:i;1816:112:51:-;1766:10;1755:7;:5;:7::i;:::-;-1:-1:-1;;;;;1755:21:51;;1747:57;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;;;;1897:27:::1;1911:4;1918:5;;1897:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1897:8:51::1;::::0;-1:-1:-1;;;1897:27:51:i:1;:::-;1816:112:::0;;;:::o;1365:38:56:-;;;;;;;;;;;;;;;-1:-1:-1;;1365:38:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1427:25:51:-;;;-1:-1:-1;;;;;1427:25:51;;:::o;1476:43:56:-;;;;:::o;1615:103:51:-;1653:7;1674:8;;:40;;;-1:-1:-1;;;1674:40:51;;1707:4;1674:40;;;;;;-1:-1:-1;;;;;1674:8:51;;;;:16;;:40;;;;;;;;;;;;;;;:8;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1674:40:51;;-1:-1:-1;1615:103:51;:::o;1406:39:56:-;;;;:::o;2040:459::-;1766:10:51;1755:7;:5;:7::i;:::-;-1:-1:-1;;;;;1755:21:51;;1747:57;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;-1:-1:-1;;;1747:57:51;;;;;;;;;;;;;;;2212:3:56::1;2178:30;:37;;2170:46;;;::::0;::::1;;2243:24;::::0;2304:28:::1;::::0;2226:142:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;2373:24;:57:::0;;;;2434:28:::1;:61:::0;2040:459::o;1783:254::-;1857:23;1869:10;1857:11;:23::i;:::-;1884:53;;;;:23;;:53;;;;;:::i;:::-;-1:-1:-1;;1972:2:56;1941:24;:33;2020:1;1989:28;:32;1783:254::o;316:128:67:-;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;-1:-1:-1;;397:28:67;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;-1:-1:-1;;379:61:67;;;;;;;;;;;;;;;;-1:-1:-1;379:61:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;316:128:67:o;1456:156:51:-;1547:1;1526:8;-1:-1:-1;;;;;1526:8:51;1518:31;1510:63;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;-1:-1:-1;;;1510:63:51;;;;;;;;;;;;;;;1577:8;:31;;-1:-1:-1;;;;;;1577:31:51;-1:-1:-1;;;;;1577:31:51;;;;;;;;;;1456:156::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport \"../RegistryEntry.sol\";\n\n\ncontract Workerpool is RegistryEntry\n{\n\t/**\n\t * Parameters\n\t */\n\tstring public m_workerpoolDescription;\n\tuint256 public m_workerStakeRatioPolicy; // % of reward to stake\n\tuint256 public m_schedulerRewardRatioPolicy; // % of reward given to scheduler\n\n\t/**\n\t * Events\n\t */\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy, uint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy, uint256 newSchedulerRewardRatioPolicy);\n\n\t/**\n\t * Constructor\n\t */\n\tfunction initialize(\n\t\tstring memory _workerpoolDescription)\n\tpublic\n\t{\n\t\t_initialize(msg.sender);\n\t\tm_workerpoolDescription = _workerpoolDescription;\n\t\tm_workerStakeRatioPolicy = 30; // mutable\n\t\tm_schedulerRewardRatioPolicy = 1; // mutable\n\t}\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal onlyOwner()\n\t{\n\t\trequire(_newSchedulerRewardRatioPolicy <= 100);\n\n\t\temit PolicyUpdate(\n\t\t\tm_workerStakeRatioPolicy, _newWorkerStakeRatioPolicy,\n\t\t\tm_schedulerRewardRatioPolicy, _newSchedulerRewardRatioPolicy\n\t\t);\n\n\t\tm_workerStakeRatioPolicy = _newWorkerStakeRatioPolicy;\n\t\tm_schedulerRewardRatioPolicy = _newSchedulerRewardRatioPolicy;\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "exportedSymbols": { - "Workerpool": [ - 10606 - ] - }, - "id": 10607, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10529, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:56" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10530, - "nodeType": "ImportDirective", - "scope": 10607, - "sourceUnit": 10226, - "src": "1267:30:56", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10531, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1323:13:56", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10532, - "nodeType": "InheritanceSpecifier", - "src": "1323:13:56" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10606, - "linearizedBaseContracts": [ - 10606, - 10225, - 12870 - ], - "name": "Workerpool", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10533, - "nodeType": "StructuredDocumentation", - "src": "1340:23:56", - "text": " Parameters" - }, - "functionSelector": "584feb3a", - "id": 10535, - "mutability": "mutable", - "name": "m_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1365:38:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1365:6:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "b55e75af", - "id": 10537, - "mutability": "mutable", - "name": "m_workerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1406:39:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "87639c68", - "id": 10539, - "mutability": "mutable", - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1476:43:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10538, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1476:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": { - "id": 10540, - "nodeType": "StructuredDocumentation", - "src": "1557:19:56", - "text": " Events" - }, - "id": 10550, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 10549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10542, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1600:33:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10541, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1600:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10544, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1639:33:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10543, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1639:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10546, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1676:37:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10545, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1676:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10548, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1715:37:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1715:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1596:157:56" - }, - "src": "1578:176:56" - }, - { - "body": { - "id": 10573, - "nodeType": "Block", - "src": "1853:184:56", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10557, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1869:3:56", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1869:10:56", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10556, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1857:11:56", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10559, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1857:23:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10560, - "nodeType": "ExpressionStatement", - "src": "1857:23:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10561, - "name": "m_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10535, - "src": "1884:23:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10562, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10553, - "src": "1915:22:56", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1884:53:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10564, - "nodeType": "ExpressionStatement", - "src": "1884:53:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10565, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "1941:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3330", - "id": 10566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1972:2:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_30_by_1", - "typeString": "int_const 30" - }, - "value": "30" - }, - "src": "1941:33:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10568, - "nodeType": "ExpressionStatement", - "src": "1941:33:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10569, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "1989:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 10570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2020:1:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1989:32:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10572, - "nodeType": "ExpressionStatement", - "src": "1989:32:56" - } - ] - }, - "documentation": { - "id": 10551, - "nodeType": "StructuredDocumentation", - "src": "1757:24:56", - "text": " Constructor" - }, - "functionSelector": "f62d1888", - "id": 10574, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10553, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10574, - "src": "1806:36:56", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1806:6:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1802:41:56" - }, - "returnParameters": { - "id": 10555, - "nodeType": "ParameterList", - "parameters": [], - "src": "1853:0:56" - }, - "scope": 10606, - "src": "1783:254:56", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10604, - "nodeType": "Block", - "src": "2166:333:56", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10584, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2178:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "313030", - "id": 10585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2212:3:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - }, - "src": "2178:37:56", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 10583, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2170:7:56", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 10587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2170:46:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10588, - "nodeType": "ExpressionStatement", - "src": "2170:46:56" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10590, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "2243:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10591, - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10576, - "src": "2273:26:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10592, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "2304:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10593, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2334:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10589, - "name": "PolicyUpdate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10550, - "src": "2226:12:56", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256,uint256)" - } - }, - "id": 10594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2226:142:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10595, - "nodeType": "EmitStatement", - "src": "2221:147:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10596, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "2373:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10597, - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10576, - "src": "2404:26:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2373:57:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10599, - "nodeType": "ExpressionStatement", - "src": "2373:57:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10600, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "2434:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10601, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2465:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2434:61:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10603, - "nodeType": "ExpressionStatement", - "src": "2434:61:56" - } - ] - }, - "documentation": null, - "functionSelector": "f199413c", - "id": 10605, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10581, - "modifierName": { - "argumentTypes": null, - "id": 10580, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10207, - "src": "2153:9:56", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2153:11:56" - } - ], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10579, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10576, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10605, - "src": "2065:34:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2065:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10578, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10605, - "src": "2103:38:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2103:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2061:81:56" - }, - "returnParameters": { - "id": 10582, - "nodeType": "ParameterList", - "parameters": [], - "src": "2166:0:56" - }, - "scope": 10606, - "src": "2040:459:56", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10607, - "src": "1300:1201:56" - } - ], - "src": "1242:1260:56" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "exportedSymbols": { - "Workerpool": [ - 10606 - ] - }, - "id": 10607, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10529, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:56" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol", - "file": "../RegistryEntry.sol", - "id": 10530, - "nodeType": "ImportDirective", - "scope": 10607, - "sourceUnit": 10226, - "src": "1267:30:56", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10531, - "name": "RegistryEntry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10225, - "src": "1323:13:56", - "typeDescriptions": { - "typeIdentifier": "t_contract$_RegistryEntry_$10225", - "typeString": "contract RegistryEntry" - } - }, - "id": 10532, - "nodeType": "InheritanceSpecifier", - "src": "1323:13:56" - } - ], - "contractDependencies": [ - 10225, - 12870 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10606, - "linearizedBaseContracts": [ - 10606, - 10225, - 12870 - ], - "name": "Workerpool", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "documentation": { - "id": 10533, - "nodeType": "StructuredDocumentation", - "src": "1340:23:56", - "text": " Parameters" - }, - "functionSelector": "584feb3a", - "id": 10535, - "mutability": "mutable", - "name": "m_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1365:38:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 10534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1365:6:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "b55e75af", - "id": 10537, - "mutability": "mutable", - "name": "m_workerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1406:39:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1406:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "87639c68", - "id": 10539, - "mutability": "mutable", - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10606, - "src": "1476:43:56", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10538, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1476:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": { - "id": 10540, - "nodeType": "StructuredDocumentation", - "src": "1557:19:56", - "text": " Events" - }, - "id": 10550, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 10549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10542, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1600:33:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10541, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1600:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10544, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1639:33:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10543, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1639:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10546, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1676:37:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10545, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1676:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10548, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10550, - "src": "1715:37:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1715:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1596:157:56" - }, - "src": "1578:176:56" - }, - { - "body": { - "id": 10573, - "nodeType": "Block", - "src": "1853:184:56", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 10557, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "1869:3:56", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 10558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1869:10:56", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 10556, - "name": "_initialize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10177, - "src": "1857:11:56", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 10559, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1857:23:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10560, - "nodeType": "ExpressionStatement", - "src": "1857:23:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10561, - "name": "m_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10535, - "src": "1884:23:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10562, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10553, - "src": "1915:22:56", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1884:53:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 10564, - "nodeType": "ExpressionStatement", - "src": "1884:53:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10565, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "1941:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3330", - "id": 10566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1972:2:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_30_by_1", - "typeString": "int_const 30" - }, - "value": "30" - }, - "src": "1941:33:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10568, - "nodeType": "ExpressionStatement", - "src": "1941:33:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10569, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "1989:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 10570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2020:1:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1989:32:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10572, - "nodeType": "ExpressionStatement", - "src": "1989:32:56" - } - ] - }, - "documentation": { - "id": 10551, - "nodeType": "StructuredDocumentation", - "src": "1757:24:56", - "text": " Constructor" - }, - "functionSelector": "f62d1888", - "id": 10574, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "initialize", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10553, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10574, - "src": "1806:36:56", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1806:6:56", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1802:41:56" - }, - "returnParameters": { - "id": 10555, - "nodeType": "ParameterList", - "parameters": [], - "src": "1853:0:56" - }, - "scope": 10606, - "src": "1783:254:56", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10604, - "nodeType": "Block", - "src": "2166:333:56", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 10586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 10584, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2178:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "313030", - "id": 10585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2212:3:56", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_100_by_1", - "typeString": "int_const 100" - }, - "value": "100" - }, - "src": "2178:37:56", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 10583, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2170:7:56", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 10587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2170:46:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10588, - "nodeType": "ExpressionStatement", - "src": "2170:46:56" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10590, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "2243:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10591, - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10576, - "src": "2273:26:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10592, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "2304:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 10593, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2334:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10589, - "name": "PolicyUpdate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10550, - "src": "2226:12:56", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256,uint256)" - } - }, - "id": 10594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2226:142:56", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10595, - "nodeType": "EmitStatement", - "src": "2221:147:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10596, - "name": "m_workerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10537, - "src": "2373:24:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10597, - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10576, - "src": "2404:26:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2373:57:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10599, - "nodeType": "ExpressionStatement", - "src": "2373:57:56" - }, - { - "expression": { - "argumentTypes": null, - "id": 10602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 10600, - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10539, - "src": "2434:28:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 10601, - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10578, - "src": "2465:30:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2434:61:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 10603, - "nodeType": "ExpressionStatement", - "src": "2434:61:56" - } - ] - }, - "documentation": null, - "functionSelector": "f199413c", - "id": 10605, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [], - "id": 10581, - "modifierName": { - "argumentTypes": null, - "id": 10580, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10207, - "src": "2153:9:56", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "2153:11:56" - } - ], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10579, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10576, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10605, - "src": "2065:34:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10575, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2065:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10578, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10605, - "src": "2103:38:56", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10577, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2103:7:56", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2061:81:56" - }, - "returnParameters": { - "id": 10582, - "nodeType": "ParameterList", - "parameters": [], - "src": "2166:0:56" - }, - "scope": 10606, - "src": "2040:459:56", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10607, - "src": "1300:1201:56" - } - ], - "src": "1242:1260:56" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.870Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "events": { - "PolicyUpdate(uint256,uint256,uint256,uint256)": { - "notice": "Events" - } - }, - "kind": "user", - "methods": { - "initialize(string)": { - "notice": "Constructor" - }, - "m_workerpoolDescription()": { - "notice": "Parameters" - } - }, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/WorkerpoolInterface.json b/build/contracts/WorkerpoolInterface.json deleted file mode 100644 index a162fb142..000000000 --- a/build/contracts/WorkerpoolInterface.json +++ /dev/null @@ -1,5807 +0,0 @@ -{ - "contractName": "WorkerpoolInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "oldWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "oldSchedulerRewardRatioPolicy", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "PolicyUpdate", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerpoolDescription", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_workerStakeRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "m_schedulerRewardRatioPolicy", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_newWorkerStakeRatioPolicy", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_newSchedulerRewardRatioPolicy", - "type": "uint256" - } - ], - "name": "changePolicy", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldSchedulerRewardRatioPolicy\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSchedulerRewardRatioPolicy\",\"type\":\"uint256\"}],\"name\":\"PolicyUpdate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newWorkerStakeRatioPolicy\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newSchedulerRewardRatioPolicy\",\"type\":\"uint256\"}],\"name\":\"changePolicy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_schedulerRewardRatioPolicy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_workerStakeRatioPolicy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"m_workerpoolDescription\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"WorkerpoolInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.887Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/build/contracts/WorkerpoolRegistry.json b/build/contracts/WorkerpoolRegistry.json deleted file mode 100644 index bfd59c873..000000000 --- a/build/contracts/WorkerpoolRegistry.json +++ /dev/null @@ -1,3503 +0,0 @@ -{ - "contractName": "WorkerpoolRegistry", - "abi": [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "baseURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_previous", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "initialized", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "master", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "previous", - "outputs": [ - { - "internalType": "contract IRegistry", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "proxyCodeHash", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_baseURI", - "type": "string" - } - ], - "name": "setBaseURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_ens", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "setName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "createWorkerpool", - "outputs": [ - { - "internalType": "contract Workerpool", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "predictWorkerpool", - "outputs": [ - { - "internalType": "contract Workerpool", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "constant": true - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_workerpoolOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_workerpoolDescription\",\"type\":\"string\"}],\"name\":\"createWorkerpool\",\"outputs\":[{\"internalType\":\"contract Workerpool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_previous\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"master\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_workerpoolOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_workerpoolDescription\",\"type\":\"string\"}],\"name\":\"predictWorkerpool\",\"outputs\":[{\"internalType\":\"contract Workerpool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previous\",\"outputs\":[{\"internalType\":\"contract IRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":\"Constructor\"},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/WorkerpoolRegistry.sol\":\"WorkerpoolRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/IRegistry.sol\":{\"keccak256\":\"0xc735f7764e312ea161551bc1a2749820928b1bf80c4aeb2f528a2f4a498078cd\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7dbefb9d9bec9b56f694d2ee6dc0a44b341c027c0d392534b457867208f019b9\",\"dweb:/ipfs/QmSiSkhgUcAGscopDoRtGnHiWAbxNwBf9ZV8nnVYoWqZ8Z\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol\":{\"keccak256\":\"0x18bdeaad129f5034937fb69a7afbd68ffba8341172a7a124d6be22d6cd2cc5ad\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://e77b038842b0c19eb8cb2bac495025ec2fe074472370708cc0b6b6a9e6e5275c\",\"dweb:/ipfs/QmNPUSUBUPezTebKA3VzRu8u5KKuYiKGP1m3yME2J6YnSc\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/RegistryEntry.sol\":{\"keccak256\":\"0xc5e7a46311946df50486dd451f456aee0abe92184dbc31e3a40fc9198f8f6582\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://24f058496713a743781c3353477a03255cdce4cfca845883d207a62346c5c684\",\"dweb:/ipfs/QmVVrLgcoAetTY7EsL3fWfC7VuqKzh1ncVF8spkEkgPQot\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol\":{\"keccak256\":\"0x5604f1f935ea198caa899dfd96af42f9f2280954c9798caa58e9cf198b8d492e\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://10fabd01e983ad441a08c57ff78451237c0d350ba7e0cab42a7dccbf784209bd\",\"dweb:/ipfs/Qmbt3eiERXv3QUHHJAFKwfgrCNz6ZcA1ccUWtztLFiv9Av\"]},\"/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/WorkerpoolRegistry.sol\":{\"keccak256\":\"0xc69838de9d9216514c2a5159878d3f5a18585987d43c4791531837ee9d4c6af9\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://8cb5adb9d6b3bbed726ca55c0efc8487d75e091a6568e4a1fb72bd02526b37b5\",\"dweb:/ipfs/QmdUSPpKD1jHuboBzJ5DMG77DDtxY7QvBFLPui4Ge7FkdW\"]},\"@iexec/solidity/contracts/ENStools/ENSReverseRegistration.sol\":{\"keccak256\":\"0xd1e5b9222925769b40cbf20a4b96d9d3fa462cca6e40d0d9021033ebb0a7d584\",\"urls\":[\"bzz-raw://0e47b7621c8f6cee3c5900f0545cb563fa763712cf235d320fd88d0857699ed1\",\"dweb:/ipfs/QmS18tjVQ6oxc7MHUK5DKLrRSX1v7N4e5Pc6xKjJCNcFv3\"]},\"@iexec/solidity/contracts/ENStools/IENS.sol\":{\"keccak256\":\"0xb109a681632d71269ed4efbe11fc9d1bcee6bc29109f2fb8ced6951dafc28302\",\"urls\":[\"bzz-raw://920ee6b3712ebe1cb28977abf4ded033067305d786116f94777ab03a6b6b9ee9\",\"dweb:/ipfs/QmWFCBtMLUZYJ2cxzHBjHq5WZC8Yydnbk6dezoXHT4Pxgz\"]},\"@iexec/solidity/contracts/ENStools/IReverseRegistrar.sol\":{\"keccak256\":\"0xff985fd263e59bd387e543cd5cf99235ab6e066b6d1be95e79108dacc749673f\",\"urls\":[\"bzz-raw://98a054bc372f5fd6c80793d32a74f3387d562ed6b3e17388b5f8f4b6bc96a62c\",\"dweb:/ipfs/QmQtkE8u6h7zrBrdfEez6STf18766AFP5kK8hGL4SNoWuP\"]},\"@iexec/solidity/contracts/Upgradeability/BaseUpgradeabilityProxy.sol\":{\"keccak256\":\"0x47ec56a1226ecf04d49aa82f768814923c1957b69f7fc9e7e470885c75b5a2c6\",\"urls\":[\"bzz-raw://4eae82be03a247a27a2948ed12d5a826dea977f4b5528830c19d9cf4c23dcd53\",\"dweb:/ipfs/Qmb9HtnohAMvjb7vYnXaT3AnQd9p9sLsThnyLnXVzz1umq\"]},\"@iexec/solidity/contracts/Upgradeability/InitializableUpgradeabilityProxy.sol\":{\"keccak256\":\"0xe1bf07e5d913bd04484305a3fb0cc576f6b5d8e4fc0406bf7c9a8b6b2ed766e5\",\"urls\":[\"bzz-raw://b42f6dff696ceadeb44a02aae3049e603984c18af8d94f33fb6544a8b279179c\",\"dweb:/ipfs/QmRWTaRHCGZhKZFKrVAJwXukXiCZcezrVhJJ28H2qBbai7\"]},\"@iexec/solidity/contracts/Upgradeability/Proxy.sol\":{\"keccak256\":\"0xd89f285d80cfeff0efc87f11dbc024a587da3bba142a06695cbac7e4050e9302\",\"urls\":[\"bzz-raw://9c8323ec7efc9fde6c1529f1070c3f3406adb5f8836b17221530d8f0110fe3f4\",\"dweb:/ipfs/QmURRsX9L2gZ83aMULtY1EuRMJExHhFYErCbkxE5CNkAzE\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]},\"@openzeppelin/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xb046d18f9d09683ca1c0ed6d80c61da8a8a7d9b30bad70a17b898538683eff74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4728713afa6ae36cc9e92c7107c796a313add3ec20f813be2cde76c814486b2a\",\"dweb:/ipfs/QmUJBTXvYaGDF5PVnd5pUvYerc9DRXvqANDzgCzAp3FkkA\"]},\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xfa152b6e88a1dc50780e8f1580426dc23ad2e1e2c2f086a088adf206a202f453\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5127b264994adab88fae419b1c493efc5acd07134c19ee5c0397e50018291ebf\",\"dweb:/ipfs/QmWwJZVhvdmvUCdimbb6R2Jiu59zjPqm6XTMchM6LaEHAp\"]},\"@openzeppelin/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x9a9cf02622cd7a64261b10534fc3260449da25c98c9e96d1b4ae8110a20e5806\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df142592d1dc267d9549049ee3317fa190d2f87eaa565f86ab05ec83f7ab8f5\",\"dweb:/ipfs/QmSkJtcfWo7c42KnL5hho6GFxK6HRNV91XABx1P7xDtfLV\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x1071a23188ba7f5bb16f51b0b01a67fd41fe56f862d8f83985788cf46f3b91bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7082ca99b93f2e541cafaad00ed32675adf0752eab78eccabcf91dec9fd5d73\",\"dweb:/ipfs/QmdqooMmYBQVi7p6subDFM4e1944AuLjZUpHMjGtae7Lgd\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x227bafd3e165b13f5d98c42a44376e48d41f4a265db8803f2707faaeae9659aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9aa7959a30871669ce46172cd117b084b607d602d9ce695ce79005582b0b69b\",\"dweb:/ipfs/QmXZUWeLXmArQinHL4RnacJLT22GvCExqREYM6pHLX7CX9\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\":{\"keccak256\":\"0x3636662804cd8f474536b2875a9038a4c3fb91879f1bbff48af5c3f140fcd2f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9fab8521263fa581544000cb57335a3f2e6bcdfbb5579d3ceaa5acf741c67c4f\",\"dweb:/ipfs/QmZfXnMom7JSNtfyie5yGPN1SUC4SmHbz4ScVBH88URmA7\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\":{\"keccak256\":\"0xe7f984cedc00a138dc27f263c73c32ba9a4b2fd23b6c34ac46f46c074b943538\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0f4acda12f076fe7584921241ddbb5b460ca7cad6cb8a42252ac7f2a9f539127\",\"dweb:/ipfs/QmQmfhkEv9GrhdWe67QtXnU19AMuoEmy31QnHPkucdYLjZ\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x321ee37ef4925020aa818a03ec7fe48e057561f65ab009a84f6c20c86026ade7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01f9d74a17a56024984251b97e428e24c9d3abffbae5bd290f0ec263c82e9694\",\"dweb:/ipfs/QmRryCuuXu2ukrDmatB8TqdEhPLiK6NBRt41RiPUaX1qKy\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xdfb4f812600ba4ce6738c35584ceb8c9433472583051b48ba5b1f66cb758a498\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df02dffe1c1de089d9b4f6192f0dcf464526f2230f420b3deec4645e0cdd2bff\",\"dweb:/ipfs/QmcqXGAU3KJqwrgUVoGJ2W8osomhSJ4R5kdsRpbuW3fELS\"]},\"@openzeppelin/contracts/utils/Create2.sol\":{\"keccak256\":\"0x16926b3c19504ea52f73abe41dfa9c1ef9c328d6088b82162d475caecaa47a6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc578656a08c07f33ecf4a54324bad5f951afdcd990cdab1dcde493d6bb49d9c\",\"dweb:/ipfs/QmbXLJtTaqBg7WwC4p9gsRjA3VEwNwGc6W9afJeAaacF71\"]},\"@openzeppelin/contracts/utils/EnumerableMap.sol\":{\"keccak256\":\"0x244e4b74b17716120cf28e58636f11c699b8c0c94628bd952a95cee038d7e32b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://198d566157120c526bd6b5086b32cae85a11389b8a538f533ba9f9447915da0e\",\"dweb:/ipfs/QmeE6d8KWERx7f1FVS5tMnitNJxBm2yWXRSEUBF7R6voLh\"]},\"@openzeppelin/contracts/utils/EnumerableSet.sol\":{\"keccak256\":\"0xb2a11b236f073662f5a196995863f51c11d006bf7c3de158b316dfa1506c4b79\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8651649cf0b9efa18c3b01c030276fa320d41adbdc286833417e7f36e357b2f3\",\"dweb:/ipfs/QmafhM2Nd1aP43QVB1eRRZaqRXQKswNfQcWi8U8xjrxCfN\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x79484115dbfa737054f73e041009a02eeb434dd81be5d684bf4255ad3b5ab558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12c119699463450c2544f5b9d8709b5e9e9164c62948a79c3ec53423a051d969\",\"dweb:/ipfs/QmPJduzSAaekq447QeFqAp3E7dc8CnNk5ajofckJ4ahA7Q\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b506040516200002090620002c9565b604051809103906000f0801580156200003d573d6000803e3d6000fd5b50604080518082018252601e81527f694578656320576f726b6572706f6f6c20526567697374727920285635290000602080830191909152825180840190935260118352706945786563576f726b6572706f6f6c563560781b90830152908181620000af6301ffc9a760e01b62000240565b8151620000c4906006906020850190620002d7565b508051620000da906007906020840190620002d7565b50620000ed6380ac58cd60e01b62000240565b620000ff635b5e139f60e01b62000240565b6200011163780e9d6360e01b62000240565b506000905062000120620002c5565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600b80546001600160a01b0319166001600160a01b0385161790556040516200019a602082016200035c565b601f1982820381018352601f909101166040528051620001c491600c9160209190910190620002d7565b50600c6040518082805460018160011615610100020316600290048015620002265780601f106200020357610100808354040283529182019162000226565b820191906000526020600020905b81548152906001019060200180831162000211575b5050604051908190039020600d5550620003819350505050565b6001600160e01b03198082161415620002a0576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b6108238062002eb083390190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200031a57805160ff19168380011785556200034a565b828001600101855582156200034a579182015b828111156200034a5782518255916020019190600101906200032d565b50620003589291506200036a565b5090565b61036980620036d383390190565b5b808211156200035857600081556001016200036b565b612b1f80620003916000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063e985e9c511610071578063e985e9c514610796578063ee97f7f3146107c4578063eee39111146107cc578063f2fde38b146107d4576101e5565b8063c3c5a547146106af578063c4d66de8146106d5578063c87b56dd146106fb578063e40238f414610718576101e5565b80638da5cb5b116100de5780638da5cb5b146105ad57806395d89b41146105b5578063a22cb465146105bd578063b88d4fde146105eb576101e5565b80636fa59bbc1461056f57806370a0823114610577578063715018a61461059d5780637c2b2e71146105a5576101e5565b806323b872dd116101875780634f6ccce7116101565780634f6ccce7146104bf57806355f804b3146104dc5780636352211e1461054a5780636c0360eb14610567576101e5565b806323b872dd146103a95780632f745c59146103df5780633121db1c1461040b57806342842e0e14610489576101e5565b8063081812fc116101c3578063081812fc1461033c578063095ea7b314610359578063158ef93e1461038757806318160ddd1461038f576101e5565b806301ffc9a7146101ea578063064a6c2a1461022557806306fdde03146102bf575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b0319166107fa565b604080519115158252519081900360200190f35b6102a36004803603604081101561023b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561026557600080fd5b82018360208201111561027757600080fd5b803590602001918460018302840111600160201b8311171561029857600080fd5b50909250905061081d565b604080516001600160a01b039092168252519081900360200190f35b6102c7610871565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103015781810151838201526020016102e9565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102a36004803603602081101561035257600080fd5b5035610907565b6103856004803603604081101561036f57600080fd5b506001600160a01b038135169060200135610969565b005b610211610a44565b610397610a54565b60408051918252519081900360200190f35b610385600480360360608110156103bf57600080fd5b506001600160a01b03813581169160208101359091169060400135610a65565b610397600480360360408110156103f557600080fd5b506001600160a01b038135169060200135610abc565b6103856004803603604081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b509092509050610ae7565b6103856004803603606081101561049f57600080fd5b506001600160a01b03813581169160208101359091169060400135610b7f565b610397600480360360208110156104d557600080fd5b5035610b9a565b610385600480360360208110156104f257600080fd5b810190602081018135600160201b81111561050c57600080fd5b82018360208201111561051e57600080fd5b803590602001918460018302840111600160201b8311171561053f57600080fd5b509092509050610bb0565b6102a36004803603602081101561056057600080fd5b5035610c4b565b6102c7610c73565b6102c7610cd4565b6103976004803603602081101561058d57600080fd5b50356001600160a01b0316610d62565b610385610dca565b6102a3610e6c565b6102a3610e7b565b6102c7610e8a565b610385600480360360408110156105d357600080fd5b506001600160a01b0381351690602001351515610eeb565b6103856004803603608081101561060157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561063b57600080fd5b82018360208201111561064d57600080fd5b803590602001918460018302840111600160201b8311171561066e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ff0945050505050565b610211600480360360208110156106c557600080fd5b50356001600160a01b031661104e565b610385600480360360208110156106eb57600080fd5b50356001600160a01b03166110fc565b6102c76004803603602081101561071157600080fd5b503561119c565b6102a36004803603604081101561072e57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561075857600080fd5b82018360208201111561076a57600080fd5b803590602001918460018302840111600160201b8311171561078b57600080fd5b509092509050611443565b610211600480360360408110156107ac57600080fd5b506001600160a01b038135811691602001351661148d565b6102a36114bb565b6103976114ca565b610385600480360360208110156107ea57600080fd5b50356001600160a01b03166114d0565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60006108678461086285858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115c992505050565b61166e565b90505b9392505050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b820191906000526020600020905b8154815290600101906020018083116108e057829003601f168201915b5050505050905090565b60006109128261170f565b61094d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806129f4602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061097482610c4b565b9050806001600160a01b0316836001600160a01b031614156109c75760405162461bcd60e51b8152600401808060200182810382526021815260200180612a986021913960400191505060405180910390fd5b806001600160a01b03166109d961171c565b6001600160a01b031614806109fa57506109fa816109f561171c565b61148d565b610a355760405162461bcd60e51b81526004018080602001828103825260388152602001806129476038913960400191505060405180910390fd5b610a3f8383611720565b505050565b600e54600160a01b900460ff1681565b6000610a60600261178e565b905090565b610a76610a7061171c565b82611799565b610ab15760405162461bcd60e51b8152600401808060200182810382526031815260200180612ab96031913960400191505060405180910390fd5b610a3f83838361183d565b6001600160a01b0382166000908152600160205260408120610ade9083611989565b90505b92915050565b610aef61171c565b600a546001600160a01b03908116911614610b3f576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b610a3f8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061199592505050565b610a3f83838360405180602001604052806000815250610ff0565b600080610ba8600284611afa565b509392505050565b610bb861171c565b600a546001600160a01b03908116911614610c08576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b610c4782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b1692505050565b5050565b6000610ae1826040518060600160405280602981526020016129a96029913960029190611b29565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610d5a5780601f10610d2f57610100808354040283529160200191610d5a565b820191906000526020600020905b815481529060010190602001808311610d3d57829003601f168201915b505050505081565b60006001600160a01b038216610da95760405162461bcd60e51b815260040180806020018281038252602a81526020018061297f602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610ae19061178e565b610dd261171c565b600a546001600160a01b03908116911614610e22576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b610ef361171c565b6001600160a01b0316826001600160a01b03161415610f59576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000610f6661171c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610faa61171c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611001610ffb61171c565b83611799565b61103c5760405162461bcd60e51b8152600401808060200182810382526031815260200180612ab96031913960400191505060405180910390fd5b61104884848484611b36565b50505050565b6000611062826001600160a01b031661170f565b80610ae15750600e546001600160a01b031615801590610ae15750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b1580156110ca57600080fd5b505afa1580156110de573d6000803e3d6000fd5b505050506040513d60208110156110f457600080fd5b505192915050565b61110461171c565b600a546001600160a01b03908116911614611154576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561116b57600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b60606111a78261170f565b6111e25760405162461bcd60e51b815260040180806020018281038252602f815260200180612a69602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156112775780601f1061124c57610100808354040283529160200191611277565b820191906000526020600020905b81548152906001019060200180831161125a57829003601f168201915b5050600954939450505050600260001961010060018416150201909116046112a0579050610818565b8051156113715760098160405160200180838054600181600116156101000203166002900480156113085780601f106112e6576101008083540402835291820191611308565b820191906000526020600020905b8154815290600101906020018083116112f4575b5050825160208401908083835b602083106113345780518252601f199092019160209182019101611315565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610818565b600961137c84611b88565b60405160200180838054600181600116156101000203166002900480156113da5780601f106113b85761010080835404028352918201916113da565b820191906000526020600020905b8154815290600101906020018083116113c6575b5050825160208401908083835b602083106114065780518252601f1990920191602091820191016113e7565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b60006108678461148885858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115c992505050565b611c63565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b6114d861171c565b600a546001600160a01b03908116911614611528576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b6001600160a01b03811661156d5760405162461bcd60e51b81526004018080602001828103825260268152602001806128d16026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6060816040516024018080602001828103825283818151815260200191508051906020019080838360005b8381101561160c5781810151838201526020016115f4565b50505050905090810190601f1680156116395780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316631ec5a31160e31b1790529350505050919050565b6000806116fe83856040516020018083805190602001908083835b602083106116a85780518252601f199092019160209182019101611689565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d54611e84565b6001600160a01b0316949350505050565b6000610ae1600283611e91565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061175582610c4b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610ae182611e9d565b60006117a48261170f565b6117df5760405162461bcd60e51b815260040180806020018281038252602c81526020018061291b602c913960400191505060405180910390fd5b60006117ea83610c4b565b9050806001600160a01b0316846001600160a01b031614806118255750836001600160a01b031661181a84610907565b6001600160a01b0316145b806118355750611835818561148d565b949350505050565b826001600160a01b031661185082610c4b565b6001600160a01b0316146118955760405162461bcd60e51b8152600401808060200182810382526029815260200180612a406029913960400191505060405180910390fd5b6001600160a01b0382166118da5760405162461bcd60e51b81526004018080602001828103825260248152602001806128f76024913960400191505060405180910390fd5b6118e5838383610a3f565b6118f0600082611720565b6001600160a01b03831660009081526001602052604090206119129082611ea1565b506001600160a01b03821660009081526001602052604090206119359082611ead565b5061194260028284611eb9565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610ade8383611ecf565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156119fb57600080fd5b505afa158015611a0f573d6000803e3d6000fd5b505050506040513d6020811015611a2557600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611a84578181015183820152602001611a6c565b50505050905090810190601f168015611ab15780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b505050506040513d602081101561104857600080fd5b6000808080611b098686611f33565b9097909650945050505050565b8051610c479060099060208401906127e9565b6000610867848484611fae565b611b4184848461183d565b611b4d84848484612078565b6110485760405162461bcd60e51b815260040180806020018281038252603281526020018061289f6032913960400191505060405180910390fd5b606081611bad57506040805180820190915260018152600360fc1b6020820152610818565b8160005b8115611bc557600101600a82049150611bb1565b60608167ffffffffffffffff81118015611bde57600080fd5b506040519080825280601f01601f191660200182016040528015611c09576020820181803683370190505b50859350905060001982015b8315611c5a57600a840660300160f81b82828060019003935081518110611c3857fe5b60200101906001600160f81b031916908160001a905350600a84049350611c15565b50949350505050565b600080611d8d600084866040516020018083805190602001908083835b60208310611c9f5780518252601f199092019160209182019101611c80565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611d835780601f10611d5857610100808354040283529160200191611d83565b820191906000526020600020905b815481529060010190602001808311611d6657829003601f168201915b50505050506121e0565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b83811015611dfc578181015183820152602001611de4565b50505050905090810190601f168015611e295780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015611e4957600080fd5b505af1158015611e5d573d6000803e3d6000fd5b50505050611e7484826001600160a01b03166122f1565b6001600160a01b03169392505050565b6000610ade83833061241f565b6000610ade838361247a565b5490565b6000610ade8383612492565b6000610ade8383612558565b600061086784846001600160a01b0385166125a2565b81546000908210611f115760405162461bcd60e51b815260040180806020018281038252602281526020018061287d6022913960400191505060405180910390fd5b826000018281548110611f2057fe5b9060005260206000200154905092915050565b815460009081908310611f775760405162461bcd60e51b81526004018080602001828103825260228152602001806129d26022913960400191505060405180910390fd5b6000846000018481548110611f8857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816120495760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561200e578181015183820152602001611ff6565b50505050905090810190601f16801561203b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061205c57fe5b9060005260206000209060020201600101549150509392505050565b600061208c846001600160a01b0316612639565b61209857506001611835565b60606121a6630a85bd0160e11b6120ad61171c565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156121145781810151838201526020016120fc565b50505050905090810190601f1680156121415780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161289f603291396001600160a01b0388169190612672565b905060008180602001905160208110156121bf57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008084471015612238576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b825161228b576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b038116610867576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b03821661234c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6123558161170f565b156123a7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6123b360008383610a3f565b6001600160a01b03821660009081526001602052604090206123d59082611ead565b506123e260028284611eb9565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561254e57835460001980830191908101906000908790839081106124c557fe5b90600052602060002001549050808760000184815481106124e257fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061251257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610ae1565b6000915050610ae1565b6000612564838361247a565b61259a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ae1565b506000610ae1565b60008281526001840160205260408120548061260757505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561086a565b8285600001600183038154811061261a57fe5b906000526020600020906002020160010181905550600091505061086a565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611835575050151592915050565b60606108678484600085606061268785612639565b6126d8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127175780518252601f1990920191602091820191016126f8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612779576040519150601f19603f3d011682016040523d82523d6000602084013e61277e565b606091505b509150915081156127925791506118359050565b8051156127a25780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561200e578181015183820152602001611ff6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061282a57805160ff1916838001178555612857565b82800160010185558215612857579182015b8281111561285757825182559160200191906001019061283c565b50612863929150612867565b5090565b5b80821115612863576000815560010161286856fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212208b478a3331e4a4b3629bb944a69031fba79bc4b1e76c3036a7a239b2ca0aac0e64736f6c634300060c0033608060405234801561001057600080fd5b50610803806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146101ca578063b55e75af146101d2578063f199413c146101da578063f62d1888146101fd57610088565b80633121db1c1461008d578063584feb3a1461010f5780637b1039991461018c57806387639c68146101b0575b600080fd5b61010d600480360360408110156100a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506102a3565b005b610117610346565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101946103d3565b604080516001600160a01b039092168252519081900360200190f35b6101b86103e2565b60408051918252519081900360200190f35b6101946103e8565b6101b8610465565b61010d600480360360408110156101f057600080fd5b508035906020013561046b565b61010d6004803603602081101561021357600080fd5b81019060208101813564010000000081111561022e57600080fd5b82018360208201111561024057600080fd5b8035906020019184600183028401116401000000008311171561026257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061052f945050505050565b336102ac6103e8565b6001600160a01b031614610301576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b6103418383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061055992505050565b505050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cb5780601f106103a0576101008083540402835291602001916103cb565b820191906000526020600020905b8154815290600101906020018083116103ae57829003601f168201915b505050505081565b6000546001600160a01b031681565b60035481565b60008054604080516331a9108f60e11b815230600482015290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561043457600080fd5b505afa158015610448573d6000803e3d6000fd5b505050506040513d602081101561045e57600080fd5b5051905090565b60025481565b336104746103e8565b6001600160a01b0316146104c9576040805162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b604482015290519081900360640190fd5b60648111156104d757600080fd5b60025460035460408051928352602083018590528281019190915260608201839052517f61f37ef3a6d587ce2d6be79492e1fac570f2745787015db7ed95ad4397b05c1e9181900360800190a1600291909155600355565b610538336106c4565b805161054b90600190602084019061073a565b5050601e6002556001600355565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156105bf57600080fd5b505afa1580156105d3573d6000803e3d6000fd5b505050506040513d60208110156105e957600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015610648578181015183820152602001610630565b50505050905090810190601f1680156106755780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561069457600080fd5b505af11580156106a8573d6000803e3d6000fd5b505050506040513d60208110156106be57600080fd5b50505050565b6000546001600160a01b031615610718576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061077b57805160ff19168380011785556107a8565b828001600101855582156107a8579182015b828111156107a857825182559160200191906001019061078d565b506107b49291506107b8565b5090565b5b808211156107b457600081556001016107b956fea264697066735822122098f3ba1be3fb376ad4dad5417cd3cb20d034c7a944c050c8323b4413b24a6f1564736f6c634300060c0033608060405234801561001057600080fd5b50610349806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f6100ef565b005b61002f6100ef565b61002f6004803603604081101561004f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561007a57600080fd5b82018360208201111561008c57600080fd5b803590602001918460018302840111640100000000831117156100ae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610109945050505050565b6100f7610107565b6101076101026101eb565b610210565b565b60006101136101eb565b6001600160a01b03161461012657600080fd5b61012f82610234565b8051156101e7576000826001600160a01b0316826040518082805190602001908083835b602083106101725780518252601f199092019160209182019101610153565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101d2576040519150601f19603f3d011682016040523d82523d6000602084013e6101d7565b606091505b50509050806101e557600080fd5b505b5050565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e80801561022f573d6000f35b3d6000fd5b61023d8161029c565b6102785760405162461bcd60e51b815260040180806020018281038252603b8152602001806102d9603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906102d057508115155b94935050505056fe43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220cdbb0f880f6bae03b83b0112d96e036096c0b7dccd11cf658a9770d11b49225264736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636fa59bbc1161010f578063c3c5a547116100a2578063e985e9c511610071578063e985e9c514610796578063ee97f7f3146107c4578063eee39111146107cc578063f2fde38b146107d4576101e5565b8063c3c5a547146106af578063c4d66de8146106d5578063c87b56dd146106fb578063e40238f414610718576101e5565b80638da5cb5b116100de5780638da5cb5b146105ad57806395d89b41146105b5578063a22cb465146105bd578063b88d4fde146105eb576101e5565b80636fa59bbc1461056f57806370a0823114610577578063715018a61461059d5780637c2b2e71146105a5576101e5565b806323b872dd116101875780634f6ccce7116101565780634f6ccce7146104bf57806355f804b3146104dc5780636352211e1461054a5780636c0360eb14610567576101e5565b806323b872dd146103a95780632f745c59146103df5780633121db1c1461040b57806342842e0e14610489576101e5565b8063081812fc116101c3578063081812fc1461033c578063095ea7b314610359578063158ef93e1461038757806318160ddd1461038f576101e5565b806301ffc9a7146101ea578063064a6c2a1461022557806306fdde03146102bf575b600080fd5b6102116004803603602081101561020057600080fd5b50356001600160e01b0319166107fa565b604080519115158252519081900360200190f35b6102a36004803603604081101561023b57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561026557600080fd5b82018360208201111561027757600080fd5b803590602001918460018302840111600160201b8311171561029857600080fd5b50909250905061081d565b604080516001600160a01b039092168252519081900360200190f35b6102c7610871565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103015781810151838201526020016102e9565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102a36004803603602081101561035257600080fd5b5035610907565b6103856004803603604081101561036f57600080fd5b506001600160a01b038135169060200135610969565b005b610211610a44565b610397610a54565b60408051918252519081900360200190f35b610385600480360360608110156103bf57600080fd5b506001600160a01b03813581169160208101359091169060400135610a65565b610397600480360360408110156103f557600080fd5b506001600160a01b038135169060200135610abc565b6103856004803603604081101561042157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561044b57600080fd5b82018360208201111561045d57600080fd5b803590602001918460018302840111600160201b8311171561047e57600080fd5b509092509050610ae7565b6103856004803603606081101561049f57600080fd5b506001600160a01b03813581169160208101359091169060400135610b7f565b610397600480360360208110156104d557600080fd5b5035610b9a565b610385600480360360208110156104f257600080fd5b810190602081018135600160201b81111561050c57600080fd5b82018360208201111561051e57600080fd5b803590602001918460018302840111600160201b8311171561053f57600080fd5b509092509050610bb0565b6102a36004803603602081101561056057600080fd5b5035610c4b565b6102c7610c73565b6102c7610cd4565b6103976004803603602081101561058d57600080fd5b50356001600160a01b0316610d62565b610385610dca565b6102a3610e6c565b6102a3610e7b565b6102c7610e8a565b610385600480360360408110156105d357600080fd5b506001600160a01b0381351690602001351515610eeb565b6103856004803603608081101561060157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561063b57600080fd5b82018360208201111561064d57600080fd5b803590602001918460018302840111600160201b8311171561066e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ff0945050505050565b610211600480360360208110156106c557600080fd5b50356001600160a01b031661104e565b610385600480360360208110156106eb57600080fd5b50356001600160a01b03166110fc565b6102c76004803603602081101561071157600080fd5b503561119c565b6102a36004803603604081101561072e57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561075857600080fd5b82018360208201111561076a57600080fd5b803590602001918460018302840111600160201b8311171561078b57600080fd5b509092509050611443565b610211600480360360408110156107ac57600080fd5b506001600160a01b038135811691602001351661148d565b6102a36114bb565b6103976114ca565b610385600480360360208110156107ea57600080fd5b50356001600160a01b03166114d0565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60006108678461086285858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115c992505050565b61166e565b90505b9392505050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b820191906000526020600020905b8154815290600101906020018083116108e057829003601f168201915b5050505050905090565b60006109128261170f565b61094d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806129f4602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061097482610c4b565b9050806001600160a01b0316836001600160a01b031614156109c75760405162461bcd60e51b8152600401808060200182810382526021815260200180612a986021913960400191505060405180910390fd5b806001600160a01b03166109d961171c565b6001600160a01b031614806109fa57506109fa816109f561171c565b61148d565b610a355760405162461bcd60e51b81526004018080602001828103825260388152602001806129476038913960400191505060405180910390fd5b610a3f8383611720565b505050565b600e54600160a01b900460ff1681565b6000610a60600261178e565b905090565b610a76610a7061171c565b82611799565b610ab15760405162461bcd60e51b8152600401808060200182810382526031815260200180612ab96031913960400191505060405180910390fd5b610a3f83838361183d565b6001600160a01b0382166000908152600160205260408120610ade9083611989565b90505b92915050565b610aef61171c565b600a546001600160a01b03908116911614610b3f576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b610a3f8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061199592505050565b610a3f83838360405180602001604052806000815250610ff0565b600080610ba8600284611afa565b509392505050565b610bb861171c565b600a546001600160a01b03908116911614610c08576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b610c4782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b1692505050565b5050565b6000610ae1826040518060600160405280602981526020016129a96029913960029190611b29565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b600c805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610d5a5780601f10610d2f57610100808354040283529160200191610d5a565b820191906000526020600020905b815481529060010190602001808311610d3d57829003601f168201915b505050505081565b60006001600160a01b038216610da95760405162461bcd60e51b815260040180806020018281038252602a81526020018061297f602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610ae19061178e565b610dd261171c565b600a546001600160a01b03908116911614610e22576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e546001600160a01b031681565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108fd5780601f106108d2576101008083540402835291602001916108fd565b610ef361171c565b6001600160a01b0316826001600160a01b03161415610f59576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000610f6661171c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610faa61171c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611001610ffb61171c565b83611799565b61103c5760405162461bcd60e51b8152600401808060200182810382526031815260200180612ab96031913960400191505060405180910390fd5b61104884848484611b36565b50505050565b6000611062826001600160a01b031661170f565b80610ae15750600e546001600160a01b031615801590610ae15750600e546040805163c3c5a54760e01b81526001600160a01b0385811660048301529151919092169163c3c5a547916024808301926020929190829003018186803b1580156110ca57600080fd5b505afa1580156110de573d6000803e3d6000fd5b505050506040513d60208110156110f457600080fd5b505192915050565b61110461171c565b600a546001600160a01b03908116911614611154576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b600e54600160a01b900460ff161561116b57600080fd5b600e8054600160a01b60ff60a01b19909116176001600160a01b0319166001600160a01b0392909216919091179055565b60606111a78261170f565b6111e25760405162461bcd60e51b815260040180806020018281038252602f815260200180612a69602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156112775780601f1061124c57610100808354040283529160200191611277565b820191906000526020600020905b81548152906001019060200180831161125a57829003601f168201915b5050600954939450505050600260001961010060018416150201909116046112a0579050610818565b8051156113715760098160405160200180838054600181600116156101000203166002900480156113085780601f106112e6576101008083540402835291820191611308565b820191906000526020600020905b8154815290600101906020018083116112f4575b5050825160208401908083835b602083106113345780518252601f199092019160209182019101611315565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610818565b600961137c84611b88565b60405160200180838054600181600116156101000203166002900480156113da5780601f106113b85761010080835404028352918201916113da565b820191906000526020600020905b8154815290600101906020018083116113c6575b5050825160208401908083835b602083106114065780518252601f1990920191602091820191016113e7565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b60006108678461148885858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115c992505050565b611c63565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031681565b600d5481565b6114d861171c565b600a546001600160a01b03908116911614611528576040805162461bcd60e51b81526020600482018190526024820152600080516020612a20833981519152604482015290519081900360640190fd5b6001600160a01b03811661156d5760405162461bcd60e51b81526004018080602001828103825260268152602001806128d16026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6060816040516024018080602001828103825283818151815260200191508051906020019080838360005b8381101561160c5781810151838201526020016115f4565b50505050905090810190601f1680156116395780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316631ec5a31160e31b1790529350505050919050565b6000806116fe83856040516020018083805190602001908083835b602083106116a85780518252601f199092019160209182019101611689565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600d54611e84565b6001600160a01b0316949350505050565b6000610ae1600283611e91565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061175582610c4b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610ae182611e9d565b60006117a48261170f565b6117df5760405162461bcd60e51b815260040180806020018281038252602c81526020018061291b602c913960400191505060405180910390fd5b60006117ea83610c4b565b9050806001600160a01b0316846001600160a01b031614806118255750836001600160a01b031661181a84610907565b6001600160a01b0316145b806118355750611835818561148d565b949350505050565b826001600160a01b031661185082610c4b565b6001600160a01b0316146118955760405162461bcd60e51b8152600401808060200182810382526029815260200180612a406029913960400191505060405180910390fd5b6001600160a01b0382166118da5760405162461bcd60e51b81526004018080602001828103825260248152602001806128f76024913960400191505060405180910390fd5b6118e5838383610a3f565b6118f0600082611720565b6001600160a01b03831660009081526001602052604090206119129082611ea1565b506001600160a01b03821660009081526001602052604090206119359082611ead565b5061194260028284611eb9565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610ade8383611ecf565b604080516302571be360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015290516001600160a01b038416916302571be3916024808301926020929190829003018186803b1580156119fb57600080fd5b505afa158015611a0f573d6000803e3d6000fd5b505050506040513d6020811015611a2557600080fd5b505160405163c47f002760e01b81526020600482018181528451602484015284516001600160a01b039094169363c47f002793869383926044909201919085019080838360005b83811015611a84578181015183820152602001611a6c565b50505050905090810190601f168015611ab15780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b505050506040513d602081101561104857600080fd5b6000808080611b098686611f33565b9097909650945050505050565b8051610c479060099060208401906127e9565b6000610867848484611fae565b611b4184848461183d565b611b4d84848484612078565b6110485760405162461bcd60e51b815260040180806020018281038252603281526020018061289f6032913960400191505060405180910390fd5b606081611bad57506040805180820190915260018152600360fc1b6020820152610818565b8160005b8115611bc557600101600a82049150611bb1565b60608167ffffffffffffffff81118015611bde57600080fd5b506040519080825280601f01601f191660200182016040528015611c09576020820181803683370190505b50859350905060001982015b8315611c5a57600a840660300160f81b82828060019003935081518110611c3857fe5b60200101906001600160f81b031916908160001a905350600a84049350611c15565b50949350505050565b600080611d8d600084866040516020018083805190602001908083835b60208310611c9f5780518252601f199092019160209182019101611c80565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b81526014019250505060405160208183030381529060405280519060200120600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611d835780601f10611d5857610100808354040283529160200191611d83565b820191906000526020600020905b815481529060010190602001808311611d6657829003601f168201915b50505050506121e0565b600b546040805163347d5e2560e21b81526001600160a01b0392831660048201818152602483019384528851604484015288519596509386169463d1f5789494919389939091606490910190602085019080838360005b83811015611dfc578181015183820152602001611de4565b50505050905090810190601f168015611e295780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015611e4957600080fd5b505af1158015611e5d573d6000803e3d6000fd5b50505050611e7484826001600160a01b03166122f1565b6001600160a01b03169392505050565b6000610ade83833061241f565b6000610ade838361247a565b5490565b6000610ade8383612492565b6000610ade8383612558565b600061086784846001600160a01b0385166125a2565b81546000908210611f115760405162461bcd60e51b815260040180806020018281038252602281526020018061287d6022913960400191505060405180910390fd5b826000018281548110611f2057fe5b9060005260206000200154905092915050565b815460009081908310611f775760405162461bcd60e51b81526004018080602001828103825260228152602001806129d26022913960400191505060405180910390fd5b6000846000018481548110611f8857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816120495760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561200e578181015183820152602001611ff6565b50505050905090810190601f16801561203b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061205c57fe5b9060005260206000209060020201600101549150509392505050565b600061208c846001600160a01b0316612639565b61209857506001611835565b60606121a6630a85bd0160e11b6120ad61171c565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156121145781810151838201526020016120fc565b50505050905090810190601f1680156121415780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161289f603291396001600160a01b0388169190612672565b905060008180602001905160208110156121bf57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008084471015612238576040805162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b825161228b576040805162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015290519081900360640190fd5b8383516020850187f590506001600160a01b038116610867576040805162461bcd60e51b815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f7900000000000000604482015290519081900360640190fd5b6001600160a01b03821661234c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6123558161170f565b156123a7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6123b360008383610a3f565b6001600160a01b03821660009081526001602052604090206123d59082611ead565b506123e260028284611eb9565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604080516001600160f81b031960208083019190915260609390931b6bffffffffffffffffffffffff191660218201526035810194909452605580850193909352805180850390930183526075909301909252805191012090565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561254e57835460001980830191908101906000908790839081106124c557fe5b90600052602060002001549050808760000184815481106124e257fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061251257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610ae1565b6000915050610ae1565b6000612564838361247a565b61259a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ae1565b506000610ae1565b60008281526001840160205260408120548061260757505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561086a565b8285600001600183038154811061261a57fe5b906000526020600020906002020160010181905550600091505061086a565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611835575050151592915050565b60606108678484600085606061268785612639565b6126d8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127175780518252601f1990920191602091820191016126f8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612779576040519150601f19603f3d011682016040523d82523d6000602084013e61277e565b606091505b509150915081156127925791506118359050565b8051156127a25780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561200e578181015183820152602001611ff6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061282a57805160ff1916838001178555612857565b82800160010185558215612857579182015b8281111561285757825182559160200191906001019061283c565b50612863929150612867565b5090565b5b80821115612863576000815560010161286856fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212208b478a3331e4a4b3629bb944a69031fba79bc4b1e76c3036a7a239b2ca0aac0e64736f6c634300060c0033", - "immutableReferences": {}, - "sourceMap": "1322:917:57:-:0;;;1391:125;;;;;;;;;;1433:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1850:247:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1850:247:50;;;;;;;751:40:83;-1:-1:-1;;;751:18:83;:40::i;:::-;3637:12:90;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;3659:16:90;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;3763:40:90;-1:-1:-1;;;3763:18:90;:40::i;:::-;3813:49;-1:-1:-1;;;3813:18:90;:49::i;:::-;3872:51;-1:-1:-1;;;3872:18:90;:51::i;:::-;-1:-1:-1;865:17:82;;-1:-1:-1;885:12:82;:10;:12::i;:::-;907:6;:18;;-1:-1:-1;;;;;;907:18:82;-1:-1:-1;;;;;907:18:82;;;;;;;;940:43;;907:18;;-1:-1:-1;907:18:82;-1:-1:-1;;940:43:82;;-1:-1:-1;;940:43:82;-1:-1:-1;1959:6:50::1;:23:::0;;-1:-1:-1;;;;;;1959:23:50::1;-1:-1:-1::0;;;;;1959:23:50;::::1;;::::0;;2002:51:::1;::::0;::::1;;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;2002:51:50;;;;;;;::::1;::::0;;::::1;;;::::0;1986:67;;::::1;::::0;:9:::1;::::0;2002:51:::1;::::0;;;::::1;::::0;1986:67:::1;:::i;:::-;;2083:9;2073:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;2073:20:50::1;::::0;;;;::::1;::::0;;2057:13:::1;:36:::0;-1:-1:-1;1322:917:57;;-1:-1:-1;;;;1322:917:57;1482:198:83;-1:-1:-1;;;;;;1565:25:83;;;;;1557:66;;;;;-1:-1:-1;;;1557:66:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1633:33:83;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1633:40:83;1669:4;1633:40;;;1482:198::o;590:104:80:-;677:10;590:104;:::o;1322:917:57:-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1322:917:57;;;-1:-1:-1;1322:917:57;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "1322:917:57:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;948:140:83;;;;;;;;;;;;;;;;-1:-1:-1;948:140:83;-1:-1:-1;;;;;;948:140:83;;:::i;:::-;;;;;;;;;;;;;;;;;;1992:245:57;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1992:245:57;;;;;;;;;;;;;;;-1:-1:-1;;;1992:245:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1992:245:57;;;;;;;;;;-1:-1:-1;1992:245:57;;-1:-1:-1;1992:245:57;-1:-1:-1;1992:245:57;:::i;:::-;;;;-1:-1:-1;;;;;1992:245:57;;;;;;;;;;;;;;4486:90:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7093:209;;;;;;;;;;;;;;;;-1:-1:-1;7093:209:90;;:::i;6651:381::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6651:381:90;;;;;;;;:::i;:::-;;1818:28:50;;;:::i;6161:200:90:-;;;:::i;:::-;;;;;;;;;;;;;;;;7941:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7941:300:90;;;;;;;;;;;;;;;;;:::i;5938:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5938:152:90;;;;;;;;:::i;2964:112:50:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2964:112:50;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2964:112:50;;;;;;;;;;-1:-1:-1;2964:112:50;;-1:-1:-1;2964:112:50;-1:-1:-1;2964:112:50;:::i;8307:149:90:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8307:149:90;;;;;;;;;;;;;;;;;:::i;6433:161::-;;;;;;;;;;;;;;;;-1:-1:-1;6433:161:90;;:::i;3079:98:50:-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3079:98:50;;;;;;;;;;-1:-1:-1;3079:98:50;;-1:-1:-1;3079:98:50;-1:-1:-1;3079:98:50;:::i;4257:167:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4257:167:90;;:::i;5772:87::-;;;:::i;1728:26:50:-;;;:::i;3989:211:90:-;;;;;;;;;;;;;;;;-1:-1:-1;3989:211:90;-1:-1:-1;;;;;3989:211:90;;:::i;1689:145:82:-;;;:::i;1790:25:50:-;;;:::i;1066:77:82:-;;;:::i;4640:94:90:-;;;:::i;7369:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7369:290:90;;;;;;;;;;:::i;8522:282::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8522:282:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8522:282:90;;-1:-1:-1;8522:282:90;;-1:-1:-1;;;;;8522:282:90:i;3197:187:50:-;;;;;;;;;;;;;;;;-1:-1:-1;3197:187:50;-1:-1:-1;;;;;3197:187:50;;:::i;2100:151::-;;;;;;;;;;;;;;;;-1:-1:-1;2100:151:50;-1:-1:-1;;;;;2100:151:50;;:::i;4800:740:90:-;;;;;;;;;;;;;;;;-1:-1:-1;4800:740:90;;:::i;1751:238:57:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1751:238:57;;;;;;;;;;;;;;;-1:-1:-1;;;1751:238:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1751:238:57;;;;;;;;;;-1:-1:-1;1751:238:57;;-1:-1:-1;1751:238:57;-1:-1:-1;1751:238:57;:::i;7725:154:90:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7725:154:90;;;;;;;;;;:::i;1702:23:50:-;;;:::i;1757:30::-;;;:::i;1983:240:82:-;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:82;-1:-1:-1;;;;;1983:240:82;;:::i;948:140:83:-;-1:-1:-1;;;;;;1048:33:83;;1025:4;1048:33;;;;;;;;;;;;;948:140;;;;:::o;1992:245:57:-;2124:10;2159:73;2172:16;2190:41;2208:22;;2190:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2190:17:57;;-1:-1:-1;;;2190:41:57:i;:::-;2159:12;:73::i;:::-;2141:92;;1992:245;;;;;;:::o;4486:90:90:-;4564:5;4557:12;;;;;;;;-1:-1:-1;;4557:12:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4532:13;;4557:12;;4564:5;;4557:12;;4564:5;4557:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4486:90;:::o;7093:209::-;7161:7;7188:16;7196:7;7188;:16::i;:::-;7180:73;;;;-1:-1:-1;;;7180:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7271:24:90;;;;:15;:24;;;;;;-1:-1:-1;;;;;7271:24:90;;7093:209::o;6651:381::-;6731:13;6747:16;6755:7;6747;:16::i;:::-;6731:32;;6787:5;-1:-1:-1;;;;;6781:11:90;:2;-1:-1:-1;;;;;6781:11:90;;;6773:57;;;;-1:-1:-1;;;6773:57:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6865:5;-1:-1:-1;;;;;6849:21:90;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6849:21:90;;:62;;;;6874:37;6891:5;6898:12;:10;:12::i;:::-;6874:16;:37::i;:::-;6841:152;;;;-1:-1:-1;;;6841:152:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7004:21;7013:2;7017:7;7004:8;:21::i;:::-;6651:381;;;:::o;1818:28:50:-;;;-1:-1:-1;;;1818:28:50;;;;;:::o;6161:200:90:-;6214:7;6333:21;:12;:19;:21::i;:::-;6326:28;;6161:200;:::o;7941:300::-;8100:41;8119:12;:10;:12::i;:::-;8133:7;8100:18;:41::i;:::-;8092:103;;;;-1:-1:-1;;;8092:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8206:28;8216:4;8222:2;8226:7;8206:9;:28::i;5938:152::-;-1:-1:-1;;;;;6053:20:90;;6027:7;6053:20;;;:13;:20;;;;;:30;;6077:5;6053:23;:30::i;:::-;6046:37;;5938:152;;;;;:::o;2964:112:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3045:27:50::1;3059:4;3066:5;;3045:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3045:8:50::1;::::0;-1:-1:-1;;;3045:27:50:i:1;8307:149:90:-:0;8410:39;8427:4;8433:2;8437:7;8410:39;;;;;;;;;;;;:16;:39::i;6433:161::-;6500:7;;6541:22;:12;6557:5;6541:15;:22::i;:::-;-1:-1:-1;6519:44:90;6433:161;-1:-1:-1;;;6433:161:90:o;3079:98:50:-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;3152:21:50::1;3164:8;;3152:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;3152:11:50::1;::::0;-1:-1:-1;;;3152:21:50:i:1;:::-;3079:98:::0;;:::o;4257:167:90:-;4321:7;4347:70;4364:7;4347:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;5772:87::-;5844:8;5837:15;;;;;;;;-1:-1:-1;;5837:15:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5812:13;;5837:15;;5844:8;;5837:15;;5844:8;5837:15;;;;;;;;;;;;;;;;;;;;;;;;1728:26:50;;;;;;;;;;;;;;;-1:-1:-1;;1728:26:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3989:211:90:-;4053:7;-1:-1:-1;;;;;4080:19:90;;4072:74;;;;-1:-1:-1;;;4072:74:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4164:20:90;;;;;;:13;:20;;;;;:29;;:27;:29::i;1689:145:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;1779:6:::1;::::0;1758:40:::1;::::0;1795:1:::1;::::0;-1:-1:-1;;;;;1779:6:82::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1808:6;:19:::0;;-1:-1:-1;;;;;;1808:19:82::1;::::0;;1689:145::o;1790:25:50:-;;;-1:-1:-1;;;;;1790:25:50;;:::o;1066:77:82:-;1130:6;;-1:-1:-1;;;;;1130:6:82;1066:77;:::o;4640:94:90:-;4720:7;4713:14;;;;;;;;-1:-1:-1;;4713:14:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4688:13;;4713:14;;4720:7;;4713:14;;4720:7;4713:14;;;;;;;;;;;;;;;;;;;;;;;;7369:290;7483:12;:10;:12::i;:::-;-1:-1:-1;;;;;7471:24:90;:8;-1:-1:-1;;;;;7471:24:90;;;7463:62;;;;;-1:-1:-1;;;7463:62:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;7581:8;7536:18;:32;7555:12;:10;:12::i;:::-;-1:-1:-1;;;;;7536:32:90;;;;;;;;;;;;;;;;;-1:-1:-1;7536:32:90;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7536:53:90;;;;;;;;;;;7619:12;:10;:12::i;:::-;-1:-1:-1;;;;;7604:48:90;;7643:8;7604:48;;;;;;;;;;;;;;;;;;;;7369:290;;:::o;8522:282::-;8653:41;8672:12;:10;:12::i;:::-;8686:7;8653:18;:41::i;:::-;8645:103;;;;-1:-1:-1;;;8645:103:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:39;8772:4;8778:2;8782:7;8791:5;8758:13;:39::i;:::-;8522:282;;;;:::o;3197:187:50:-;3268:4;3286:24;3302:6;-1:-1:-1;;;;;3294:15:50;3286:7;:24::i;:::-;:94;;;-1:-1:-1;3323:8:50;;-1:-1:-1;;;;;3323:8:50;3315:31;;;;:64;;-1:-1:-1;3350:8:50;;:29;;;-1:-1:-1;;;3350:29:50;;-1:-1:-1;;;;;3350:29:50;;;;;;;;;:8;;;;;:21;;:29;;;;;;;;;;;;;;:8;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3350:29:50;;3197:187;-1:-1:-1;;3197:187:50:o;2100:151::-;1280:12:82;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;2175:11:50::1;::::0;-1:-1:-1;;;2175:11:50;::::1;;;2174:12;2166:21;;;::::0;::::1;;2191:11;:18:::0;;-1:-1:-1;;;;;;;2191:18:50;;::::1;;-1:-1:-1::0;;;;;;2213:34:50::1;-1:-1:-1::0;;;;;2213:34:50;;;::::1;::::0;;;::::1;::::0;;2100:151::o;4800:740:90:-;4865:13;4898:16;4906:7;4898;:16::i;:::-;4890:76;;;;-1:-1:-1;;;4890:76:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5003:19;;;;:10;:19;;;;;;;;;4977:45;;;;;;-1:-1:-1;;4977:45:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5003:19;4977:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5101:8:90;5095:22;4977:45;;-1:-1:-1;;;;5095:22:90;-1:-1:-1;;5095:22:90;;;;;;;;;;;5091:74;;5145:9;-1:-1:-1;5138:16:90;;5091:74;5267:23;;:27;5263:110;;5341:8;5351:9;5324:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5324:37:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5310:52;;;;;5263:110;5503:8;5513:18;:7;:16;:18::i;:::-;5486:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5486:46:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5472:61;;;4800:740;;;:::o;1751:238:57:-;1877:10;1912:72;1924:16;1942:41;1960:22;;1942:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1942:17:57;;-1:-1:-1;;;1942:41:57:i;:::-;1912:11;:72::i;7725:154:90:-;-1:-1:-1;;;;;7837:25:90;;;7814:4;7837:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7725:154::o;1702:23:50:-;;;-1:-1:-1;;;;;1702:23:50;;:::o;1757:30::-;;;;:::o;1983:240:82:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:82;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:82;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1262:67:82;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:82;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:82::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:82;;::::1;::::0;2172:6:::1;::::0;2151:38:::1;::::0;2172:6:::1;::::0;2151:38:::1;2199:6;:17:::0;;-1:-1:-1;;;;;;2199:17:82::1;-1:-1:-1::0;;;;;2199:17:82;;;::::1;::::0;;;::::1;::::0;;1983:240::o;1547:201:57:-;1639:12;1718:22;1665:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1665:79:57;;;-1:-1:-1;;1665:79:57;;;;;;;;;;;;;;-1:-1:-1;;;;;1665:79:57;-1:-1:-1;;;1665:79:57;;;;-1:-1:-1;;;;1547:201:57;;;:::o;2717:222:50:-;2799:7;2813:13;2829:81;2879:5;2886:6;2862:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2862:31:50;;;;;;;;;;;;;;;;;;;;;;;2852:42;;;;;;2896:13;;2829:22;:81::i;:::-;-1:-1:-1;;;;;2921:14:50;;2717:222;-1:-1:-1;;;;2717:222:50:o;10237:117:90:-;10294:4;10317:30;:12;10339:7;10317:21;:30::i;590:104:80:-;677:10;590:104;:::o;15893:155:90:-;15958:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15958:29:90;-1:-1:-1;;;;;15958:29:90;;;;;;;;:24;;16011:16;15958:24;16011:7;:16::i;:::-;-1:-1:-1;;;;;16002:39:90;;;;;;;;;;;15893:155;;:::o;7023:121:99:-;7092:7;7118:19;7126:3;7118:7;:19::i;10512:329:90:-;10597:4;10621:16;10629:7;10621;:16::i;:::-;10613:73;;;;-1:-1:-1;;;10613:73:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10696:13;10712:16;10720:7;10712;:16::i;:::-;10696:32;;10757:5;-1:-1:-1;;;;;10746:16:90;:7;-1:-1:-1;;;;;10746:16:90;;:51;;;;10790:7;-1:-1:-1;;;;;10766:31:90;:20;10778:7;10766:11;:20::i;:::-;-1:-1:-1;;;;;10766:31:90;;10746:51;:87;;;;10801:32;10818:5;10825:7;10801:16;:32::i;:::-;10738:96;10512:329;-1:-1:-1;;;;10512:329:90:o;13506:559::-;13623:4;-1:-1:-1;;;;;13603:24:90;:16;13611:7;13603;:16::i;:::-;-1:-1:-1;;;;;13603:24:90;;13595:78;;;;-1:-1:-1;;;13595:78:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13691:16:90;;13683:65;;;;-1:-1:-1;;;13683:65:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13759:39;13780:4;13786:2;13790:7;13759:20;:39::i;:::-;13860:29;13877:1;13881:7;13860:8;:29::i;:::-;-1:-1:-1;;;;;13900:19:90;;;;;;:13;:19;;;;;:35;;13927:7;13900:26;:35::i;:::-;-1:-1:-1;;;;;;13945:17:90;;;;;;:13;:17;;;;;:30;;13967:7;13945:21;:30::i;:::-;-1:-1:-1;13986:29:90;:12;14003:7;14012:2;13986:16;:29::i;:::-;;14050:7;14046:2;-1:-1:-1;;;;;14031:27:90;14040:4;-1:-1:-1;;;;;14031:27:90;;;;;;;;;;;13506:559;;;:::o;7649:135:100:-;7720:7;7754:22;7758:3;7770:5;7754:3;:22::i;316:128:67:-;397:28;;;-1:-1:-1;;;397:28:67;;246:66;397:28;;;;;;-1:-1:-1;;;;;397:9:67;;;;;:28;;;;;;;;;;;;;;:9;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:28:67;379:61;;-1:-1:-1;;;379:61:67;;397:28;379:61;;;;;;;;;;;;;;-1:-1:-1;;;;;379:55:67;;;;;;435:4;;379:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7472:224:99;7552:7;;;;7611:22;7615:3;7627:5;7611:3;:22::i;:::-;7580:53;;;;-1:-1:-1;7472:224:99;-1:-1:-1;;;;;7472:224:99:o;14647:98:90:-;14719:19;;;;:8;;:19;;;;;:::i;8115:202:99:-;8222:7;8264:44;8269:3;8289;8295:12;8264:4;:44::i;9665:269:90:-;9778:28;9788:4;9794:2;9798:7;9778:9;:28::i;:::-;9824:48;9847:4;9853:2;9857:7;9866:5;9824:22;:48::i;:::-;9816:111;;;;-1:-1:-1;;;9816:111:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202:723:101;258:13;475:10;471:51;;-1:-1:-1;501:10:101;;;;;;;;;;;;-1:-1:-1;;;501:10:101;;;;;;471:51;546:5;531:12;585:75;592:9;;585:75;;617:8;;647:2;639:10;;;;585:75;;;669:19;701:6;691:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;691:17:101;-1:-1:-1;761:5:101;;-1:-1:-1;669:39:101;-1:-1:-1;;;734:10:101;;776:112;783:9;;776:112;;849:2;842:4;:9;837:2;:14;826:27;;808:6;815:7;;;;;;;808:15;;;;;;;;;;;:45;-1:-1:-1;;;;;808:45:101;;;;;;;;-1:-1:-1;875:2:101;867:10;;;;776:112;;;-1:-1:-1;911:6:101;202:723;-1:-1:-1;;;;202:723:101:o;2269:445:50:-;2345:7;2385:13;2401:72;2416:1;2446:5;2453:6;2429:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2429:31:50;;;;;;;;;;;;;;;;;;;;;;;2419:42;;;;;;2463:9;2401:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:14;:72::i;:::-;2608:6;;2548:74;;;-1:-1:-1;;;2548:74:50;;-1:-1:-1;;;;;2608:6:50;;;2548:74;;;;;;;;;;;;;;;;;;;;2385:88;;-1:-1:-1;2548:59:50;;;;;;2608:6;;2616:5;;2548:74;;;;;;;;;;;;;;2608:6;2548:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2656:29;2662:6;2678:5;-1:-1:-1;;;;;2670:14:50;2656:5;:29::i;:::-;-1:-1:-1;;;;;2696:14:50;;2269:445;-1:-1:-1;;;2269:445:50:o;1752:165:98:-;1835:7;1861:49;1876:4;1882:12;1904:4;1861:14;:49::i;6791:149:99:-;6875:4;6898:35;6908:3;6928;6898:9;:35::i;4483:108::-;4565:19;;4483:108::o;6764:135:100:-;6834:4;6857:35;6865:3;6885:5;6857:7;:35::i;6467:129::-;6534:4;6557:32;6562:3;6582:5;6557:4;:32::i;6239:174:99:-;6328:4;6351:55;6356:3;6376;-1:-1:-1;;;;;6390:14:99;;6351:4;:55::i;4423:201:100:-;4517:18;;4490:7;;4517:26;-1:-1:-1;4509:73:100;;;;-1:-1:-1;;;4509:73:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:3;:11;;4611:5;4599:18;;;;;;;;;;;;;;;;4592:25;;4423:201;;;;:::o;4934:274:99:-;5037:19;;5001:7;;;;5037:27;-1:-1:-1;5029:74:99;;;;-1:-1:-1;;;5029:74:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:22;5139:3;:12;;5152:5;5139:19;;;;;;;;;;;;;;;;;;5114:44;;5176:5;:10;;;5188:5;:12;;;5168:33;;;;;4934:274;;;;;:::o;5615:315::-;5709:7;5747:17;;;:12;;;:17;;;;;;5797:12;5782:13;5774:36;;;;-1:-1:-1;;;5774:36:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5863:3;:12;;5887:1;5876:8;:12;5863:26;;;;;;;;;;;;;;;;;;:33;;;5856:40;;;5615:315;;;;;:::o;15298:589:90:-;15418:4;15443:15;:2;-1:-1:-1;;;;;15443:13:90;;:15::i;:::-;15438:58;;-1:-1:-1;15481:4:90;15474:11;;15438:58;15505:23;15531:246;-1:-1:-1;;;15642:12:90;:10;:12::i;:::-;15668:4;15686:7;15707:5;15547:175;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;-1:-1:-1;;;;;15547:175:90;;;;;;;;;;;15531:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15531:15:90;;;:246;:15;:246::i;:::-;15505:272;;15787:13;15814:10;15803:32;;;;;;;;;;;;;;;-1:-1:-1;15803:32:90;-1:-1:-1;;;;;;15853:26:90;-1:-1:-1;;;15853:26:90;;-1:-1:-1;;;15298:589:90;;;;;;:::o;1013:535:98:-;1100:7;1119:12;1174:6;1149:21;:31;;1141:73;;;;;-1:-1:-1;;;1141:73:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;1232:15;;1224:65;;;;;-1:-1:-1;;;1224:65:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:4;1429:8;1423:15;1416:4;1406:8;1402:19;1394:6;1386:59;1378:67;-1:-1:-1;;;;;;1472:18:98;;1464:56;;;;;-1:-1:-1;;;1464:56:98;;;;;;;;;;;;;;;;;;;;;;;;;;;12070:393:90;-1:-1:-1;;;;;12149:16:90;;12141:61;;;;;-1:-1:-1;;;12141:61:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12221:16;12229:7;12221;:16::i;:::-;12220:17;12212:58;;;;;-1:-1:-1;;;12212:58:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;12281:45;12310:1;12314:2;12318:7;12281:20;:45::i;:::-;-1:-1:-1;;;;;12337:17:90;;;;;;:13;:17;;;;;:30;;12359:7;12337:21;:30::i;:::-;-1:-1:-1;12378:29:90;:12;12395:7;12404:2;12378:16;:29::i;:::-;-1:-1:-1;12423:33:90;;12448:7;;-1:-1:-1;;;;;12423:33:90;;;12440:1;;12423:33;;12440:1;;12423:33;12070:393;;:::o;2160:276:98:-;2319:60;;;-1:-1:-1;;;;;;2319:60:98;;;;;;;;;;;;;-1:-1:-1;;2319:60:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2296:93;;;;;;2160:276::o;4270:123:99:-;4341:4;4364:17;;;:12;;;;;:17;;;;;;:22;;;4270:123::o;2183:1512:100:-;2249:4;2386:19;;;:12;;;:19;;;;;;2420:15;;2416:1273;;2849:18;;-1:-1:-1;;2801:14:100;;;;2849:22;;;;2777:21;;2849:3;;:22;;3131;;;;;;;;;;;;;;3111:42;;3274:9;3245:3;:11;;3257:13;3245:26;;;;;;;;;;;;;;;;;;;:38;;;;3349:23;;;3391:1;3349:12;;;:23;;;;;;3375:17;;;3349:43;;3498:17;;3349:3;;3498:17;;;;;;;;;;;;;;;;;;;;;;3590:3;:12;;:19;3603:5;3590:19;;;;;;;;;;;3583:26;;;3631:4;3624:11;;;;;;;;2416:1273;3673:5;3666:12;;;;;1611:404;1674:4;1695:21;1705:3;1710:5;1695:9;:21::i;:::-;1690:319;;-1:-1:-1;1732:23:100;;;;;;;;:11;:23;;;;;;;;;;;;;1912:18;;1890:19;;;:12;;;:19;;;;;;:40;;;;1944:11;;1690:319;-1:-1:-1;1993:5:100;1986:12;;1828:678:99;1904:4;2037:17;;;:12;;;:17;;;;;;2069:13;2065:435;;-1:-1:-1;;2153:38:99;;;;;;;;;;;;;;;;;;2135:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2347:19;;2327:17;;;:12;;;:17;;;;;;;:39;2380:11;;2065:435;2458:5;2422:3;:12;;2446:1;2435:8;:12;2422:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2484:5;2477:12;;;;;718:610:95;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:95;;;1270:51;-1:-1:-1;;718:610:95:o;3770:194::-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;5247;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:95;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5443:36:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:95;;-1:-1:-1;5516:17:95;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:95;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;", - "source": "// SPDX-License-Identifier: Apache-2.0\n\n/******************************************************************************\n * Copyright 2020 IEXEC BLOCKCHAIN TECH *\n * *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); *\n * you may not use this file except in compliance with the License. *\n * You may obtain a copy of the License at *\n * *\n * http://www.apache.org/licenses/LICENSE-2.0 *\n * *\n * Unless required by applicable law or agreed to in writing, software *\n * distributed under the License is distributed on an \"AS IS\" BASIS, *\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *\n * See the License for the specific language governing permissions and *\n * limitations under the License. *\n ******************************************************************************/\n\npragma solidity ^0.6.0;\n\nimport '../Registry.sol';\nimport './Workerpool.sol';\n\n\ncontract WorkerpoolRegistry is Registry\n{\n\t/**\n\t * Constructor\n\t */\n\tconstructor()\n\tpublic Registry(\n\t\taddress(new Workerpool()),\n\t\t'iExec Workerpool Registry (V5)',\n\t\t'iExecWorkerpoolV5')\n\t{\n\t}\n\n\t/**\n\t * Pool creation\n\t */\n\tfunction encodeInitializer(\n\t\tstring memory _workerpoolDescription)\n\tinternal pure returns (bytes memory)\n\t{\n\t\treturn abi.encodeWithSignature(\n\t\t\t'initialize(string)'\n\t\t,\t_workerpoolDescription\n\t\t);\n\t}\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (Workerpool)\n\t{\n\t\treturn Workerpool(_mintCreate(_workerpoolOwner, encodeInitializer(_workerpoolDescription)));\n\t}\n\n\tfunction predictWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal view returns (Workerpool)\n\t{\n\t\treturn Workerpool(_mintPredict(_workerpoolOwner, encodeInitializer(_workerpoolDescription)));\n\t}\n}\n", - "sourcePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/WorkerpoolRegistry.sol", - "ast": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/WorkerpoolRegistry.sol", - "exportedSymbols": { - "WorkerpoolRegistry": [ - 10681 - ] - }, - "id": 10682, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10608, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:57" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10609, - "nodeType": "ImportDirective", - "scope": 10682, - "sourceUnit": 10145, - "src": "1267:25:57", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "file": "./Workerpool.sol", - "id": 10610, - "nodeType": "ImportDirective", - "scope": 10682, - "sourceUnit": 10607, - "src": "1293:26:57", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10611, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1353:8:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10612, - "nodeType": "InheritanceSpecifier", - "src": "1353:8:57" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10606, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10681, - "linearizedBaseContracts": [ - 10681, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "WorkerpoolRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10626, - "nodeType": "Block", - "src": "1512:4:57", - "statements": [] - }, - "documentation": { - "id": 10613, - "nodeType": "StructuredDocumentation", - "src": "1365:24:57", - "text": " Constructor" - }, - "id": 10627, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1433:14:57", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Workerpool_$10606_$", - "typeString": "function () returns (contract Workerpool)" - }, - "typeName": { - "contractScope": null, - "id": 10618, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "1437:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - } - }, - "id": 10620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1433:16:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - ], - "id": 10617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1425:7:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1425:7:57", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1425:25:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656320576f726b6572706f6f6c2052656769737472792028563529", - "id": 10622, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1454:32:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba5cb470918f8c7c0143edb5525432db3242608621e9c139ec8e475c5f001e5c", - "typeString": "literal_string \"iExec Workerpool Registry (V5)\"" - }, - "value": "iExec Workerpool Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "6945786563576f726b6572706f6f6c5635", - "id": 10623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1490:19:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_935bfc3bb81ca3e38c20eb5143fca20baaf727aceff2b180b02bd713e8d2b088", - "typeString": "literal_string \"iExecWorkerpoolV5\"" - }, - "value": "iExecWorkerpoolV5" - } - ], - "id": 10624, - "modifierName": { - "argumentTypes": null, - "id": 10615, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1413:8:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1413:97:57" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10614, - "nodeType": "ParameterList", - "parameters": [], - "src": "1402:2:57" - }, - "returnParameters": { - "id": 10625, - "nodeType": "ParameterList", - "parameters": [], - "src": "1512:0:57" - }, - "scope": 10681, - "src": "1391:125:57", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10641, - "nodeType": "Block", - "src": "1654:94:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e6729", - "id": 10637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1693:20:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f62d188800b594eda156757988de1a22139f89fbcb7bfc58e96e79b054b5cb47", - "typeString": "literal_string \"initialize(string)\"" - }, - "value": "initialize(string)" - }, - { - "argumentTypes": null, - "id": 10638, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10630, - "src": "1718:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f62d188800b594eda156757988de1a22139f89fbcb7bfc58e96e79b054b5cb47", - "typeString": "literal_string \"initialize(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 10635, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1665:3:57", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1665:23:57", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1665:79:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10634, - "id": 10640, - "nodeType": "Return", - "src": "1658:86:57" - } - ] - }, - "documentation": { - "id": 10628, - "nodeType": "StructuredDocumentation", - "src": "1519:26:57", - "text": " Pool creation" - }, - "id": 10642, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10630, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10642, - "src": "1577:36:57", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10629, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1573:41:57" - }, - "returnParameters": { - "id": 10634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10633, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10642, - "src": "1639:12:57", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10632, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1639:5:57", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1638:14:57" - }, - "scope": 10681, - "src": "1547:201:57", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10660, - "nodeType": "Block", - "src": "1890:99:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10653, - "name": "_workerpoolOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10644, - "src": "1924:16:57", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10655, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10646, - "src": "1960:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10654, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10642, - "src": "1942:17:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1942:41:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10652, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "1912:11:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1912:72:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10651, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10606, - "src": "1901:10:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10606_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 10658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1901:84:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "functionReturnParameters": 10650, - "id": 10659, - "nodeType": "Return", - "src": "1894:91:57" - } - ] - }, - "documentation": null, - "functionSelector": "e40238f4", - "id": 10661, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10647, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10644, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1780:33:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1780:7:57", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10646, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1817:39:57", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1817:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1776:81:57" - }, - "returnParameters": { - "id": 10650, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10649, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1877:10:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - }, - "typeName": { - "contractScope": null, - "id": 10648, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "1877:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1876:12:57" - }, - "scope": 10681, - "src": "1751:238:57", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10679, - "nodeType": "Block", - "src": "2137:100:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10672, - "name": "_workerpoolOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10663, - "src": "2172:16:57", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10674, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10665, - "src": "2208:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10673, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10642, - "src": "2190:17:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2190:41:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10671, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2159:12:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2159:73:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10670, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10606, - "src": "2148:10:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10606_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 10677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2148:85:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "functionReturnParameters": 10669, - "id": 10678, - "nodeType": "Return", - "src": "2141:92:57" - } - ] - }, - "documentation": null, - "functionSelector": "064a6c2a", - "id": 10680, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10663, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2022:33:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2022:7:57", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10665, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2059:39:57", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10664, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2059:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2018:81:57" - }, - "returnParameters": { - "id": 10669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10668, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2124:10:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - }, - "typeName": { - "contractScope": null, - "id": 10667, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "2124:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2123:12:57" - }, - "scope": 10681, - "src": "1992:245:57", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10682, - "src": "1322:917:57" - } - ], - "src": "1242:998:57" - }, - "legacyAST": { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/WorkerpoolRegistry.sol", - "exportedSymbols": { - "WorkerpoolRegistry": [ - 10681 - ] - }, - "id": 10682, - "license": "Apache-2.0", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 10608, - "literals": [ - "solidity", - "^", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1242:23:57" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/Registry.sol", - "file": "../Registry.sol", - "id": 10609, - "nodeType": "ImportDirective", - "scope": 10682, - "sourceUnit": 10145, - "src": "1267:25:57", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/amxx/Work/iExec/code/PoCo-dev/contracts/registries/workerpools/Workerpool.sol", - "file": "./Workerpool.sol", - "id": 10610, - "nodeType": "ImportDirective", - "scope": 10682, - "sourceUnit": 10607, - "src": "1293:26:57", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 10611, - "name": "Registry", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10144, - "src": "1353:8:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Registry_$10144", - "typeString": "contract Registry" - } - }, - "id": 10612, - "nodeType": "InheritanceSpecifier", - "src": "1353:8:57" - } - ], - "contractDependencies": [ - 9924, - 10144, - 10606, - 12870, - 13679, - 14071, - 14128, - 14140, - 16258, - 16374, - 16405, - 16432 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 10681, - "linearizedBaseContracts": [ - 10681, - 10144, - 14071, - 12870, - 16258, - 9924, - 16405, - 16432, - 16374, - 14128, - 14140, - 13679 - ], - "name": "WorkerpoolRegistry", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 10626, - "nodeType": "Block", - "src": "1512:4:57", - "statements": [] - }, - "documentation": { - "id": 10613, - "nodeType": "StructuredDocumentation", - "src": "1365:24:57", - "text": " Constructor" - }, - "id": 10627, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 10619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1433:14:57", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Workerpool_$10606_$", - "typeString": "function () returns (contract Workerpool)" - }, - "typeName": { - "contractScope": null, - "id": 10618, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "1437:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - } - }, - "id": 10620, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1433:16:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - ], - "id": 10617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1425:7:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 10616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1425:7:57", - "typeDescriptions": { - "typeIdentifier": null, - "typeString": null - } - } - }, - "id": 10621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1425:25:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "694578656320576f726b6572706f6f6c2052656769737472792028563529", - "id": 10622, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1454:32:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba5cb470918f8c7c0143edb5525432db3242608621e9c139ec8e475c5f001e5c", - "typeString": "literal_string \"iExec Workerpool Registry (V5)\"" - }, - "value": "iExec Workerpool Registry (V5)" - }, - { - "argumentTypes": null, - "hexValue": "6945786563576f726b6572706f6f6c5635", - "id": 10623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1490:19:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_935bfc3bb81ca3e38c20eb5143fca20baaf727aceff2b180b02bd713e8d2b088", - "typeString": "literal_string \"iExecWorkerpoolV5\"" - }, - "value": "iExecWorkerpoolV5" - } - ], - "id": 10624, - "modifierName": { - "argumentTypes": null, - "id": 10615, - "name": "Registry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10144, - "src": "1413:8:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Registry_$10144_$", - "typeString": "type(contract Registry)" - } - }, - "nodeType": "ModifierInvocation", - "src": "1413:97:57" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10614, - "nodeType": "ParameterList", - "parameters": [], - "src": "1402:2:57" - }, - "returnParameters": { - "id": 10625, - "nodeType": "ParameterList", - "parameters": [], - "src": "1512:0:57" - }, - "scope": 10681, - "src": "1391:125:57", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 10641, - "nodeType": "Block", - "src": "1654:94:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "696e697469616c697a6528737472696e6729", - "id": 10637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1693:20:57", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f62d188800b594eda156757988de1a22139f89fbcb7bfc58e96e79b054b5cb47", - "typeString": "literal_string \"initialize(string)\"" - }, - "value": "initialize(string)" - }, - { - "argumentTypes": null, - "id": 10638, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10630, - "src": "1718:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f62d188800b594eda156757988de1a22139f89fbcb7bfc58e96e79b054b5cb47", - "typeString": "literal_string \"initialize(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "argumentTypes": null, - "id": 10635, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1665:3:57", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1665:23:57", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1665:79:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 10634, - "id": 10640, - "nodeType": "Return", - "src": "1658:86:57" - } - ] - }, - "documentation": { - "id": 10628, - "nodeType": "StructuredDocumentation", - "src": "1519:26:57", - "text": " Pool creation" - }, - "id": 10642, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "encodeInitializer", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10630, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10642, - "src": "1577:36:57", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10629, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1577:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1573:41:57" - }, - "returnParameters": { - "id": 10634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10633, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10642, - "src": "1639:12:57", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 10632, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1639:5:57", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1638:14:57" - }, - "scope": 10681, - "src": "1547:201:57", - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 10660, - "nodeType": "Block", - "src": "1890:99:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10653, - "name": "_workerpoolOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10644, - "src": "1924:16:57", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10655, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10646, - "src": "1960:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10654, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10642, - "src": "1942:17:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1942:41:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10652, - "name": "_mintCreate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10053, - "src": "1912:11:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) returns (uint256)" - } - }, - "id": 10657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1912:72:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10651, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10606, - "src": "1901:10:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10606_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 10658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1901:84:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "functionReturnParameters": 10650, - "id": 10659, - "nodeType": "Return", - "src": "1894:91:57" - } - ] - }, - "documentation": null, - "functionSelector": "e40238f4", - "id": 10661, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10647, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10644, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1780:33:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1780:7:57", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10646, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1817:39:57", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1817:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1776:81:57" - }, - "returnParameters": { - "id": 10650, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10649, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10661, - "src": "1877:10:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - }, - "typeName": { - "contractScope": null, - "id": 10648, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "1877:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1876:12:57" - }, - "scope": 10681, - "src": "1751:238:57", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "body": { - "id": 10679, - "nodeType": "Block", - "src": "2137:100:57", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10672, - "name": "_workerpoolOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10663, - "src": "2172:16:57", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 10674, - "name": "_workerpoolDescription", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10665, - "src": "2208:22:57", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 10673, - "name": "encodeInitializer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10642, - "src": "2190:17:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2190:41:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10671, - "name": "_mintPredict", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "2159:12:57", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes memory) view returns (uint256)" - } - }, - "id": 10676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2159:73:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 10670, - "name": "Workerpool", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10606, - "src": "2148:10:57", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Workerpool_$10606_$", - "typeString": "type(contract Workerpool)" - } - }, - "id": 10677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2148:85:57", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "functionReturnParameters": 10669, - "id": 10678, - "nodeType": "Return", - "src": "2141:92:57" - } - ] - }, - "documentation": null, - "functionSelector": "064a6c2a", - "id": 10680, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "predictWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 10666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10663, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2022:33:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2022:7:57", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 10665, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2059:39:57", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10664, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2059:6:57", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2018:81:57" - }, - "returnParameters": { - "id": 10669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10668, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 10680, - "src": "2124:10:57", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - }, - "typeName": { - "contractScope": null, - "id": 10667, - "name": "Workerpool", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 10606, - "src": "2124:10:57", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Workerpool_$10606", - "typeString": "contract Workerpool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2123:12:57" - }, - "scope": 10681, - "src": "1992:245:57", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 10682, - "src": "1322:917:57" - } - ], - "src": "1242:998:57" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": { - "1": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "3": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "4": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "5": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "42": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "133": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - }, - "134": { - "events": { - "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - }, - "links": {}, - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" - } - }, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:03:31.946Z", - "networkType": "ethereum", - "devdoc": { - "kind": "dev", - "methods": { - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "baseURI()": { - "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "supportsInterface(bytes4)": { - "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenByIndex(uint256)": { - "details": "See {IERC721Enumerable-tokenByIndex}." - }, - "tokenOfOwnerByIndex(address,uint256)": { - "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." - }, - "tokenURI(uint256)": { - "details": "See {IERC721Metadata-tokenURI}." - }, - "totalSupply()": { - "details": "See {IERC721Enumerable-totalSupply}." - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "constructor": "Constructor" - }, - "version": 1 - } -} diff --git a/build/contracts/WorkerpoolRegistryInterface.json b/build/contracts/WorkerpoolRegistryInterface.json deleted file mode 100644 index 3ac359884..000000000 --- a/build/contracts/WorkerpoolRegistryInterface.json +++ /dev/null @@ -1,5817 +0,0 @@ -{ - "contractName": "WorkerpoolRegistryInterface", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "workerpoolOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "workerpool", - "type": "address" - }, - { - "indexed": false, - "internalType": "string", - "name": "workerpoolDescription", - "type": "string" - } - ], - "name": "CreateWorkerpool", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_entry", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_index", - "type": "uint256" - } - ], - "name": "viewEntry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "viewCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_workerpoolOwner", - "type": "address" - }, - { - "internalType": "string", - "name": "_workerpoolDescription", - "type": "string" - } - ], - "name": "createWorkerpool", - "outputs": [ - { - "internalType": "contract WorkerpoolInterface", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpoolOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"workerpool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"workerpoolDescription\",\"type\":\"string\"}],\"name\":\"CreateWorkerpool\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_workerpoolOwner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_workerpoolDescription\",\"type\":\"string\"}],\"name\":\"createWorkerpool\",\"outputs\":[{\"internalType\":\"contract WorkerpoolInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_entry\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"viewCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"viewEntry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@iexec/interface/contracts/IexecRegistries.sol\":\"WorkerpoolRegistryInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@iexec/interface/contracts/IexecRegistries.sol\":{\"keccak256\":\"0xb39eef47d62d8751c5adfeaf169ce57b50c480788be8356289bc28b78bc24fde\",\"urls\":[\"bzz-raw://a86593f1ef9953ac0965aab4e764374580a899a7f7871ad66b432523171063a1\",\"dweb:/ipfs/QmcYZhHD45APoS1Ebi416DhXU3fiCzoFW2WSMux4AxhFqk\"]}},\"version\":1}", - "bytecode": "0x", - "deployedBytecode": "0x", - "immutableReferences": {}, - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity >0.5.0 <0.7.0;\n\n\ninterface AppInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_appName() external view returns (string memory);\n\tfunction m_appType() external view returns (string memory);\n\tfunction m_appMultiaddr() external view returns (bytes memory);\n\tfunction m_appChecksum() external view returns (bytes32);\n\tfunction m_appMREnclave() external view returns (bytes memory);\n}\n\ninterface DatasetInterface\n{\n\tfunction owner() external view returns (address);\n\tfunction m_datasetName() external view returns (string memory);\n\tfunction m_datasetMultiaddr() external view returns (bytes memory);\n\tfunction m_datasetChecksum() external view returns (bytes32);\n}\n\ninterface WorkerpoolInterface\n{\n\tevent PolicyUpdate(\n\t\tuint256 oldWorkerStakeRatioPolicy,\n\t\tuint256 newWorkerStakeRatioPolicy,\n\t\tuint256 oldSchedulerRewardRatioPolicy,\n\t\tuint256 newSchedulerRewardRatioPolicy);\n\n\tfunction owner() external view returns (address);\n\tfunction m_workerpoolDescription() external view returns (string memory);\n\tfunction m_workerStakeRatioPolicy() external view returns (uint256);\n\tfunction m_schedulerRewardRatioPolicy() external view returns (uint256);\n\n\tfunction changePolicy(\n\t\tuint256 _newWorkerStakeRatioPolicy,\n\t\tuint256 _newSchedulerRewardRatioPolicy)\n\texternal;\n}\n\ninterface AppRegistryInterface\n{\n\tevent CreateApp(address indexed appOwner, address app);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createApp(\n\t\taddress _appOwner,\n\t\tstring calldata _appName,\n\t\tstring calldata _appType,\n\t\tbytes calldata _appMultiaddr,\n\t\tbytes32 _appChecksum,\n\t\tbytes calldata _appMREnclave)\n\texternal returns (AppInterface);\n}\n\ninterface DatasetRegistryInterface\n{\n\tevent CreateDataset(address indexed datasetOwner, address dataset);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createDataset(\n\t\taddress _datasetOwner,\n\t\tstring calldata _datasetName,\n\t\tbytes calldata _datasetMultiaddr,\n\t\tbytes32 _datasetChecksum)\n\texternal returns (DatasetInterface);\n}\n\ninterface WorkerpoolRegistryInterface\n{\n\tevent CreateWorkerpool(address indexed workerpoolOwner, address indexed workerpool, string workerpoolDescription);\n\n\tfunction isRegistered(address _entry ) external view returns (bool);\n\tfunction viewEntry (address _owner, uint256 _index) external view returns (address);\n\tfunction viewCount (address _owner ) external view returns (uint256);\n\n\tfunction createWorkerpool(\n\t\taddress _workerpoolOwner,\n\t\tstring calldata _workerpoolDescription)\n\texternal returns (WorkerpoolInterface);\n}\n", - "sourcePath": "@iexec/interface/contracts/IexecRegistries.sol", - "ast": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "legacyAST": { - "absolutePath": "@iexec/interface/contracts/IexecRegistries.sol", - "exportedSymbols": { - "AppInterface": [ - 12312 - ], - "AppRegistryInterface": [ - 12418 - ], - "DatasetInterface": [ - 12333 - ], - "DatasetRegistryInterface": [ - 12461 - ], - "WorkerpoolInterface": [ - 12371 - ], - "WorkerpoolRegistryInterface": [ - 12502 - ] - }, - "id": 12503, - "license": null, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 12281, - "literals": [ - "solidity", - ">", - "0.5", - ".0", - "<", - "0.7", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:30:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12312, - "linearizedBaseContracts": [ - 12312 - ], - "name": "AppInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12286, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12282, - "nodeType": "ParameterList", - "parameters": [], - "src": "73:2:64" - }, - "returnParameters": { - "id": 12285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12284, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12286, - "src": "108:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "108:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "107:9:64" - }, - "scope": 12312, - "src": "59:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "358982a3", - "id": 12291, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12287, - "nodeType": "ParameterList", - "parameters": [], - "src": "137:2:64" - }, - "returnParameters": { - "id": 12290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12289, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12291, - "src": "168:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "168:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "167:15:64" - }, - "scope": 12312, - "src": "119:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f8c2ceb3", - "id": 12296, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appType", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12292, - "nodeType": "ParameterList", - "parameters": [], - "src": "203:2:64" - }, - "returnParameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12296, - "src": "234:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "234:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "233:15:64" - }, - "scope": 12312, - "src": "185:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "39e75d45", - "id": 12301, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12297, - "nodeType": "ParameterList", - "parameters": [], - "src": "274:2:64" - }, - "returnParameters": { - "id": 12300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12299, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12301, - "src": "300:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12298, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "300:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "299:15:64" - }, - "scope": 12312, - "src": "251:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "84aaf12e", - "id": 12306, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12302, - "nodeType": "ParameterList", - "parameters": [], - "src": "339:2:64" - }, - "returnParameters": { - "id": 12305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12304, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12306, - "src": "366:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12303, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "366:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "365:9:64" - }, - "scope": 12312, - "src": "317:58:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e30d26a8", - "id": 12311, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_appMREnclave", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12307, - "nodeType": "ParameterList", - "parameters": [], - "src": "400:2:64" - }, - "returnParameters": { - "id": 12310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12309, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12311, - "src": "426:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12308, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "426:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "425:15:64" - }, - "scope": 12312, - "src": "377:64:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "33:410:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12333, - "linearizedBaseContracts": [ - 12333 - ], - "name": "DatasetInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12317, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12313, - "nodeType": "ParameterList", - "parameters": [], - "src": "489:2:64" - }, - "returnParameters": { - "id": 12316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12317, - "src": "528:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12314, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "528:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "527:9:64" - }, - "scope": 12333, - "src": "475:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "0847c431", - "id": 12322, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetName", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [], - "src": "561:2:64" - }, - "returnParameters": { - "id": 12321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12320, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12322, - "src": "592:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "592:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "591:15:64" - }, - "scope": 12333, - "src": "539:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "a61ca6c5", - "id": 12327, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetMultiaddr", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12323, - "nodeType": "ParameterList", - "parameters": [], - "src": "636:2:64" - }, - "returnParameters": { - "id": 12326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12325, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12327, - "src": "662:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12324, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "662:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "661:15:64" - }, - "scope": 12333, - "src": "609:68:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "1ba99d7e", - "id": 12332, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_datasetChecksum", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12328, - "nodeType": "ParameterList", - "parameters": [], - "src": "705:2:64" - }, - "returnParameters": { - "id": 12331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12330, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12332, - "src": "732:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12329, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "732:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "731:9:64" - }, - "scope": 12333, - "src": "679:62:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "445:298:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12371, - "linearizedBaseContracts": [ - 12371 - ], - "name": "WorkerpoolInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12343, - "name": "PolicyUpdate", - "nodeType": "EventDefinition", - "parameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12335, - "indexed": false, - "mutability": "mutable", - "name": "oldWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "800:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12334, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12337, - "indexed": false, - "mutability": "mutable", - "name": "newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "837:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12336, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "837:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12339, - "indexed": false, - "mutability": "mutable", - "name": "oldSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "874:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12338, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "874:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12341, - "indexed": false, - "mutability": "mutable", - "name": "newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12343, - "src": "915:37:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "915:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "796:157:64" - }, - "src": "778:176:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "8da5cb5b", - "id": 12348, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12344, - "nodeType": "ParameterList", - "parameters": [], - "src": "971:2:64" - }, - "returnParameters": { - "id": 12347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12346, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12348, - "src": "1020:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1019:9:64" - }, - "scope": 12371, - "src": "957:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "584feb3a", - "id": 12353, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerpoolDescription", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12349, - "nodeType": "ParameterList", - "parameters": [], - "src": "1063:2:64" - }, - "returnParameters": { - "id": 12352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12351, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12353, - "src": "1094:13:64", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1094:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1093:15:64" - }, - "scope": 12371, - "src": "1031:78:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "b55e75af", - "id": 12358, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_workerStakeRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12354, - "nodeType": "ParameterList", - "parameters": [], - "src": "1144:2:64" - }, - "returnParameters": { - "id": 12357, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12356, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12358, - "src": "1174:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12355, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1174:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1173:9:64" - }, - "scope": 12371, - "src": "1111:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "87639c68", - "id": 12363, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "m_schedulerRewardRatioPolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12359, - "nodeType": "ParameterList", - "parameters": [], - "src": "1222:2:64" - }, - "returnParameters": { - "id": 12362, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12363, - "src": "1248:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1248:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1247:9:64" - }, - "scope": 12371, - "src": "1185:72:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "f199413c", - "id": 12370, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "changePolicy", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12365, - "mutability": "mutable", - "name": "_newWorkerStakeRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1285:34:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1285:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12367, - "mutability": "mutable", - "name": "_newSchedulerRewardRatioPolicy", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12370, - "src": "1323:38:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1281:81:64" - }, - "returnParameters": { - "id": 12369, - "nodeType": "ParameterList", - "parameters": [], - "src": "1372:0:64" - }, - "scope": 12371, - "src": "1260:113:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "745:630:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12418, - "linearizedBaseContracts": [ - 12418 - ], - "name": "AppRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12377, - "name": "CreateApp", - "nodeType": "EventDefinition", - "parameters": { - "id": 12376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12373, - "indexed": true, - "mutability": "mutable", - "name": "appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1427:24:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1427:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12375, - "indexed": false, - "mutability": "mutable", - "name": "app", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12377, - "src": "1453:11:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1453:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1426:39:64" - }, - "src": "1411:55:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12384, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12379, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1491:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1491:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1490:32:64" - }, - "returnParameters": { - "id": 12383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12384, - "src": "1546:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12381, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1546:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1545:6:64" - }, - "scope": 12418, - "src": "1469:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12393, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1576:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1576:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12388, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1592:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1592:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1575:32:64" - }, - "returnParameters": { - "id": 12392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12391, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12393, - "src": "1631:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1630:9:64" - }, - "scope": 12418, - "src": "1554:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12400, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12395, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1664:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1664:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1663:32:64" - }, - "returnParameters": { - "id": 12399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12398, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12400, - "src": "1719:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1719:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1718:9:64" - }, - "scope": 12418, - "src": "1642:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3f7868ff", - "id": 12417, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createApp", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12402, - "mutability": "mutable", - "name": "_appOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1753:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1753:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12404, - "mutability": "mutable", - "name": "_appName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1783:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1783:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12406, - "mutability": "mutable", - "name": "_appType", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1812:25:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1812:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12408, - "mutability": "mutable", - "name": "_appMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1841:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12407, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1841:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12410, - "mutability": "mutable", - "name": "_appChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1875:29:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12409, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1875:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12412, - "mutability": "mutable", - "name": "_appMREnclave", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1908:30:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12411, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1908:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1749:190:64" - }, - "returnParameters": { - "id": 12416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12415, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12417, - "src": "1959:12:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - }, - "typeName": { - "contractScope": null, - "id": 12414, - "name": "AppInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12312, - "src": "1959:12:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_AppInterface_$12312", - "typeString": "contract AppInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1958:14:64" - }, - "scope": 12418, - "src": "1731:242:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1377:598:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12461, - "linearizedBaseContracts": [ - 12461 - ], - "name": "DatasetRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12424, - "name": "CreateDataset", - "nodeType": "EventDefinition", - "parameters": { - "id": 12423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12420, - "indexed": true, - "mutability": "mutable", - "name": "datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2035:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12419, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12422, - "indexed": false, - "mutability": "mutable", - "name": "dataset", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12424, - "src": "2065:15:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2065:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2034:47:64" - }, - "src": "2015:67:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12431, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2107:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2106:32:64" - }, - "returnParameters": { - "id": 12430, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12429, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12431, - "src": "2162:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12428, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2162:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2161:6:64" - }, - "scope": 12461, - "src": "2085:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12440, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12436, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12433, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2192:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2192:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12435, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2208:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2191:32:64" - }, - "returnParameters": { - "id": 12439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12438, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12440, - "src": "2247:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2247:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2246:9:64" - }, - "scope": 12461, - "src": "2170:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12447, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12442, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2280:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2280:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2279:32:64" - }, - "returnParameters": { - "id": 12446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12445, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12447, - "src": "2335:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2335:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2334:9:64" - }, - "scope": 12461, - "src": "2258:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "3354bcdb", - "id": 12460, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createDataset", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "_datasetOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2373:30:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "_datasetName", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2407:29:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12450, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2407:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "_datasetMultiaddr", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2440:34:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 12452, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2440:5:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "_datasetChecksum", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2478:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 12454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2478:7:64", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2369:143:64" - }, - "returnParameters": { - "id": 12459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12458, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12460, - "src": "2532:16:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - }, - "typeName": { - "contractScope": null, - "id": 12457, - "name": "DatasetInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12333, - "src": "2532:16:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DatasetInterface_$12333", - "typeString": "contract DatasetInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:18:64" - }, - "scope": 12461, - "src": "2347:203:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "1977:575:64" - }, - { - "abstract": false, - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 12502, - "linearizedBaseContracts": [ - 12502 - ], - "name": "WorkerpoolRegistryInterface", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 12469, - "name": "CreateWorkerpool", - "nodeType": "EventDefinition", - "parameters": { - "id": 12468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12463, - "indexed": true, - "mutability": "mutable", - "name": "workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2618:31:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2618:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12465, - "indexed": true, - "mutability": "mutable", - "name": "workerpool", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2651:26:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2651:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12467, - "indexed": false, - "mutability": "mutable", - "name": "workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12469, - "src": "2679:28:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2617:91:64" - }, - "src": "2595:114:64" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c3c5a547", - "id": 12476, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isRegistered", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12471, - "mutability": "mutable", - "name": "_entry", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2734:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12470, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2734:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2733:32:64" - }, - "returnParameters": { - "id": 12475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12476, - "src": "2789:4:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12473, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2789:4:64", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2788:6:64" - }, - "scope": 12502, - "src": "2712:83:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "65a2c104", - "id": 12485, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewEntry", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12481, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2819:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2819:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12480, - "mutability": "mutable", - "name": "_index", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2835:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2835:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2818:32:64" - }, - "returnParameters": { - "id": 12484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12483, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12485, - "src": "2874:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2874:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2873:9:64" - }, - "scope": 12502, - "src": "2797:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "c0a8cae2", - "id": 12492, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "viewCount", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12487, - "mutability": "mutable", - "name": "_owner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2907:14:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2907:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2906:32:64" - }, - "returnParameters": { - "id": 12491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12490, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12492, - "src": "2962:7:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12489, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2962:7:64", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2961:9:64" - }, - "scope": 12502, - "src": "2885:86:64", - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "body": null, - "documentation": null, - "functionSelector": "e40238f4", - "id": 12501, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createWorkerpool", - "nodeType": "FunctionDefinition", - "overrides": null, - "parameters": { - "id": 12497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12494, - "mutability": "mutable", - "name": "_workerpoolOwner", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3003:33:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3003:7:64", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 12496, - "mutability": "mutable", - "name": "_workerpoolDescription", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3040:39:64", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3040:6:64", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2999:81:64" - }, - "returnParameters": { - "id": 12500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "", - "nodeType": "VariableDeclaration", - "overrides": null, - "scope": 12501, - "src": "3100:19:64", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - }, - "typeName": { - "contractScope": null, - "id": 12498, - "name": "WorkerpoolInterface", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12371, - "src": "3100:19:64", - "typeDescriptions": { - "typeIdentifier": "t_contract$_WorkerpoolInterface_$12371", - "typeString": "contract WorkerpoolInterface" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3099:21:64" - }, - "scope": 12502, - "src": "2974:147:64", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "scope": 12503, - "src": "2554:569:64" - } - ], - "src": "0:3124:64" - }, - "compiler": { - "name": "solc", - "version": "0.6.12+commit.27d51765.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "3.2.2", - "updatedAt": "2020-11-04T15:01:35.888Z", - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } -} \ No newline at end of file diff --git a/hardhat.config.ts b/hardhat.config.ts index ad9d02b2c..596c37a4d 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -1,6 +1,7 @@ import '@nomicfoundation/hardhat-toolbox'; import 'dotenv/config'; import * as fs from 'fs'; +import * as path from 'path'; import 'hardhat-dependency-compiler'; import 'hardhat-deploy'; import { HardhatUserConfig, task } from 'hardhat/config'; @@ -332,4 +333,35 @@ task('test').setAction(async (taskArgs: any, hre, runSuper) => { } }); +// Automatically update ABIs after compiling contracts. +task('compile').setAction(async (taskArgs: any, hre, runSuper) => { + await runSuper(taskArgs); + await hre.run('abis'); +}); + +task('abis', 'Generate contract ABIs').setAction(async (taskArgs, hre) => { + const abisDir = './abis'; + // Remove old ABIs folder if it exists. + if (fs.existsSync(abisDir)) { + fs.rmSync(abisDir, { recursive: true, force: true }); + } + fs.mkdirSync(abisDir); + const contracts = (await hre.artifacts.getAllFullyQualifiedNames()) + // Keep only "contracts/" folder + .filter((name) => name.startsWith('contracts/')) + // Remove non relevant contracts + // !!! Update package.json#files if this is updated. + .filter((name) => !name.startsWith('contracts/tools/testing')) + .filter((name) => !name.startsWith('contracts/tools/diagrams')) + .filter((name) => !name.startsWith('contracts/tools/TimelockController')); + for (const contractFile of contracts) { + const artifact = await hre.artifacts.readArtifact(contractFile); + const abiFileDir = `${abisDir}/${path.dirname(contractFile)}`; + const abiFile = `${abiFileDir}/${artifact.contractName}.json`; + fs.mkdirSync(abiFileDir, { recursive: true }); + fs.writeFileSync(abiFile, JSON.stringify(artifact.abi, null, 2)); + } + console.log(`Saved ${contracts.length} ABI files to ${abisDir} folder`); +}); + export default config; diff --git a/package.json b/package.json index 1399e2890..9cf5af577 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@iexec/poco", "version": "6.0.0", - "description": "", + "description": "iExec Proof of Contribution protocol smart contracts", "author": "iExec", "license": "Apache-2.0", "homepage": "https://github.com/iExecBlockchainComputing/PoCo#readme", @@ -27,27 +27,20 @@ "storage-to-diagrams": "bash scripts/tools/storage-to-diagrams.sh", "doc": "npx hardhat docgen" }, + "files": [ + "/abis", + "/contracts", + "!/contracts/tools/testing/**/*", + "!/contracts/tools/diagrams/**/*", + "!/contracts/tools/TimelockController/**/*", + "/deployments" + ], + "__filesComment": "!!! @dev Update Hardhat `abis` task if this is updated", "lint-staged": { "*.{js,ts,sol,json,yml}": [ "prettier --write" ] }, - "repository": { - "type": "git", - "url": "git+https://github.com/iExecBlockchainComputing/PoCo.git" - }, - "bugs": { - "url": "https://github.com/iExecBlockchainComputing/PoCo/issues" - }, - "files": [ - "/contracts", - "!/contracts/tools/testing/**/*", - "/artifacts/contracts", - "!/artifacts/contracts/**/*.dbg.json", - "!/artifacts/contracts/tools/testing/**/*", - "/deployments", - "/build" - ], "dependencies": { "@iexec/interface": "3.0.35-8", "@iexec/solidity": "^0.1.1", @@ -85,5 +78,12 @@ "__devDependenciesComments": { "mocha": "[Optional] Install Mocha Test Explorer in VSCode to see tests in VSCode UI", "solidity-coverage": "Fixing Hardhat's solidity-coverage: TypeError: provider.send is not a function" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/iExecBlockchainComputing/PoCo.git" + }, + "bugs": { + "url": "https://github.com/iExecBlockchainComputing/PoCo/issues" } -} +} \ No newline at end of file